Hoppa till innehållet

Lektion 14 · Lenses and Focus

Depth of Field

Learn how aperture, distance, focal length and sensor size shape depth of field, how to blur backgrounds or keep landscapes sharp, and use hyperfocal focus.

Depth of field (DoF) is the range of distances that look acceptably sharp in a photo. A portrait with a soft background has a shallow depth of field. A sharp landscape from flowers to mountains has a deep one.

With DoF you can guide the viewer's eye.

What you will learn

  • The factors that change depth of field
  • Practical ways to blur or sharpen a background
  • Why "acceptably sharp" is a judgment
  • What hyperfocal distance is and how to use it

Only one plane is truly focused

A lens focuses exactly on one plane. Points in front of it or behind it become small blur circles. When a circle is small enough, it still looks like a sharp point.

The largest circle you accept is called the circle of confusion. It depends on how big you view the picture, how closely you look and your eyes. That is why depth of field is not a hard edge. Sharpness fades gradually.

The main factors

Change Effect on depth of field
Wider aperture (smaller f-number) Shallower
Move closer to the subject (focus closer) Shallower
Longer focal length, same distance Shallower
Narrower aperture, farther distance, shorter lens Deeper

Focal length with the same framing

If you change focal length and move so the subject stays the same size in the frame, depth of field changes only a little at normal portrait distances, for the same f-number. But the background blur can still look different. A longer lens from farther away shows a smaller area of background, magnified, so blurry shapes look bigger and smoother.

Sensor size

To get the same view and the same f-number, a smaller sensor uses a shorter focal length. That gives a deeper depth of field. This is why phones show much in focus. Many phones use software "portrait modes" to blur the background. The edges around hair or glasses can sometimes look wrong, so check them.

How to blur a background

  1. Use a wide aperture.
  2. Move closer to your subject.
  3. Move the subject farther from the background.
  4. Use a longer focal length and step back to keep framing.

Point 3 is often the most powerful, and it is free.

Worked example

A person stands right against a hedge. Even at f/2, the leaves look quite detailed. You ask the person to step three meters forward, away from the hedge. Now the hedge is much softer, and the person stands out.

How to keep more in focus

  1. Use a narrower aperture, such as f/8 or f/11 on larger sensors.
  2. Step back or focus farther.
  3. Use a shorter focal length.
  4. Place important things at similar distances.

Remember that very small apertures can lose some fine detail because of diffraction.

Worked example: a group photo

Two rows of people stand at different distances. You choose f/5.6 or f/8 instead of f/2, bring the rows closer together, and focus about between them or a little nearer the front. Then you zoom in on faces in both rows to check.

Where to focus

An old rule says to focus "one third into the scene". It is only a rough idea, and it is often wrong. The share of depth of field in front of and behind the focus changes with distance. At close range it is split almost evenly. At greater distances, much more of it lies behind.

The better habit: focus on the most important thing, then check.

Hyperfocal distance

The hyperfocal distance is a focus distance that gives a very deep zone. When you focus there, things look acceptably sharp from about half that distance to infinity.

A common formula is: H = f² ÷ (N × c) + f

  • f = focal length in mm
  • N = f-number
  • c = circle of confusion in mm (about 0.03 mm is often used for full frame)

Worked example

For a 24 mm lens at f/8 on full frame:

24 × 24 = 576. 8 × 0.03 = 0.24. 576 ÷ 0.24 = 2400 mm. Add 24 mm: 2424 mm, about 2.4 m.

So if you focus at about 2.4 m, things from about 1.2 m to far away look acceptably sharp, by this standard.

If your foreground and mountains must be critically sharp in a large print, this standard may be too loose. You may prefer to focus a bit farther or to use focus stacking: take several photos with different focus distances and combine them in software. It works best with a still scene and a steady camera.

Depth of field preview

Many cameras show the view at the widest aperture while you compose, to keep it bright. Some have a preview button that closes the aperture to your chosen setting. Screens on some mirrorless cameras show the effect more directly. Your photo review, zoomed in, is the final check.

Common mistakes

Using f/1.8 for a group at different distances. Some faces will be soft.

Forgetting the background distance. Move the subject away from it for more blur.

Treating DoF numbers as exact lines. Sharpness fades gradually.

Focusing at infinity for a landscape with a close foreground. The foreground may be soft.

Try it

Change focal length, aperture and focus distance. The calculator uses a circle of confusion of 0.03 mm for full frame.

Depth of field calculator

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Which change makes depth of field shallower?

    Focusing closer reduces depth of field.
  2. 2. What is an easy way to make a background blurrier without changing gear?

    More distance behind the subject makes the background blur more.
  3. 3. If you focus at the hyperfocal distance of 4 m, about what range looks acceptably sharp?

    The zone runs from about half the hyperfocal distance to infinity.
  4. 4. What is focus stacking?

    Software combines the sharp parts of several frames.

Summary

  • Depth of field is the range that looks acceptably sharp.
  • Aperture, distance, focal length and sensor size all play a part.
  • Move your subject away from the background for more blur.
  • Focus on what matters most and check by zooming in.
  • Hyperfocal focusing gives deep sharpness, and focus stacking can go further.

Next: Composition: The Frame and the Rule of Thirds

Följ dina framsteg

Skapa ett gratis konto för att bocka av lektioner och fortsätta där du slutade, på vilken enhet som helst.