Depth of Field Calculator | DoF & Hyperfocal

Depth of Field Calculator

Calculate the range of acceptable sharpness in your photos

Camera Settings
Focal Length (mm)
Aperture (f-stop)
Subject Distance (m)
Sensor Size
2.73m
Near Limit
0.58m
Total DoF
3.31m
Far Limit
2.73m Subject 3.31m
Hyperfocal Distance: 29.76m

What is Depth of Field?

Depth of field (DoF) is the distance between the nearest and farthest objects in a photo that appear acceptably sharp. A shallow DoF isolates subjects with a blurry background; a deep DoF keeps everything in focus.

Factors Affecting DoF

Wider aperture (lower f-number) creates shallower DoF. Longer focal length compresses perspective and reduces DoF. Closer subject distance dramatically decreases DoF. Larger sensors produce shallower DoF at equivalent framing.

Hyperfocal Distance

The hyperfocal distance is the closest focusing distance at which infinity remains acceptably sharp. Focus at this distance to maximize depth of field—ideal for landscape photography where you want both foreground and background in focus.