What tax do I have to pay when converting an after tax IRA to a Roth IRA? I also have pre-tax IRAs which I'm not converting.

I read that the taxable portion is calculated using all my IRA accounts, but I am not converting my pre-tax IRA accounts so it doesn't make sense that they should enter into the calculation.