A luma calculation uses the coefficients specified for its signal system. For the familiar BT.709 construction, the nonlinear red, green and blue components receive different weights. Knowing only that three numbers are called RGB is insufficient: their transfer representation, normalization and matrix definition determine what the calculation means.
Use the stated BT.709 weights
BT.709 derives the nonlinear luma signal from 0.2126 times R′, 0.7152 times G′ and 0.0722 times B′. The prime marks identify nonlinear component signals in this context. These coefficients add to one. They are not three equal contributions and should not be replaced by a casual arithmetic average. Luma is a signal construction; this equation alone is not a direct measurement of light emitted by a display.
Calculate two simple samples
With normalized R′ = 1 and G′ = B′ = 0, the luma value is 0.2126. With all three components equal to 0.5, the result is 0.5 because the weights sum to one. An implementation that averages the first sample’s components would obtain about 0.3333 instead. The neutral example alone would fail to expose that mistake, which is why a useful mathematical check includes unequal component values as well.
Apply range coding after identifying the signal
A normalized luma value is different from an integer video code value. Microsoft’s conversion guidance describes the applicable offset and scaling, and BT.709 specifies its quantization. For an illustrative eight-bit studio-range mapping, 0.2126 becomes approximately 16 + 219 × 0.2126, rounded to code value 63. This calculation explicitly states its mapping; it does not imply that every RGB surface or video stream uses that range.
Check the complete conversion declaration
Other coefficient sets can assign different luma values to the same three component numbers. An analysis should therefore record matrix, transfer interpretation, component range and bit depth together. A mislabeled conversion can alter colors without changing the compressed file’s nominal resolution. These calculations are original illustrations of documented equations, not an assertion that a particular television uses the wrong matrix or that any ProMax stream has been inspected or tested.

