optics calculators

Depth of Field Calculator

Calculate depth of field for photography and imaging

About this calculator

A Depth of Field Calculator is an essential photography tool that determines how much of your image will appear in sharp focus. It calculates the near and far distances where subjects remain acceptably sharp, helping photographers achieve their desired creative vision. Whether you want a shallow depth of field for portraits or maximum sharpness for landscapes, this calculator takes the guesswork out of camera settings by providing precise measurements based on your camera sensor, aperture, focal length, and focus distance.

How to use

Enter your camera's sensor size or crop factor, select your lens focal length, set your desired aperture (f-stop), and input your focus distance. The calculator will instantly display your depth of field range, showing the near and far limits where objects will appear sharp in your photograph.

Frequently asked questions

What factors affect depth of field?

Aperture size, focal length, focus distance, and camera sensor size all influence depth of field. Wider apertures create shallower depth of field.

How does aperture control depth of field?

Smaller f-numbers (larger apertures) create shallow depth of field, while larger f-numbers (smaller apertures) increase the depth of field range.

Why does sensor size matter for depth of field?

Larger sensors produce shallower depth of field at equivalent focal lengths and apertures compared to smaller sensor cameras.