Tech & Internet

RAW vs JPEG: Which Photo Format Should You Shoot In?

RAW vs JPEG comes down to one trade-off: flexibility or convenience. A RAW file stores almost all of the data your camera’s sensor captured, unprocessed, which gives you much more room to fix exposure, recover highlights and shadows, and change white balance later. A JPEG is a finished image that the camera has already processed and compressed, so it’s smaller, ready to share instantly and opens on any device, but it has less information left for editing.

Neither format is “better” in every situation. Professional photographers often shoot RAW when quality and editing control matter most, and JPEG when they need speed or small files. Many cameras and even smartphones let you shoot both at once. This guide explains what really happens inside each format, compares them side by side, shows you when each one makes sense, and gives simple tips for editing RAW files without getting overwhelmed.

The short version

  • RAW files contain unprocessed sensor data, usually with 12 to 14 bits of color per channel.
  • JPEG files are processed and compressed in the camera, with 8 bits per channel.
  • RAW offers more editing flexibility, especially for exposure, shadows, highlights and white balance.
  • JPEG files are much smaller, faster to shoot and ready to share without editing.
  • You can shoot RAW + JPEG to get the best of both, if you have the storage space.
Camera lens on a wooden table, gear that captures raw vs jpeg files
Photo by Heiner on Pexels

What is a RAW file?

A RAW file is a record of the light data captured by your camera’s sensor, with minimal processing. It’s not really an image yet; it’s more like a digital negative that needs to be “developed” in software before you can share it as a normal photo.

Every camera brand has its own RAW formats, such as CR2 and CR3 (Canon), NEF (Nikon), ARW (Sony), RAF (Fujifilm) and ORF (OM System and Olympus). Adobe created an open RAW format called DNG (Digital Negative) in 2004, and many smartphones now save RAW photos as DNG files. Apple’s ProRAW, available on recent iPhone Pro models, is also based on DNG and combines RAW data with some of the iPhone’s computational processing.

Because RAW files store so much information, they’re much larger than JPEGs, and you need compatible software to open and edit them.

What is a JPEG file?

JPEG (or JPG) is the most common image format in the world. It was created by the Joint Photographic Experts Group and became a standard in the early 1990s. When you take a JPEG photo, the camera:

  1. Reads the sensor data.
  2. Applies settings like white balance, contrast, saturation, sharpening and noise reduction.
  3. Converts the image to 8 bits per color channel.
  4. Compresses the file, throwing away some detail that the eye is less likely to notice.

The result is a small, ready-to-use photo. JPEG compression is lossy, which means some data is permanently discarded. Each time you edit and re-save a JPEG, a little more quality can be lost.

RAW vs JPEG: side-by-side comparison

RAWJPEG
ProcessingMinimal; you process it laterProcessed in camera
Bit depthUsually 12 or 14 bits per channel8 bits per channel
Possible tones per channel4,096 (12-bit) or 16,384 (14-bit)256
CompressionUncompressed or lossless, sometimes lightly lossyLossy
File sizeLarge, often 20 to 60+ MB on modern camerasSmall, often 3 to 15 MB
White balanceFully adjustable laterBaked in; limited correction
Highlight and shadow recoveryExcellentLimited
Ready to shareNo, needs editing or exportYes, immediately
CompatibilityNeeds RAW-capable softwareOpens almost everywhere
Burst shootingBuffer fills fasterUsually faster, longer bursts
Storage useFills cards and drives quicklyEfficient

Why bit depth matters

Bit depth decides how many shades of each color a file can record. An 8-bit JPEG can store 256 levels for each of red, green and blue. A 14-bit RAW file can store 16,384 levels per channel. You won’t see all of those levels on a screen at once, but they matter enormously when you edit.

If you brighten a dark JPEG or pull detail back from a bright sky, you’re stretching a limited number of tones. That can create banding, visible steps in smooth gradients like skies, and noise in the shadows. RAW files have so many more tones that you can push and pull them much further before problems appear.

DSLR camera on a tripod outdoors
Photo by Diego G. on Pexels

The biggest advantages of shooting RAW

Fixing exposure mistakes

If a photo is a little too dark or too bright, a RAW file often lets you recover it convincingly. Many cameras can recover one or two stops of exposure from a RAW file with good results, depending on the camera and the scene. The same correction on a JPEG often looks noisy or washed out.

Recovering highlights and shadows

High-contrast scenes, like a sunset or a bright window in a dark room, are tough for any camera. RAW files hold more detail in the brightest and darkest areas, so you can often pull back clouds and lift shadows to create a more balanced image.

Changing white balance freely

