Apple Log exposure: highest gray, 6.06 stops of headroom

Published · Updated

At a glance

  • 18% gray at 48.83%
  • 6.06 stops over
  • Reading time 9 min
  • Sections 8

The rule

Put middle gray on 48.8%.

Matching LUTs

Try them in the LUT Optimizer →

Apple Log is one of the nine formats in the color maths this site ships, and one of the six it bakes 33×33×33 conversion LUTs from. The catalog's Apple Log entry is tagged for iPhone 15 Pro and iPhone 16 Pro. Everything below is about the format, not the body: a log curve is a fixed rule mapping scene reflectance to a file value, the same wherever it runs.

The library has a ninth curve since October 2026, Z CAM Z-Log2, fitted to Z CAM's own published conversion rather than a published formula, after this article was written; the comparisons in this article are among the eight documented formats and leave it out.

Every figure here was computed from that color maths. The few non-numeric facts come from the site's own notes and catalog, named at the end.

Middle gray sits at 48.8%

Feed 18% reflectance into the Apple Log encode function and it returns code value 0.488272 — 48.83% of the container. That is the single number to carry.

For scale, the homepage FAQ puts S-Log3's middle gray at 41% IRE. The computed S-Log3 code value is 41.06%, agreeing to within a tenth of a point. Apple Log's gray sits 7.8 points higher.

Other anchors on the same curve:

Scene valueApple Log code value
Zero reflectance15.05%
4 stops under gray (1.125% reflectance)21.62%
1 stop under gray40.89%
Middle gray, 18% reflectance48.83%
1 stop over gray57.06%
90% white card68.17%
Ceiling — code value 100%linear 12.000002, i.e. 6.06 stops over gray

Code value 100% decodes to linear 12.000002, two millionths above twelve times the linear value a 100% reflector carries. Whether the round number was intended is not something this file records. Treat it as the measured ceiling.

6.06 stops of headroom, the least of the eight

Headroom above middle gray is the number of stops from 0.18 up to the scene value that code value 100% decodes to. Run it across all eight formats and Apple Log finishes last:

Format18% grayHeadroom above gray10-bit codes per stop at gray
Apple Log48.83%6.06 stops82.9
Canon C-Log334.34%6.35 stops84.6
Sony S-Log341.06%7.74 stops74.5
DJI D-Log M39.88%7.87 stops74.4
Panasonic V-Log42.33%8.00 stops70.9
ARRI LogC339.10%8.26 stops72.3
RED Log3G1033.33%10.00 stops63.2
Blackmagic Film Gen538.36%10.27 stops59.8

Codes per stop is a centered difference across one stop at gray — the code value half a stop above gray minus the code value half a stop below it, times 1023 — the same definition the RED Log3G10 page states. An instantaneous slope at gray reads about 0.1 higher on the steeper formats; this measures the code budget a whole stop actually gets.

The spread across the eight is 15.49 points of code value at gray and 4.215 stops of headroom. Apple Log is the extreme of both, and those two facts are the same fact. The curve spends 48.83 points of its range below middle gray and 51.17 above it, and it spends them widely — 8.12 points of code value per stop at gray, second only to C-Log3's 8.29 among the eight, rising to a flat 8.55 points higher up. Wide spacing inside a fixed container means fewer stops fit.

That last figure is a usable shortcut. Above middle gray the spacing is near enough constant:

stops over gray ≈ (code value % − 48.8) / 8.55

From middle gray to the ceiling that lands within 0.071 stops of the truth, worst at the ceiling itself. It stays inside a tenth of a stop down to one stop under gray, where the error is 0.075. Below that it drifts — at two stops under it reports 1.79 against a true 2.00 — so treat it as a highlight tool only.

What the shoulder does, and where 95% comes from

Converting to Rec.709 needs a tone map: log curves encode far above diffuse white, and a bare transfer curve would clip everything over linear 1.0. One shared shoulder serves all eight formats, an extended Reinhard curve with its white point at linear 8.0.

The shoulder returns exactly 1.0 at 8.0, and the Rec.709 transfer curve maps 1.0 to 1.0. So linear 8.0 is display white by construction, and 8.0 is 5.47 stops over middle gray.

In Apple Log code values, linear 8.0 is 95.00%, and everything above that renders as clipped white through this site's chain. That leaves just under 5 points of code value — 0.585 stops — above what the shoulder can show. It is the smallest overflow of the eight: the same calculation gives RED Log3G10 4.53 stops and Blackmagic Film Gen5 4.80.

Read that as an accounting note, not permission. Those stops are in the file, and another tone map or a wider delivery can show them. Through this chain they do not survive.

The cross-check worth knowing: all eight formats, exposed at their own middle gray, land on Rec.709 0.3731 — 95 in 8-bit. Four return 0.373142 on every channel, and three more (S-Log3, C-Log3 and LogC3) are 2×10⁻⁷ low on red. Apple Log is the one that spreads, 0.373124 to 0.373160, for the reason in the next section; across all eight the total spread is 3.6×10⁻⁵.

The matrix: rows sum to 1, and what that does not buy you

Apple Log carries Rec.2020 primaries. The library's matrix to Rec.709 is:

[ 1.6605, -0.5876, -0.0728 ] row sum 1.0001 [-0.1246, 1.1329, -0.0083 ] row sum 1.0000 [-0.0182, -0.1006, 1.1187 ] row sum 0.9999

