Depth of Field calculator

Near, far and total DoF for a given setup.

Category: Imaging

Formula: H = f²/(N·c)

Inputs

InputParameterUnitDefault
Focal lengthfmm50
f-numberN8
Subject distumm2000
CoCcmm0.03

Result with the default inputs

  • Hyperfocal: 10.4667 m
  • Near: 1.6846 m
  • Far: 2.4606 m
  • Total DoF: 0.776 m

Open it with your own values: put each input in the address as a parameter, for example /calculators/depth-of-field?f=50. A unit other than the listed one goes in <parameter>_unit.

Read more: Wikipedia: Depth of field

All optics calculators