Free Film & Video Tool · Calculator
Depth of Field Calculator
Calculate near and far focus limits, total depth of field and hyperfocal distance from focal length, aperture, focus distance and sensor format — in metres or feet, with the circle of confusion shown.
Deterministic maths that runs entirely in your browser — no AI model, no uploads, no account. Formulas and assumptions are explained below the calculator.
Inputs
Results update as you type.
The actual focal length marked on the lens — not a full-frame equivalent.
Use the f-number (f-stop). T-stops on cine lenses are close but slightly slower.
Crop factor 1× vs full frame.
Leave blank to use 0.0288 mm (this format's diagonal ÷ 1500). Enter your own value for stricter or looser sharpness.
Results
Total depth of field
57.7 cm
26.1 cm in front · 31.6 cm behind
Hyperfocal distance
31.0 m
Focus here for sharpness from 15.5 m to infinity
Near limit
2.74 m
Far limit
3.32 m
Acceptably sharp zone
Circle of confusion used: 0.0288 mm (Full frame diagonal ÷ 1500).
How it works
Depth of field is the range of distances in front of and behind your focus point that look acceptably sharp. It's controlled by four things: focal length, aperture (f-number), focus distance and the circle of confusion — the largest blur spot that still reads as a sharp point. This calculator uses the standard thin-lens equations found in most depth-of-field tables.
The formulas
With focal length f, f-number N, circle of confusion c and focus distance s (all in the same units):
- Hyperfocal distance H = f² ÷ (N × c) + f
- Near limit = s × (H − f) ÷ (H + s − 2f)
- Far limit = s × (H − f) ÷ (H − s), or infinity when s is at or beyond H
- Total depth of field = far limit − near limit
Worked examples
| Setup | Near | Far | Total | Hyperfocal |
|---|---|---|---|---|
| Full frame, 50 mm, f/2.8, focused at 3 m | 2.74 m | 3.32 m | 57.7 cm | 31.0 m |
| Full frame, 35 mm, f/8, focused at 3 m | 1.92 m | 6.80 m | 4.87 m | 5.34 m |
| Super 35, 50 mm, f/2.8, focused at 3 m | 2.81 m | 3.22 m | 41.3 cm | 43.1 m |
| 50 mm, f/2.8, focused at 10 ft, c = 0.03 mm | 9.08 ft | 11.1 ft | 2.04 ft | 97.8 ft |
Stopping down from f/2.8 to f/8 (with a wider lens) turns a few tens of centimetres of sharpness into several metres — which is why interviews at f/2 and landscapes at f/8 look so different.
Sensor presets and circle of confusion
Each preset's circle of confusion is its image diagonal ÷ 1500, a common modern convention. Traditional tables vary: many quote 0.030 mm for full frame, and motion-picture tables often use 0.025 mm (one thousandth of an inch) for 35 mm cine. Enter your own value in the optional field if you work to a different standard.
| Format | Diagonal | Crop factor | CoC used |
|---|---|---|---|
| Full frame (36 × 24 mm) | 43.3 mm | 1× | 0.0288 mm |
| Super 35 (24.89 × 18.66 mm) | 31.1 mm | 1.39× | 0.0207 mm |
| APS-C — Sony, Nikon, Fujifilm (23.5 × 15.6 mm) | 28.2 mm | 1.53× | 0.0188 mm |
| APS-C — Canon (22.3 × 14.9 mm) | 26.8 mm | 1.61× | 0.0179 mm |
| Micro Four Thirds (17.3 × 13.0 mm) | 21.6 mm | 2× | 0.0144 mm |
| 1-inch type (13.2 × 8.8 mm) | 15.9 mm | 2.73× | 0.0106 mm |
| Super 16 (12.52 × 7.41 mm) | 14.5 mm | 2.97× | 0.0097 mm |
| Medium format 44 × 33 (43.8 × 32.9 mm) | 54.8 mm | 0.79× | 0.0365 mm |
Sensor sizes are nominal. Real cameras differ slightly, and many crop the sensor in certain video modes — if yours does, choose the format closest to the area actually recorded, or enter a custom circle of confusion.
Assumptions and limitations
- “Acceptably sharp” is a judgement, not a physical boundary. The same shot can look sharp on a phone and soft on a cinema screen — the circle of confusion encodes that viewing assumption.
- The thin-lens model ignores lens design details (pupil magnification, focus breathing, field curvature) and becomes unreliable at macro and very close focus distances; the calculator warns you in that range.
- Focus distance is treated as measured to the lens. Lens distance scales and tape measures usually run from the sensor plane (the focal-plane mark), which only makes a noticeable difference at close range.
- Diffraction softening at small apertures and anamorphic lens behaviour are not modelled.
- Results are approximations to guide shot planning and focus pulling — always check focus on a calibrated monitor. For background blur and creative choices, see our guide to the bokeh effect.
FAQ
- What is the hyperfocal distance?
- The closest focus distance at which everything out to infinity is still acceptably sharp. Focus there and the depth of field runs from roughly half the hyperfocal distance to infinity.
- Which circle of confusion should I use?
- There's no single correct value — it depends on how large and how closely the image will be viewed. This calculator defaults to the sensor diagonal ÷ 1500 (about 0.029 mm for full frame). Use a smaller value for big-screen projection or critical focus pulling, and a larger one for small screens.
- Why does a smaller sensor give more depth of field?
- To get the same framing, a smaller sensor needs a shorter focal length or a greater distance, and both increase depth of field. At the same focal length, f-number and distance, the smaller format's smaller circle of confusion actually gives slightly less depth of field — but a tighter field of view.
- Can I use T-stops instead of f-stops?
- Depth of field depends on the geometric f-number. A cine lens's T-stop is usually slightly slower than its f-stop, so entering the T-stop gives a close but slightly generous estimate.
- Is it free to use?
- Yes. There's no signup or account, and the calculations run entirely in your browser — nothing you type is sent to a server or an AI model.
- Can I share or save my results?
- Yes. Your inputs are saved in the page address as you type, so “Copy link” gives you a URL that reopens the calculator with the same settings. “Copy results” copies a plain-text summary.
Further reading
- Depth Of Field In Photography: Mastering Focus and Bokeh
- What Is Shallow Depth of Field?
- What Is Aperture? Definitive Guide To Aperture & F-Stops
- Deep Focus Shot: Definition & Examples
- The Rack Focus Shot: A Complete Guide
- Camera Sensor Size: The Definitive Guide
- Full Frame vs Crop Sensor: What Is The Difference?
Related free tools
More in Camera, Lenses & Exposure →Crop Factor & Field of View Calculator
Compare lenses across sensor formats — crop factor, equivalent focal length and horizontal, vertical and diagonal angle of view from real sensor dimensions, with depth-of-field aperture equivalence explained.
Shutter Angle Calculator
Convert shutter angle to shutter speed (and back) at any frame rate, including 23.976 and 29.97 fps — with exact exposure times, nearest camera shutter speeds and flicker-safe options.
AI Camera Recommender Tool
Get a camera shortlist from a small curated set of video cameras, filtered by budget band and your top priority, plus a pre-purchase checklist.

Your first paying video clients — where to look first
If you’re early in the journey, start here: realistic channels, simple outreach, and what to say when someone says “send me a quote.”