How to use the camera depth of field calculator
Find the depth of field and hyperfocal distance of a camera lens. Enter aperture f-number, circle of confusion, focal length, subject distance in the fields above; the depth of field, hyperfocal distance are computed instantly and plotted on the chart so you can see how the answer changes.
Common searches this calculator answers include “depth of field”, “hyperfocal distance”, “how much is in focus”, “calculate camera depth of field”, “find depth of field”.
Formula
Variables
- N — Aperture f-number
- c — Circle of confusion (mm)
- f — Focal length (mm)
- s — Subject distance (m)
Worked example
With aperture f-number = 2.8, circle of confusion = 0.03 mm, focal length = 50 mm, subject distance = 3 m, the calculator gives depth of field ≈ 0.6048 m; hyperfocal distance ≈ 29.8119 m.
Frequently asked questions
What is the camera depth of field calculator used for?
Find the depth of field and hyperfocal distance of a camera lens. It helps with questions such as “depth of field”, “hyperfocal distance”, “how much is in focus”.
What is the formula for the camera depth of field calculation?
Depth of field (m) = 2 × N × (c / 1000) × s × s / ((f / 1000)^2). Hyperfocal distance (m) = (f / 1000)^2 / (N × c / 1000)+f / 1000. Here N is aperture f-number, c is circle of confusion (mm), f is focal length (mm), s is subject distance (m).
What inputs do I need for the camera depth of field calculator?
You need aperture f-number, circle of confusion in mm, focal length in mm, subject distance in m. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use the camera depth of field calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the camera depth of field result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.