Your pupillary distance, the gap between the centres of your pupils, tells a lab where to put the optical centre of each lens. Most online glasses sites ask you to print a ruler at exactly 100% and cut it out. With a calibrated screen the ruler is already true size.
Measuring with a helper
Calibrate the screen first, then turn the phone sideways so the ruler has room. Sit at arm’s length from your helper and look at something about 3 metres away, past their shoulder, so your eyes are set for distance. They hold the top edge of the ruler under your eyes, line 0 up with the centre of your right pupil and drag the red marker to the centre of your left pupil.
Take three readings and keep the middle one. Adults usually measure 54 to 74 mm and children 43 to 58 mm; a reading outside those ranges is worth repeating.
Measuring alone in a mirror
Turn on mirror mode: the numbers are flipped so they read the right way round in the mirror. Hold the phone flat against your brow with the screen facing the mirror, stand about 20 cm away, close your left eye and line 0 up with your right pupil. Then close your right eye, open your left and read the number under your left pupil.
The zero mark is set in from the edge of the screen, because phone screens have rounded corners and bezels; do not try to butt the phone edge against anything.
Dual PD and near PD
A single PD is fine for most single-vision glasses. For progressives, or when your face is not symmetrical, labs want a dual PD: each pupil’s distance from the centre of the nose bridge. Ask your helper to put the nose-centre slider on the middle of your bridge; the sheet splits the reading into right and left.
For reading glasses, your eyes turn inward, so the near PD is smaller. A common rule is to subtract 3 mm (1.5 mm per eye for dual PD). It is a rule of thumb: an optician measures near PD at your actual reading distance.
Near PD ≈ distance PD − 3 mm · dual: right + left = single PD
Printable version
If you prefer paper, the printable sizers page has a PD ruler with a 100 mm check line. Print at 100% (actual size), then measure the check line with a real ruler before using it.