Tire Size Question

I think that will give you the same tire height. I have 17inch rims with 9 inch in front with 275/40/17 and 10 and 1/2 in the rear with a 315/35/17 it makes both tires 24 and some change in diameter.