Colour Depth & Raw Image Size
Bits per pixel from channels and bit depth, the colour count, uncompressed image or frame size with row padding and chroma subsampling, and the raw video rate.
Bits per pixel (and the 4:2:2 / 4:2:0 average), 2^bpp colours, bytes per row with padding, frame and total bytes, and Mbit/s and GB for raw video at a frame rate — before any codec.
Example: 1920 × 1080 RGB 8-bit is 24 bpp, 16.78 million colours and 6.22 MB raw; as 4:2:0 it is 12 bpp, 3.11 MB a frame and 746.5 Mbit/s at 30 fps. A 101-px-wide BMP row pads 303 → 304 bytes.
Width × height × bits,
before any codec.
How bits per pixel, colours and raw size are counted, with padding and chroma subsampling.
Bits and colours
Bits per pixel = channels × bits per channel: RGB at 8 bits is 24 bpp, RGBA at 16 bits is 64. A pixel can take 2^bpp distinct values (16,777,216 at 24 bpp; 2^64 is shown in scientific form), and each channel has 2^bits levels — the tonal steps of the image, which is a different question from what a display can reproduce.
Raw size
Uncompressed bytes = width × height × bpp ÷ 8. Some formats pad each row to an alignment (BMP to 4 bytes), and the page adds that when you give the alignment. For a Y′CbCr image, 4:2:2 and 4:2:0 subsampling keep luma at full resolution and thin the two chroma channels to an average of 2/3 or 1/2 of the 4:4:4 bits per pixel — 12 bpp instead of 24 for 4:2:0 — so the same rule applies to three-channel images only.
Video
With a frame rate the raw data rate is frame bytes × 8 × fps, and a duration gives the total: 1080p 4:2:0 at 30 fps is about 746 Mbit/s before compression. A codec’s output size is set by its bit rate, not by this figure. Headers, TIFF tags, sensor-raw packing and lossless compression all change the file on disk. Nothing leaves the browser; the same four anonymous usage counts as the rest of the site apply.
SOURCES
- bpp = channels × bits per channel; colours = 2^bpp; raw bytes = width × height × bpp ÷ 8 with rows padded to the alignment (BMP: 4 bytes); 4:2:2 and 4:2:0 average 2/3 and 1/2 of 4:4:4
Last reviewed 21 September 2026. How results are checked: How we verify.