photometadata.netEXIF · GPS · METADATA

Lens EXIF Data

When a lens can talk to the camera body, the body writes what it hears into the EXIF block: make, model, serial number, the focal length actually used, and the aperture range the lens is capable of. Here is every tag that carries lens information, what each value means, and why the fields are so often empty or wrong.

The lens tags, at a glance

TagIDWhat it holds
LensMake0xA433Lens manufacturer, as a string — often blank even when the model is present.
LensModel0xA434The lens name the body was told, e.g. EF24-70mm f/2.8L II USM.
LensSerialNumber0xA435The lens's own serial, not the body's. Written only by some systems.
LensSpecification0xA432Four numbers: min focal, max focal, max aperture at min focal, max aperture at max focal.
FocalLength0x920AThe focal length used for this frame, in millimetres.
FocalLengthIn35mmFilm0xA405The same shot's field of view expressed for a full-frame sensor.
FNumber0x829DThe aperture the shot was taken at — f/2.8, not the lens's maximum.
MaxApertureValue0x9205The widest aperture available at that focal length, in APEX units.

Two things surprise people. There is no standard EXIF tag for image stabilization— it lives in the manufacturer's MakerNote, if anywhere. And every one of these fields is written by the camera body on the lens's word, so none of them proves what glass was actually mounted.

Jump to focal length, aperture, image stabilization, why the lens field is blank, or checking a used lens.

Where Lens Data Comes From

A modern lens carries a small amount of electronics and a set of contacts on its mount. When you attach it, the body queries the lens over those contacts and gets back an identifier, the focal range, the aperture range, and — while you shoot — the focal length the zoom ring currently sits at and the aperture the diaphragm closed to.

The body writes those answers into EXIF at capture time. It does not measure them. That single fact explains almost everything below: a lens with no electronics reports nothing, an adapter that does not pass data through reports nothing, and a lens that reports the wrong identifier gets that wrong identifier written faithfully into your file.

On phones, there is no removable lens at all. The camera app fills the same fields with the fixed characteristics of whichever camera module fired — which is why an iPhone frame has a FocalLength of a few millimetres and a FNumber that never changes.

Focal Length and the 35mm Equivalent

FocalLength is the physical focal length in millimetres at the moment the shutter fired. On a zoom it changes from frame to frame; on a prime it is the same in every file the lens ever produces.

FocalLengthIn35mmFilm is the same optical situation restated for a full-frame sensor, so that a number means the same angle of view regardless of what camera took the shot. A 25mm lens on a Micro Four Thirds body and a 50mm lens on a full-frame body frame the scene identically, and both write 50 here.

Deriving the crop factor. Divide the equivalent by the actual:

FocalLengthIn35mmFilm ÷ FocalLength ≈ crop factor

A file showing 35mm actual and 52mm equivalent came off a body with roughly a 1.5× crop — an APS-C sensor. This is a useful cross-check when a photo's Model tag has been removed but the focal length fields survive.

Not every camera writes the equivalent. When it is absent, a viewer has no way to compute it, because the sensor size is not recorded in any reliable standard field either. Some bodies write FocalPlaneXResolution and its unit, from which the sensor width can sometimes be inferred — but that is a reconstruction, not a reading.

The Three Different Apertures in Your EXIF

People conflate these constantly, and they answer different questions.

FNumber

What the diaphragm was actually set to for this frame: f/5.6. This is the number you want when you are studying how a photo was exposed. Our viewer shows it as Aperture.

MaxApertureValue

The widest the lens could have gone at that focal length. Stored in APEX units, so a raw value of 3 means f/2.8. The conversion is f = 2^(APEX ÷ 2).

ApertureValue

The same value as FNumber, expressed in APEX units instead. Redundant, and occasionally inconsistent with FNumber when a file has been edited.

Reading LensSpecification

This one tag describes the lens rather than the shot. It is an array of four rationals, in order: minimum focal length, maximum focal length, maximum aperture at the minimum focal length, and maximum aperture at the maximum focal length.

  • 24, 70, 2.8, 2.8 — a constant-aperture 24–70mm f/2.8 zoom.
  • 24, 105, 4, 5.6 — a variable-aperture zoom that loses a stop and a bit as you zoom in.
  • 50, 50, 1.4, 1.4 — a 50mm f/1.4 prime. Both focal lengths match because it does not zoom.

