Depth of Field Calculator
Calculate depth of field for your photography. Find near focus, far focus, hyperfocal distance, and understand how aperture, focal length, and sensor size affect your images.
Depth of Field Calculator
Calculate depth of field based on focal length, aperture, and subject distance
Formula
DoF = Far Focus - Near FocusDepth of field depends on focal length, aperture, subject distance, and sensor size
How to Use
- 1Enter focal length — Input your lens focal length in millimeters.
- 2Select aperture — Choose your aperture f-stop value.
- 3Enter subject distance — Input the distance to your subject in meters.
- 4Select sensor size — Choose your camera sensor size for accurate calculations.
Frequently Asked Questions
What is depth of field?
Depth of field (DoF) is the distance between the nearest and farthest objects in a photo that appear acceptably sharp. A shallow DoF creates background blur (bokeh), while a deep DoF keeps more of the scene in focus.
How does aperture affect depth of field?
A wider aperture (smaller f-number like f/1.8) creates a shallower depth of field with more background blur. A narrower aperture (larger f-number like f/16) creates a deeper depth of field with more of the scene in focus.
What is hyperfocal distance?
Hyperfocal distance is the closest distance at which a lens can be focused while keeping objects at infinity acceptably sharp. When focused at the hyperfocal distance, everything from half that distance to infinity will be in focus.
How does sensor size affect depth of field?
Larger sensors (like full-frame) produce shallower depth of field at the same field of view compared to smaller sensors (like APS-C or Micro Four Thirds). This is because larger sensors require longer focal lengths for the same framing.
What is circle of confusion?
Circle of confusion (CoC) is the largest blur spot that will still appear as a point to the human eye. It varies by sensor size and determines what is considered "acceptably sharp" in depth of field calculations.