Depth of field calculator
Work out exactly how much of your scene will be in focus. Enter your sensor format, focal length, aperture and subject distance, and the tool returns the near limit, far limit, total depth of field and the hyperfocal distance for that combination.
It uses the standard optical formulas based on the hyperfocal distance H = f² / (N·c) + f and the near/far limit equations, with a circle of confusion chosen automatically for your sensor size — all computed in your browser.