I'm 5'5.5'' with a 31.5 inch inseam and I ride a 49 cm Trek Pilot 5.0. Fits me perfectly with the seatpost adjusted right and the right size stem.

I agree with the 50 cm ballpark figure. You can always adjust the other measurements.