Photo Depth of Field Planner
See exactly what will be sharp: near and far focus limits, hyperfocal distance and a simulated photo with real blur, for any lens, aperture and sensor.
- Live side-view diagram
- Simulated blur preview
- Hyperfocal
- Solve the f-stop
- Focus stacking
- GIF · video · PDF
- Near limit–
- Far limit–
- Hyperfocal–
- Front / behind–
- Full-frame equiv.–
Scene presets
Lens
Focus & units
Camera sensor
CoC ≈ sensor diagonal ÷ 1500. Smaller is stricter — try half the value for big prints or pixel-peeping. The sensor does not change the focal length you type.
What must be sharp
Finds the focus distance and the widest aperture that keeps both targets sharp.
Scenarios
Side view · what's sharp
sharp zonefocushyperfocalPreparing calculation…
Simulated photo
Sharpness range
Aperture comparison
Click a row to use that f-stop| f-stop | Near | Far | Depth | Hyperfocal | Diffraction | Targets |
|---|
Focus stacking planner
Hyperfocal guide at this f-stop & sensor
Compared distance ranges
| Scenario | Lens / f-stop | Focus | Near | Far | Hyperfocal | Target | Actions |
|---|
Downloads & sharing
Everything is made in your browser.Plan a photo in four steps
- Pick a preset or enter the real lens focal length, aperture and focus distance. The unit switch converts every distance together.
- Choose your sensor — it sets the circle of confusion (CoC), the blur size still accepted as sharp.
- Type the nearest and farthest things that must be sharp, then press Solve or compare apertures in the table.
- Pin scenarios, then export a PNG/PDF plan, a GIF or video of the aperture sweep, or CSV data.
Model and limits
Simple symmetric thin-lens, paraxial geometry, in millimetres: q = f²/(N × c), H = q + f, near = s × q/(q + s − f), far = s × q/(q − s + f) (∞ when the denominator is zero or negative). The solver uses s = 2·Dn·Df/(Dn + Df). The preview blur uses the blur-disc diameter b = f²/(N(s − f)) × |d − s|/d on the sensor. Diffraction is flagged when the Airy disk 2.44 × 0.55 µm × N exceeds the CoC.
It omits motion blur, lens aberrations, focus breathing, pupil magnification and tilted focus planes; near macro distances real lenses can differ. Inside the range is only acceptably sharp under the chosen CoC, not perfectly sharp. References: Nikon aperture guide. Related: Image Resizer & Converter · Batch Image Workbench. Processing stays in your browser; no photos are needed.
Using Photo Depth of Field Planner
Compare modeled depth-of-field ranges using actual focal length, aperture and your own circle-of-confusion criterion.
- Pick a preset or enter the real lens focal length, aperture and focus distance. The unit switch converts every distance together.
- Choose your sensor — it sets the circle of confusion (CoC), the blur size still accepted as sharp.
- Type the nearest and farthest things that must be sharp, then press Solve or compare apertures in the table.
- Pin scenarios, then export a PNG/PDF plan, a GIF or video of the aperture sweep, or CSV data.
Example
Start with a 50 mm lens at f/2.8 focused at 3 meters with 0.030 mm CoC.
Questions & answers
Does sensor choice change focal length?
No. The presets only set an editable circle-of-confusion assumption. Enter the actual focal length printed on your lens, not a 35 mm equivalent.
What does infinity mean?
The thin-lens far-limit denominator is zero or negative, so distant points fall inside the chosen blur threshold. It does not mean perfect sharpness.
Can I compare camera settings?
Pin up to 12 scenarios or add a six-aperture comparison. The chart uses a labeled finite distance axis and arrows where ranges extend beyond it.
Is it accurate for macro photography?
It is a simplified symmetric thin-lens estimate. Real macro lenses, pupil magnification and focus breathing can produce different results. Close-focus cases show a warning.
Can I save my work?
Export the comparison as CSV or save/reopen JSON settings and pinned scenarios. No photos are required and nothing is uploaded.
What can I download or copy?
From the page: 🎞️ Animated GIF, 🎬 Video WebM, 🎬 Video MP4, �️ Plan PNG, � PDF report, � Chart SVG, Download comparison CSV, Aperture table CSV, � ZIP of everything. Everything is created in your browser.
Help improve this tool
Report a problem or suggest an improvement
Describe the issue without pasting private tool input. Feedback goes to our admin inbox.