A 0in either aperture slot means "unknown" — common with manual and adapted lenses, where the body knows the focal range because you typed it in, but was never told the maximum aperture.

For what aperture, shutter speed, and ISO mean together — and how to read them as a record of how a photo was made — see camera settings in EXIF data.

Image Stabilization Is Not a Standard EXIF Tag

There is no ImageStabilization field in the EXIF specification. If you want to know whether IS, VR, OSS, or IBIS was switched on for a shot, the answer is in the MakerNote — the manufacturer-defined block that each brand structures however it likes, and that the standard says nothing about.

What brands call it

Canon writes an ImageStabilization value inside its MakerNote. Nikon records vibration reduction state in a VR sub-block. Sony, Olympus/OM System, Panasonic, and Fujifilm each have their own equivalents under their own names. None of these are interoperable.

What that means for you

A general-purpose viewer will usually show you that a MakerNote exists and how large it is, without decoding it. Reading the stabilization state specifically needs a tool with a decoder for your exact camera brand — and often for your camera model.

The MakerNote is also the first casualty of editing. Export a JPEG from most software and the block is dropped or rewritten, taking the stabilization state with it. See EXIF data by camera brand for how each manufacturer structures this block.

Why the Lens Field Is Blank or Wrong

An empty LensModel is normal far more often than it is suspicious. In rough order of likelihood:

  • The lens has no electronics. Vintage glass, fully manual lenses, and most cine lenses have no contacts to report through. The body records the exposure it metered and nothing about the lens. You will often see FNumber of 0 as well, because the body cannot know what you set the aperture ring to.
  • An adapter is in the way. A dumb mount adapter passes light and nothing else. A smart adapter passes data, but sometimes only partially — a common result is a correct focal length with an empty or generic lens name.
  • The body does not write the tag. LensSerialNumber in particular is written by some systems and simply never populated by others. Its absence says nothing about the lens.
  • A third-party lens identifies itself loosely. Independent manufacturers report an identifier the body maps to a name from its own internal table. When the body has no entry, you get a blank, a generic string, or — occasionally — the name of a completely different lens that happens to share the identifier.
  • The file was processed. Social platforms, chat apps, and many exporters strip EXIF wholesale. A photo pulled from the web usually has no lens data because it has no metadata at all.

Confirm which case you are in by opening the original file — not a download or a re-export — in the EXIF viewer and checking the All tab. If Make and Model are present but every lens tag is missing, the camera wrote metadata and had nothing to say about the lens. If everything is missing, the file was stripped.

Using EXIF to Check a Used or Suspect Lens

Start from what EXIF can and cannot do. Every lens tag is a string the body copied from the lens, and every string in a file can be edited afterwards with freely available tools. EXIF can therefore contradicta seller's claim, which is genuinely useful. It can never confirm one. Treat a clean set of tags as the absence of a red flag, not as evidence.

With that established, here is what to do. Take your own test frames on the actual lens — not photos the seller supplied — and open them in a viewer. Then look for internal inconsistency:

  1. Does LensModel name the lens you were sold? A mismatch is worth an explanation. So is a suspiciously generic string on a lens sold as a first-party flagship.
  2. Does LensSpecification match the lens barrel? A lens engraved 70–200mm f/2.8 that reports 70, 200, 4, 4 is not what the engraving says.
  3. Can it actually reach the aperture it claims? Shoot wide open. If FNumber never goes below f/4 on a lens sold as f/2.8, the diaphragm or the reported specification is wrong — and it does not much matter which.
  4. Does FocalLength stay inside the specified range? Values outside the range in LensSpecification mean one of the two fields is lying.
  5. Does LensSerialNumber match the barrel? Only if your system writes it. Where it is written, a mismatch between the engraved serial and the reported one is a strong signal that the lens is not what it presents itself as.

For a photo someone else supplied — a sample frame in a listing — the questions are different, because you are now assessing the file rather than the lens. A Software tag naming an image editor, a missing MakerNote on a file that claims to come straight out of a camera, or an ApertureValue that disagrees with FNumber all indicate the file was rewritten at some point. That is not proof of dishonesty — exporting a photo does all three — but a listing photo should not need it.