White balance controls how warm or cool your colors look. With RAW, you can change white balance after shooting as if you’d set it differently in camera. With JPEG, you can adjust colors, but the original white balance is already baked in.

Better long-term archive

Because RAW files keep the original sensor data, you can return to them years later and process them again with better software. Editing tools keep improving, especially for noise reduction and detail, so old RAW files can look better than ever.

The biggest advantages of shooting JPEG

Smaller files

JPEGs take up a fraction of the space of RAW files. You can fit far more photos on a memory card, upload them faster and store them more cheaply.

Ready immediately

JPEGs look good straight out of the camera. Modern cameras and phones have excellent processing, with pleasing colors and sharpening, so many photos need no editing at all.

Faster shooting

Smaller files mean the camera can shoot longer bursts before its memory buffer fills. That’s useful for sports, wildlife and kids running around.

Simple sharing

JPEGs open on almost any device, website and app without special software. If you’re sending photos to friends or posting online, JPEG is the easiest choice.

RAW vs JPEG: when to use each

SituationBest choiceWhy
Landscapes and sunsetsRAWWide dynamic range and subtle color gradients
Weddings and important eventsRAW or RAW + JPEGYou can fix tricky lighting and exposure later
PortraitsRAWBetter control of skin tones and white balance
Fast action and sportsJPEG or RAW + JPEGLonger bursts and quicker delivery
Everyday snapshots and travelJPEGLess editing and storage needed
Low light and night photographyRAWMore room for noise reduction and exposure fixes
Photos you’ll share immediatelyJPEGReady to send without editing
Learning photographyRAW + JPEGCompare your edits with the camera’s version

Common myths about RAW vs JPEG

A few beliefs about RAW vs JPEG come up again and again, and some of them aren’t quite right.

  • “RAW photos look better straight out of the camera.” Often they look flatter and duller, because they haven’t been processed. Their advantage appears after editing.
  • “JPEG is only for beginners.” Many professionals shoot JPEG when speed matters, and modern camera processing is excellent.
  • “You can’t edit JPEGs.” You can, and small adjustments usually look fine. It’s large changes to exposure and white balance where JPEG falls behind.
  • “RAW fixes everything.” It gives you more room to fix mistakes, but it can’t rescue a badly out-of-focus or seriously blurred shot.
  • “Every RAW file is the same.” Each camera brand uses its own format, and the amount of data stored varies by camera and settings.

Storage and backup tips for RAW shooters

Because RAW files are large, a little planning saves a lot of stress:

  1. Use large, fast memory cards. Cards with higher write speeds help the camera clear its buffer faster during bursts.
  2. Carry spare cards rather than one huge card, so a single failure doesn’t lose a whole trip.
  3. Back up regularly using the “3-2-1” rule: three copies of your photos, on two different types of storage, with one copy kept off-site or in the cloud.
  4. Cull before you edit. Delete obvious rejects, such as blurry or duplicate shots, so you only store and edit the best images.
  5. Export finished photos as JPEG for sharing, while keeping the RAW originals for future editing.

Shooting RAW + JPEG

Many cameras can save both a RAW and a JPEG file for every photo. This gives you a ready-to-share JPEG plus a RAW file for important shots you want to edit carefully. The downside is that it uses even more storage space, so you’ll need large memory cards and a plan for backing up your photos.

What about HEIF and other formats?

JPEG isn’t the only compressed format any more. Many phones, including iPhones by default, save photos as HEIF or HEIC files, which use more efficient compression to keep similar quality at roughly half the file size of a JPEG. Some newer cameras offer HEIF too, sometimes with 10-bit color, which handles smooth gradients better than 8-bit JPEG.

HEIF sits somewhere between the two in the RAW vs JPEG debate. It’s still a processed, compressed file, so it doesn’t offer RAW-level editing flexibility, but it can hold more color information and save storage space. The main drawback is compatibility: some older computers, websites and apps don’t open HEIF files easily, so phones often convert them to JPEG automatically when you share.

RAW on smartphones

Smartphones have become powerful RAW cameras. Many Android phones can save DNG RAW files in their “Pro” or manual camera modes, and recent iPhone Pro models support Apple ProRAW. Phone RAW files give you more editing room than standard photos, although phones also rely heavily on computational photography, combining multiple frames to reduce noise and extend dynamic range.

If you shoot RAW on your phone, be aware that files can be very large, often tens of megabytes each, so they can fill your phone’s storage quickly.

How to edit RAW files without getting overwhelmed

