Lens Information in EXIF Metadata
Learn how lens make, model, focal length, and maximum aperture are recorded in EXIF data. Understand lens identification tags for interchangeable lens cameras and smartphones.
Detailed Explanation
Lens Data in EXIF
Lens information in EXIF metadata helps photographers track which equipment produced which results, and enables software to apply lens-specific corrections for distortion, vignetting, and chromatic aberration.
Standard Lens Tags
The EXIF 2.3 standard (2010) added dedicated lens tags:
| Tag | Name | Example |
|---|---|---|
| 0xa433 | LensMake | "Canon" |
| 0xa434 | LensModel | "EF 24-70mm f/2.8L II USM" |
| 0xa432 | LensSpecification | [24, 70, 2.8, 2.8] |
LensSpecification stores four rational values:
- Minimum focal length (mm)
- Maximum focal length (mm)
- Maximum aperture at minimum focal length
- Maximum aperture at maximum focal length
For a prime lens like a 50mm f/1.4: [50, 50, 1.4, 1.4]
For a zoom like a 70-200mm f/2.8: [70, 200, 2.8, 2.8]
For a variable aperture zoom like 18-55mm f/3.5-5.6: [18, 55, 3.5, 5.6]
Focal Length Tags
Two focal length values provide different information:
FocalLength (0x920a): The actual focal length used for the shot, in millimeters. For a zoom lens, this is the focal length at the time of capture.
FocalLengthIn35mmFilm (0xa405): The equivalent focal length on a 35mm full-frame camera. This accounts for the crop factor of the sensor:
APS-C (1.5x crop): 50mm actual → 75mm equivalent
Micro 4/3 (2x crop): 25mm actual → 50mm equivalent
Medium format (0.79x): 80mm actual → 63mm equivalent
Smartphone (varies): 4.2mm actual → 26mm equivalent
MakerNote Lens Data
Camera manufacturers often store more detailed lens information in their proprietary MakerNote fields:
- Canon: Internal lens ID number, lens serial number, optical characteristics
- Nikon: Lens type bits, lens ID, focus distance, depth of field info
- Sony: Lens type code, lens mount type, AF system info
- Fujifilm: Lens modulation optimizer data, lens correction parameters
Lens Identification Challenges
Not all lenses are correctly identified:
- Third-party lenses (Sigma, Tamron, Tokina) may report incorrect names on older camera bodies
- Adapted lenses (e.g., Canon EF on Sony E-mount via adapter) may show the adapter name or nothing
- Manual focus lenses generally record no electronic data
- Vintage lenses on mirrorless bodies via adapters record no lens data at all
Practical Applications
Lens metadata enables:
- Automatic corrections: Lightroom, Capture One, and DxO use lens data to apply optical corrections automatically
- Equipment tracking: Know which shots came from which lens for insurance or performance evaluation
- Rental workflows: Studios can track lens usage across shoots
- Resale: Proving a lens has been well-used (or barely used) via shot count analysis
Use Case
Lens metadata is valuable for photographers evaluating their gear usage patterns, photo editors applying automatic lens corrections in post-processing, camera reviewers analyzing optical performance data, and rental companies tracking equipment usage across customers.