RAW vs JPEG: what really changes, and when it matters
A RAW file is the raw ingredients; a JPEG is the finished meal. Here is what that difference means in practice, with the numbers behind it and a simple way to decide which one to shoot.
Almost every camera, and most recent phones, can save photos as RAW, JPEG, or both. The usual advice is "shoot RAW for quality", but that skips the interesting part: why a RAW file gives you more room, where that extra room actually shows up, and when it simply doesn't matter. This guide walks through the real differences so you can make the call for your own photography.
Two very different kinds of file
A JPEG is a finished picture. When you press the shutter, the camera reads the sensor, decides on white balance, applies a contrast curve, boosts color according to the picture style you selected, sharpens, reduces noise, and finally compresses the result into an 8-bit JPEG. Everything that was decided along the way is now baked in.
A RAW file stops much earlier. It stores the brightness values recorded by each photosite on the sensor, plus metadata describing the camera, lens, exposure and the white balance the camera would have used. It is not really an image yet. To see it, software has to "develop" it: reconstruct full color from the sensor's color filter pattern, apply white balance, map the linear sensor data onto a pleasing tone curve and convert it into a standard color space. That is exactly what a RAW converter does.
Difference 1: bit depth, or how many shades you have to work with
JPEG stores 8 bits per color channel, which means 256 levels from black to white in each of red, green and blue. That is plenty for viewing a finished image. Most interchangeable-lens cameras record RAW at 12 or 14 bits per photosite: 4,096 or 16,384 levels. Some cameras and modes record 16 bits.
| Bit depth | Levels per channel | Typical use |
|---|---|---|
| 8-bit | 256 | JPEG, most web images |
| 12-bit | 4,096 | Many RAW files, compressed or faster modes |
| 14-bit | 16,384 | Common RAW setting on enthusiast and pro cameras |
| 16-bit | 65,536 | Some medium-format RAW, 16-bit TIFF editing |
Why does this matter if your screen only shows 8 bits anyway? Because editing stretches tones. If you brighten the shadows of a JPEG by two stops, the few levels that described those shadows get spread across a much wider range, and the gaps show up as banding, blotchy noise and posterized skies. Do the same with a 14-bit RAW and there are far more distinct values to stretch, so the gradation survives. The extra levels are not visible until you push the file, and then they are the whole story.
Difference 2: white balance is just a setting
In a JPEG, white balance has already been multiplied into the pixel values. You can warm or cool it afterwards, but you are shifting colors that have already been clipped and compressed, and large corrections tend to look muddy. In a RAW file the camera's white balance is only a tag. A converter reads it as a starting point and you can change it as if you had chosen differently at the moment of capture. This single difference rescues a huge number of indoor, mixed-light and sunset photos. Our white balance guide covers how to use it well.
Difference 3: highlight and shadow headroom
A camera JPEG applies an S-shaped tone curve that compresses the brightest and darkest parts of the scene so the mid-tones look punchy. Detail in the extremes is often thrown away in the process. The RAW file keeps the sensor's full recorded range, so a sky that looks blown out in the JPEG frequently still has cloud detail in the RAW, and shadows hold more information than the JPEG suggests. There is still a hard limit: if a photosite was completely saturated during exposure, no software can bring that detail back. See recovering highlights and shadows for what is and isn't recoverable.
Difference 4: compression
JPEG uses lossy compression. It discards fine detail the eye is less sensitive to, and at high compression you see blocky artifacts around edges and in smooth gradients. Each time a JPEG is edited and saved again it loses a little more. RAW files are stored uncompressed, losslessly compressed, or with a mild lossy compression that camera makers design to be visually transparent. Either way the RAW is your untouched master; you export new JPEGs from it as often as you like without degrading the original.
Difference 5: size and speed
RAW files are typically several times larger than the matching high-quality JPEG. A 24-megapixel camera commonly produces RAW files of roughly 20 to 50 MB depending on compression and bit depth, while its fine JPEGs are usually much smaller. Bigger files fill cards faster, empty the camera's buffer sooner in burst shooting, take longer to copy and need more backup space. If you shoot sports at high frame rates or thousands of event photos, that cost is real.
Difference 6: what the file looks like out of the box
A camera JPEG usually looks better than an unedited RAW at first glance. That is not because the RAW is worse; it is because the JPEG has had contrast, saturation and sharpening applied by an engine the manufacturer tuned for years. RAW converters start from a more neutral rendering on purpose, leaving you room to decide. The guide why RAW photos look flat explains this in detail and how to get to a finished look quickly.
Side by side
| RAW | JPEG | |
|---|---|---|
| Levels per channel | 4,096 to 16,384 (12 to 14-bit) | 256 (8-bit) |
| White balance | Adjustable freely afterwards | Baked in; limited correction |
| Highlight / shadow room | Generous, until true sensor clipping | Little beyond what you see |
| Compression | None, lossless or mild | Lossy |
| File size | Large | Small |
| Opens everywhere? | No, needs a converter | Yes |
| Looks finished immediately? | No | Yes |
When JPEG is genuinely the better choice
- You will not edit. If photos go straight from camera to client, newspaper or group chat, a well-exposed JPEG with the right picture style is faster and good enough.
- High-volume or high-speed shooting. Long bursts, all-day events and time-lapses with thousands of frames benefit from smaller files.
- You love your camera's look. Some photographers shoot specifically for in-camera color profiles, such as film simulations, and are happy with the result.
- Controlled light. In a studio with a custom white balance and careful exposure, the JPEG has little to fix.
When RAW pays off
- Difficult or mixed light: indoor tungsten, LED, stage lighting, sunsets, shade.
- High contrast scenes: bright skies with dark foregrounds, backlit portraits, interiors with windows.
- Photos that matter: once-only moments where you want a safety net for exposure or white balance mistakes.
- Black and white or strong color grades: heavy edits need the extra tonal data. See black and white from RAW.
- Prints and archives: you can re-develop the file in five years with better software.
The middle path: RAW + JPEG
Most cameras can save both at once. You get an immediately shareable JPEG plus the RAW as insurance. The cost is storage and a slightly more cluttered folder. Many photographers use RAW + JPEG for a while, then switch to RAW only once they are comfortable with a quick conversion step. If you go that way, a fast, consistent batch workflow keeps the extra step from becoming a chore.
Turning a RAW into a JPEG you can share
Eventually every RAW becomes a JPEG (or another delivery format) so other people can see it. The steps are always the same, whatever the software:
- Open the RAW in a converter. In RAWSnap this happens in your browser; the file is not uploaded.
- Check white balance and exposure first, since everything else depends on them.
- Adjust contrast, highlights and shadows, then color (Vibrance, Saturation) to taste, or start from a preset.
- Export: a smaller JPEG for phones and social media, full resolution for prints. Our JPEG export guide covers sizes and quality.
FAQ
Is RAW always higher quality than JPEG?
RAW contains more information, but an unedited RAW is not automatically a better-looking picture. Its advantage shows when you adjust exposure, white balance or tones. For a perfectly exposed photo you won't edit, a high-quality JPEG can look just as good.
Can I convert a JPEG back into RAW?
No. Once the camera has made a JPEG, the extra bit depth and sensor data are gone. Saving a JPEG as a DNG or TIFF changes the container, not the information inside it.
Why can't my phone or social apps open RAW files?
RAW formats are camera-specific and need to be developed before they become a viewable image. Most apps only handle finished formats like JPEG, HEIC or PNG, so you convert first.
Does shooting RAW make my camera slower?
It can. Larger files fill the buffer sooner during bursts and take longer to write to the card. For most single-shot photography the difference is negligible.
Should I use 12-bit or 14-bit RAW?
14-bit gives more tonal levels, which can help in deep shadow recovery at low ISO. At higher ISO the noise usually outweighs the difference. If your camera offers 14-bit without a big speed penalty, it is a sensible default.
Open the converter