How are the frame size and frame height precisely calculated?

The frame size is calculated on the basis of your inseam. The frame size determines the frame height of the bike, but it is only an estimation.

The frame size either frame height is the distance of the crank shaft up to the point of the frame in which the seat post comes out expressed in centimeters.

Frame Size Guide