RAW vs JPEG: Which Format Should You Actually Shoot?
RAW captures everything your camera sensor sees — 12 to 14 bits of color data per channel, zero compression, total editing flexibility. JPEG throws most of that away, compresses what's left, and hands you a small, sharp file ready to post anywhere. Neither format is objectively better. The right choice depends on what you're doing with the photo after you take it.
Here's the practical breakdown so you can stop second-guessing your camera settings.
What Is a RAW File?
A RAW image file is the unprocessed sensor data from your camera. Think of it as a digital negative. Your camera records every photon that hits the sensor, packages it into a proprietary format (CR2 for Canon, NEF for Nikon, ARW for Sony, or the open DNG standard), and saves it without applying any processing.
RAW files are large — typically 20 to 80 MB depending on your camera's megapixel count and sensor size. A 45-megapixel camera like the Nikon Z8 produces RAW files around 55 to 70 MB each. That adds up fast.
The tradeoff is worth it for serious editing. RAW files store 12 to 14 bits per color channel versus JPEG's 8 bits. That means 4,096 to 16,384 tonal values per channel instead of 256. When you push exposure, recover shadows, or correct white balance, those extra bits give you clean results instead of banding and noise.
Common RAW Formats
| Format | Camera Brand | Extension |
|---|---|---|
| CR2 / CR3 | Canon | .cr2, .cr3 |
| NEF | Nikon | .nef |
| ARW | Sony | .arw |
| ORF | OM System (Olympus) | .orf |
| RAF | Fujifilm | .raf |
| DNG | Adobe (open standard) | .dng |
Each manufacturer's RAW format is slightly different, which is why you need software like Lightroom, Capture One, or darktable to process them. If you want a universal format, convert to DNG or export to JPEG for sharing.
Try it yourself
Convert between any image format instantly — free, instant, no signup. Your images never leave your browser.
What Is a JPEG File?
JPEG is the universal image format. Every device, browser, app, and social media platform reads it without fuss. Your camera creates a JPEG by taking the raw sensor data, applying white balance, sharpening, noise reduction, contrast curves, and color profile adjustments, then compressing the result using lossy compression.
That compression is aggressive. A typical JPEG discards 80 to 95% of the original data. The result is a file between 2 and 10 MB that looks great on screen — until you try to make significant edits. Push the exposure two stops on a JPEG and you'll see banding, color shifts, and amplified compression artifacts.
The camera's JPEG processing is genuinely good on modern bodies. Fujifilm's film simulations, Canon's color science, and Sony's Creative Looks produce polished results straight from the camera. For many shooting scenarios, that's exactly what you need.
RAW vs JPEG: Side-by-Side Comparison
| Feature | RAW | JPEG |
|---|---|---|
| Color depth | 12–14 bits per channel | 8 bits per channel |
| Tonal values per channel | 4,096–16,384 | 256 |
| Compression | None or lossless | Lossy (80–95% data discarded) |
| File size | 20–80 MB | 2–10 MB |
| Dynamic range | 12–15 stops (recoverable) | 8–10 stops (limited recovery) |
| White balance | Fully adjustable in post | Baked in (limited correction) |
| Sharpening/NR | Applied in post | Applied in-camera |
| Compatibility | Requires RAW processor | Universal |
| Editing latitude | Extensive (±3 stops exposure) | Limited (±1 stop before artifacts) |
| Burst shooting speed | Slower (larger buffer fill) | Faster (smaller files) |
| Storage per 1,000 shots | 20–80 GB | 2–10 GB |
| Ready to share | No (must export) | Yes |
When to Shoot RAW
Shoot RAW whenever the image matters enough to edit later — or when the lighting is tricky enough that you might need to fix things in post.
Professional and Paid Work
If someone is paying you, shoot RAW. Full stop. You need the latitude to correct exposure, recover blown highlights in a wedding dress, or fine-tune skin tones in a portrait session. Delivering a JPEG with banded shadows because you didn't shoot RAW is an amateur move.
Landscape Photography
Landscapes often have extreme dynamic range — bright skies above dark foregrounds. RAW files let you recover 2 to 3 stops of highlight and shadow detail that a JPEG simply doesn't contain. That sunrise shot where the sky is blown out? With RAW, you can pull the highlights back and reveal color detail. With JPEG, that data is gone.
Tricky or Mixed Lighting
Indoor events with mixed tungsten and fluorescent lighting. Golden hour with deep shadows. Stage lighting with colored spots. These situations produce color casts and exposure challenges that are trivial to fix in a RAW file but destructive to fix in a JPEG.
Portraits
Skin tone accuracy matters. RAW gives you the bit depth to make subtle color corrections without introducing banding or posterization in skin gradients. When you're retouching in Lightroom or Capture One, those extra 6 bits per channel are the difference between smooth tonal transitions and ugly stair-stepping.
When JPEG Is the Right Choice
JPEG isn't a compromise — it's the optimal choice for specific workflows. Dismissing it as "amateur" ignores practical reality.
Social Media and Casual Sharing
Instagram compresses your upload regardless of what you feed it. Posting a 60 MB RAW file that gets crunched to a 300 KB JPEG is a waste of storage and processing time. Shoot JPEG, apply your camera's best color profile, and share directly.
High-Volume Event Photography
Sports, conferences, and journalism demand speed. JPEG files are smaller, so your buffer clears faster and you can shoot longer bursts. The workflow is also faster — culling 2,000 JPEGs is significantly quicker than 2,000 RAW files.
Travel with Limited Storage
A 64 GB memory card holds roughly 1,000 RAW files from a 24-megapixel camera or 6,000+ JPEGs. When you're traveling for two weeks with limited cards and no laptop for offloading, JPEG's efficiency is a real advantage.
Casual Snapshots
Family dinner, pet photos, quick documentation shots. If you're not going to open Lightroom, don't shoot RAW. The files will sit untouched on a hard drive forever, taking up space without adding value.
The RAW+JPEG Compromise
Most cameras offer a RAW+JPEG shooting mode that saves both formats simultaneously. You get the JPEG for immediate sharing and the RAW as an insurance policy for important shots.
The downside: you use roughly 1.5x the storage of RAW-only shooting (since the JPEG is much smaller than the RAW). Your write speeds also slow slightly, which can reduce burst depth.
RAW+JPEG makes sense when you need same-day delivery of some images (events, journalism) but want the RAW files for hero shots that deserve careful editing. For everyday shooting, pick one format and commit to the workflow.
Dynamic Range: Where RAW Wins Decisively
Dynamic range recovery is the single biggest practical advantage of RAW. Here's what that looks like in real numbers:
| Adjustment | RAW Result | JPEG Result |
|---|---|---|
| +2 stops exposure | Clean, minimal noise | Visible banding and noise |
| -2 stops exposure | Smooth highlight recovery | Color shifts, lost detail |
| White balance shift (3000K) | Accurate, no artifacts | Color cast, compression artifacts |
| Shadow recovery (+50 in Lightroom) | Reveals hidden detail | Amplifies compression blocks |
| Highlight recovery (-80 in Lightroom) | Recovers sky/cloud detail | Data permanently clipped |
The 14-bit RAW file has 64x more tonal values than the 8-bit JPEG. When you stretch the data (which is what exposure correction does), those extra values prevent the ugly banding and posterization that ruins JPEG edits.
White Balance Flexibility
White balance is probably the most underrated RAW advantage. In a JPEG, white balance is baked into the pixel data during in-camera processing. You can shift it in post, but you're remapping compressed 8-bit data — which introduces color artifacts.
In a RAW file, white balance is metadata. Changing it from 5500K to 3200K in Lightroom is mathematically identical to having set it correctly in-camera. Zero quality loss. This is enormously useful for indoor photography where auto white balance guesses wrong or mixed lighting sources create color casts.
Storage and Workflow Considerations
RAW files demand more infrastructure. Plan for it.
Storage: A working photographer shooting RAW generates 500 GB to 1 TB per month easily. Budget for fast primary storage (NVMe SSD for editing), nearline backup (external SSD or NAS), and archival storage (cloud or cold HDD). At 50 MB per file, 10,000 photos is 500 GB.
Processing power: RAW editing in Lightroom or Capture One benefits from a fast CPU and 16+ GB of RAM. Batch exporting 500 RAW files to JPEG will peg your processor for 15 to 30 minutes depending on your hardware.
Workflow time: RAW adds a mandatory export step. Every image needs processing before sharing. For a 50-image client gallery, that might add 30 minutes of export time. For a 2,000-image event, it adds hours.
When you're ready to share your edited RAW files, convert them to JPEG and then compress the output for web use. If you're working with Canon files specifically, check the CR2 to JPG conversion guide. Nikon shooters can follow the NEF to JPG workflow.
Our Recommendation
Default to RAW for anything you care about editing. The storage cost is trivial compared to the cost of losing a shot because you couldn't recover the highlights.
Use JPEG when speed and simplicity matter more than editing flexibility. Social posts, high-volume events, travel with storage constraints, casual documentation.
Skip RAW+JPEG unless you have a specific same-day delivery need. It complicates your file management without adding much value over RAW-only for most workflows.
And once you've processed your final images — whether they started as RAW or JPEG — run them through Pixotter's compression tool before uploading to your website. A well-compressed JPEG at the right dimensions loads faster and ranks better. You can also resize images for specific platforms or convert between formats if you need WebP or AVIF for web delivery.
Frequently Asked Questions
Is RAW always better than JPEG?
No. RAW is better for editing flexibility, but JPEG is better for speed, storage efficiency, and instant sharing. A JPEG you actually use beats a RAW file you never process.
Does shooting RAW make my photos sharper?
Not directly. RAW files appear softer out of camera because sharpening hasn't been applied yet — your camera applies sharpening to JPEGs automatically. You apply sharpening in post when processing RAW, which gives you more control but requires the extra step.
Can I convert RAW to JPEG without losing quality?
Converting RAW to JPEG always involves lossy compression, so some data is discarded. However, a properly exported JPEG at quality 90-95 is visually indistinguishable from the RAW original at normal viewing sizes. See our RAW to JPG conversion guide for best export settings.
How much storage do I need for RAW photography?
Plan for 40 to 60 MB per photo. A serious hobbyist shooting 500 photos per week needs roughly 100 to 120 GB per month. A working professional might need 500 GB to 1 TB monthly. Fast external SSDs (2 TB for around $150) are the most practical primary backup.
What software do I need to edit RAW files?
Adobe Lightroom Classic ($10/month with Photoshop) is the industry standard. Capture One is preferred by studio and fashion photographers. Free options include darktable and RawTherapee. Apple Photos handles RAW from most cameras for basic edits.
Does JPEG compression get worse each time I save?
Yes. Every time you open a JPEG, edit it, and save it again, the lossy compression runs again and discards more data. This is called generation loss. After 5 to 10 re-saves at moderate quality, degradation becomes visible. Always edit from the original file, never from a previously exported JPEG. Read more about lossy vs lossless compression.
Should I shoot RAW on my phone?
Most flagship phones now support RAW (DNG) capture. It's useful for challenging lighting situations or images you plan to edit seriously. For everyday phone photos, the computational photography pipeline (HDR, Night mode, Portrait mode) that produces the JPEG is usually better than what you'll achieve editing the phone's tiny-sensor RAW file manually.
What is the difference between HEIF and JPEG for camera output?
HEIF (HEIC) is a newer format that offers better compression than JPEG at the same quality — roughly 50% smaller files. Some newer cameras and all recent iPhones use it. However, HEIF has narrower compatibility than JPEG, so check that your editing software and sharing platforms support it before switching.
Try it yourself
Ready to convert formats? Drop your image and get results in seconds — free, instant, no signup. Your images never leave your browser.