Phase Detection Autofocus

Phase detection autofocus is a focusing method that works out how far the lens is from correct focus, and in which direction, from a single measurement. Rather than trying positions until the picture looks sharp, the camera knows how far to move the focusing element and moves it there in one go.

How it works

Light from the subject passes through opposite sides of the lens. A phase detection sensor compares the two views. When the subject is in focus, the two images line up. When it is not, they are shifted apart, and the size and direction of that shift tell the camera how far the lens is out and whether it is focused in front of or behind the subject.

On a DSLR, a small secondary mirror behind the main mirror sends part of the light down to a dedicated autofocus module. On a mirrorless camera the same job is done by special pixels built into the image sensor itself, which means the focus points can spread across most of the frame and keep working while you shoot video or use the rear screen.

Why photographers care

  • Speed. The camera is not hunting back and forth. It gets a direction and a distance from the first reading.
  • Tracking moving subjects. Because the camera knows which way the subject is moving relative to the lens, it can predict where it will be at the moment of exposure. This is the basis for AF tracking of runners, cars and birds.
  • Low light. Good systems can focus in very dim conditions, provided there is some contrast to read.
  • Smooth video. Focus changes are quiet and direct, without the pulsing that older methods produced.

Limits to know about

Phase detection needs detail and enough light, so a blank white wall or a smooth, featureless sky can defeat it. Points near the middle of a DSLR frame are often more sensitive than those near the edges, and many are tuned for fast lenses, so a lens with a small maximum aperture may only work with the central points. Some cameras confirm the result with a contrast check, and a few lenses and teleconverters reduce the light reaching the sensor so far that the system gives up. When it fails, switch to manual focus or aim at a higher contrast edge at the same distance.

Using it well

  • Choose a small point or zone for precision, and a wide zone with tracking for erratic subjects.
  • Turn on face or eye detection for portraits. At wide apertures the eye is the part that needs to be sharp.
  • Pick a continuous focus mode for movement and a single-shot mode for still subjects. Focus modes explains the difference.
  • Use live view magnification when the highest accuracy is required.

Phase detection is most often paired with contrast detection in modern cameras, which gives you the first method’s speed and the second’s final check on the result.

Want the bigger picture of how a camera finds focus and chooses between methods? How autofocus works covers every system and when each one shines.