Photography

Depth of Field Calculator

Find the near and far focus limits and total depth of field from focal length, aperture, focus distance, and sensor size.

Sensor format

The sensor preset sets the circle of confusion (full frame ≈ 0.029 mm, APS-C ≈ 0.019 mm, MFT ≈ 0.015 mm), which decides how much blur still looks sharp in a print.

Near limit
2.36 m
Far limit
4.13 m
Total DoF
1.78 m
In front of subject
64.5 cm
Behind subject
1.13 m

Hyperfocal distance here is about 10.83 m — focus there and everything from half that distance to infinity looks acceptably sharp.

How it works

Depth of field is the slice of your scene that looks sharp — from the nearest thing in focus to the farthest. It depends on four things: how long your lens is, how wide the aperture is, how far you've focused, and how big your sensor is.

The tool first works out the hyperfocal distance for your setup, then uses it to find the near and far limits around your focus point. Wider apertures and longer lenses shrink the sharp zone; smaller apertures and shorter lenses stretch it out.

It also splits the depth into how much sits in front of your subject versus behind it — usually about a third in front and two-thirds behind — which is handy when you want to place focus for maximum sharpness.

Frequently asked questions

Why does my sensor size matter?

A smaller sensor uses a smaller circle of confusion, the blur spot that still counts as sharp. That tightens the acceptable depth of field for the same framing, which is why the presets change the answer.

What does an infinite far limit mean?

When your focus distance reaches or passes the hyperfocal distance, everything beyond your near limit stays sharp all the way to the horizon, so the far edge is effectively infinity.

Is one-third in front, two-thirds behind always true?

It's a good rule of thumb at moderate distances, but the split shifts toward even at very close range and heavily toward the back as you approach the hyperfocal distance.