ToolJoltTools

Depth of Field Calculator

Near limit, far limit and total DoF for any lens, aperture, distance and sensor — with the hyperfocal connection and the background-blur truth.

0
Total depth of field (m)
0
Near limit (m)
0
Far limit
0
Hyperfocal distance (m)

DoF is a convention, not a wall: 'acceptably sharp' assumes an 8×10 print at arm's length (the circle-of-confusion standard). Pixel-peeping a 60-MP file uses a stricter c and half the DoF. The three levers in order of power: distance (quadratic), then aperture, then focal length.

Formula

H = f²/(N·c) + f; near = s(H−f)/(H+s−2f); far = s(H−f)/(H−s) — c = circle of confusion per sensor
References: Kingslake, R., Optics in Photography (SPIE); Ray, S., Applied Photographic Optics (Focal Press)

⚠️ Optical estimates based on standard formulas and circle-of-confusion conventions — lens markings, sensor specs and real-world testing have the final word.

Near limit, far limit and total DoF for any lens, aperture, distance and sensor — with the hyperfocal connection and the background-blur truth.

About Depth of Field Calculator

Focus is a plane, sharpness is a zone: in front of and behind wherever you focus lies a region where blur stays smaller than the eye can resolve — depth of field. This calculator computes its near and far limits from focal length, aperture, distance and sensor size using the standard circle-of-confusion conventions, flags when the far limit runs to infinity, and reports the hyperfocal distance that landscape shooters chase. The formulas are century-old optics; the judgment calls are explained below.

How to use Depth of Field Calculator

  1. 1Enter — sensible defaults are pre-filled so you see a worked result immediately.
  2. 2Read the live results: .
  3. 3Check the "With your numbers" line to see the formula H = f²/(N·c) + f; near = s(H−f)/(H+s−2f); far = s(H−f)/(H−s) — c = circle of confusion per sensor substituted step by step.
  4. 4Adjust inputs (or flip the unit toggle) until the scenario matches yours, then copy or share the result.

Why use Depth of Field Calculator?

  • Instant, free and private — every calculation runs in your browser, nothing is uploaded
  • Built on the published formula H = f²/(N·c) + f; near = s(H−f)/(H+s−2f); far = s(H−f)/(H−s) — c = circle of confusion per sensor with sources cited on the page
  • DoF is a convention, not a wall: 'acceptably sharp' assumes an 8×10 print at arm's length (the circle-of-confusion standard). Pixel-peeping a 60-MP file uses a stricter c and half the DoF. The three levers in order of power: distance (quadratic), then aperture, then focal length.
  • Switch units, tweak any input and watch every result update live

Frequently asked questions

Why does sensor size change depth of field?+

Through the circle of confusion and the framing chain: a smaller sensor's image is enlarged more for the same print, so its acceptable blur circle is proportionally smaller (0.030 mm full-frame vs 0.015 mm Micro 4/3) — but to frame the same shot it also uses a shorter focal length, and that effect dominates. Net result at equal framing and f-stop: a 2× crop sensor gives about two stops MORE depth of field. That's why phones fake bokeh computationally and large formats melt backgrounds effortlessly.

Is the front-third / back-two-thirds rule true?+

Only near one specific distance: DoF is split roughly 1/3 front, 2/3 behind at moderate portrait distances, but it approaches 50/50 in macro range and runs to all-the-way-to-infinity behind once you focus past hyperfocal. The rule is a snapshot of a continuously varying ratio — this calculator's near/far outputs show the real split at your settings, which is more reliable than the folklore.

What actually controls background blur — is more DoF just less bokeh?+

Different quantities: DoF measures the sharp zone around the subject; background blur measures how large a far-away point renders, and it scales with physical aperture diameter (focal length ÷ f-number) and subject-to-background separation. A 200mm f/4 (50mm pupil) blurs a distant background more than a 50mm f/1.8 (28mm pupil) despite similar DoF numbers. For creamy backgrounds: longer lens, closer subject, distant background — then aperture.

How should I use the hyperfocal output without ruining my landscapes?+

Hyperfocal focusing (focus AT H, sharp from H/2 to ∞) maximizes the zone but puts infinity at the very EDGE of acceptable sharpness — distant mountains render at the blur threshold, visibly soft on large prints. Working practice: focus at 1.5–2× the hyperfocal distance, or focus on the horizon when distant detail is the subject and let the foreground fend for itself. The calculator's H value is the reference point; doubling it is the safety margin.

Related tools

Related Field tools

Sponsored