The row sums are 1.0 to within 1×10⁻⁴. Apple Log is the loosest of the eight on this: ARRI LogC3, S-Log3 and C-Log3 are next at 1×10⁻⁶ and the other four are exact to floating point.

What the property buys. Rows summing to 1 means an equal-channel input comes out equal-channel — gray in, gray out. Sweeping the whole code range through the full chain, the worst channel spread on a neutral input is 4.08×10⁻⁵, or 0.042 of a 10-bit code, at code value 60.4%. There is one exception, at 25.21%, where the spread reaches 2.64×10⁻⁴.

That exception is not the matrix. The Rec.709 transfer curve as this site implements it switches from 4.5x to 1.099x^0.45 − 0.099 at linear 0.018 and is discontinuous there by 2.48×10⁻⁴, and 25.21% is the neutral code value that lands on the join. Channels the matrix has separated by one part in ten thousand fall on opposite sides of it. Even so the error is 0.27 of a 10-bit code, reaching a full code only at 12 bits.

What it does not buy. It says nothing about whether the light was neutral. A cast in is a cast out. Push a warm triplet, linear [1.00, 0.75, 0.45], through the matrix and it comes back [1.187, 0.721, 0.410] — still warm, and with the R:G ratio moved from 1.333 to 1.646. That change is correct, not a fault: the same physical light has different coordinates in Rec.709 than in Rec.2020. But the matrix neither removes a cast nor preserves its numbers. White balance is a separate operation, done first.

A saturated input can also leave the matrix negative. Linear [0.05, 0.10, 1.00] comes out with red at −0.0485, and the chain clamps negatives to zero. That clamp is a gamut limit, not an exposure one, and it is where a saturated color stops being distinguishable. The stage lasers and LED walls guide covers it from the grading end.

Carrying another format's target costs you a measurable amount

Meter Apple Log to a target learned on another format and you are underexposed by this much:

Target you are carryingIts gray codeApple Log lands atError
Panasonic V-Log42.33%0.102 linear0.81 stops under
Sony S-Log341.06%0.091 linear0.98 stops under
DJI D-Log M39.88%0.082 linear1.13 stops under
ARRI LogC339.10%0.077 linear1.23 stops under
Blackmagic Film Gen538.36%0.072 linear1.33 stops under
Canon C-Log334.34%0.049 linear1.88 stops under
RED Log3G1033.33%0.044 linear2.02 stops under

It runs the other way too: put Apple Log's 48.83% on an S-Log3 waveform and you are 1.05 stops over, on RED Log3G10 2.40 over. The target is a property of the curve, not a habit.

What follows for exposure

  1. Put middle gray on 48.8%. That is where 18% reflectance encodes. If your reference is a 90% white card instead, the computed figure is 68.2%.
  2. Read the waveform as a stop count. Subtract 48.8, divide by 8.55, and above gray that is your stops over, within a tenth.
  3. Treat 95.00% as the wall for this site's chain. Above that code value the shoulder is already at display white. There are 0.585 stops of file above it, and 6.06 stops between gray and the ceiling — 4.2 stops less than Blackmagic Film Gen5.
  4. Correct exposure on the log image, then convert, then apply the look. That order is the site's standing position, stated in the FAQ. Details in log to Rec.709 conversion done right.
  5. Do not carry an S-Log3 or C-Log3 target across. Off by 0.98 and 1.88 stops respectively, both towards underexposure. If S-Log3 is your other camera, its numbers are in the S-Log3 exposure guide.

More on the whole pipeline in the Wiki.

How these numbers were produced

Every figure above is worked out from the color maths that this site's previewer and conversion LUTs run on. The worked values for Apple Log:

  • The curve at 18% reflectance: 0.488272, which is 48.83%.
  • Code value 100% decodes to linear 12.000002; the base-2 logarithm of that over 0.18 is 6.0589 stops of headroom.
  • The curve's code value for linear 8.0: 0.950032, the shoulder's white point.
  • The three rows of the matrix add up to 1.0001, 1.0000 and 0.9999.
  • A neutral of code value 0.488272 run through the whole conversion comes out 0.373160 / 0.373142 / 0.373124, which is 95/255 on every channel.

Comparison figures are the same steps run for every format. Stop spacing is a central difference of the curve, measured in doublings of scene light. The neutral sweep steps code value in increments of 10⁻⁵ through the whole conversion and records the largest gap between channels; a coarser step misses the spike at 25.21%. The shoulder returning exactly 1.0 at its white point is what makes linear 8.0 display white. Round trips were checked first: running a curve forwards and back at 18% returns 0.18 for all eight formats to within 9×10⁻¹⁷.

Sources

  1. The color maths this site ships — Apple Log's curve forwards and back, its Rec.2020 → Rec.709 matrix, the shared extended-Reinhard shoulder with its white point at linear 8.0, the Rec.709 transfer curve and its join at linear 0.018, and the clamp on negative channels. Every number above is computed from it.
  2. The site's color-pipeline notes — Apple Log's Rec.2020 primaries, 18% gray at 0.4883, and Apple Log as one of six formats with a baked 33×33×33 conversion LUT.
  3. The site's catalog — where the Apple Log entry carries the iPhone 15 Pro and iPhone 16 Pro tags.
  4. The homepage FAQ — S-Log3 middle gray at 41% IRE, and the correct-then-convert-then-look order.