A depth of field calculator tells you the exact near and far distances that stay in sharp focus for a given focal length, aperture, focus distance and sensor format — enter your settings below for instant limits and hyperfocal distance.
Near limit
2.73 m
Far limit
3.33 m
Total DoF
601 mm
Hyperfocal distance
29.81 m
Calculates the near and far limits of acceptably sharp focus around your focus distance, using the hyperfocal-distance method — the standard approach for depth of field, based on your lens's focal length and aperture plus your sensor's circle of confusion (how large a blur spot still reads as “sharp” at normal viewing size).
Near and far limits are the closest and furthest points that will still look acceptably sharp. If far limit shows infinity, everything from the near limit outward is in focus — this happens once your focus distance passes the hyperfocal distance shown at the bottom.
Depth of field is the zone in front of and behind your focus point that still reads as acceptably sharp. It isn't a hard edge — sharpness fades gradually the further you move from the focus point — so every depth-of-field calculation, including this one, is built on a convention (the circle of confusion) for how much blur still counts as “sharp” at normal viewing size.
Depth of field is how you decide how much of a scene stays in focus, and that decision changes the whole feel of a shot. A thin sliver of sharpness isolates a subject from a busy background — the look most portraits and product close-ups want. A deep zone of sharpness, front to back, is what a landscape needs when both a foreground rock and a distant mountain have to read clearly in the same frame.
For subject isolation (portraits, headshots, product shots), go wide aperture, get physically closer to your subject, and use a longer focal length if you can — all three shrink depth of field. For landscapes and anything that needs front-to-back sharpness, do the opposite: narrow the aperture, keep more distance between you and the nearest element, and consider focusing near the hyperfocal distance instead of on your main subject (see the Hyperfocal Distance Guide tool for that specifically). For group shots or product flat-lays, aim for a moderate aperture (f/5.6-f/8 on full-frame) that gives enough coverage without needing an extreme setting.
Standard portrait-length shot
50mm, f/2.8, focus at 3m, full-frame
Near 2.73m, far 3.33m, total DoF 601mm, hyperfocal 29.81m
Wide landscape foreground
24mm, f/8, focus at 2m, APS-C (Canon)
Near 1.31m, far 4.18m, total DoF 2.87m, hyperfocal 3.81m
Tight subject isolation
85mm, f/1.8, focus at 1.5m, full-frame
Near 1.48m, far 1.52m, total DoF 32mm, hyperfocal 133.88m
Guides for this tool, by niche
Related terms