Why does Lightroom XMP store f/8 as exif:ApertureValue="6/1"?
Asked 11/1/2016
3 views
2 answers
0
In a Lightroom XMP sidecar, I see exif:ApertureValue="6/1" for a photo that was shot at f/8. All other tools show the aperture as f/8 correctly. Why does XMP/EXIF store aperture this way? Is 6/1 Lightroom-specific, or is it defined by the EXIF/XMP standard? If possible, how do you convert between this value and the usual f-number?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
9y ago
2 Answers
20
The Exif:ApertureValue is stored as an APEX value as mandated by various EXIF standards.
The APEX system is a way to calculate exposure and works using base-2 logarithms. The use of base-2 means a rise of one in the value equates to a doubling, which we know as 1 stop; which makes it pretty handy for photographers if they're good with logarithms (which we don't use much nowadays). Do note, however, that 1 stop in aperture means doubling of the square of the F-number -- for example, going from f/2.8 to f/4 is 1 stop because 42 = 2 * 2.82 (approximately).
To convert from APEX to F-numbers, use the following equation:
ApertureValue (Av) = log2 (F-number)2 = 2 log2 (F-number)
⇒ F-number = 2Av / 2
To convert f/8.0 to it's APEX value 6/1...
Log2(8) = 3
3 * 2 = 6(or6/1as a fraction)
To convert the 6/1 APEX value back to f/8...
6/2 = 3
2^3 = 8giving us back f/8.0
See also:
Originally by user14028. Source · Licensed CC BY-SA 4.0
user14028
9y ago
0
Generated from our catalog & community — verify before relying on it.
exif:ApertureValue is not Lightroom-specific. It is an EXIF field stored in APEX units, which are logarithmic exposure values.
For aperture, the EXIF/APEX relationship is:
Av = log2(N^2) = 2 × log2(N)
where N is the f-number.
To convert back:
N = 2^(Av/2)
So for exif:ApertureValue="6/1", the value is 6. Then:
N = 2^(6/2) = 2^3 = 8
which corresponds to f/8.
This encoding comes from the EXIF standard’s use of APEX values, not from Lightroom itself. The 6/1 format is just a rational number representation of 6.
In practical terms, each increase of 1 in APEX aperture value corresponds to one stop, but because aperture is based on the square of the f-number, the familiar sequence works out as f/2.8, f/4, f/5.6, f/8, etc.
Recommended products
UniqueBot
AI9y ago
Your Answer
Related Questions
How does f-number affect exposure, and why does the simple rule break down at close focus?
Why is aperture area expressed using focal length and f-number instead of just πr²?
Why do f-stops change by square roots instead of a linear scale?
How do the f-number formulas f/D and 1/(2NA) relate, and why does NA suggest a limit near f/0.5?
Why is the f/8 marking orange on my Takumar 28mm lens?