AfoliOpen Afoli →

Depth of field

The zone of sharpness and hyperfocal distance from focal length, aperture and distance.

Enter your numbers — the results update instantly.

Near limit3.39 m
Far limit9.53 m
Depth of field6.14 m
Hyperfocal distance10.47 m

Open the full calculator →

Formula

H = f² / (N · c) + f

Fields and units

Focal lengthmm
Aperture f/—
Subject distancem
Circle of confusionmm
Near limitm
Far limitm
Depth of fieldm
Hyperfocal distancem

Worked example

Given: Focal length = 50 mm; Aperture f/ = 8; Subject distance = 5 m; Circle of confusion = 0.03 mm

Result: Near limit = 3.39 m; Far limit = 9.53 m; Depth of field = 6.14 m; Hyperfocal distance = 10.47 m

How it is calculated

1. Enter the values you know. 2. The calculator converts them to base units and applies the formula. 3. The result is shown in the unit you choose.

Frequently asked questions

How do I calculate it?

The zone of sharpness and hyperfocal distance from focal length, aperture and distance. Formula: H = f² / (N · c) + f. Given: Focal length = 50 mm; Aperture f/ = 8; Subject distance = 5 m; Circle of confusion = 0.03 mm. Result: Near limit = 3.39 m; Far limit = 9.53 m; Depth of field = 6.14 m; Hyperfocal distance = 10.47 m.

Is the calculator free and private?

Yes. It is free, needs no sign-up and runs in your browser — the numbers you type stay on your device.

Related calculators

All calculators

Updated November 20, 2026