DOF and hyperfocal distance calculator
Only one plane in a frame is truly sharp; depth of field is an agreement about how much blur we're willing to call sharp. Set the format, focal length, aperture, and distance — the calculator computes the hyperfocal distance and the near and far limits of the sharp zone.
Input data
Result
The circle of confusion isn't a camera constant — it's an assumption about output size and viewing distance, which is why it's selectable here. A frame that's sharp in a phone feed can miss on a meter-and-a-half print.
How it's calculated
- The circle of confusion is an assumption about how much blur we're willing to call sharp. It depends on output size, not the camera.
- The hyperfocal distance shrinks the shorter the focal length and the more closed the aperture.
- Focusing on the hyperfocal distance gives sharpness from half that distance to infinity — on a wide-angle lens, this lets you skip focusing altogether.
Example: Full frame, 25 mm at f/8 → hyperfocal 2.63 m. Focused at 3 m, sharpness starts at 1.4 m and reaches infinity.
H = f²/(N·c) + f, where c is the format's circle of confusion. Near limit = s·(H − f)/(H + s − 2f), far limit = s·(H − f)/(H − s); at s ≥ H the far limit goes to infinity and the near limit equals exactly H/2.
This is an estimate
Verify final values against current standards, the project design, and equipment nameplates.