Calculators Cloud
BlogMath AI SolverAll Calculators

Depth of Field Calculator

Calculate the depth of field for your camera and lens combination. Understand how aperture, focal length, and distance affect focus range in photography.

Calculate Your Depth of Field Calculator

What is Depth of Field?

Depth of field (DOF) is the distance between the nearest and the farthest objects that are in acceptably sharp focus in an image. It's a crucial concept in photography and cinematography that controls which parts of an image appear sharp and which appear blurry.

Factors Affecting Depth of Field

  • Aperture (f-stop): Smaller apertures (larger f-number) increase depth of field. For example, f/16 has a greater depth of field than f/2.8.
  • Focal Length: Shorter focal lengths provide greater depth of field. A wide-angle lens at 24mm will have more depth of field than a telephoto lens at 200mm.
  • Distance to Subject: The closer you are to your subject, the shallower the depth of field. Portrait photographers often shoot close to their subjects with wide apertures to create a shallow depth of field.
  • Sensor Size: Smaller sensors effectively increase depth of field compared to larger sensors at the same aperture, focal length, and subject distance.

Understanding the Calculator Results

  • Near Focus Plane: The closest distance at which objects appear acceptably sharp.
  • Far Focus Plane: The farthest distance at which objects appear acceptably sharp. This can be infinity when focusing at or beyond the hyperfocal distance.
  • Total Depth of Field: The distance between the near and far focus planes.
  • Hyperfocal Distance: The focusing distance that gives the maximum depth of field, extending from half the hyperfocal distance to infinity.
  • Circle of Confusion: The maximum blur circle that still appears as a point to the human eye, based on sensor size.

How to Use Depth of Field Creatively

Depth of field is a powerful creative tool in photography:

  • Deep Depth of Field: Useful for landscape photography where you want everything from the foreground to the background to be in focus. Use smaller apertures like f/8 to f/16.
  • Shallow Depth of Field: Perfect for portraits and product photography to isolate subjects from the background. Use wider apertures like f/1.4 to f/2.8.
  • Hyperfocal Focusing: A technique used primarily in landscape photography where focusing at the hyperfocal distance ensures maximum depth of field from the foreground to infinity.

Practical Tips

  • For landscape photography, try using the hyperfocal distance to maximize your depth of field.
  • For portrait photography, choosing a wider aperture (smaller f-number) helps isolate your subject.
  • When shooting macro photography, be aware that depth of field becomes extremely shallow at close focusing distances.
  • Use focus stacking (taking multiple images at different focus points and combining them) for situations where you need both close and distant objects to be sharp.

See Also

  • Shutter Speed Calculator
  • TV Mounting Height Calculator
  • Vertical Exaggeration Calculator

Related Calculators

Field of View Calculator

Calculate field of view for camera and lens combinations.

Hyperfocal Distance Calculator

Calculate hyperfocal distance for maximum depth of field.

Crop Factor Calculator

Calculate how sensor size affects focal length and field of view.

Aspect Ratio Calculator

Calculate and convert between different aspect ratios for photos and videos.

Frequently Asked Questions

Depth of field refers to the range of distance within an image that appears acceptably sharp. A shallow depth of field means that only a small portion of the image is in focus (like in portrait photography with blurred backgrounds), while a deep depth of field means that most or all of the image is in focus (like in landscape photography).

Aperture is one of the most significant factors affecting depth of field. A larger aperture (smaller f-number like f/1.8) creates a shallower depth of field, while a smaller aperture (larger f-number like f/16) creates a deeper depth of field. This is why portrait photographers often use wide apertures to blur backgrounds, while landscape photographers use narrow apertures to keep everything in focus.

The hyperfocal distance is the closest focusing distance that allows objects from half that distance to infinity to be acceptably sharp. When you focus at the hyperfocal distance, you maximize your depth of field. It's particularly useful in landscape photography where you want both foreground elements and distant scenery to be in focus.

Longer focal lengths (telephoto lenses) create a shallower depth of field compared to shorter focal lengths (wide-angle lenses) at the same aperture and subject distance. This is why telephoto lenses are often preferred for portraits where a shallow depth of field is desired to separate the subject from the background.

Larger sensors (like full-frame) produce shallower depth of field than smaller sensors (like APS-C or Micro Four Thirds) when using the same aperture, focal length, and subject distance. This is because larger sensors require longer focal lengths to achieve the same field of view, and those longer focal lengths reduce depth of field. This is why full-frame cameras are often preferred for portrait photography where shallow depth of field is desired.

The circle of confusion is the largest blur spot that is still perceived as a point by the human eye in the final image. It's used in depth of field calculations and varies depending on sensor size, print size, viewing distance, and visual acuity. The calculator uses commonly accepted circle of confusion values for different sensor formats, typically 0.029mm for full-frame sensors.

If you can't change your aperture (perhaps due to light conditions), you can increase depth of field by:
1. Using a shorter focal length (wider angle lens)
2. Moving farther away from your subject
3. Using a camera with a smaller sensor
4. Focusing at the hyperfocal distance

When you focus at or beyond the hyperfocal distance, the far focus plane extends to infinity. This means that everything from a certain distance (the near focus plane) to infinity will appear acceptably sharp in your image. This is ideal for landscape photography where you want distant objects to be in focus.

Share This Calculator

Found this calculator helpful? Share it with your friends and colleagues!

Calculators Cloud

Your trusted source for online calculators. Fast, accurate, and completely free to use.

Calculator Categories

  • Sports
  • Ecology
  • Music
  • Physics
  • Maths

Resources

  • Blog
  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

Subscribe

Get updates on new calculators and helpful guides directly to your inbox.

© 2025 Calculators Cloud. All rights reserved.

Made with by the Calculators Cloud Team
    14 mm
    16 mm
    24 mm
    35 mm
    50 mm
    85 mm
    105 mm
    135 mm
    200 mm
    300 mm
    400 mm
    f/1.4
    f/1.8
    f/2
    f/2.8
    f/4
    f/5.6
    f/8
    f/11
    f/16
    f/22
    meters
    feet
    Full Frame
    APS-C
    Micro Four Thirds
    1-inch