The choice between shooting RAW and JPEG is one of the most important decisions you will make as a photographer, and understanding what each format actually does helps you choose with confidence rather than guesswork. Check out our image file formats guide for more details. RAW files preserve the full data captured by your camera’s sensor, giving you extraordinary flexibility in post-processing. JPEG files are processed in-camera and compressed, producing smaller files that are ready to share immediately. Neither format is universally better, the right choice depends on your shooting situation, your editing workflow, and what you plan to do with the images. This guide explains exactly how RAW and JPEG differ at a technical level, when each format makes sense, and how to build an efficient workflow around your choice.

What Is a RAW File?
A RAW file is a minimally processed recording of the data captured by your camera’s image sensor. When light hits the sensor, each photosite (pixel) records a voltage proportional to the amount of light it received. A RAW file stores these readings with minimal alteration, preserving the full tonal range and color information that the sensor captured.
Think of a RAW file as a digital negative. Just as a film negative contains all the information needed to make a print but is not itself a finished photograph, a RAW file contains all the data needed to produce an image but requires processing before it can be displayed, printed, or shared. The processing decisions, white balance, contrast, sharpness, saturation, are left entirely to you rather than being baked in by the camera.
Every camera manufacturer uses a proprietary RAW format. Canon cameras produce CR3 (or CR2 on older models) files. Nikon uses NEF. Sony uses ARW. Fujifilm uses RAF. Panasonic and Leica use RW2. These formats all accomplish the same basic goal, storing unprocessed sensor data, but they are not interchangeable. Your RAW processing software needs to support your specific camera’s format, which is why software updates often coincide with new camera releases.
What Is a JPEG File?
A JPEG file is a finished image that your camera creates by processing the RAW sensor data internally. When you shoot JPEG, the camera applies white balance correction, color adjustments, contrast curves, sharpening, and noise reduction according to its built-in algorithms and your chosen picture style. It then compresses the result into an 8-bit JPEG file and discards the original sensor data.
This processing happens in a fraction of a second and produces a file that looks good immediately. You can view it on any device, share it online, or send it to a printer without any additional processing. The trade-off is that the camera has already made irreversible decisions about how the image looks, and the compression has permanently discarded information to reduce the file size.
Bit Depth and Dynamic Range
The most significant technical difference between RAW and JPEG is bit depth, and this has a direct impact on what you can do with the file in post-processing.
JPEG files are 8-bit, which means each color channel (red, green, blue) can record 256 levels of brightness. That gives you roughly 16.7 million possible color values. This sounds like a lot, and for a finished image displayed on a screen, it is sufficient. But when you try to push the exposure significantly in editing, brightening deep shadows or recovering blown highlights, those 256 levels per channel run out quickly. The result is banding (visible steps between tones instead of smooth gradients) and noise in the adjusted areas.
RAW files are typically 12-bit or 14-bit, depending on your camera. A 12-bit RAW file records 4,096 levels per channel. A 14-bit file records 16,384 levels per channel. That is 16 to 64 times more tonal information than a JPEG. This extra data is why you can push RAW exposure adjustments two or three stops in either direction and still get clean, smooth tones. The information was always there in the sensor data, RAW simply preserves it, while JPEG throws it away.
This difference in bit depth translates directly to dynamic range, the span between the darkest and brightest tones your image can contain. A RAW file retains detail in highlights and shadows that a JPEG has already clipped. If you slightly overexpose a sunset, a RAW file lets you pull the sky highlights back and recover color and detail. The same adjustment on a JPEG reveals only flat white, the data was discarded during compression.
White Balance Flexibility
White balance is one of the most compelling reasons to shoot RAW. When you shoot JPEG, the camera applies the white balance setting you selected (or what auto white balance chose) and bakes it permanently into the file. You can adjust white balance on a JPEG in editing, but you are shifting colors that have already been processed and compressed, which often introduces color casts and reduces quality.
With a RAW file, white balance is simply a metadata tag, a suggestion that your RAW processor uses as a starting point. You can change it freely after the fact with zero quality loss. Shot an indoor scene under tungsten light with your camera set to daylight white balance? With a JPEG, you have a strongly orange image that will degrade as you try to correct it. With a RAW file, you simply drag the white balance slider to tungsten and the image looks exactly as if you had set it correctly in-camera.
This flexibility is particularly valuable in mixed lighting situations, weddings, events, and indoor venues where the light color changes from room to room. With RAW, you can batch-correct white balance in post without any quality penalty.
File Size and Storage
RAW files are substantially larger than JPEGs. A typical full-frame camera producing 40-50 megapixel images creates RAW files around 50-80 MB each. The same image as a high-quality JPEG is roughly 10-20 MB. That is a four-to-one difference or more, and it adds up quickly during a full day of shooting.
A 128 GB memory card holds roughly 1,500 to 2,500 RAW files from a modern high-resolution camera. The same card holds 6,000 to 12,000 JPEGs. For event, sports, and wildlife photographers who shoot thousands of frames in a session, this difference matters both in the field and in long-term storage.
Backing up RAW files requires more storage and more time. A year of serious photography can easily produce several terabytes of RAW files. You need a reliable backup system with redundant storage, external drives, a NAS, or cloud storage, to protect that investment. JPEG files make this considerably easier and cheaper because they require a fraction of the space.
When RAW Is the Right Choice
Shoot RAW when post-processing quality and flexibility matter more than convenience and speed:
- Landscape photography. You need maximum dynamic range to hold detail in bright skies and dark foregrounds simultaneously. RAW gives you the latitude to pull back highlights and lift shadows without destroying image quality.
- Portrait and studio work. Skin tones benefit enormously from the smooth tonal gradations that 14-bit RAW files preserve. Even subtle exposure or white balance corrections look better on RAW files than on JPEGs.
- Challenging or mixed lighting. Indoor events, weddings, concerts, and any situation where the light changes frequently. RAW lets you correct white balance and exposure after the fact without quality loss.
- Any image you plan to print large. The more you edit and the larger you print, the more the quality advantages of RAW become visible. Banding and compression artifacts that are invisible on a phone screen become obvious in a large print.
- High-contrast scenes. Backlit subjects, sunsets, interiors with windows, and any scene where the brightness range exceeds what a single exposure can capture cleanly. RAW preserves the shadow and highlight data you need for recovery.
When JPEG Is the Right Choice
JPEG is not a lesser format, it is a practical one. There are legitimate situations where shooting JPEG makes more sense than RAW:
- Fast turnaround events. If you need to deliver images within minutes or hours, journalism, sports sideline coverage, social media events, JPEG lets you shoot and share without a processing step. The images are ready the moment you take them.
- High-volume shooting. Sports, wildlife, and action photography can produce thousands of images in a single session. Buffer speed is faster with JPEG because the files are smaller, letting your camera shoot longer bursts without slowing down. Storage and culling are also faster.
- Casual and family photography. If you are documenting a family outing or a casual gathering and do not plan to edit the images extensively, JPEG is perfectly fine. Modern cameras produce excellent JPEG quality, and the images look great straight out of camera.
- Social media content. Images destined for Instagram, Twitter, or messaging apps will be compressed again on upload. Starting with a high-quality JPEG is more than sufficient, the platform’s own compression is the limiting factor, not your file format.
- Limited storage. When your memory card or hard drive space is constrained, JPEG’s smaller file size lets you shoot more and store more. This matters for extended trips, time-lapse sequences with thousands of frames, or when shooting video alongside stills.
RAW+JPEG Mode and HEIF
Most cameras offer a RAW+JPEG mode that captures both formats simultaneously. Each time you press the shutter, the camera saves a RAW file and a JPEG file of the same image. This gives you the convenience of ready-to-share JPEGs alongside the editing flexibility of RAW files for your best shots.
The downside is that RAW+JPEG uses even more storage than RAW alone, fills the buffer faster, and slows down burst shooting. Many photographers start with RAW+JPEG while they are learning, then switch to RAW-only once they are comfortable with a post-processing workflow.
HEIF (High Efficiency Image Format) is a newer alternative that some cameras now offer alongside JPEG. HEIF files use 10-bit color depth (compared to JPEG’s 8-bit), which provides a wider tonal range and smoother gradients. HEIF files are also more efficiently compressed, so they are similar in size to JPEGs while retaining more quality. The trade-off is compatibility, not all software and platforms support HEIF yet, though support is growing rapidly. If your camera offers HEIF, it is worth testing as a middle ground between JPEG convenience and RAW quality.
RAW Processing Workflow
Shooting RAW means committing to a post-processing workflow. Every RAW file needs to be processed before it can be shared or printed. Here is a streamlined approach:
- Import and organize. Transfer your RAW files to your computer and organize them by date, project, or event. Software like Lightroom, Capture One, and DxO PhotoLab handle import and organization together.
- Cull. Review your images and flag the keepers. Delete obvious rejects (out of focus, badly composed, duplicates). Be ruthless, there is no point processing images you will never use.
- Apply base corrections. Adjust white balance, exposure, highlights, shadows, and lens corrections. These foundational adjustments bring each image to a neutral, well-exposed baseline.
- Develop selects. For your best images, go deeper with local adjustments, color grading, sharpening, and noise reduction. This is where RAW’s flexibility truly shines, you can push the tones and colors exactly where you want them.
- Export. Export finished images as JPEG (for web and sharing) or TIFF (for printing and archival). Your RAW file remains untouched, every edit is non-destructive, saved as metadata alongside the original file.
Popular RAW processors include Adobe Lightroom, Capture One, DxO PhotoLab, Darktable (free and open source), and RawTherapee (free and open source). Each has strengths, Lightroom is the most widely used and has an enormous ecosystem of tutorials and presets. Capture One offers excellent color science and tethered shooting. DxO PhotoLab provides industry-leading noise reduction and lens corrections. Our editing software guide compares these in detail.
Common Mistakes
- Shooting RAW but never editing. If you shoot RAW and never process the files, you have all the drawbacks (large files, requires software) with none of the benefits. RAW files straight from the camera look flat and dull because they have not been processed. If you do not enjoy editing or do not have time for it, JPEG will serve you better.
- Thinking RAW fixes bad exposure. RAW gives you more latitude to recover from mistakes, but it is not a magic eraser. A severely overexposed or underexposed RAW file will still look poor after correction. Get the exposure as close to correct in-camera as you can. RAW is for fine-tuning, not rescuing disasters.
- Ignoring backup strategy. Losing a hard drive full of RAW files means losing years of irreplaceable work. Follow the 3-2-1 backup rule: three copies of your data, on two different types of media, with one copy stored off-site or in the cloud.
- Shooting JPEG and over-editing. Heavy editing on JPEG files degrades quality quickly. If you regularly push exposure, recover highlights, or shift white balance significantly in post, you should be shooting RAW. JPEG editing should be limited to minor tweaks.
- Assuming RAW is always necessary. Shooting RAW for every casual snapshot creates unnecessary work and fills up storage. Learn to match your format to the situation. Vacation snapshots and social media content are perfectly fine as JPEG.
- Using the wrong RAW processor for your camera. Each camera brand’s RAW files are best supported by software that has been specifically profiled for that sensor. Check that your processor supports your camera model before committing to a workflow. New camera models sometimes require a software update before their RAW files are recognized.
Frequently Asked Questions
Can I convert a JPEG to RAW?
No. Once a camera has processed sensor data into a JPEG and discarded the extra information, that data is gone permanently. You can open a JPEG in a RAW processor and edit it with the same tools, but you will not gain any of the tonal latitude or bit depth that a RAW file provides. The conversion is one-way: RAW can become JPEG, but JPEG cannot become RAW.
Does shooting RAW slow down my camera?
It can. RAW files are larger, so they take longer to write to the memory card. This can reduce your burst rate, the number of continuous frames your camera can shoot before the buffer fills up. Using a fast memory card (UHS-II or CFexpress) minimizes this bottleneck. For single shots and moderate burst shooting, you are unlikely to notice a difference. For high-speed sports and wildlife bursts, the buffer limit becomes more relevant.
Do professional photographers always shoot RAW?
Most do, but not all. Wedding, portrait, landscape, and editorial photographers almost universally shoot RAW because post-processing quality is critical to their work. Some sports and photojournalism professionals shoot JPEG for speed of delivery, when a news outlet needs images within minutes of an event, there is no time for RAW processing. Many professionals use RAW+JPEG as a compromise.
What is the difference between 12-bit and 14-bit RAW?
A 12-bit RAW file records 4,096 brightness levels per color channel, while a 14-bit file records 16,384, four times more tonal information. In practice, the difference is most visible when making extreme exposure adjustments in post-processing. For moderate editing, 12-bit and 14-bit files are nearly indistinguishable. Some cameras let you choose between 12-bit and 14-bit, with 12-bit offering faster burst rates due to smaller file sizes. If your camera defaults to 14-bit, there is no reason to change it unless you need the burst speed.
Should I shoot RAW+JPEG or just RAW?
If you are learning RAW processing, RAW+JPEG is a helpful safety net, you always have a usable JPEG even if you do not get around to processing every RAW file. Once you are comfortable with your workflow and process all your images through a RAW editor, RAW-only is more efficient. It saves storage space and simplifies file management. The JPEG your camera generates is rarely better than what you can produce from the RAW file in a few seconds of editing.
Continue Learning
Understanding file formats is one piece of a larger photography workflow. Explore these guides to build on what you have learned:
- Understanding Exposure
- White Balance Explained
- Best Photo Editing Software
- How to Edit Portraits in Lightroom
Related Reading
On a phone, RAW behaves differently than on a mirrorless or DSLR camera. See our mobile RAW workflow guide for the phone-specific tradeoffs around computational pipelines, file size, and editing latitude.