Understanding Perspective Distortion in Photography

Looking up at a stone office building and glass towers against a blue sky, their sides leaning inward toward the top
Photo: Skyscraper Sandwich by Duncan Rawlinson. Pointing the camera up at these buildings tilts the sensor away from their walls, so sides that are really parallel lean toward each other near the top.

Perspective distortion is the way objects change shape and relative size in a photo because of where the camera stands: how close it is to things and which way it points. Get close and near things look huge next to far things; tilt the camera up at a building and its straight walls lean inward, as in the photo above.

Wondering how this differs from the bending a lens causes? Understanding Lens Distortion covers barrel, pincushion and perspective side by side.

It comes from distance, not the lens

How big something looks depends on how far away it is. Double the distance and it looks half as big. So what matters is the ratio of distances between the near and far parts of your subject.

Take a face. From 30cm away, the tip of the nose is about 30cm from the lens and the ears about 40cm, so the nose is drawn about a third larger than it should be relative to the ears. From 3m away, the distances are 300cm and 310cm, and the difference shrinks to about 3%. The face looks natural.

The focal length only decides how much of the scene fits in the frame. A wide-angle lens lets you stand close and still fit everything in, which is why it gets the blame. Shoot a wide frame and a telephoto frame from the same spot, crop the wide one to match, and the two have exactly the same perspective.

The three forms you will see

  • Stretched depth. Close to the nearest part of the scene, often with a wide-angle lens, near things loom and far things shrink. Big noses in close portraits, and a flower that dwarfs the mountain behind it.
  • Flattened depth. Far from everything, often with a long lens, near and far things are drawn at almost the same size, so a mountain seems to sit right behind the person in front of it. This is what people call lens compression.
  • Converging lines. When the sensor is not parallel to a flat surface, lines that are parallel in real life meet toward a point. Tilt up at a tall building and its sides lean in, the effect sometimes called keystoning.

Want the flattened look on purpose? Lens Compression explains how far back to stand and what it does to backgrounds.

How to control it

  • Portraits: step back to about 1.5 to 3m from the face and zoom in or use a longer lens to fill the frame. Features keep their real proportions. More in Portrait Photography.
  • Buildings: keep the camera level so the sensor stays parallel to the walls, then crop away the extra foreground. Moving farther back or higher up, to a window or a hill, means less tilt is needed.
  • Shift instead of tilt: a tilt-shift lens slides the image up while the camera stays level, so verticals stay straight.
  • Exaggerate on purpose: get very close to a foreground object with a wide lens to make it dominate and pull the viewer into the scene. See Depth in Photography.

Fixing it afterward

Most editing programs have a perspective or vertical correction tool that straightens converging lines by stretching the image. It costs you pixels around the edges, so leave extra room when you shoot a building you plan to correct, and avoid pushing it all the way: fully straight verticals on a very tall building can look top heavy, and a slight lean often looks more natural. Editing cannot change stretched or flattened depth, because that was set by where you stood. Lens Corrections covers the editing side.

Photographing buildings and want straight walls in camera? Architecture Photography covers positions, lenses and corrections.