A little context. A clearer answer.
When this calculator is useful
The focus point stays put while the near and far limits move away from it. For a related calculation, try Lens field of view calculator.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Focal length | Actual lens focal length in millimetres, not the 35 mm equivalent. | 50 mm |
| Aperture number | Enter the f-number: for f/2.8, enter 2.8. | 2.8 |
| Focus distance | Distance from the lens front principal plane in metres; it must exceed focal length / 1000. | 3 m |
| Circle of confusion | Maximum accepted blur diameter on the sensor in millimetres. Choose it for the intended print size and viewing distance. | 0.03 mm |
How the calculation works
- Enter focal length and aperture.
- Set focus distance and acceptable blur.
- Compare focus limits and hyperfocal distance.
h = f²/(N × c); H = h + f; near = h × s/(h + s − f); far = h × s/(h − s + f), if s < H; DOF = far − nearA worked example
Depth of field · ƒ/2.8 ≈ 0.6 m → ƒ/8 ≈ 1.85 m
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Ideal thin-lens geometry; no diffraction, aberrations or focus breathing. Acceptable sharpness depends on the chosen blur circle and viewing conditions.
Frequently asked questions
Where are distances measured?
Distance from the lens front principal plane in metres; it must exceed focal length / 1000.
Which blur circle should I choose?
Maximum accepted blur diameter on the sensor in millimetres. Choose it for the intended print size and viewing distance.
Is sharpness guaranteed?
Ideal thin-lens geometry; no diffraction, aberrations or focus breathing. Acceptable sharpness depends on the chosen blur circle and viewing conditions.