Why inseam beats height
Two riders of the same height can have legs that differ by several centimetres. Inseam — the distance from crotch to floor in bare feet — sets standover clearance and saddle height, so it gives the better frame estimate.
How to measure inseam
Stand against a wall, pull a hardcover book up firmly between your legs as if it were a saddle, and measure from the top of the book to the floor.
Example
A rider with an 80 cm inseam would look at road frames around 53 cm, mountain bikes around 18 inches and hybrids around 53 cm, then fine-tune with a test ride and stem length.