Lens Guide

What Is Lens Distortion? Barrel, Pincushion and Perspective

Wide-angle photograph of straight-lined urban architecture

Photo: Unsplash

Contents
  1. What is lens distortion?
  2. What does barrel distortion look like?
  3. What is pincushion distortion?
  4. Lens distortion vs perspective distortion
  5. Which lenses show more distortion?
  6. How do you correct lens distortion?
  7. How do you correct perspective?
  8. Why “use the widest lens and crop later” is not always smart
  9. A clean workflow for architecture
  10. Is distortion always bad?
  11. Common mistakes
  12. Quick diagnosis
  13. Sources

You photograph a building and notice that a window frame that is perfectly straight in real life curves outward in the image. You switch lenses and the line bends inward instead. Then you tilt the camera upward and the building’s verticals start converging.

All three effects may be called “distortion,” but they are not the same problem.

Barrel and pincushion distortion come from lens geometry. Perspective changes come from where the camera is positioned and how it is aimed.

That distinction matters in architecture, real estate, interiors, product photography and wide-angle work. Correct the wrong problem and you can spend ten minutes dragging sliders while the building is still crooked.

What is lens distortion?

Lens distortion is an optical geometric error in which straight lines are rendered as curved lines rather than remaining straight.

The two basic forms are:

  • Barrel distortion: straight lines bow outward away from the center.
  • Pincushion distortion: straight lines bend inward toward the center.

A third pattern, often called mustache or wave distortion, combines different curvature patterns across the frame.

Sony explicitly separates barrel and pincushion distortion from perspective distortion, noting that perspective effects come from camera position rather than the lens. Its wide-angle guide gives practical examples of both behaviors.

What does barrel distortion look like?

Barrel distortion makes straight lines near the edges bow outward.

It is often noticeable with:

  • ultra-wide lenses,
  • the widest end of some zoom lenses,
  • architecture and interiors,
  • scenes containing many straight lines.

Imagine photographing a doorway at 14mm. The vertical edges may look increasingly curved as they approach the frame edges.

That does not mean every 14mm lens behaves the same way. Optical design, lens elements and correction profiles all affect the result. Nikon notes that aspherical elements can help correct distortion, particularly in wide-angle lenses.

What is pincushion distortion?

Pincushion distortion is the opposite pattern.

Straight lines bend toward the center of the frame, giving the image a pinched appearance. It can appear toward the telephoto end of some zoom lenses.

A zoom lens can therefore show a pattern such as:

barrel at the wide end → relatively neutral in the middle → pincushion at the long end

That is not a universal rule. Lens design and correction behavior vary by model.

Nikon’s software documentation includes separate controls for reducing barrel and pincushion distortion.

Lens distortion vs perspective distortion

This is the most important distinction.

If the vertical lines of a building appear to lean toward each other near the top, it is tempting to blame the lens.

But when you tilt the camera upward, you change the perspective geometry. The camera is no longer parallel to the building, so the verticals appear to converge.

Think of it this way:

Lens distortion = the lens bends a straight line.

Perspective change = camera position and orientation change the relative geometry of objects.

Sony makes the same distinction: lens compensation can address optical barrel and pincushion distortion, while perspective exaggeration caused by camera position is a different problem.

A simple test

Photograph a building twice:

  1. Keep the camera as level and parallel to the building as possible.
  2. Check the verticals.
  3. Tilt the camera upward.
  4. Compare the two frames.

The first frame may contain optical distortion that a lens profile can correct. The convergence in the second frame is primarily a perspective issue.

Which lenses show more distortion?

Wide-angle lenses can show more visible barrel distortion, particularly at the widest end of some zooms. Pincushion distortion can appear toward the telephoto end.

But focal length alone is not enough to judge a lens.

Two lenses at the same focal length can behave differently. A camera body or RAW converter may also apply a lens profile automatically, making the final image look much straighter than the raw optical projection.

Sony’s current wide-angle guidance shows that different lenses can have different distortion behavior even within the same broad focal-length category.

