Skip to main content

Depth of field calculator

Calculate near/far focus, depth of field, hyperfocal distance, and circle of confusion.

Free & unlimitedWorks offline
Sensor format
Focal length (mm)

35mm equivalent: 50mm

Aperture (f-stop)
Subject distance (m)

Near focus

4.31 m

Far focus

5.96 m

Depth of field

1.65 m

Hyperfocal

30.84 m

Circle of confusion

0.029 mm

In front / behind

69 cm / 96 cm

Depth of field diagram

2.5m5.0m7.5m10m4.31mSubject5.96m
In focus Subject Focus limits
All processing happens in your browser. No data is sent to any server.

About this tool

  1. 1

    Select camera sensor

    Choose your camera body or sensor size (full frame, APS-C, Micro Four Thirds, etc.) for correct crop factor.

  2. 2

    Enter lens settings

    Input the focal length and aperture (f-stop) of your lens.

  3. 3

    Set subject distance

    Enter the distance from your camera to the subject in meters or feet.

  4. 4

    View depth of field

    See the near focus limit, far focus limit, total DoF, and hyperfocal distance with a visual depth map.

  • For sharp landscapes, set focus to the hyperfocal distance - everything from half that distance to infinity will be acceptably sharp.
  • Wider apertures (lower f-number) create shallower depth of field - great for portraits with blurry backgrounds.
  • Sensor size matters: a full-frame camera has shallower DoF than APS-C at the same framing and aperture.
  • For macro photography, DoF becomes extremely shallow - consider focus stacking.
  • Supports all common sensor sizes with custom circle of confusion values
  • Calculates near limit, far limit, total DoF, and hyperfocal distance
  • Visual depth map showing the in-focus zone
  • Hyperfocal distance calculation for landscape photography
  • Comparison mode to see DoF at different apertures side by side
  • Planning portrait shoots to achieve the right amount of background blur
  • Calculating hyperfocal distance for sharp landscape photography
  • Determining if a group photo will have everyone in focus at a given aperture
  • Pre-planning macro photography focus stacking shots

Related tools

View all

We use anonymous analytics to improve ToolChamp. No personal data is stored or sold. Privacy Policy