• Free Tool – No Sign-Up Required
Free Depth of Field Calculator —
Hyperfocal Distance for Drone & Landscape
Focusing by feel costs you the foreground. Enter your camera or DJI drone, set your focal length and aperture, and the calculator computes your exact hyperfocal distance, near focus limit, far focus limit, and total depth of field — in real time. Covers Landscape, Timelapse, Drone, Portrait, and Astro shooting modes, each with field-ready focus guidance. No spreadsheet. No guesswork.
24
5
Live Diagram
100%
Guessing your focus point costs you the shot. This tool calculates exact hyperfocal distance, near and far limits, and total depth of field for any camera or DJI drone — with shoot-mode guidance for landscape, timelapse, drone, portrait, and astro.
Tap any cell to apply those settings to the calculator.
The Fundamentals
What Does the — Depth of Field Calculator Compute?
The Depth of Field & Hyperfocal Distance Calculator is a free browser-based tool that computes four values for any camera and lens combination: hyperfocal distance, near focus limit, far focus limit, and total depth of field. It covers 24 sensor presets — every major DJI model from the Mini 4K to the Inspire 3, plus full-frame, APS-C, Micro Four Thirds, GoPro, and iPhone — with manual entry for any unlisted sensor. Every output updates live as you move the sliders. No button to press.
The tool runs in two modes. Forward Mode is the standard workflow: enter camera, focal length, aperture, and focus distance and read your depth of field values. Inverse Mode reverses the problem: enter the total depth of field you want and the tool solves for the aperture that achieves it, with a grid showing what every f-stop gives you at that distance. A Hyperfocal Table tab shows the full matrix for your current sensor across 16 focal lengths and 10 apertures, colour-coded by shooting range and clickable to apply any combination directly to the calculator.
Why Your Focus Point Is the Single Most Important Decision Before the Shot
Most photographers spend more time choosing which aperture blurs the background than deciding where to actually focus. The aperture controls how wide the depth of field is. The focus distance controls where it sits. Getting the aperture right and the focus point wrong means the field of sharp detail is exactly as deep as you calculated — but centred on the wrong part of the frame.
The hyperfocal distance is the focus point at which everything from half that distance to infinity is acceptably sharp. It is the maximum-efficiency focus point for landscape and environmental photography. For a full-frame camera with a 35mm lens at f/8, the hyperfocal distance is 5.1 metres. Focus there and everything from 2.6 metres to infinity is sharp. Focus at 2 metres instead — which feels natural when you are composing with foreground rocks — and the far limit drops to 3.3 metres. The horizon goes soft. The 5.1-metre depth you had available collapses to 1.9 metres, and no amount of post-processing recovers it.
The numbers do not change. The formula is fixed physics: H = f² ÷ (N × c), where f is focal length in millimetres, N is your f-number, and c is the circle of confusion for your sensor. A full-frame sensor uses a circle of confusion of approximately 0.030mm. The 1/1.3-inch sensor in the DJI Air 3S uses 0.007mm — four times smaller — which means the hyperfocal distance for a given focal length and aperture is four times shorter. On most DJI drones at typical flying altitudes, you are already well past hyperfocal and depth of field is not the constraint. The calculator confirms this and tells you when it is.
Affiliate Disclosure
This page contains affiliate links. Purchases made through these links support Aero Timelapse Studio at no additional cost to you. I only recommend products I personally use or carefully research. As an Amazon Associate I earn from qualifying purchases.
Step-by-Step Guide
How to Use the Depth of Field Calculator
Step 1 — Select your camera or drone
Choose your camera from the preset dropdown at the top of the left panel. The calculator loads the sensor width, height, crop factor, and circle of confusion for that model automatically. The sensor badge below the dropdown confirms exactly what the tool is using — useful for verifying that the right sensor size is loaded before you read results. If your camera is not listed, select Manual / Custom and enter your sensor dimensions and CoC manually. The CoC field includes a tooltip explaining circle of confusion and the standard formula for calculating it from your sensor's diagonal measurement.
Step 2 — Set focal length and aperture
The focal length slider uses a logarithmic scale. This gives fine control in the wide-angle range where a difference of 2–3mm changes the hyperfocal distance significantly, while compressing the telephoto end where changes are more gradual. The number input accepts direct entry for any value between 4mm and 800mm. The equivalent 35mm focal length displays below the slider for reference. For DJI drones, use the actual printed focal length on the lens — not the 35mm equivalent. Select your aperture from the dropdown. If you stop down past the diffraction threshold for your sensor, an amber warning appears showing the airy disk diameter versus your CoC and the optimal aperture for maximum sharpness.
Step 3 — Set your focus distance
Move the focus distance slider to your intended focus point. The slider range runs from 0.3 metres to 1 kilometre on a logarithmic scale, with fine resolution in the close-focus range where depth of field changes most rapidly. The value tag above the slider updates in real time. Check the Focus at ∞ box to model the infinity focus case — the tool calculates your near limit and confirms whether foreground objects at a given distance fall within the sharp zone. All four result cards update on every slider movement without any need to press a button.
Step 4 — Choose a shoot mode
The five shoot mode pills below the inputs change the guidance panel on the right side of the tool. Landscape mode checks whether you are focused at or beyond hyperfocal and tells you exactly how much foreground depth you lose if you are not — with the optimal focus distance stated in your current units. Timelapse mode warns when shallow depth of field creates a defocus drift risk across a long sequence and recommends the sharpest aperture for your sensor. Drone mode reads the DJI sensor data and reports your in-focus ground coverage at the set altitude. Astro mode applies diffraction analysis and links to the Milky Way Exposure Calculator for shutter speed. Portrait mode assesses subject isolation and tells you whether your background separation begins at the right distance.
Step 5 — Read the focus diagram
The SVG focus diagram updates live on every input change. The coral vertical line is your focus point. The teal dashed line marks the near limit. The dimmed teal dashed line marks the far limit. The filled coral zone is the band of acceptable sharpness. The amber tick marks hyperfocal distance when it falls within the visible range. The bracket below shows total depth of field in your selected units. When your focus distance equals or exceeds hyperfocal, the far limit displays as ∞ and the sharp zone fades to the right edge of the diagram. Use the diagram to sense-check your setup visually before marking or taping the focus ring.
Step 6 — Use the Hyperfocal Table for field planning
Switch to the Hyperfocal Table tab to see the full grid for your current sensor: hyperfocal distances across 16 focal lengths and 10 apertures, colour-coded from red (less than 1 metre — too close for practical landscape use) through amber (1–5 metres), teal (5–20 metres — the ideal landscape range), and coral (over 20 metres — wide-angle territory where you may want a different focal length). Your current focal length row and aperture column are highlighted. Tap any cell to apply that combination to the main calculator and switch back to the results view automatically. The table is the fastest way to compare focal length and aperture trade-offs when planning a shoot rather than calculating from a single setting.
FAQ — Depth of Field Calculator
What is hyperfocal distance?
Hyperfocal distance is the closest focus point at which everything from half that distance to infinity is acceptably sharp. It is the maximum-efficiency focus point for landscape, environmental, and documentary photography. The formula is H = f² ÷ (N × c), where f is focal length in millimetres, N is the f-number, and c is the circle of confusion for your sensor in millimetres. Focusing at hyperfocal gives you the deepest possible depth of field from a single focus point. Focusing beyond it wastes foreground sharpness. Focusing in front of it sacrifices background sharpness.
How do I calculate depth of field for a DJI drone?
Select your DJI model from the preset dropdown — the calculator loads the verified sensor dimensions and circle of confusion for that specific model. Enter the focal length printed on your drone’s lens (the actual physical focal length, not the 35mm equivalent), select your aperture, and set your focus distance to your flying altitude or subject distance. Most consumer DJI drones have a fixed-focal-length lens, and some have a fixed aperture. The Drone shoot mode flags these constraints and confirms your in-focus ground coverage at the set altitude. At typical landscape flying altitudes, most DJI sensors are already operating well past hyperfocal — the tool confirms whether depth of field is actually a constraint for your specific setup.
What is the difference between near limit and far limit?
The near limit is the closest distance at which a subject is acceptably sharp, given your current focus point. The far limit is the furthest. Everything between these two values falls within your depth of field. When your focus distance equals or exceeds the hyperfocal distance, the far limit becomes infinite — the entire scene from your near limit to the horizon is sharp. At that point, the near limit equals exactly half the hyperfocal distance. Focusing further than hyperfocal does not extend depth of field; it only shifts the near limit further away, reducing the foreground coverage you have available.
What is Forward Mode and what is Inverse Mode?
Forward Mode is the standard calculator: enter camera, focal length, aperture, and focus distance and read out the depth of field values. Inverse Mode reverses the problem. Enter your focal length, subject distance, and the total depth of field you want, and the tool solves for the aperture that achieves it. The results panel shows the required aperture and a grid of all standard f-stops with the depth of field each one produces at that distance — useful when you know the scene geometry and need to find the right aperture rather than calculating from a known setting.
What is circle of confusion and why does it vary between sensors?
Circle of confusion (CoC) is the maximum diameter of a blur spot that still appears acceptably sharp to the human eye at standard viewing size and distance. A smaller sensor requires a larger enlargement ratio to reach the same output size, which makes defocus more visible and requires a smaller CoC. A full-frame sensor uses a CoC of approximately 0.030mm. A 1/1.3-inch sensor — used in the DJI Air 3S, DJI Air 3, and several other models — uses 0.007mm. This difference means the hyperfocal distance for the same focal length and aperture is roughly four times shorter on the smaller sensor. It also means diffraction softening appears at lower f-numbers.
What is diffraction and when does it affect my images?
Diffraction is the bending of light as it passes through a small aperture. At small apertures (high f-numbers), the central diffraction spot — the airy disk — grows larger than the sensor’s circle of confusion. The image begins to soften even as depth of field continues to increase. For a full-frame sensor, this threshold falls around f/16. For a 1/1.3-inch sensor, it can appear as early as f/5.6. The calculator monitors your aperture against this threshold and displays an amber warning showing the airy disk size versus your CoC, along with the optimal aperture for maximum sharpness on your specific sensor.
How do I focus at the hyperfocal distance in the field?
The most reliable method is distance estimation plus focus lock. Read the hyperfocal value from the calculator, find an object at roughly that distance, focus on it in autofocus, then switch to manual focus to hold the position. For timelapse, tape the focus ring once locked. If your lens has a distance scale, match the hyperfocal reading directly on the barrel. For drone work, the flying altitude is often close enough to the subject distance — at 30 metres AGL on a DJI Air 3, hyperfocal at a typical 8mm focal length and f/2.8 aperture is approximately 2.7 metres, meaning the entire ground below is already within the depth of field at any reasonable altitude.
Why does depth of field change faster at close focus distances?
Depth of field is not linear with focus distance. At 1.5 metres with a 50mm f/2.8 lens on a full-frame sensor, total depth of field is approximately 8 centimetres — the width of a face. At 5 metres, it expands to nearly 1 metre. At 10 metres — approaching hyperfocal — it covers the full scene from 5 metres to infinity. This non-linearity is why the focus distance slider in this calculator uses a logarithmic scale: it gives fine resolution in the close range where small adjustments have the largest effect on depth of field, and compresses the distant range where changes are more gradual.
Can I use this tool for astro photography and star focus?
Yes. Select Astro shoot mode for guidance specific to night sky photography. The tool calculates your hyperfocal distance and recommends focusing slightly inside it — not at optical infinity, which varies between lenses — to maximise star sharpness. It also checks whether your selected aperture is within the diffraction limit for your sensor and flags any softening risk. For the exposure side of astrophotography — NPF Rule shutter speed, maximum ISO before noise, and Milky Way timing — use the companion Milky Way & Star Trail Exposure Calculator.
Also From AeroTimelapse
Complete Your Pre-Flight Workflow
The Drone Shot Planner handles your cinematic shot geometry and camera settings. These AeroTimelapse tools complete the rest of your planning:
Set Your Focus Once and Nail It Every Time
Know your hyperfocal. Mark your focus ring. Never lose the horizon again.
Need help capturing professional drone footage for your next project but not ready to invest in the gear yet? Check out our Drone Videography service to see how Aero Timelapse Studio can help elevate your production.