measuring stem extension

how is stem extension measured? i need an stem that’s a bit longer and wanna get this right. any help appreciated, ta!

The measurement is taken from the centre of the quill/steerer (typically the centre of the bolt head used for tightening it) to the centre of the bar (centre of the stem clamp).

perfect, thanks!