Skip to main content
numora.
numora.

Depth of Field Calculator: Find Your Sharp Zone

How much of the scene will be sharp

PhotographyBy Numora Photography TeamNot yet reviewed

Try the calculator

Math runs in your browser. No sign-up.

Assumptions
mm
f/
mm
mm
Near limit
2,729.9

Millimetres from the camera. Closest point still acceptably sharp.

At 50mmmm f/f/2.8 focused at 3,000mmmm, sharpness runs from 2,729.9 to 3,329.5 mm.

Far limit3,329.5
Total depth of field599.6
Hyperfocal distance29,811.9
Embed this calculator on your own site — drop in a one-line iframe.
Quick takeaway

Depth of field is the zone in front of and behind your focus point that still looks acceptably sharp. It is governed by three things you control — focal length, aperture and focus distance — plus one convention, the circle of confusion, which defines how much blur counts as still sharp for a given sensor size. The relationships are strongly non-linear: depth of field grows roughly with the square of focus distance, so moving back a little widens it considerably, while doubling focal length cuts it to about a quarter. Depth is also not symmetric around the focus point; roughly a third sits in front and two-thirds behind at normal distances, which is why focusing on the nearest subject rather than the middle usually gives the best result.

What is a depth of field?

Calculate the near and far limits of acceptable sharpness from focal length, aperture, focus distance and sensor circle of confusion. The calculator also reports hyperfocal distance — focus there and everything from half that distance to infinity renders sharp, which is the standard landscape technique. Depth of field grows with the square of focus distance and shrinks sharply with focal length, and the zone is asymmetric: roughly a third in front of the focus point and two-thirds behind.

The formula

H = f² ÷ (N × c) + f; near = H×s ÷ (H + (s − f)); far = H×s ÷ (H − (s − f))

Source: Standard hyperfocal depth-of-field equations (thick-lens approximation).

Worked examples

1A portrait at 50 mm, wide open

Inputs
focalLength: 50aperture: 2.8focusDistance: 3000circleOfConfusion: 0.03
Walkthrough

A 50 mm lens at f/2.8 focused at three metres on full-frame is sharp from 2.73 m to 3.33 m — about 60 cm of depth. Enough for one person comfortably, but a second subject standing half a metre behind would fall outside it. Note the asymmetry: 27 cm in front of the focus point, 33 cm behind.

2A landscape at 24 mm, stopped down

Inputs
focalLength: 24aperture: 8focusDistance: 1500circleOfConfusion: 0.03
Walkthrough

At 24 mm and f/8 the hyperfocal distance is only 2.42 m. Focusing at 1.5 m gives sharpness from 0.93 m to 3.84 m. Focusing instead at the hyperfocal 2.42 m would render everything from 1.21 m to infinity acceptably sharp — the standard landscape technique, and far more useful than focusing on the horizon.

How to use this calculator

  1. Focal length (default: 50)
  2. Aperture (f-number) (default: 2.8)
  3. Focus distance — Distance to the subject in millimetres. Three metres is 3000.
  4. Circle of confusion — 0.03 mm for full-frame, 0.02 for APS-C, 0.015 for Micro Four Thirds.
  5. Read the result. Use the worked examples below to sanity-check against a known scenario.

Common mistakes and edge cases

Using the wrong circle of confusion

Applying the full-frame 0.03 mm to an APS-C or Micro Four Thirds camera overstates depth of field considerably. Match the value to your sensor.

Mixing units

The formula requires every distance in the same unit. Entering focus distance in metres while focal length is in millimetres produces nonsense — use millimetres throughout.

Assuming the sharp zone is centred on the focus point

At normal distances roughly a third sits in front of the focus point and two-thirds behind. Focusing on the middle of a group typically leaves the front row soft.

Stopping down indefinitely

Smaller apertures increase depth of field but diffraction progressively softens the whole frame. Most lenses are visibly diffraction-limited beyond f/11 on APS-C and f/16 on full-frame, so extra depth comes at the cost of overall sharpness.

Frequently asked questions

how do I calculate depth of field
Find the hyperfocal distance, f² ÷ (N × c) + f, then scale focus distance against it for the near and far limits. A 50 mm at f/2.8 focused at 3 m on full-frame gives roughly 2.73 m to 3.33 m.
what circle of confusion should I use
0.03 mm for full-frame, 0.02 mm for APS-C and 0.015 mm for Micro Four Thirds. These scale with sensor size because smaller sensors are enlarged more for the same print.
what is hyperfocal distance
The focus distance at which depth of field runs from half that distance to infinity. Focusing there maximises the sharp zone in a landscape.
why is the sharp zone not centred on my subject
Depth of field is asymmetric, extending about twice as far behind the focus point as in front at normal distances. Focus on the nearest important subject rather than the middle.
should I just use the smallest aperture
No. Beyond roughly f/11 on APS-C or f/16 on full-frame, diffraction softens the entire image, so the extra depth costs overall sharpness.

Depth of Field glossary

Hyperfocal distance
The focus distance at which depth of field extends from half that distance to infinity. The key setting for landscape work.
Circle of confusion
The largest blur spot still perceived as a sharp point. A viewing convention that scales with sensor size.
f-number
Focal length divided by effective aperture diameter. Higher numbers mean smaller openings and greater depth of field.
Diffraction
Softening caused by light bending around the aperture edge. Sets a practical limit on how far it is worth stopping down.

How we built this calculator

Methodology

Everything derives from the hyperfocal distance: f² divided by the product of the f-number and the circle of confusion, plus the focal length. This is the focus distance at which depth of field extends from half that distance all the way to infinity, and it is the single most useful number in landscape work.

Formula source
Standard hyperfocal depth-of-field equations (thick-lens approximation)
Last updated
2026-11-17
Calculation runs
Client-side only
NP
WRITTEN BY
Numora Photography Team

Sources & references

Every numeric assumption traces to a primary source.

  1. ISO 12233 — Photography, Electronic still picture imaging, Resolution measurementsINT
  2. Smithsonian Institution — Optics and Photographic Technology collectionsUSA
  3. Kodak — Optical Formulas and Their Application (technical publication)USA
  4. Numora Editorial Policy. numora.net/editorial-policy