Color & Display

HDR PQ & HLG Neutral-Signal Transfer Calculator

Decode a normalized signal using PQ and HLG reference transfer functions, with an explicit neutral-axis HLG display model.

How the calculation works

p = code**(1/(2523/32)). scene = code**2/3 if code <= 0.5 else (exp((code-0.55991073)/0.17883277)+0.28466892)/12. PQ absolute luminance = 10000*(max(p-3424/4096,0)/(2413/128-2392/128*p))**(1/(2610/16384)) cd/m². HLG scene-relative neutral light = scene relative. HLG neutral-axis display luminance = peak*scene**gamma cd/m².

Worked example

Example inputs — Normalized signal value: 0.5; HLG display nominal peak (cd/m²): 1000; Chosen HLG system gamma: 1.2. Expected results — PQ absolute luminance: 92.24570899 cd/m²; HLG scene-relative neutral light: 0.08333333333 relative; HLG neutral-axis display luminance: 50.69702849 cd/m².

Assumptions and limits

Mathematical color model with stated reference conventions; device calibration, viewing conditions and color-management profiles affect practical appearance. ITU-R BT.2100 reference equations. PQ is absolute with 10000 cd/m² reference maximum. HLG scene output is relative; the supplied display peak and gamma apply a simplified achromatic, zero-black-level display model. This is not the full RGB HLG OOTF, adaptive surround model, tone mapper, gamut conversion or video legal-range decoder.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.