How the phone ruler works
The phone ruler measures along the long side of a phone and adds segments in chain mode for objects longer than the screen.
- Calibrate the phone with a credit card held upright.
- Hold the phone in portrait with the object along the long edge.
- Measure the first part of the object and press Add segment.
- Mark the object where the first segment ends.
- Slide the object so the mark is at 0, measure the rest and press Add segment.
- Read the total length of all segments.
Phone ruler formula
Pixels per inch (PPI) equal the diagonal resolution in pixels divided by the diagonal size in inches. The diagonal resolution is √(width² + height²). Divide PPI by 25.4 for pixels per millimetre, and by the device pixel ratio for CSS pixels.
PPI = √(w² + h²) ÷ diagonal_in- w, h
- native resolution in pixels
- diagonal_in
- visible diagonal in inches
Phone ruler conversion chart
Apple's published diagonals and resolutions give about 219 to 460 PPI for these 8 screens. PPI is computed from each published resolution and diagonal; the diagonal is also shown in centimetres.
| Device | Diagonal in | Diagonal cm | Resolution | PPI |
|---|---|---|---|---|
| MacBook Air 13-inch (M2 and later) | 13.6 | 34.5 | 2560 × 1664 | 225 |
| MacBook Air 15-inch | 15.3 | 38.9 | 2880 × 1864 | 224 |
| MacBook Pro 14-inch | 14.2 | 36.1 | 3024 × 1964 | 254 |
| MacBook Pro 16-inch | 16.2 | 41.1 | 3456 × 2234 | 254 |
| iMac 24-inch (4.5K) | 23.5 | 59.7 | 4480 × 2520 | 219 |
| iPhone 16 | 6.12 | 15.5 | 2556 × 1179 | 460 |
| iPad Air 11-inch (M2 and later) | 10.86 | 27.6 | 2360 × 1640 | 265 |
| iPad Air 13-inch (M2 and later) | 12.9 | 32.8 | 2732 × 2048 | 265 |
Phone ruler FAQ
How do you use a phone as a ruler?
Calibrate the phone with a credit card, then hold the object along the long edge of the screen and read the vertical scale. The scale is as long as the screen, for example about 14 cm (5.5 in) on an iPhone 16. For longer objects, chain mode adds 2 or more segments into one total.
Is a phone ruler accurate enough for DIY?
Yes, for cutting paper, fabric or craft material, once the verify step shows a small error. At the 1.5% verify limit, a 10 cm (3.9 in) cut could be 1.5 mm (0.06 in) off. Each chain segment adds a little marking error. Use a tape measure for long cuts, and a physical ruler or calipers for tolerances under 1 mm.
Does the phone ruler work on Android and iPhone?
Yes, the phone ruler runs in current versions of Chrome, Safari, Firefox and Samsung Internet on Android and iPhone. No app is needed. Calibrate once in each browser you use, because each browser stores its own calibration. A coin, such as a US quarter 24.26 mm (0.955 in) across, works when the card is awkward to hold.
How many centimetres long is a phone screen?
A phone screen with a 6.1-inch (15.5 cm) diagonal and a 19.5 : 9 shape is about 14 cm (5.5 in) tall in portrait. The diagonal runs corner to corner, so the height is shorter than the diagonal and the width is about 6.5 cm (2.6 in). Calibrate the ruler to see your exact screen size in centimetres and inches.
How do I undo a chain segment I added by mistake?
Press Reset to clear the chain and start again. Each segment is stored in millimetres, so changing the unit afterwards does not change the total. The total shows centimetres and inches together, for example 23.5 cm (9.25 in), so measure each part again after a reset.