OhMyCalc

Depth of Field Calculator

Calculate the near limit, far limit, and total depth of field for any lens, aperture, and subject distance.

How to Use the Depth of Field Calculator

  1. Enter the focal length of your lens in mm.
  2. Enter the aperture f-number.
  3. Enter the distance to your subject in metres.
  4. Select your camera sensor size and click Calculate.

使用例

計算式

Hyperfocal H = f² / (N × c) + f. Near limit = d(H−f)/(H+d−2f). Far limit = d(H−f)/(H−d). DoF = Far − Near.

よくある質問

What is depth of field?
Depth of field (DoF) is the range of distance in a photo that appears acceptably sharp.
How does aperture affect DoF?
A wider aperture (smaller f-number) produces shallower DoF; a narrower aperture gives greater DoF.
Is it free?
Yes, all calculators on OhMyCalc are completely free.