digtools
📷
dof calculator,

Depth of Field Calculator Calculate DoF & Hyperfocal Distance

A free tool to instantly calculate depth of field, hyperfocal distance, near limit, and far limit by entering your camera's sensor size, focal length, aperture, and subject distance.

🎯
High-Precision DoF Calculation
📏
Hyperfocal Distance Check
🔒
Safe Browser-Based Processing

Hyperfocal Distance

-- m

Near Limit

-- m

Far Limit

-- m

Total Depth of Field

-- m

All calculations are performed on your browser. Data is never sent to a server.
about,

About Depth of Field Calculator

The "Depth of Field Calculator" is a free web tool that lets you instantly calculate the in-focus range (depth of field) and hyperfocal distance simply by entering your sensor size, focal length, aperture (F-stop), and subject distance. It is ideal for simulating camera settings when taking photos.

It is useful for planning before a shoot or quickly checking on location, such as when aiming for pan-focus in landscape photography or controlling background blur in portraits. By knowing the hyperfocal distance, you can easily find the optimal settings to keep everything in focus up to infinity.

Since all calculations are performed locally in your browser (client-side), the data you enter is never sent to a server, ensuring your privacy and security. No app installation or registration is required.

how to,

How to Use the Calculator

STEP 1

Enter Camera & Lens Details

Select your camera's sensor size (e.g., Full Frame, APS-C) and enter the focal length (mm) of your lens.

STEP 2

Set Shooting Conditions

Input the aperture value (F-stop) you plan to use and the distance from the camera to your subject.

STEP 3

Check the Results

The near and far limits of focus, total depth of field, and hyperfocal distance will automatically be calculated and displayed.

glossary,

Photography Glossary

Depth of Field (DoF)
The distance between the nearest and farthest objects in a scene that appear acceptably sharp in an image. A shallow DoF blurs the background, while a deep DoF keeps everything in focus.
Hyperfocal Distance
The closest distance at which a lens can be focused while keeping objects at infinity acceptably sharp. When focused here, everything from half this distance out to infinity will be in focus.
Circle of Confusion
The maximum blur spot diameter that is perceived as a point by the human eye. It varies based on sensor size and serves as the baseline for calculating depth of field.
Focal Length
The distance from the optical center of the lens to the image sensor. A smaller number provides a wider angle of view (wide-angle), while a larger number magnifies distant subjects (telephoto).
Aperture (F-stop)
A value representing the size of the lens opening. Lower numbers (wider aperture) let in more light and produce a shallower DoF. Higher numbers (narrow aperture) let in less light and produce a deeper DoF.
faq,

Frequently Asked Questions

Q.Is the shooting data I enter saved on the server?
No, it is not saved. All calculations are performed entirely within your browser, so the information you enter is never sent externally. You can use it safely.
Q.Can it accurately calculate for macro photography?
Because this tool uses standard approximation formulas for depth of field, there may be deviations from the actual depth of field in extreme close-up macro photography.
Q.How do I focus based on the hyperfocal distance?
If your lens has a distance scale, set the scale to the calculated hyperfocal distance. If you use autofocus (AF), you can achieve this by focusing on a subject located at the calculated distance.
Q.Can I change the circle of confusion value?
This tool automatically sets standard circle of confusion values based on the selected sensor size. Currently, it does not support manual custom input.
Q.Can I use it on a smartphone or tablet?
Yes, it is fully supported. It uses a responsive design, so you can easily calculate and check it from your smartphone while shooting on location.
use cases,

Use Cases for DoF Calculation

🏔️

Pan-Focus in Landscape Photography

When you want everything from the foreground to the distant mountains to be razor-sharp, calculate the hyperfocal distance to find the optimal aperture and focus point.

👤

Predicting Bokeh in Portraits

Simulate how much the background or foreground will blur (the depth of the in-focus area) when focusing on a model's eyes before the shoot, helping you choose the right lens.

🌃

Settings for Astrophotography

Calculate the precise settings needed to keep the aperture wide open in low light, while still keeping both the distant stars and the foreground landscape in sharp focus.

📸

Studio Product Photography

Accurately determine the aperture required to keep the entire product sharp, preventing you from stopping down too much and losing image quality due to diffraction.

Send Feedback

Please let us know your thoughts to help us improve the tool.

Disclaimer

The tools provided on this site are completely free to use, but please use them at your own risk. We make no guarantees regarding the accuracy, completeness, or safety of any calculation results, conversion results, or generated data. Please be aware that the operator assumes no responsibility for any damages or troubles caused by the use of these tools. Most tools process files and calculations locally in your browser, meaning your inputted data is neither sent to nor stored on our servers.