Guide
How to Measure an Object from a Photo (Step by Step)
Updated · RefScale
Quick answer
To measure an object from a photo, include something of known size in the same shot — such as a credit card, which is exactly 85.60 mm wide — lying next to the object on the same flat surface. Measure the reference in pixels to get the scale (pixels per millimeter), then divide any other length in the photo by that scale to get its real size.
Why you need a reference
A camera flattens the world into pixels. Without extra information, a photo can't tell whether an object is small and close or big and far away. A reference object of known size solves this: once you know that, say, 85.60 mm equals 428 pixels in this photo, every other length in the same plane can be converted too.
Step by step
- Add a reference of known size. Place an object with known dimensions, such as a credit card (85.60 × 53.98 mm), flat next to the object you want to measure, on the same surface.
- Take the photo straight on. Hold the camera parallel to the surface, with both objects near the center of the frame, and take the photo with the 1× lens.
- Mark the reference. Mark the reference's edges precisely so its length in pixels is known. In RefScale, choose the reference preset and fit its frame to the edges.
- Measure. Draw a line across the object. Its length in pixels divided by the pixels per millimeter of the reference gives the real length.
The formula
Measuring from a photo is a simple proportion:
real length = object length in pixels × (reference length in mm ÷ reference length in pixels)
In the example above, the scale is 85.60 mm ÷ 428 px = 0.2 mm per pixel, so a 1,008-pixel edge is 1,008 × 0.2 = 201.6 mm. You can do this by hand with any image editor that shows pixel coordinates — or let an app do the arithmetic and the unit conversion for you.
Measuring with RefScale
RefScale does the steps above on your iPhone. Take the photo with your camera, then pick it from your library in RefScale (or paste one from the clipboard) and:
- choose the reference — a bank card, your iPhone model, or a custom size you enter;
- drag its frame onto the reference's edges, zooming in for precision;
- draw lines across anything in the photo and read the width, height or distance in mm, cm, inches or feet.
Measurements are labeled right on the photo, so you can share or export the result.
Tips for an accurate result
- Same plane, same distance: the reference must sit on the same surface as the thing you measure. An object 10% farther from the camera appears about 9% smaller.
- Straight on: shoot with the camera parallel to the surface, not at an angle.
- Keep it central: lens distortion is strongest near the edges of the frame, especially with the 0.5× ultra-wide lens.
- Use the longest reference edge and zoom in when placing markers.
For the details, see how accurate is measuring from a photo, and for reference ideas, objects of known size for scale.
Frequently asked questions
Can you measure something from a photo without a reference object?
Not reliably from a single ordinary photo. A photo does not record how far away things were, so a small object close to the camera and a large one far away can look identical. You need something of known size in the same plane — or depth data, such as LiDAR, captured at the time.
Can I measure from an old photo?
Yes, as long as the photo contains an object of known size lying next to, and in the same plane as, what you want to measure — for example a card, a phone, a sheet of A4 paper or a floor tile of known size.
What is the best reference object?
A flat, rigid object with a precisely standardized size and sharp edges. A bank card (85.60 × 53.98 mm) is ideal for small objects; a sheet of A4 or US Letter paper, or an iPhone, works better for larger ones.
Is this the same as the iPhone Measure app?
No. Apple's Measure app uses augmented reality and needs the object in front of you while you measure. Measuring with a reference works from any photo, including photos taken earlier or sent to you by someone else.