The short answer
RAW files store the camera sensor’s unprocessed data, giving the most room to fix exposure and white balance later. JPEG files are processed in the camera and compressed, so they are small and ready to share but less editable. Shoot RAW when you plan to edit; shoot JPEG when you need speed and small files.
Comparison
| RAW | JPEG | |
|---|---|---|
| Data | Unprocessed sensor data, 12–14 bits | Processed, 8 bits per channel |
| File size (24 MP) | 25–50 MB | 5–12 MB |
| Editing headroom | Large: recover highlights, fix white balance | Limited |
| Ready to share | No, needs conversion | Yes |
| Formats | CR3, NEF, ARW, DNG and others | .jpg |
When RAW is worth it
- High-contrast scenes where you may need to recover highlights or shadows.
- Mixed lighting where white balance is hard to get right in camera.
- Professional work where you will edit every image anyway.
When JPEG is the better choice
- Events, sports and travel where you shoot many frames and share quickly.
- Limited storage or slow cards.
- Images that need little or no editing.
RAW+JPEG
Most cameras can save both at once. You get a ready JPEG to share and a RAW file in case a photo needs serious correction. The cost is storage space.
Sources
Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.