Photoshop 8-Bit vs 16-Bit File Size Calculations

Converting an image from 8-bit to 16-bit depth in Adobe Photoshop fundamentally doubles the underlying uncompressed image data and memory footprint. Because Photoshop measures bit depth per color channel, moving from 8 bits to 16 bits doubles the number of binary digits used to describe the tonal values of every single pixel across each channel. Consequently, the baseline mathematical calculation for the image's raw data size increases by a factor of two, impacting document dimensions in RAM, scratch disk usage, and uncompressed storage files.

The Math Behind Pixel Data

Photoshop calculates the raw data size of a flattened image layer using the following formula:

\[\text{Data Size (in bytes)} = \text{Width (pixels)} \times \text{Height (pixels)} \times \text{Number of Channels} \times \left(\frac{\text{Bit Depth}}{8}\right)\]

In an 8-bit document:

  • Each channel per pixel requires 8 bits, which equals exactly 1 byte.
  • In a standard RGB document (3 channels: Red, Green, Blue), each pixel requires 3 bytes of data (\(3 \times 1\text{ byte}\)).
  • A 24-megapixel image (\(6000 \times 4000\)) requires:
    \[6000 \times 4000 \times 3 \times 1 = 72,000,000\text{ bytes } (\approx 68.66\text{ MB})\]

In a 16-bit document:

  • Each channel per pixel requires 16 bits, which equals 2 bytes.
  • In a standard RGB document, each pixel requires 6 bytes of data (\(3 \times 2\text{ bytes}\)).
  • The same 24-megapixel image (\(6000 \times 4000\)) requires:
    \[6000 \times 4000 \times 3 \times 2 = 144,000,000\text{ bytes } (\approx 137.33\text{ MB})\]

The baseline calculation shows that moving from 8-bit to 16-bit doubles the memory allocation (\(2\times\)) for every rasterized pixel in the file.

RAM, Layers, and Scratch Disk Usage

The doubling factor applies recursively to every raster layer, duplicate channel, and layer mask within the document:

  • Layer Masks: An 8-bit mask uses 1 byte per pixel; a 16-bit mask uses 2 bytes per pixel.
  • History States: Because Photoshop records document states in memory, undo buffers and history states also double in size.
  • Scratch Disk Footprint: Temporary cache tiles that Photoshop writes to your scratch drive scale proportionally, requiring twice as much temporary disk space to process filters and adjustments.

On-Disk File Sizes vs. Uncompressed Sizes

While the uncompressed raw pixel calculation always doubles, the final size of the saved file on your drive (e.g., PSD, PSB, or TIFF) may deviate from an exact \(2\times\) ratio due to compression algorithms:

  • Uncompressed Formats: Saving an uncompressed TIFF will result in an on-disk size that is almost precisely double the 8-bit version.
  • Lossless Compression (RLE, LZW, ZIP): Photoshop uses run-length encoding (RLE) for native PSD files and offers ZIP/LZW for TIFFs. Because 16-bit images contain finer gradations and subtle sensor noise that compression algorithms cannot easily collapse, 16-bit compressed files often end up slightly more than double the size of their compressed 8-bit counterparts.