📷 Depth of Field Calculator

Calculate depth of field (DoF) from focal length, aperture, subject distance, and sensor size — for sharp, pro-looking shots.

📷

Depth of Field Calculator

Photography

Inputs

mm
m

How useful was this tool?

How to Use This Calculator

  1. 1

    Enter your lens focal length in mm.

  2. 2

    Enter the aperture (f-number) you are shooting at.

  3. 3

    Enter the distance to your subject in meters.

  4. 4

    Select your camera sensor size (sets the circle of confusion).

  5. 5

    Click Calculate for near/far focus limits and depth of field.

How It Works

Depth of field is the range of distances that appear acceptably sharp. Wider apertures (smaller f-number) and longer focal lengths give a shallower DoF (more background blur). The hyperfocal distance is the focus distance giving the greatest total sharp range, from half that distance to infinity.

Frequently Asked Questions

Use a longer focal length, a wider aperture (smaller f-number), move closer, and keep more distance behind the subject. A full-frame sensor also helps.

Why Use This Tool

  • Instant, accurate results
  • No registration required
  • 100% free forever
  • Works on all devices
  • Privacy — no data stored