What RAW and JPEG actually are
Every digital photo starts the same way: light hits the camera’s sensor and is recorded as data. What happens next is where RAW and JPEG part company. A RAW file saves that sensor data more or less untouched, like a digital negative waiting to be developed. A JPEG takes the same data and lets the camera process it immediately into a finished picture.
So a RAW file is raw material, full of information but not yet a polished image. A JPEG is a cooked meal, ready to eat the moment it leaves the camera. Understanding that difference, raw ingredient versus finished dish, makes almost every other comparison between the two formats fall neatly into place.
How JPEG processing works
When you shoot JPEG, the camera does a lot of work in a split second. It applies its colour settings, sharpening, contrast and noise reduction, then compresses the result to shrink the file. That compression is the key move: JPEG discards data your eye is least likely to miss, which keeps files small but permanently throws information away.
The upside is a photo that already looks good and is ready to use anywhere. The downside is that the camera has made decisions for you, and once the data is gone, you cannot get it back. If the camera guessed the white balance or exposure slightly wrong, you have limited room to fix it before the image starts to fall apart with visible artefacts and banding.
How RAW keeps your options open
A RAW file skips nearly all of that in-camera processing. Instead it hands you the full, unprocessed capture, which means you decide the white balance, exposure, colour and sharpening later on a computer. Nothing is baked in, so you have far more freedom to interpret the shot the way you want.
Crucially, RAW editing is non-destructive: your adjustments are stored as instructions layered over the untouched original, so you can always dial them back or start again without degrading the file. That safety net is the single biggest reason enthusiasts and professionals shoot RAW. The trade-off is that a RAW file is not really a finished photo until you have processed it, so it demands both software and a little of your time.
Bit depth and dynamic range
A big technical reason RAW offers more editing room comes down to bit depth. Most RAW files record 12 or 14 bits of data per colour channel, while a JPEG uses just 8. In practical terms, a 14-bit RAW file holds 16,384 possible values per channel against only 256 in an 8-bit JPEG, a vast difference in tonal information.
That extra data translates into wider dynamic range: the ability to recover detail from very bright highlights and deep shadows. With RAW you can often rescue a blown-out sky or lift a dark foreground that would be lost forever in a JPEG. This headroom is exactly why RAW shines in tricky, high-contrast light where the camera’s single baked-in JPEG interpretation struggles to hold everything at once.
File size and storage
Size is where JPEG wins decisively. As several guides note, JPEGs can be up to around 20 times smaller than RAW. A RAW file from a 24-megapixel camera might run 25 to 30 megabytes, while the matching JPEG could be a tidy 6 to 8 megabytes. Shoot a full day of RAW and the numbers add up fast.
That has real consequences. RAW fills memory cards quicker, needs more hard-drive space and takes longer to back up or sync. If you archive originals to cloud storage, RAW will cost you more room and upload time. Resolution feeds into this too; our guide to what a megapixel is explains why higher-resolution sensors produce even heftier files in either format. JPEG keeps everything lean and manageable.
RAW vs JPEG at a glance
Here is how the two formats compare on the factors that matter most day to day. Use it as a quick reference rather than a verdict, since the right pick depends entirely on how you shoot and what you do with the results.
| Factor | RAW | JPEG |
|---|---|---|
| File size | Large, often 20-30MB or more per shot | Small, typically 6-8MB for the same photo |
| Editing flexibility | Very high; recover highlights, shadows and colour non-destructively | Limited; heavy edits cause artefacts and banding |
| Out-of-camera quality | Flat until edited; needs processing to shine | Finished and good-looking straight away |
| Storage impact | Heavy on cards, drives and backups | Light and easy to store |
| Shareability | Must be converted first; not web-ready | Works everywhere instantly |
| Best for | Serious editing, tricky light, important shots | Speed, convenience, everyday snaps |
When JPEG is the smart choice
JPEG is the right call more often than purists admit. If you shoot in good, even light, want finished photos with no fuss, or need to share quickly to messaging apps and social media, JPEG delivers exactly that. It is also ideal when you are capturing lots of images and have no intention of editing most of them.
Event snaps, holiday photos, documents, quick reference shots and anything bound straight for a group chat all suit JPEG perfectly. The camera’s processing is genuinely good these days, so the results usually look great with zero effort. Choosing JPEG here is not cutting corners; it is matching the tool to the task and saving yourself both storage and editing time you were never going to spend anyway.
When RAW earns its keep
RAW pays off when the stakes or the conditions are demanding. Shoot RAW for high-contrast scenes like sunsets and bright interiors, for important photos you cannot reshoot, and whenever you plan to edit seriously. The extra latitude lets you correct mistakes and push an image further than a JPEG could survive.
It is also the format of choice for landscapes, portraits and professional work where quality is critical and you want full control. If you nailed the exposure but the colour is off, RAW lets you fix it cleanly; if a wedding photo is slightly dark, RAW gives you the data to rescue it. The cost is time at the computer and bigger files, but for shots that matter, that trade is usually well worth making.
Why not shoot both?
Most cameras, and a growing number of phones, offer a RAW plus JPEG mode that saves both files for every shot. This gives you the best of both worlds: an instantly shareable JPEG for convenience and a RAW safety net for anything you later want to edit properly. It is a popular middle ground for good reason.
Camera support varies, so RAW options differ across the iPhone and Android ecosystems and between camera brands. The one real downside is storage, since you are keeping two files per photo, so it suits larger memory cards and people who do not mind the extra space. If you are unsure which format fits you, shooting both for a while is an excellent way to learn where each one genuinely helps.
What about phone cameras?
For years RAW was the preserve of dedicated cameras, but most modern phones now offer it too, sometimes as a standard RAW file and sometimes as an enhanced version that blends RAW data with the phone’s computational processing. This matters because phones lean so heavily on software to produce their finished JPEGs, flattering skies, brightening faces and smoothing noise automatically.
Shooting RAW on a phone hands some of that control back to you, which is great if you like to edit but less convenient if you just want a quick, good-looking shot. The default JPEG from a capable phone is genuinely excellent for everyday use, so RAW on mobile is best treated as an option for special shots rather than an everyday setting. As always, it comes down to whether you value control or convenience more in the moment.
The honest verdict
There is no universal winner. RAW offers maximum quality and editing freedom at the cost of size, software and time. JPEG offers speed, convenience and finished photos at the cost of flexibility. The marketing-style claim that RAW is simply the better format misses the point entirely.
Ask yourself what you do with your photos. If you love editing and chase the best possible result, lean RAW. If you want good pictures with minimal effort, JPEG is not a compromise but the right answer. And if you cannot decide, shoot both and let your own habits show you which one you actually reach for. The best format is the one that fits your real life, not someone else’s rule.




