Depth of Field Calculator

Brand presets + Custom Sensor. Offline-ready. No data leaves your browser.

💡 Who this is for

For photographers and filmmakers who want to quickly evaluate depth of field while shooting or planning, without relying on external services. The tool runs entirely in your browser, works offline, and never sends any data online.

This Depth of Field (DOF) calculator helps you understand how aperture, focal length, focus distance, and sensor size together affect depth of field and framing.

📘 How it works

Camera & Sensor
If CoC is empty, it will be derived from diagonal crop vs Full Frame (base 0.030 mm).

Advanced options

Results

Hyperfocal distance

Near limit

Far limit

Total DOF


Field of View (Horizontal)

Angle of View

Framing width @ distance


Notes

  • Units: input in metres or feet; results are shown in both.
  • Default CoC: Full Frame = 0.030 mm; other presets scale by diagonal crop. You can override in Advanced.
  • Formulas: H = f²/(N·c) (+ f), Near = (H·s)/(H + (s − f)), Far = (H·s)/(H − (s − f)).
  • All variables (f, c, s, H) are in the same units (mm). Far = ∞ when s ≥ H (with +f convention).
  • Presets like S35/S16/BMPCC are approximate across models. Use Custom for exact sensors.