Depth of Field Calculator

Depth of Field Calculator DoF, hyperfocal distance, 50mm vs 85mm

Choose your sensor, focal length, aperture and subject distance to see exactly what will be sharp. Works for full frame, APS-C, Micro Four Thirds and phones.

Near, far and total DoFHyperfocal distancePhone and camera sensors

Camera & lens settings

50 mm
f/1.8
2 m
0.5 m (Headshot)2.0 m (Half body)5.0 m (Full body)15 m (Distant)
Total Depth of Field50mm @ f/1.8
16.9 cm
Framing at 2m:Half body / waist up
Field Width: 1.44m

Editorial portrait that shows posture, hands and upper clothing.

Near: 1.92 mSubject: 2 mFar: 2.09 m
Soft
Sharp focus zone
Bokeh
Near Limit (In focus starts)1.92 m48% in front
Far Limit (In focus ends)2.09 m52% behind
Hyperfocal DistanceFocus here for sharp infinity to 23.17 m
46.35 m
Angle of view (FoV)39.6° H · 27.0° VDiagonal: 46.8°
35mm equivalent50mm @ f/1.8Full frame 1.0×

50mm vs 85mm Portrait Comparison

At same f/1.8 and 2m distance
50mm Lens (Standard Portrait)DoF: 16.9 cm
👤Field of view: 46.8°

Best for: Full-length portraits, street candids and tight indoor spaces. Shows more of the surroundings while keeping natural proportions.

85mm Lens (Telephoto Compression)DoF: 5.7 cm
👤Field of view: 28.6° (compressed)

Best for: Tight headshots, outdoor fashion and maximum background blur. Flatters facial features and pulls the background closer.

How to use it
  1. Select your camera sensor type (Full Frame, APS-C, or Smartphone).

  2. Enter your lens focal length (e.g. 50mm or 85mm).

  3. Choose your aperture (e.g. f/1.8 for shallow blur or f/8 for deep sharpness).

  4. Set the distance to your subject to see exact near, far, and total sharp zones.

Depth of field calculations are based on standard circle of confusion (CoC) values. Actual perceived sharpness also depends on print size and viewing distance.

Privacy note: Calculations run 100% locally in your browser. No data or images are uploaded.

Keep going

More useful image tools

Quick answers

Frequently asked questions

How do I calculate Depth of Field (DoF)?

Select your camera sensor type (Full Frame, APS-C, or Smartphone). Enter your lens focal length (e.g. 50mm or 85mm). Choose your aperture (e.g. f/1.8 for shallow blur or f/8 for deep sharpness). Set the distance to your subject to see exact near, far, and total sharp zones.

Which is better for portraits: 50mm or 85mm?

50mm is versatile for full-body and indoor portraits where space is limited. 85mm provides superior facial compression, flattering proportions, and cremater background bokeh separation for outdoor and tight headshots.

What is hyperfocal distance?

The focus distance that gives your image the maximum possible depth of field, from half of that distance all the way to infinity. It is essential for sharp landscape photography.