Depth Of Field Calculator

Calculate depth of field — the near and far limits of acceptable sharpness — from focal length, aperture, focus distance and sensor size.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Enter the lens focal length, aperture, the distance you're focused at and your sensor size. Wider apertures, longer lenses and closer focus give shallower depth of field.

Example

Example: a 50 mm lens at f/2.8 focused at 3 m on full frame keeps about 0.58 m sharp — from 2.74 m to 3.32 m.

Assumptions

Uses the standard thin-lens formulas with a circle of confusion of the sensor diagonal ÷ 1,500 (about 0.029 mm on full frame). Sharpness is gradual, and viewing size changes what looks 'acceptably sharp'.

Frequently Asked Questions

What affects depth of field?

Aperture, focal length, focus distance and sensor size — a wide aperture and close focus give the shallowest focus.

Does a smaller sensor give more depth of field?

At the same framing and f-number, yes — that's why phones keep most of a scene sharp.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile