Depth of field reference: reproduce the numbers.

A photograph's sharp range and background blur describe different things. These fixed setups let you check both, without relying on the appearance of the illustrated preview.

Reference inputs and results

Every row states the sensor dimensions, focal length, f-number, focused distance, background distance and acceptable circle of confusion (CoC). Distances refer to the ideal lens plane. This is calculated thin-lens data, not a measurement of a particular lens or camera.

Download JSON · Download CSV. In both files, lengths are millimetres and angles are degrees. The text Infinity denotes an unbounded limit. The tables below use metres for distances and millimetres for blur.

Inputs — every sensor is a generic format, not a named camera
ExampleSensor (mm)Focal length (mm)f-numberFocus (m)Background (m)Acceptable CoC (mm)
50 mm portrait · background at 4 m36 × 24501.8340.03
50 mm portrait · background at 6 m36 × 24501.8360.03
50 mm portrait · background at 12 m36 × 24501.83120.03
50 mm portrait · background at 30 m36 × 24501.83300.03
50 mm portrait · stricter sharpness criterion36 × 24501.83120.015
50 mm · f/8 · focus at 5 m36 × 245085120.03
85 mm portrait · f/1.836 × 24851.82100.03
85 mm portrait · f/436 × 248542100.03
24 mm · focus at hyperfocal distance36 × 242482.424500.03
Full-frame framing comparison36 × 24502.83120.03
APS-C approximate matched framing24 × 1633.33331.86673120.02
Calculated results — click an example to inspect its inputs
ExampleNear (m)Far (m)Total DOF (m)Hyperfocal (m)Background blur (mm)
50 mm portrait · background at 4 m
Open setup →
2.8202913.204170.38387946.3462960.117702
50 mm portrait · background at 6 m
Open setup →
2.8202913.204170.38387946.3462960.235405
50 mm portrait · background at 12 m
Open setup →
2.8202913.204170.38387946.3462960.353107
50 mm portrait · background at 30 m
Open setup →
2.8202913.204170.38387946.3462960.423729
50 mm portrait · stricter sharpness criterion
Open setup →
2.9073713.0987250.19135492.6425930.353107
50 mm · f/8 · focus at 5 m
Open setup →
3.3893719.5274396.13806810.4666670.036827
85 mm portrait · f/1.8
Open setup →
1.9717782.0290410.057263133.8812961.67682
85 mm portrait · f/4
Open setup →
1.9383482.0657020.12735460.2933330.754569
24 mm · focus at hyperfocal distance
Open setup →
1.212InfinityInfinity2.4240.028546
Full-frame framing comparison
Open setup →
2.7294563.3300770.60062129.8119050.226998
APS-C approximate matched framing
Open setup →
2.7280613.3321560.60409429.7946470.150479

How to reproduce a row

  1. Open its simulator link: it selects Custom camera and Custom lens, not a named product.
  2. Inspect the explicit sensor dimensions and CoC in Advanced controls.
  3. Compare the numerical near/far limits, background blur and hyperfocal distance. Displayed values are rounded; the data download retains calculation precision.
  4. To check independently, use the published equations and all the listed inputs.

What can—and cannot—be concluded

Moving a background from 4 m to 30 m increases defocus without changing the depth of field around a person focused at 3 m. Tightening the acceptable CoC changes the reported sharp range, not the physical blur. The APS-C example approximately matches full-frame framing and DOF at an ordinary distance; it does not claim identical exposure, noise or image processing.

An infinite far limit means geometric defocus at infinity stays within the selected tolerance. It does not mean every distance is equally sharp. The hyperfocal example's illustrated backdrop remains at a finite 50 m.

The equations omit aberrations, focus breathing, pupil magnification, motion and processing. Portrait cutouts are flat teaching subjects. Bokeh shapes and diffraction stars are illustrative; no measured lens point-spread data is claimed.

Provenance, verification and citation

Published by Lumiverse, the maintainer of DOF Simulation. The tables and downloads are generated together at build time from the same versioned reference inputs. Automated tests cross-check background blur with independently projected ray cones and verify DOF against an exact rational fixture. These checks validate software consistency, not a physical-lens calibration.

When referencing a value, link to the individual example, state its inputs, and describe it as a thin-lens estimate. Check the deployed revision to identify the release. Report corrections through About & contact; substantive updates change the visible revision date.

Related experiments: background separation, acceptable sharpness, portrait apertures, and hyperfocal focus.