Visual comparison Practical guide

Can You Compare Two People’s Heights From a Photo?

A practical guide to camera distance, floor alignment, shoes, posture, and when a photo can—or cannot—support a height estimate.

By HeightComparisonOnline Editorial Team9 min read

A photograph can show who appears taller. It usually cannot tell you the exact difference between two people’s standing heights. The image turns a three-dimensional scene into a flat rectangle. If one person is closer to the camera, stands on a higher step, or wears thicker shoes, the apparent gap changes even when neither person’s actual height does.

The most defensible use of a photo is a rough relative comparison when both people stand upright, at nearly the same distance from the camera, on the same level ground, with their whole bodies visible. For a measurement in centimeters or inches, use measured heights instead. Our height comparison board draws both values against one baseline; it does not infer anyone’s height from pixels.

The quick checklist: is this photo comparable?

Before comparing head positions, inspect the scene in this order:

  1. Ground: Are both visible feet on the same level surface? A step, curb, ramp, or uneven field can create a false gap.
  2. Depth: Are both people standing on roughly the same line across the scene, or is one closer to the camera?
  3. Posture: Are they standing upright, rather than leaning, crouching, tilting the head, or bending a knee?
  4. Footwear and hair: Do soles, heels, hats, or hair add visible height that is not body height?
  5. Framing: Are both the top of the head and the soles visible? A cropped foot or head defeats a whole-body pixel comparison.
  6. Camera angle: Was the picture taken level, or from a steep low or high angle? A dramatic angle makes vertical comparisons less intuitive.

If one of these is unknown, report the comparison as an impression, not a measurement. A phrase such as “Person A looks taller in this image” is more accurate than “Person A is 7 cm taller.”

Why distance from the camera matters so much

In a simple pinhole-camera model, image size depends on the object’s real size and its distance from the camera. The simplified relationship is:

apparent image height ∝ real height ÷ camera distance

This follows from perspective projection, described in OpenCV’s camera-model documentation. Adobe’s guide to scale in photography also explains that an object nearer the camera appears larger. Real phone cameras add lens distortion, cropping, and image processing, but none removes the depth problem.

Consider two people who are both 170 cm tall. If one stands 4.0 m from a fixed camera and the other stands 3.5 m away, the nearer person’s image could be about 4.0 ÷ 3.5 = 1.14 times as tall under that simplified model. That is a 14% change in apparent image height with zero change in real height. This is an illustration of perspective, not a way to recover their heights from a casual photo.

The same effect can be intentional. Film and photography use forced perspective to make subjects appear unusually large or small. A wide-angle phone shot taken close to one person can exaggerate the size difference further. In a group portrait, the safest first check is whether everyone’s toes are aligned along the same apparent floor line and whether they actually stand at comparable depth.

The baseline is more useful than the tops of heads

People often draw a horizontal line across the heads in a photo and treat the gap as a height difference. That skips the question of where each person’s feet are. If one person is on a stair, a small mound, or a sloped pavement, the top-of-head line combines their body height with the floor offset.

Start at the feet. Trace a plausible ground line through each person’s shoe contact point. If that line visibly changes elevation, the image is unsuitable for a direct comparison. If the feet line up, inspect the background: floor tiles, a wall seam, or a railing can reveal whether one person stands behind the other. Even then, the image only supports a broad comparison unless you know the camera geometry and a reliable reference dimension.

“Align the feet” is also how to make a diagram fair. The two silhouettes on our interactive height chart share a drawn baseline and a scale. Their sizes come from entered numbers, so moving a silhouette sideways does not make it physically taller. A photo behaves differently because changing depth changes the projected size.

Can you calculate height from pixels?

Sometimes, but only with enough information. Suppose two people stand side by side at essentially the same distance from the camera. One has a reliably measured standing height of 170 cm and occupies 850 vertical pixels between sole and top of head. The second occupies 900 pixels on the same image. A simple proportion gives:

Estimated second height = 170 × (900 ÷ 850) = 180 cm.

The arithmetic is sound; the assumptions are the weak point. It assumes equal camera distance, equal ground level, comparable posture, no misleading footwear or hair, and pixel endpoints you can identify consistently. If the subjects are at different depths, the ratio is a ratio of projections, not a ratio of heights. An estimate of 180 cm should therefore be labeled as conditional, not presented as a verified biography fact.

SituationWhat a photo can reasonably support
Same floor and depth; full bodies visibleA cautious approximate relative comparison
One person farther backAn appearance comparison only
One person on a step or in heelsNo reliable body-height difference
One known measured height and controlled setupAn estimate, with assumptions stated
Separate photos with different cameras or cropsNo trustworthy pixel-ratio comparison

A better way to make a comparison photo

If you can take the picture yourself, remove as many unknowns as possible. Have both people stand barefoot or in similar flat shoes on a level surface. Put them side by side on a line parallel to the camera’s image plane, rather than one in front of the other. Include their full bodies and a little space above their heads. Keep the camera stable and near the middle of their bodies, and avoid a steep upward or downward tilt.

Take more than one frame. People naturally shift weight, raise a shoulder, or bend one knee. A second photo can show whether a small apparent gap is stable or just a pose. Do not “correct” a photo by dragging one person’s cutout up to the other’s head: that changes the shared baseline and can manufacture a difference.

For anything that needs an actual number, measure standing height separately and then use the height difference calculator. If you need a repeatable at-home measurement, use a hard floor, remove shoes and bulky headwear, stand straight against a flat wall, and mark the top of the head with a level object. The CDC’s height-measurement instructions give a clear method for children; the basic positioning and shoe-removal principles are useful context, though a clinical measurement uses proper equipment.

Common photo claims that deserve caution

“They are standing next to each other, so the photo proves it”

“Next to each other” in a two-dimensional image does not prove equal distance from the camera. A person can be half a step forward while their shoulder overlaps someone behind them. Look for floor cues and depth, not just side-by-side placement on screen.

“Their heads line up, so they are the same height”

Equal head positions in the frame do not prove equal body height when the feet are at different levels. A taller person can lean; a shorter person can stand on a higher surface. Footwear and hair also change the visible top and bottom of a silhouette.

“A phone app measured 6 cm from the photo”

A number with a unit can look precise even when its scale comes from an uncertain reference. Ask what real-world length the app calibrated against, whether the people share the same depth plane, and how it handled the camera angle. Without those answers, the result is an estimate with unknown error.

When to use a visual comparison instead

A scaled illustration is best when you already know the two heights and want to understand the gap. Enter, for example, 170 cm and 180 cm in the comparison board. You will see a 10 cm difference from the same floor line. The chart helps communicate the numbers; it cannot verify whether the input heights are true.

This distinction also matters for celebrities and athletes. Published height figures can vary across sources or may be rounded. A well-made visual comparison should label a reported figure as reported, link to its source when possible, and avoid pretending that a photograph settles a disputed measurement.

In short: use a photo for a cautious visual impression. Use a controlled measurement for a numeric claim. Use a shared-scale diagram to explain a numeric difference once you have numbers you trust.

Sources and method

This guide applies the perspective relationship from OpenCV’s pinhole camera model and the practical scale examples in Adobe Lightroom Academy. The pixel and distance examples above are original worked illustrations using the stated assumptions; they are not measurements of real people. For a basic standing-height procedure, see the CDC measurement guide.

Keep learning