When comparing lenses, therefore, ask not only “how many millimeters?” but also “how much distortion, under which correction profile, and at which focal length?”

How do you correct lens distortion?

The easiest solution is often a lens profile.

Applications such as Lightroom and Camera Raw can use a lens profile to reduce known barrel and pincushion distortion. Many cameras can also apply correction in-camera.

Sony documents in-camera lens compensation for compatible lenses and notes that its correction can address shading, chromatic aberration and distortion. Depending on the system, correction behavior can differ between JPEG and RAW workflows.

A practical Lightroom workflow

  1. Open the RAW file.
  2. Go to Lens Corrections / Optics.
  3. Enable the automatic lens profile if available.
  4. Recheck straight lines.
  5. Use manual Distortion controls only for the remaining error.
  6. Then move to perspective correction.

The useful order is:

optical correction first, perspective correction second.

If the lines still converge or the building still looks tilted after the lens profile, you are probably dealing with perspective.

How do you correct perspective?

In architecture and real estate photography, perspective control is often more important than optical distortion correction.

While shooting:

  • Keep the camera level.
  • Avoid pushing important verticals into the extreme edges.
  • Step back when possible.
  • Try a slightly longer focal length if you can.
  • Raise your camera position instead of tilting it upward.

In post, Vertical, Transform or Perspective tools can realign the geometry.

There is a cost: strong perspective correction can require cropping and resampling, reducing part of the original frame.

Why “use the widest lens and crop later” is not always smart

A 14mm lens can be tempting in a small room because it gets everything into the frame. But moving the camera very close to the subject does more than introduce optical distortion.

It also changes perspective scale.

A chair close to the camera can look huge while a table farther away becomes tiny. Correcting barrel distortion does not undo that relationship.

For interiors and real estate, the widest lens is therefore not automatically the lens that produces the most natural-looking room.

A clean workflow for architecture

For a scene where straight lines matter:

Shooting recipe
  1. Keep the camera as parallel to the subject as possible.
  2. Avoid placing critical verticals directly on the frame edges.
  3. Do not use a wider lens than necessary.
  4. Confirm that a lens profile is available or supported.
  5. Correct optical distortion in the RAW workflow.
  6. Apply perspective correction afterward.
  7. Inspect people and furniture near the edges at 100%.
  8. Check the geometry again after the final crop.

This order reduces the common “I fixed the building and the edges became weird” problem.

Is distortion always bad?

No.

Distortion can be technically undesirable while still being creatively useful.

An ultra-wide lens can stretch a bicycle, car or architectural detail toward the edges and add energy to the frame. With a fisheye lens, unusual geometry is part of the visual language.

The question is not whether distortion exists. The question is whether it conflicts with what the photograph is trying to communicate.

The same wide-angle behavior that can make a portrait look exaggerated near the edge can make an action image feel immersive.

Common mistakes

  • Calling every curved line lens distortion: Check perspective first.
  • Tilting the camera upward and trying to fix everything later: Perspective correction costs framing and pixels.
  • Applying correction twice: If the camera already baked correction into a JPEG, do not blindly apply the same correction again.
  • Assuming the widest lens is always best: More width can also mean stronger perspective exaggeration.
  • Ignoring the edges after correction: Strong corrections can stretch and crop the frame.
  • Using perspective correction to fix optical distortion: They are different problems and need different tools.

Quick diagnosis

If a straight line looks wrong:

Does it bow outward?
→ Likely barrel distortion.

Does it bend inward toward the center?
→ Likely pincushion distortion.

Do verticals converge toward the top?
→ Check perspective.

Are lines curved even with the camera level?
→ Try a lens profile or manual distortion correction.

Does the building still look wrong after lens correction?
→ Move to perspective correction.

Once you can separate lens distortion from perspective, you stop treating every crooked line as a lens defect. That saves editing time and, more importantly, helps you choose better shooting positions and focal lengths before pressing the shutter.

Sources

Next stop

Keep reading