What Is RAW and How It Differs from JPG
A RAW file contains the unprocessed data directly from the camera sensor. Nothing has been discarded, compressed, or baked in. The white balance, sharpening, contrast, and color processing are all stored as metadata instructions — you decide how to apply them later on your computer.
A JPG file is the camera’s interpretation of that sensor data. The camera applies white balance, color processing, sharpening, noise reduction, and then compresses the result using lossy JPEG compression. The processing decisions are permanent — the original sensor data is discarded.
Think of it this way: RAW is the raw ingredients, JPG is the cooked meal. You can always cook the ingredients differently, but you cannot un-cook a meal back to its raw components.
RAW Advantages
RAW files give you significantly more control over the final image. Here is what you gain by shooting RAW:
Higher bit depth (12–14 bit vs 8-bit)
RAW files store 12 or 14 bits per color channel, providing 4,096 to 16,384 brightness levels. JPG is limited to 8 bits (256 levels). This extra data is invisible in a properly exposed photo, but becomes critical when you need to adjust exposure, recover shadows, or correct white balance.
White balance flexibility
In RAW, white balance is just a metadata tag. You can change it freely in post-processing without any quality loss. In JPG, white balance is baked into the pixel data — changing it later degrades quality and can introduce color shifts.
Highlight and shadow recovery
RAW files capture 2–3 extra stops of dynamic range beyond what the JPG shows. Overexposed highlights and underexposed shadows that appear lost in JPG can often be recovered from the RAW data. This is especially valuable for high-contrast scenes like landscapes, architecture, and events.
Non-destructive editing
Every adjustment you make to a RAW file is non-destructive. The original data is never modified. You can always return to the original capture and start over. With JPG, each save re-compresses the file, accumulating quality loss.
Better color grading
The wider color data in RAW files means smoother gradients, more accurate color separation, and less banding when applying color grading or heavy adjustments. Pushing JPG files too far in editing produces visible artifacts.
JPG Advantages
JPG is not inferior — it is optimized for a different purpose. Here is where JPG wins:
Smaller file size
A JPG file is typically 5–10x smaller than the equivalent RAW file. For a 24-megapixel camera, a RAW file is around 25–30 MB while a high-quality JPG is 5–8 MB. This matters for storage, transfer speed, and camera buffer capacity.
Instant usability
JPG files are ready to use immediately. You can email them, upload to social media, print them, or view them on any device without any processing step. RAW files require conversion before they can be used anywhere.
Universal compatibility
Every device, browser, app, and operating system can display JPG. RAW files require specialized software and vary by camera manufacturer (CR2 for Canon, NEF for Nikon, ARW for Sony). A JPG works everywhere.
Faster shooting
Because JPG files are smaller, cameras can write them to the memory card faster and maintain higher burst rates. In sports or wildlife photography, this can mean the difference between capturing and missing a moment.
Side-by-Side Comparison
| Feature | RAW (CR2/NEF/ARW) | JPG |
|---|---|---|
| File size (24 MP) | 25–30 MB | 5–8 MB |
| Bit depth | 12–14 bit | 8 bit |
| White balance | Fully adjustable (metadata only) | Baked in, limited adjustment |
| Dynamic range | 12–15 stops captured | 8–10 stops usable |
| Editing flexibility | Extensive, non-destructive | Limited, destructive on re-save |
| Compatibility | Needs RAW software | Universal |
| Workflow speed | Requires processing | Ready to use immediately |
| Compression | None or lossless | Lossy |
| Best for | Post-processing, archival, printing | Quick sharing, web, high-volume events |
When to Shoot RAW
Shoot RAW whenever you plan to edit the photos or need maximum quality:
- Landscape photography — you will want to recover highlights in bright skies and pull detail from dark foregrounds
- Portrait and studio work — precise skin tone adjustments and white balance correction
- Wedding and event photography — mixed lighting conditions require flexible white balance
- Architecture and real estate — high dynamic range scenes with bright windows and dark interiors
- Any photo you want to print large — the extra data helps produce smoother prints
- Learning photography — RAW lets you fix mistakes and experiment with different processing
When to Shoot JPG
JPG is the right choice when speed and convenience matter more than editing flexibility:
- Sports and fast action — faster burst rates and quicker card write speeds
- Documentary and journalism — rapid delivery, images ready to transmit immediately
- Casual snapshots — family photos, travel snaps that do not need heavy editing
- Social media content — images will be compressed again on upload, so RAW benefits are lost
- Limited storage — when memory card space or hard drive capacity is a concern
- Time-lapse sequences — thousands of frames where processing each RAW file is impractical
The RAW+JPG Hybrid Approach
Most cameras offer a RAW+JPG mode that saves both formats simultaneously. This gives you the best of both worlds:
- JPG for immediate sharing and quick review
- RAW for post-processing the photos that deserve it
The trade-off is storage: each shot consumes roughly 30–35 MB (RAW + JPG combined). For a 64 GB memory card, that means roughly 1,800 photos in RAW+JPG versus 3,500 in RAW only or 8,000 in JPG only.
Practical tip: If you shoot RAW+JPG, use the JPG files for culling (reviewing and selecting keepers) since they load faster. Then process only the selected RAW files. This saves significant time in your workflow.