MasaApps360
English
BinocularsBinoculars

How do you measure distance with an iPhone camera?

If you know how tall something is, a photo is enough to tell how far away it stands: a person who fills a tenth of the picture height is about 13 m away. The calculator below does the trigonometry. It is an estimate of about ±15 %, not a laser rangefinder, and it works far beyond the few metres LiDAR reaches.

3 min read · Updated

The idea: a known size and the angle it covers

Things of known size look smaller the farther away they are. Measure how much of the view the object covers and you have an angle; the distance is the real size divided by the tangent of that angle. Nothing is sent anywhere and no special sensor is involved: the lens does the measuring.

Reference sizes that work well
ObjectSizeMeasured along
Adult person, standing1.7 mheight
Car1.5 mheight
Car4.5 mlength (sideways on)
Interior door2 mheight

Try it with your photo

Pick the object, say how much of the picture height it fills, and enter the focal length your photo was taken with. The result comes with its ±15 % range.

Distance to an object of known size, estimated from a photo

Estimated distance
≈ 13 m
Range (±15 %)
11 – 15 m
Angle it covers
7.6°

Showing the worked example. Turn on JavaScript to calculate your own numbers.

Pinhole model: distance = real size / tan(angle the object covers). The angle comes from the share of the picture it fills and the 35 mm-equivalent focal length (Photos > Info shows it, e.g. 26 mm for the main camera, about 52 mm at 2x), with a 4:3 phone picture (34.6 × 26 mm of the equivalent frame). The object must be upright or square-on to the camera and near the centre. This is an estimate of about ±15 %, not a laser rangefinder: a tilted object, a lens that crops the picture or a wrong size shift it.

Where the numbers come from

  • Focal length: open the photo and swipe up, or tap the info button. It lists the 35 mm-equivalent focal length, about 26 mm on the main camera and about 52 mm at 2x.
  • Zoom: doubling the zoom halves the angle, so the same object at 2x is twice as far for the same share of the picture.
  • Share of the picture: use the grid or the crop tool to judge how far up the height the object reaches. A rough 10 % is far better than guessing the distance by eye.

Getting a better estimate

  1. Stand square-on to the object so you are not looking at it from an angle, and keep it near the centre of the frame.
  2. Take the photo with the whole object in view, top to bottom, and no extra crop afterwards.
  3. Read the focal length from the photo information and note how high the object stands as a share of the picture height.
  4. Enter both in the calculator and read the range, not only the middle value.
  5. Check it once against a distance you know, such as 10 m paced out, to see how your phone behaves.

Estimate the distance inside Binoculars

Binoculars reads the field of view of the camera in use and your current zoom, so you never type a focal length. The screen always says "Estimate ±15%, not a laser rangefinder."

  1. Point Binoculars at the object and zoom until it is a good size on screen. The estimate follows the zoom.
  2. Tap Distance, above the zoom slider.
  3. Pick the object (Person, Car height, Car length, Door or Custom) and drag the two amber marks onto its two ends.
  4. Read the estimated distance and its ±15 % range. Switch between m and ft with the unit control, and tap Done to close.

Getting closer to what you want to size up

A distant object is tiny in the frame, and a few pixels of error become a big error in the distance. Zoom in with Binoculars, which turns your phone's camera into a zoom and a magnifier, tap Freeze to hold the view still and take a steadier photo before you measure. The bigger the object looks, the less your estimate wobbles.

Questions and answers

Does Binoculars estimate distance?
Yes, with the Distance mode: pick a known object, drag two marks onto its ends and read an estimate with a ±15 % range. It is not a laser rangefinder.
Is an iPhone accurate enough to measure distance?
About ±15 % when the object's size is right, the object faces the camera and the focal length is correct. That is fine for judging a field, a building or a far sign, and not good enough for anything critical.
Do I need a LiDAR iPhone?
No. LiDAR only reaches a few metres. This method uses a known size and the lens, so it works at 30 or 80 m on any phone, as long as you know the size.
Why is the answer twice as far at 2x?
At 2x the lens covers half the angle, so the same share of the picture means the object is twice as far.
What if I do not know the object's size?
Use a standard one: an adult is about 1.7 m, a car about 1.5 m tall, an interior door 2 m. If you know the real size of something else, enter it as your own size.

You might also like

More Binoculars guides