Toolstia / Depth of field calculator
Depth of field calculator
Depth of field is how much of a scene looks sharp. Enter the focal length, aperture, distance to the subject and sensor type to get the near and far limits of sharpness, the total depth and the hyperfocal distance.
Everything between the near and far limits looks acceptably sharp. Focusing at the hyperfocal distance makes everything from half that distance to infinity sharp. The result depends on how much blur you accept (the circle of confusion), so treat it as a guide.
How it works
- Enter the focal length and aperture.
- Enter the distance to your subject and pick the sensor size.
- Read the near limit, far limit and hyperfocal distance.
What changes it
Depth of field is smaller with a longer focal length, a wider aperture (smaller f-number) or a closer subject. A bigger sensor gives a shallower depth at the same framing.
Hyperfocal distance
Focus at this distance and everything from half of it to infinity looks acceptably sharp. Landscape photographers use it to maximise sharpness.
Circle of confusion
This is the largest blur spot that still looks like a point. It depends on the sensor, and the tool uses common values for each.
A guide only
Sharpness is a matter of viewing size and taste. Print size and eyesight change what looks acceptable.
Questions
Why does it say Infinity?
When you focus at or beyond the hyperfocal distance, the far limit extends to infinity. Everything happens in your browser, and nothing you enter is sent anywhere.
Does the lens matter?
Only through its focal length and aperture. The formulas assume an ideal lens.
Which sensor should I choose?
Pick full frame, APS-C, Micro Four Thirds or 1 inch from the list, or use the closest match.