Depth of Field Calculator

Calculate depth of field from technical measurements.

Loading calculator…

What this tool does

Calculate depth of field from technical measurements. Thin-lens model with full-frame circle of confusion 0.03 mm scaled by crop factor; intended output size/viewing conditions alter acceptable sharpness.

How to use the Depth of Field Calculator

  1. Enter or select focal length (mm).
  2. Enter or select aperture f-number.
  3. Enter or select sensor crop factor.
  4. Enter or select subject distance (meters).
  5. Read the calculated result; change any measurement to compare alternatives.

Formula

CoC=0.03/crop mm; H=f²/(N×CoC)+f; near=H×s/(H+s−f); far=H×s/(H−s+f), infinity if denominator<=0
focal
Focal length (mm)
aperture
Aperture f-number
crop
Sensor crop factor
distance
Subject distance (meters)

Thin-lens model with full-frame circle of confusion 0.03 mm scaled by crop factor; intended output size/viewing conditions alter acceptable sharpness.

Worked example

For depth of field calculator, the following measurements illustrate the exact method: Focal length (mm): 50; Aperture f-number: 2.8; Sensor crop factor: 1; Subject distance (meters): 3.

Inputs

  • Focal length (mm)50
  • Aperture f-number2.8
  • Sensor crop factor1
  • Subject distance (meters)3

Result

  • Hyperfocal distance (meters)29.81
  • Near limit (meters)2.73
  • Far limit (meters)3.33
  • Total depth of field (meters)0.6

Results explained

Hyperfocal distance (meters)
Hyperfocal distance (meters) from the formula above. Thin-lens model with full-frame circle of confusion 0.03 mm scaled by crop factor; intended output size/viewing conditions alter acceptable sharpness.
Near limit (meters)
Near limit (meters) from the formula above. Thin-lens model with full-frame circle of confusion 0.03 mm scaled by crop factor; intended output size/viewing conditions alter acceptable sharpness.
Far limit (meters)
Far limit (meters) from the formula above. Thin-lens model with full-frame circle of confusion 0.03 mm scaled by crop factor; intended output size/viewing conditions alter acceptable sharpness.
Total depth of field (meters)
Total depth of field (meters) from the formula above. Thin-lens model with full-frame circle of confusion 0.03 mm scaled by crop factor; intended output size/viewing conditions alter acceptable sharpness.

Frequently asked questions

CoC=0.03/crop mm; H=f²/(N×CoC)+f; near=H×s/(H+s−f); far=H×s/(H−s+f), infinity if denominator<=0

Thin-lens model with full-frame circle of confusion 0.03 mm scaled by crop factor; intended output size/viewing conditions alter acceptable sharpness.

Units appear in input and result labels. Keep lengths, pixel counts, bitrate and time units consistent.

Mathematical results follow the stated model; actual lenses, compression, viewing preferences and device specifications may differ.

No. It calculates from your entered values entirely in the browser.