← Back to Home

RAW vs JPEG: Quality, File Size, and When to Shoot Each

Published on March 10, 2026

RAW files contain unprocessed sensor data from your camera, giving you full control over exposure, white balance, and color in post. JPEG files are processed and compressed in-camera, producing a finished image that is ready to share. RAW files are 2-6x larger than JPEG, but they hold far more editing latitude.

Image Quality and Dynamic Range

A 14-bit RAW file stores roughly 4.4 trillion color values. An 8-bit JPEG holds about 16.7 million. This gap matters most when recovering shadows or pulling back blown highlights. A JPEG that looks washed out in the shadows may have lost that detail permanently, while the same shot in RAW often lets you recover 2-3 stops of exposure. For scenes with high contrast (sunsets, interiors with windows, backlit subjects), RAW gives you significantly more to work with.

File Size

A 24-megapixel camera produces RAW files around 25-30 MB each. The same shot as a high-quality JPEG is roughly 8-12 MB. On a 64 GB card, that is about 2,000 RAW images versus 6,000+ JPEGs. If you shoot events or travel where card space matters, this difference adds up fast. Storage costs are low, but so is your patience when transferring 50 GB of wedding photos over USB 2.0.

Editing Flexibility

RAW files are non-destructive. You can change white balance, exposure, noise reduction, and sharpening without touching the original data. JPEG is already baked -- adjusting white balance or exposure in Lightroom on a JPEG re-compresses the image and introduces artifacts. If you plan to do any serious editing, RAW is the clear choice. If your workflow is shoot-and-share with minimal tweaks, JPEG saves time.

When to Use Each

  • RAW: Portrait sessions, landscape photography, product shots, anything you will edit in Lightroom or Capture One.
  • JPEG: Casual snapshots, social media, rapid-fire event coverage where speed matters more than per-image editing.
  • RAW+JPEG: Many cameras offer both simultaneously. You get the JPEG for quick sharing and the RAW for later editing, at the cost of double the storage.

Once you have finished editing your RAW files and exported them, you may need to convert between image formats for web or sharing. Our PNG to JPG converter handles lossless-to-lossy conversion, and the image to WebP converter produces smaller files for web use.

Related reading: NEF vs JPG covers Nikon's RAW format, CR2 vs JPG covers Canon's specific RAW format in detail, RAW vs DNG compares proprietary RAW with Adobe's open raw format, lossless vs lossy compression explains the fundamental tradeoff, PNG vs JPG compares two common export formats, and AVIF vs JPEG looks at the next-gen replacement for JPEG. For output format choices after editing RAW, see RAW vs TIFF.