Metadata is one input. Optical tests, the mount's fit and finish, the serial on the barrel, and the seller's standing matter more. Use the EXIF to raise a question, then answer it somewhere other than the EXIF. If you are checking a body rather than a lens, the brand pages under camera brands cover what each manufacturer records.

Read the Lens Data in Your Own Photos

Our EXIF viewer runs entirely in your browser — the photo is read into the tab and never uploaded. The Camera tab surfaces the lens model, focal length, and aperture; the All tab lists every tag the file actually contains, which is where LensSpecification, LensSerialNumber, and FocalLengthIn35mmFilm appear when the camera wrote them.

Drop in a handful of frames from the same lens and the pattern in FocalLength tells you something worth knowing: which focal lengths you actually shoot at, as opposed to the ones you believe you do. A zoom that only ever reports its two extremes is a pair of primes you are carrying the weight of a zoom for.

Open the EXIF Viewer

Related Guides

Frequently Asked Questions

Does EXIF data show which lens was used?

Usually, yes. A lens with electronic contacts reports an identifier to the camera body, which writes it into the LensModel tag, often alongside LensMake, LensSerialNumber, and LensSpecification (the focal and aperture range). Manual, vintage, and adapted lenses have nothing to report, so those fields stay empty even though the rest of the EXIF is normal. Phone photos fill the same fields with the fixed characteristics of whichever camera module fired.

What is the difference between FocalLength and FocalLengthIn35mmFilm?

FocalLengthis the lens's physical focal length in millimetres for that frame. FocalLengthIn35mmFilmrestates the same angle of view as it would be on a full-frame sensor, so photos from different camera systems can be compared directly. Dividing the equivalent by the actual gives the body's crop factor — 35mm actual and 52mm equivalent implies roughly a 1.5× crop, an APS-C sensor. Not all cameras write the equivalent field.

Why does my EXIF show two different aperture values?

Because they answer different questions. FNumber is the aperture the shot was taken at. MaxApertureValue is the widest aperture the lens offers at that focal length, stored in APEX units rather than f-numbers — convert with f = 2^(APEX ÷ 2), so an APEX value of 3 is f/2.8. ApertureValue is a third field holding the same information as FNumber in APEX units. When ApertureValue and FNumber disagree, the file has almost certainly been rewritten by software.

Does EXIF record whether image stabilization was on?

Not in standard EXIF — there is no stabilization tag in the specification. Cameras that record it put the value in their MakerNote, the manufacturer-defined block that each brand structures its own way. Canon stores an ImageStabilization value there, Nikon a vibration reduction sub-block, and Sony, Olympus, Panasonic, and Fujifilm have their own equivalents. Reading it requires a tool with a decoder for your specific brand, and the value is lost as soon as the photo is exported by software that drops the MakerNote.

Can EXIF data prove a lens is counterfeit?

No. Every lens tag is a string the camera copied from whatever the lens told it, and any string in a file can be edited afterwards. EXIF can only contradict a claim, never confirm one. What it does well is expose internal inconsistency: a LensSpecification that disagrees with the barrel engraving, an FNumber that never reaches the advertised maximum aperture when you shoot wide open, a FocalLength outside the reported range, or a LensSerialNumberthat does not match the serial on the lens. Shoot your own test frames rather than trusting the seller's, treat a clean result as the absence of a red flag rather than as evidence, and settle the question with optical and physical inspection.

Why is the lens model blank on my third-party lens?

Independent lens manufacturers report an identifier that the camera body looks up in its own internal table of known lenses. If the body has no entry for that identifier — common with newer third-party lenses on older bodies — you get an empty field, a generic string, or occasionally the name of an unrelated lens that shares the identifier. A firmware update to the body, or to the lens itself where the manufacturer supports it, sometimes fixes this. The focal length and aperture fields are usually correct regardless.

See the lens data in your own photos

Drop in a photo to read LensModel, LensSpecification, focal length, and aperture — plus every other tag the file carries. It runs in your browser and nothing is uploaded.

Open Photo Metadata Viewer