Depth of Field Calculator

Enter aperture, focal length, subject distance, and sensor format to get near/far focus limits, total depth of field, and hyperfocal distance.

Camera Settings

Enter as a number: 1.4, 2.8, 5.6, 8, 11…

Fill in your camera settings and click Calculate DOF.

Summary

Enter aperture, focal length, subject distance, and sensor format to get near/far focus limits, total depth of field, and hyperfocal distance.

How it works

  1. Select your sensor or film format from the preset list, or enter a custom circle of confusion.
  2. Enter your lens focal length in millimeters.
  3. Enter your aperture as an f-number (e.g. 2.8, 8, 16).
  4. Enter the distance from the camera to your subject.
  5. Choose distance units (meters or feet).
  6. Read the near limit, far limit, total DOF, and hyperfocal distance in the results panel.

Use cases

  • Plan landscape shots at hyperfocal distance to maximize front-to-back sharpness.
  • Determine whether a subject at a given distance will be in focus with your chosen aperture.
  • Compare DOF across sensor formats — see how APS-C differs from full-frame at the same settings.
  • Set focus for street or event photography before the action starts.
  • Understand how stopping down expands depth of field for macro or product shots.
  • Teach students the relationship between aperture, focal length, and focus zone.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu