Depth of field

What comes out sharp, and where to focus so the most of it does.

Sharp from

1.67 m to ∞

24mm · ƒ/8 · 1.67 m to ∞

Hyperfocal

2.52 m

Focused past it, so the far limit is infinity. The near limit is what you are trading away.

Viewfinder

24mm · ƒ/8 · focused 5.00 m · 74° across

Tap the picture to focus there. Each pixel is blurred by the amount the answer gives for its distance; amber outlines mark what is inside the sharp zone.

How it works

A lens brings light from one distance back to a point on the sensor. Light from nearer or farther lands as a small disc instead. While the disc stays smaller than the eye can resolve, it reads as sharp. Depth of field is the range of distances where that holds.

From the side

Distance on a log scale

The plaques laid out along a scale where 1 m and 1 km both fit. Above each one, the solid circle is the blur disc a point at that distance makes; the dashed circle is the largest that still reads as sharp. Drag to turn it; two fingers on a phone.

Sharp zone and focus plane Hyperfocal distance

Inside the lens

Angles exaggerated

Light from a point spreads out, passes the aperture, and the lens brings it back to a point. Only the focused distance meets on the sensor. Nearer light meets behind it, farther light in front, and both arrive as discs. A smaller aperture narrows every cone, so every disc shrinks.

Grass, 80 cm Focus point Far hills
On the sensor, magnified · true size against each other
Grass, 80 cm2.6× the limitFocus pointsharpFar hillssharp