Bit depth is the number of distinct brightness levels a format can store per color channel: standard 8-bit video has 2^8 = 256 levels, 10-bit has 1024 (four times as many), and 12-bit has 4096. A level is the smallest brightness step the format can represent, and the smallest the eye might catch on a flat field. When a gradient spans only a few levels, the picture has no choice but to draw it as a few flat bands - which is why too low a bit depth is one of the two root causes of banding, the other being quantization. The arithmetic points at the fix: a sky ramping across 20 levels over 400 pixels gives 20-pixel bands at 8-bit, but the same range spans about 80 levels at 10-bit, shrinking the bands to roughly 5 pixels, below the eye's threshold. Counterintuitively, encoding ordinary 8-bit SDR in 10-bit helps too, because the codec's internal math runs at higher precision, so the rounding that creates contours happens on a finer grid.

Book cover: Video Streaming, Volume 3 of the Fora Soft Video Engineering HandbookBook cover: Video Encoding, Volume 1 of the Fora Soft Video Engineering HandbookBook cover: AI for Video, Volume 6 of the Fora Soft Video Engineering Handbook

The handbook · 7 volumes

Fora Soft Video Engineering Handbook

Bit depth decides how many brightness steps a gradient can use, which is why 8-bit sources often band once compressed. We wrote seven volumes covering the whole video stack, and for bit depth start with Volume 1: pixels and color, 8-bit and 10-bit encoding, HDR, quantization and banding in H.264, HEVC and AV1. Written by Nikolay Sapunov, CEO at Fora Soft.

Browse the handbook on Amazon →7 volumes · 9,000+ pages · Kindle & paperback

Wondering whether moving to 10-bit encoding will fix banding on your service?

Share your source formats and target devices: we test 8-bit versus 10-bit on your content and give you a bit-depth plan with the bitrate and device impact. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →