Mastering focus is critical for sharp photography. Our Depth of Field (DoF) Calculator helps you determine exactly how much of your scene will be in focus based on your camera sensor, lens focal length, aperture (f-stop), and subject distance. It also calculates the Hyperfocal Distance—the focus point that maximizes sharpness from half that distance to infinity.
Depth of Field Calculator
Camera Settings
How it Works
- Hyperfocal Distance: The closest distance you can focus on to keep the background sharp to infinity.
- Depth of Field: The range of distance that appears acceptably sharp.
- Circle of Confusion: Based on sensor size, determines what is considered "sharp".
Calculated Results
Total Depth of Field
Near Limit
4.29
Far Limit
6.00
In Front
0.71
Behind
1.00
Hyperfocal Distance
* Note: For macro photography, the "Circle of Confusion" must be adjusted. Most modern cameras use 0.030mm for Full Frame.
Focus here to keep everything from 14.91 to ∞ sharp.
* Visualization is not to scale
Calculate Depth of Field & Hyperfocal Distance
Calculate depth of field (DoF), near limit, far limit, and hyperfocal distance for any camera sensor, aperture, and focal length. Essential for photographers.
Select Sensor
Choose your camera's sensor size (e.g., Full Frame, APS-C).
Enter Lens Info
Input your focal length (mm) and aperture (f-stop).
Subject Distance
Enter how far away your subject is.
Analyze
View the near limit, far limit, and total depth of field range.
Key Features
Multi-Sensor Support
Supports Full Frame, APS-C (Canon/Nikon/Sony), Micro 4/3, Medium Format, and 1-inch sensors.
Hyperfocal Distance
Instantly find the perfect focus distance to keep your background sharp to infinity.
Visual Representation
See a visual bar chart of your in-focus zone relative to your subject and infinity.
Frequently Asked Questions
Hyperfocal distance is the closest distance at which a lens can be focused while keeping objects at infinity acceptably sharp. Focusing here maximizes depth of field.
Sensor size affects the 'Circle of Confusion' limit. Smaller sensors (like APS-C or Micro 4/3) have smaller CoC limits, which technically gives them deeper depth of field for the same equivalent field of view compared to Full Frame.
Related Tools
View allExposure Triangle Calculator
Calculate equivalent exposures by balancing ISO, Aperture, and Shutter Speed.
Timelapse Calculator
Calculate shooting interval, clip length, and storage requirements.
Print Size Calculator
Calculate max print size from megapixels and resolution.
Image Vignette
Add stylized vignette effects to your photos with full control.
Pomodoro Study Timer
Stay focused with the Pomodoro technique.
Last updated on