Guide

THE TOOLBOX / MEDIA & PHOTOGRAPHY

Depth of Field Calculator —
Near/Far Focus Limits, Hyperfocal Distance & FoV.

Calculate exact near and far sharp focus limits, total depth of field, hyperfocal distance, and field of view for Full Frame, APS-C, Micro Four Thirds, and Medium Format cameras.

Shooting Presets:
50mm @ f/2.8 · Full Frame
Total Depth of Field
60.1 cm
45% front / 55% behind
Hyperfocal Distance
29.81 m
Sharp from 14.91 m to ∞
Camera (0)In-Focus Zone4.80 m
Near: 2.73 mSubject: 3.00 mFar: 3.33 m
In Front of Subject
27.1 cm
Behind Subject
33.0 cm
Horizontal FoV
39.6°
Circle of Confusion
0.03 mm

PHOTOGRAPHY OPTICS GUIDE

Depth of field formulas, Circle of Confusion, and hyperfocal focusing.

1. Hyperfocal & Focus Limit Formulas

Hyperfocal distance is H = f² / (N × c) + f, where f is focal length, N is the f-number, and c is the sensor's Circle of Confusion. Near and far limits follow D_near = s(H − f) / (H + s − 2f) and D_far = s(H − f) / (H − s).

2. Portrait vs. Landscape Settings

For creamy portrait separation, use 50mm–135mm at f/1.4–f/2.8. For tack-sharp landscapes, stop down to f/8–f/11 and focus at the hyperfocal distance.

Frequently Asked Questions

What is Depth of Field (DoF) in photography?

Depth of field is the distance between the nearest and farthest objects in a scene that appear acceptably sharp in a photo. Wider apertures (smaller f-numbers like f/1.4), longer focal lengths, and closer subject distances produce shallower depth of field and stronger background blur (bokeh).

What is Hyperfocal Distance and why do landscape photographers use it?

Hyperfocal distance is the closest focus distance at which objects at infinity remain acceptably sharp. When you focus your lens at the hyperfocal distance, everything from half the hyperfocal distance all the way to infinity is in focus—maximizing front-to-back sharpness.

How does sensor size (Full Frame vs. APS-C vs. Micro Four Thirds) affect Depth of Field?

Smaller sensors use a smaller Circle of Confusion (0.020 mm for APS-C vs. 0.030 mm for Full Frame) and require shorter focal lengths or farther subject distances to achieve the same framing—resulting in deeper depth of field at the same f-stop.

Is Depth of Field always split 1/3 in front and 2/3 behind the subject?

No—the 1/3 front, 2/3 behind rule is only a rough approximation at moderate distances. At close macro distances the split approaches 50% front / 50% behind, while near the hyperfocal distance almost all of the depth of field extends behind the subject toward infinity.