• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • News
  • Reviews
  • Organizing
  • Editing
  • Explainers
  • Photo-editing A-Z
  • About

Life after Photoshop

  • Lightroom Classic
  • Capture One
  • Nik Collection
    • Analog Efex
    • Color Efex
    • Silver Efex
    • HDR Efex
    • Viveza
    • Sharpener
    • Dfine
    • Perspective Efex (retired)
  • DxO PureRAW
  • ON1 Photo RAW
  • Exposure X

Bits and bit depth explained

May 19, 2020 by Life after Photoshop

Photo by Markus Spiske on Unsplash

All digital data is made up of ‘bits’, and that includes digital images. In computing, ‘bits’ are either on or off, so there are only two possible values. But when you use them together the combinations are multiplied so you can record a much wider range of values. The number of bits used is the ‘bit depth’. This is especially relevant in photography, where you need to be able to render subtle differences in tone and color.

Here’s a table showing the number of different values for different bit depths:

Bit depthNumber of tonesFile format
1-bit2
2-bit4
3-bit8
4-bit16
5-bit32
6-bit64
7-bit128
8-bit256JPEG
9-bit512
10-bit1024HEIF (where offered)
11-bit2048
12-bit4096RAW (basic cameras)
13-bit8192
14-bit16384RAW (advanced cameras)
15-bit32768
16-bit65536TIFF (from a RAW file)
…
32-bit4294967296Merged HDR images

Most images are shot in the JPEG format for convenience. This produces small, compressed files that don’t take up too much space, can be opened and displayed on any device and yet can still display the subtle tones needed for photographs.

Are JPEGs 8-bit or 24-bit?

They are both. JPEG is an ‘8-bit’ format in that each color channel uses 8-bits of data to describe the tonal value of each pixel. This means that the three color channels used to make up the photo (red, green and blue) all use 8-bits of data – so sometimes these are also called 24-bit images (3 x 8-bit).

Each color channel in an 8-bit JPEG can record 256 different shades, and while that doesn’t sound like enough to give a smooth transition of tones, you should remember that tones in a picture are rarely composed of one channel alone. These three RGB colour channels generally work in combination to produce a much subtler, wider range of tones.

Even so, if you edit a JPEG photo to shift the color balance or change the contrast, you can start to see these tones separating visually. This can show up as digital artefacts like ‘banding’ effects or ‘posterisation’, particularly in skies or other areas of even tone.

The only way round this is to capture images with a higher bit depth, as these are far less likely to show any tonal separation, even with heavy manipulation.

And the only way to do this is by shooting RAW files instead of JPEGs.

RAW files and bit depth

RAW files are captured at a much higher bit depth than JPEGs and therefore have much subtler tonal information. The contain the data captured by the sensor in an unprocessed state, so you do need to use RAW processing software to produce editable images.

Some older cameras captured 10-bit RAW files. This 2-bit advantage over JPEGs is still worth having, but is low by today’s standards. Now, even cheaper DSLRs and mirrorless cameras will capture 12-bit RAW files, which is enough to give a big step up in tonal subtlety and editing potential compared to JPEGs. More advanced cameras will capture 14-bit RAW files, which are better still. A few medium format cameras can even capture 16-bit RAW files.

Some photo editing programs will let you work with RAW files directly, but with others, including Photoshop, Affinity Photo and various plug-ins, you will need to process the RAW file into an editable image first.

You can create a JPEG from a RAW file, but then you’re back where you started. A better alternative is to produce a 16-bit TIFF image. This will be a much larger file, but far better for image editing. RAW processing software produces 16-bit TIFF images by ‘upsampling’ the RAW file, whether it’s a 12-bit or a 14-bit file. Even with this upsampling process, a 16-bit TIFF file will be a much better starting point for image manipulation than an 8-bit JPEG.

Bit depth versus dynamic range

There seems to be a lot of confusion around this. Some technical authors equate the bit depth of a camera’s RAW capture or processing pipeline with the range of tones – the dynamic range – that the sensor can capture, so that an increase of 1-bit in the capture system will yield an increase of 1EV in the dynamic range. This seems to be based on a spurious correlation between bit depth and dynamic range and a misunderstanding of how digital capture works.

Sensors do not capture data in bits. They capture analog light values. The camera’s A/D (analog-digital converter) converts these into digital values according to the camera maker’s own understanding of how to optimise the sensor’s performance. The bit depth it uses is not an indication of the range of tones the camera has captured, but the resolution (in data bit depth terms) used to distinguish between these tones. An 8-bit image can have the same dynamic range as a 16-bit image, but the 16-bit image simply uses more data to describe the tones within that dynamic range more accurately.

There are a couple of exceptions when it comes to image-editing.

  1. RAW files often have additional highlight and shadow information that’s not used in the default in-camera processing but can be brought out later. This is due in part to the extra bit depth in a RAW file, or at least its capacity to store more tonal data.
  2. A 16-bit image can appear to have more dynamic range than an 8-bit image because extreme shadow and highlight details respond better to editing. In fact, they respond better because of the extra bit depth and tonal information, not because there is more inherent dynamic range.
  3. HDR software will typically produce 32-bit merged images with a huge range of brightness values available for editing and manipulation. In this instance the extra bit depth IS used for extended dynamic range, though it’s still not necessarily a linear relationship. In a 32-bit HDR image, the dynamic range is dependent on the range of tones captured by the camera, not the bit depth of the file format.

Related

Filed Under: General, Photography explained

Life after Photoshop is owned and run by photographer and journalist Rod Lawton. Rod has been a photography journalist for nearly 40 years, starting out in film (obviously) but then migrating to digital. He has worked as a freelance journalist, technique editor and channel editor, and is now Group Reviews Editor on Digital Camera World. Life after Photoshop is a personal project started in 2013.

Primary Sidebar

Subscribe to this site

Enter your email address to subscribe to Life after Photoshop and receive notifications of new posts by email.

Adobe Lightroom: what is it, where do you get it, what does it cost in 2025?

Adobe Lightroom is not one program but three. You could … [Read More...] about Adobe Lightroom: what is it, where do you get it, what does it cost in 2025?

The best photo editing software for organizing, editing, RAW and effects

Choosing the best image editing software used to be easy. … [Read More...] about The best photo editing software for organizing, editing, RAW and effects

Layers explained

Layers explained: what they do and how to use them

Layers are a central part of many photo editing processes, … [Read More...] about Layers explained: what they do and how to use them

BAN adjustments… Basic And Necessary image corrections to do first

Photo editing software does two quite different jobs. It can … [Read More...] about BAN adjustments… Basic And Necessary image corrections to do first

More Posts from this Category

Mission statement

Life after Photoshop is not anti-Photoshop or anti-subscriptions. It exists to showcase the many Photoshop alternatives that do more, go further, or offer more creative inspiration to photographers.

Affiliate links

Life after Photoshop is funded by affiliate links and may be paid a commission for downloads. This does not affect the price you pay, the ratings in reviews or the software selected for review.

Contact

Email lifeafterphotoshop@gmail.com

Copyright © 2025 Life after Photoshop · News Pro on Genesis Framework · WordPress · Log in

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OK