RAW editing can look intimidating, but a simple routine works for most photos:

  1. Set white balance so whites look neutral, or warm/cool them to taste.
  2. Adjust exposure until the photo looks right overall.
  3. Recover highlights in bright skies and windows.
  4. Lift shadows to reveal detail in dark areas.
  5. Add a little contrast and clarity to make the image pop.
  6. Fine-tune color with vibrance and saturation.
  7. Apply noise reduction and sharpening gently.
  8. Export as JPEG for sharing.

Popular RAW editors include Adobe Lightroom, Capture One, the free darktable and RawTherapee, and AI-assisted editors like Luminar Neo from Skylum, which offers one-click tools for skies, portraits and lighting alongside traditional RAW adjustments. If you’d like to try it, you can explore Luminar Neo from Skylum here.

Affiliate disclosure: the link above may earn AtThreeAm a commission if you buy, at no extra cost to you.

A Worked Example: One Tricky Sunset

Imagine photographing a sunset over the sea. The sky is bright orange, while the rocks in the foreground are almost black. You take the same shot twice, once as a RAW file and once as a JPEG, with exactly the same camera settings and exposure.

Back home, both look similar at first. But when you try to brighten the dark rocks in the JPEG, the shadows turn grainy and the colours look muddy, and the brightest part of the sky around the sun has turned to a flat white patch with no detail. With the RAW file, you can lift the shadows to show texture in the rocks, bring back colour in the bright sky and adjust the warmth of the light, all with far less damage.

That difference is exactly why many photographers shoot RAW for high-contrast scenes like sunsets, snow and backlit portraits, and are happy with JPEG for evenly lit everyday snaps where little editing is needed. If you are not sure which format suits a scene, shooting RAW plus JPEG for a few weeks and comparing the results side by side is a simple way to decide.

Questions about RAW and JPEG

Is RAW better quality than JPEG?

RAW files contain more image data, so they have more potential quality, especially for editing. They hold more tones, more detail in highlights and shadows, and flexible white balance. A well-exposed JPEG can look just as good straight out of the camera, though. The real difference shows when you need to make significant edits, recover exposure or work with high-contrast scenes, where RAW gives much better results.

Why are RAW files so big?

RAW files are big because they store almost all of the data captured by the camera’s sensor, with 12 or 14 bits per color channel and little or no lossy compression. A JPEG, by contrast, is processed down to 8 bits per channel and compressed, discarding data the eye is less likely to notice. As camera sensors gain more megapixels, RAW files grow larger too, often 20 to 60 megabytes or more each.

Do professional photographers shoot RAW?

Most professional photographers shoot RAW for work where quality and editing control matter, such as weddings, portraits, landscapes and commercial photography. Some news and sports photographers shoot JPEG or RAW + JPEG, because they need to send images quickly and JPEGs from modern cameras are excellent. The choice depends on the job, the deadline and how much editing will be done.

Can I convert JPEG to RAW?

No. You can save a JPEG in a RAW-like format such as DNG, but that doesn’t bring back the data the camera discarded when it created the JPEG. The bit depth, highlight and shadow detail, and white balance flexibility of a true RAW file can’t be recreated from a JPEG. If you want the benefits of RAW, you need to shoot in RAW from the start.

Should beginners shoot RAW or JPEG?

Beginners can start with either. JPEG is simpler and lets you focus on composition and light without editing every photo. Shooting RAW + JPEG is a great way to learn: you get ready-to-share JPEGs and RAW files to practice editing. As you gain confidence and want more control over difficult lighting, shooting RAW for important photos makes a lot of sense.

Does shooting RAW use more battery?

Shooting RAW doesn’t usually affect battery life much on its own. The bigger effects come from using the screen, image stabilization, autofocus and burst shooting. RAW files do take longer to write to the memory card and fill the camera’s buffer faster, which can slow continuous shooting. On smartphones, processing large RAW files can use a little more power, but the difference is generally small.

A simple test you can try

If you’re still unsure, try a quick experiment. Set your camera to RAW + JPEG and photograph a high-contrast scene, such as a bright window in a dim room or a sunset over dark land. Then open both files and try to recover the bright sky and the dark shadows. In most cases, the RAW file will let you pull back far more detail before the image starts to look noisy, flat or blotchy. Repeat the test in low light, where noise becomes the main challenge, and you’ll see a second big difference. Seeing the difference with your own photos is the fastest way to decide whether RAW vs JPEG matters for the way you shoot.

Choosing your format

RAW vs JPEG isn’t about right or wrong; it’s about what you need. Choose RAW when you want maximum quality and editing flexibility, especially for tricky light, landscapes and important events. Choose JPEG when you need small files, speed and photos that are ready to share. And if you can’t decide, shoot both and keep your options open.

More tech explainers: find out what kind of phone you have, learn why your phone isn’t charging, and see what happens to old game save files.

References

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button