Dictionary

What Does Auto Focus Mean?

Autofocus lets a camera focus by itself. Here is what the autofocus modes mean and how a photo records them in its metadata.

auto-focus

Autofocus, also written auto focus, means that the camera sets the focus by itself. The camera adjusts the lens until the subject is sharp, so you do not focus by hand. Many cameras also record their autofocus settings in each photo.

On many cameras, autofocus starts when you press the shutter button halfway. With manual focus, you set the focus yourself. You might do this when autofocus does not give the result you want.

How autofocus modes work

Each camera brand uses its own names, but the autofocus modes fall into a few groups:

  • Single autofocus is for subjects that stand still. The camera focuses once and then locks the focus. Nikon and Sony call it AF-S, and Canon calls it One-Shot AF.
  • Continuous autofocus is for moving subjects. The camera keeps focusing while you hold the shutter button halfway down. Nikon and Sony call it AF-C, and Canon calls it AI Servo AF or Servo AF.
  • Automatic switching lets the camera choose between single and continuous autofocus, based on whether the subject moves. Sony calls it AF-A, and Canon calls it AI Focus AF.
  • DMF, or direct manual focus, is a Sony mode. The camera focuses first, and then you can fine-tune the focus by hand.
  • Manual focus means autofocus is off, and you turn the focus ring on the lens yourself.

Where the value comes from

The camera writes its focus settings into the photo when you take the picture. The Exif standard has no field for the focus mode. Camera makers store it in their own section, the maker notes.

The Exif specification calls this section the MakerNote tag, 0x927C. Each manufacturer can record any information it wants there, and every brand designs its own format.

Programs that read maker notes use the camera make and model in the file to decode them. A report can then show focus rows such as Focus Mode, AF Area Mode, or AF Point.

What the values look like

The values differ from brand to brand, as these examples show:

  • Canon: One-shot AF, AI Servo AF, AI Focus AF, or Manual Focus (3)
  • Sony: AF-S, AF-C, AF-A, DMF, or Manual
  • Fujifilm: Auto or Manual, plus a focus warning of Good or Out of focus
  • Nikon: Phase Detect, Contrast Detect, or Hybrid for the detection method, and focus point layouts such as 51-point
  • iPhone: a value named AFStable, set to Yes or No

Which files carry it

Focus information comes from the camera, so you find it in photos. JPG and TIFF files carry Exif data with maker notes. So do iPhone photos in the HEIC format and Canon raw files such as CR2.

Editing programs can damage the maker notes when they rewrite a file. If you need the focus details, read the original file from the camera.

Why it matters

The focus rows help you understand why a photo is sharp or blurred. A Canon photo marked AI Servo AF was taken with continuous focus, which suits a moving subject. A Fujifilm photo with the warning Out of focus tells you that the camera reported a focus problem.

Standard Exif adds fields about the subject. SubjectArea marks where the main subject is in the picture. SubjectDistance gives its distance in meters, and SubjectDistanceRange sorts it into Macro, Close, or Distant.

Do not confuse focus with focal length, which is a property of the lens in millimeters. Focus decides which distance in the scene is sharp.