Depth of field

Simulator

This simulator needs WebGL, which isn’t available in this browser.
Near limit 
Far limit 
Hyperfocal 
f/1.2f/22
Sensor

With the framing held, changing the focal length moves the camera too. Watch how little the depth of field changes when you do.

Try these
Distance from the camera, with the near limit, the focus, the far limit and the hyperfocal distance marked
Depth of field against focus distance for the current lens and stop, with the current distance marked

What is sharp, and how much of it

Only one distance is ever truly in focus. Either side of it there is a zone that looks sharp enough, and four things decide how deep that zone is, and one of them is not what most people think.