Physics · optics

Depth of Field

How much is sharp, where the hyperfocal sits, and the aperture past which stopping down makes things worse.
H = f²/(Nc) + f
—

Format

—

Lens and subject

What is sharp

—
—total depth of field

What the picture looks like

—

Stopping down, and the point of no return

—

The same picture on another format

same framing, same depth of field
Same subject size in the frame and the same depth of field needs the same physical aperture diameter — so the f-number scales with the crop factor, and the focal length scales with it too.
How it works

What sets the sharp zone

Hyperfocal distance

Focus there and everything from half that distance to infinity counts as sharp. For a 50 mm lens at f/8 on full frame it is 10.9 m.

Stopping down

A smaller hole deepens the sharp zone without limit. A 50 mm at 3 m has 0.58 m at f/2.8 and 1.76 m at f/8, until diffraction softens the whole frame.

Framing, not focal length

Keep the subject the same size and the lens barely matters: 293 mm at 24 mm from a metre away, 287 mm at 200 mm from 8.5 m.

The background is what changes

At that same framing the 200 mm blurs distant lights over eight times as much, because it has a 71 mm hole against 8.6 mm.

Field notes

Things that follow from the geometry

45%in front

Not a third in front

At 3 m with a 50 mm at f/2.8, 45 percent of the sharp zone is in front of the subject. Near the hyperfocal distance the far limit runs away.

f/21on full frame

The diffraction wall

Past this, stopping down softens everything. APS-C reaches it at f/14, Micro Four Thirds at f/11 and a one-inch sensor at f/8.

f/4.7on a phone sensor

Small sensors hit it soonest

Sensor, lens and blur limit all shrink together, but the wavelength of light does not. Small sensors gain depth of field and reach the wall sooner.

18 vs 71 mmhole

The size of the hole

A 50 mm at f/2.8 has an 18 mm hole and a 200 mm has 71 mm. The hole sets how far the background melts.

4×the depth of field

Same hole, not the same depth

A 200 mm at f/11.2 has the same 17.9 mm hole as a 50 mm at f/2.8, and at the same framing four times the depth of field.

140 mmup close

Focus breathing

Many lenses lose focal length as they focus closer, so a 70–200 can behave like a 140 at its nearest. Close-up figures drift first.

Questions

What people ask

Does a longer lens give less depth of field?

At a fixed distance, yes. But walk back until the subject is the same size in the frame and almost all of the difference cancels. What you still see is the background: the long lens magnifies it, so it looks far more blurred even though the sharp slab is the same thickness.

What is the circle of confusion, really?

A decision, not a measurement. It is the largest blur circle you are prepared to call a point, and the traditional figure is the sensor diagonal divided by 1500, roughly what an unaided eye resolves on a 10×8 print at arm's length. Two calculators can disagree and both be right. Switch the standard here to see how much it moves.

Is hyperfocal focusing a good idea?

It gives the widest range that is acceptably sharp, but it puts infinity right at the edge of acceptable, so distant mountains are exactly as soft as you said you would tolerate. If the far detail is the subject, focus on it instead.

Why does the far limit go to infinity so suddenly?

Because the far limit is u(H−f)/(H−u), and as the subject distance u climbs towards the hyperfocal distance H the bottom of that fraction goes to zero. It is a real feature of the geometry, and it is why hyperfocal focusing feels like a trick.

Why does the page say it cannot focus?

A lens forms a real image only of something further away than its focal length. Inside that distance the light never comes to a point behind the lens, so there is no sharp zone to work out. A real lens stops well before that.

Is the picture what my lens will really look like?

The size and spacing of the discs are worked out for this lens. Their look is not: real discs have cat-eye shapes, bright rims and hard or soft edges that depend on the lens, and brightness here is eased so that large discs stay visible.

What this page assumes

A thin lens in air, with the subject distance measured to the lens. Real lenses are thick, many focus internally and their focal length changes as they focus, so close-up numbers drift first.

The only blurs are defocus and diffraction. Lens aberrations are not modelled, so the best aperture on a real lens is usually a stop or so away from the pure diffraction crossover. Sensor resolution and the anti-aliasing filter are absent too, and the Airy disc uses a wavelength of 550 nm.

Version history · site-wide passes only

This page has changed in 98 archived releases, but each of those was a site-wide pass, so none is attributable to this tool on its own and none is listed here. That is not a claim that the tool never changed — a release that reworked many pages at once may well have altered this one too. The changelog has them.

Exact thin-lens geometry on a criterion you chose. Every depth of field figure rests on a circle of confusion, which is a judgement about acceptable blur rather than a physical constant — change it and every number here changes with it. Real lenses add aberrations and focus breathing that this model does not have. See Sources.

Rules of thumb are approximations, offered to get you to the right order of magnitude fast. Check anything load-bearing against its source or the exact tool. Privacy · Terms

© 2026 Rules of Thumb · Runs entirely in your browser