You've probably been told you should shoot RAW. And I'm sure you've also thought - WHY? I'm just delivering a JPEG file anyway. What's inside a RAW file that makes it worth the storage space?
This episode gets into the numbers, and once you see them, the case for RAW becomes impossible to argue with. Yes, I knew it was your understanding that there would be no math, but, unfortunately, there's actually a lot of math behind what you see in digital photos.
Bit depth is exponential, not additive. A standard JPEG is 8-bit, giving you 256 brightness levels per colour channel and roughly 16.7 million possible colours total. A 14-bit RAW file gives you 16,384 levels per channel - over 4 trillion possible colours. That gap is invisible straight out of camera. It becomes very visible the moment you start editing.
We cover the staircase effect - what happens to smooth gradients in low bit-depth files when you push exposure or shadows in post. Those gaps between brightness levels stretch apart and become visible as banding: ugly, digital-looking stripes in what should be a smooth sky or a softly lit wall. In a 14-bit file, the steps are fine enough that normal editing simply can't pull them apart.
We also break down the difference between lossless and lossy RAW compression. Lossless compression reduces file size without discarding any data - think of it like a ZIP file for your image. Lossy compression makes a permanent, one-time decision to discard some sensor data at capture. For many shots you'll never notice. For scenes with subtle gradients or heavy shadow recovery, you might.
Follow along with us on social media @thenerdyphoto
About The Podcast
The Nerdy Photographer Podcast is written and produced by Casey Fatchett. Casey is a professional photographer in the New York City / Northern New Jersey with more than 20 years of experience. He just wants to help people and make them laugh. You can view Casey's wedding work at https://fatchett.com or his non-wedding work at https://caseyfatchettphotography.com
If you have any questions or comments about this episode or any other episodes, OR if you would like to ask a photography related question or have ideas for a topic for a future episode, please reach out to us at https://nerdyphotographer.com/contact
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Casey Fatchett: Hey, welcome back to the Nerdy Photographer Podcast. I'm your host, Casey Fatchett. Today we're going somewhere equally nerdy as we did before, but in a completely different direction. We're going inside the image file itself, specifically we're talking about bit depth, what it is, why it matters, and why it matters enormously for editing, and why the high efficiency or compressed raw settings on your
camera might be quietly costing you some image quality in situations where you need it the most. If you've ever pushed a raw file hard in Lightroom, and watched it hold up beautifully. Then tried the same thing to JPEG, and watched it fall apart with banding noise, ugly transitions. Bit depth is exactly why that happens. And once you understand the math, you'll never think about file formats the same way again. So,
what is a bit? Let's start from the ground up. A bit is the smallest unit of digital information. It's a switch, on or off, one or zero. When you string bits together, you get the ability to represent more and more values. One bit gives you two possible values, zero or one two bits gives you 400011011 Each additional bit doubles the number of possibilities. This is
why bit depth is exponential, not additive. Going from eight bit to 14 bit isn't six more, it's two to the eight versus two to the 14th, that's 256 versus 16,384 a difference of more than 16,000 steps. Now here's the part that makes the relevant to photography bit depth in an image file refers to the number
of brightness levels available per color channel, and your camera sensor records three channels: red, green, and blue. The total number of possible colors in a file is calculated by multiplying those per channel values together three times, I know your understanding was that there would be no math, but so for an eight bit jpeg, 256 times 256 times 256 is roughly 16
point 7 million possible colors. Now that sounds like a lot, but for a 14 bit raw file, 16,003 84 times 16,003 84 times 16,003 84 over 4.4 trillion possible colors, that's not a small difference, that's a difference of roughly 260,000 times more
color information sitting in your raw file compared to a jpeg, and the reason that matters isn't about what the image looks like straight out of the camera, it's about what happens when you start pushing and pulling in post, think about a smooth gradient, a clear blue sky shifting from deep blue at the top to a lighter haze near the horizon. In reality, that transition is continuous. There are no steps at all, but a
digital file has to represent that continuous transition as a series of discrete values, and the number of values available determines how smooth those steps are. In an eight bit file, you have 256 steps of brightness per channel to describe that sky. If those steps are spread across a wide tonal range, the gap between one step and the next can be visible, especially after editing, when you increase exposure or pull up the shadows, you're essentially stretching that staircase, and the gaps
between steps get wider, wide enough, and you start to see them, and that is called banding, folks, those ugly parallel stripes that make a smooth sky look like a cheap gradient from 2003 So, in a 14 bit raw file, you have 16,384 steps for the same transition. The staircase is so fine that no amount of reasonable editing will make the steps visible. You can push the exposure slider two stops, pull the shadows up, and
that sky will still look smooth, because there's enough data underneath to absorb the stretch. This is the single most practical reason to shoot raw instead of jpeg, not because the images look different straight out of the camera, often they don't, especially with a good. Jpeg profile, but because raw files are editing headroom, their insurance, the information is there when you need to recover a shot that wasn't perfectly exposed in the field. Now, most modern cameras give
you a choice within raw 12 bit or 14 bit, some high-end medium format systems go all the way up to 16 bit, and you might wonder if 14 bit is so much better than eight bit. Is 14 bit meaningfully better than 12 bit? The answer is, it depends on what you're shooting. 12 bit raw gives you 4096 steps per channel. 14 bit gives you 16,384 That's a a four times increase in tonal resolution. In practice, for well-exposed
images of typical subjects, you'll probably never see the difference, but for scenes with subtle gradients, misty landscapes, smooth studio backdrops, heavily underexposed shadows, you plan to lift significantly in post 14 bit gives you noticeably more latitude before banding appears. The trade off is file size, and on some camera bodies, write speed. 14 bit files are larger, and on cameras with slower processors or smaller buffers, shooting 14 bit can reduce how
many frames you can fire in a burst before the camera starts to slow down. For sports and wildlife photographers, hammering the shutter, 12 bit might be the smarter practical choice for landscape portrait and studio work, where you're not sprinting through a burst. 14 bit all day. So, how about lossless versus lossy compression. Let's talk about compressed raw, because this is where a lot of cameras have quietly introduced a setting that can catch people off guard.
When your camera writes a raw file, it can do it in several ways. Uncompressed raw is the raw sensor data with nothing done to it, maximum file size, maximum information. Lossless compressed raw applies an algorithm that reduces the file size without discarding any of the actual data. Think of it kind of like a zip file. The file is smaller to store, but when you unzip it, everything's exactly as it was before, no information lost for most photographers. Lossless
compression is a smart default. You get meaningful file size reductions with zero quality penalties. Lossy compressed raw is different here. The camera actually discards some of the sensor data to achieve smaller file sizes, and this is where you really need to be careful, unlike a JPEG, which recompresses and loses quality every time you resave it. A lossy raw file only degrades once at the moment of capture, so it's not quite the photocopy of a photocopy problem with you
have with JPEGs, but you are making a permanent one-time decision to throw away data that you can never recover. You can't get it back for a casual portrait or a scene with simple tonal gradients. You might never notice for a landscape with a subtle sky or a scene where you're planning to do heavy shadow recovery. You might. The question is whether you want to make the trade off at the moment of shooting when you don't yet know how hard you're going to need to push the file in post. My general advice: use lossless compression as your default.
File size savings over uncompressed are meaningful, and you lose nothing. Only drop to lossy if you have a specific practical reason, like filling a buffer during a fast action burst, or managing storage on a very, very long shoot, so to recap, bit depth is exponential, not linear. An eight bit JPEG gives you 16 point 7 million possible colors. A 14 bit raw gives you 4.4 trillion. That difference is invisible until
you start editing, and then it's everything. Banding is what happens when you try to stretch a staircase that doesn't have quite enough steps, and lossless compression is your friend. Lossy compression is a trade off you could, you should only make consciously and not by accident. Today's homework is what I call the stress test. Find a scene with a smooth gradient, a clear sky, a softly lit wall, anything with a gentle tonal transition. Shoot it simultaneously as a jpeg and as a 14 bit raw. Bring
both into your editing software and push the exposure slider to plus three or plus four stops. Then pull the shadow sliders all the way up. Look at the smooth areas of both files at 100% Watch the jpeg start to fall apart, banding in the sky or noise in the shadows. Watch the raw hold together. Once you've seen that, you won't need anyone to convince you to shoot raw. Awe again until next time. Stay safe and stay nerdy. Hey folks,
it's Casey. I'm back. There's a couple things I forgot to mention. One, please be sure to subscribe to the show. Two, please leave a review for the show. Reviews help us with discoverability, new people finding the show, so leave a review on Apple Podcasts, Spotify, wherever you can leave a review for the podcast. It is greatly, greatly appreciated. And finally, I would love to hear what you think of these short little nerd lit episodes that we're doing. Do you like them? Find me on social media at the Nerdy Photo on pretty much
everything: Instagram threads, Reddit, TikTok, Blue Sky. Find me there, mention it. Let me know what you think of these episodes, whether I should continue doing them, whether you are enjoying them, and if there's a different topic you'd like for me to cover in a short episode, I would love to hear about it. And now, without further ado, stay safe. Stay here.
Ed Kashi has spent nearly five decades documenting the world - oil pollution in the Niger Delta, Kurdish communities, aging in America, and a very young, very difficult Steve Jobs. In this episode, Casey talks with Ed...
The most important piece of gear in portrait photography isn't your lens, your light, or your camera body. It's your ability to make a complete stranger feel safe and unselfconscious in front of you within ten minutes....
Nico Trinkhaus has congenital aphantasia - he can't picture anything in his mind's eye, not a face, not a place, nothing. It's part of why he became a travel and cityscape photographer in the first place, and it's...
It's Halloween on the Nerdy Photographer Podcast, which means it's time for this year's photography horror story. A photographer editing alone in his locked studio keeps hearing a shutter click. But where is it coming...
This is a spooky-season re-release. Casey welcomes Dr. Emily Zarka, host of Monstrum on PBS Digital's Storyed channel, for a conversation about monster folklore, spirit photography, and what our desire to document the...