Skip to content
← Glossary

RAW vs. JPEG

RAW and JPEG are the two main formats in which a camera saves photos.

Also known as: RAW or JPEG, RAW vs JPG

RAW and JPEG are the two main formats in which a camera saves photos. RAW keeps all the unprocessed information captured by the sensor, like a digital negative: it offers the most room to adjust exposure and white balance and to recover detail when editing, at the cost of large files that need to be developed afterward. JPEG is a file already processed and compressed by the camera: it takes up much less space and is ready to share immediately, but it has far less editing room because the color and contrast decisions come already "baked in".

Diagram of the two paths a shot follows: RAW stores the sensor data at 14 bits with the decisions still pending, while JPEG goes through white balance, contrast curve, sharpening and 8-bit compression before being saved

A JPEG is not a worse RAW: it is a RAW already developed by the camera, with the rest of the data thrown in the trash.

What exactly is lost when you save a JPEG?

  • Property: Bit depth; In RAW: 12 – 14 bits (4,096 – 16,384 levels); In JPEG: 8 bits (256 levels)

  • Property: White balance; In RAW: One instruction, changed at no cost; In JPEG: Applied and baked in

  • Property: Highlight recovery; In RAW: Around 1 stop; In JPEG: Practically nothing

  • Property: Shadow recovery; In RAW: 2 stops with tolerable noise; In JPEG: Banding from 1 stop

  • Property: Sharpening and noise reduction; In RAW: You apply them when developing; In JPEG: Already applied and not reversible

  • Property: Color profile or simulation; In RAW: Reversible; In JPEG: Fixed

  • Property: Size on the card; In RAW: Considerably larger, depending on camera and scene; In JPEG: Smaller

The 256 levels of a JPEG are enough to look at the photo and too few to edit it: as soon as you stretch a gradient sky, banding appears, because there are no intermediate values to put between one level and the next.

When does each format make sense?

  • Situation: Wedding or event; Format: RAW or RAW + JPEG; Reason: The light changes and there is no second take

  • Situation: Sports with immediate delivery; Format: JPEG; Reason: Long bursts and delivery come first

  • Situation: Backlit landscape; Format: RAW; Reason: All the highlight room counts

  • Situation: Astrophotography; Format: RAW; Reason: It gets stacked and stretched a great deal

  • Situation: Inventory, documentation, catalog; Format: JPEG; Reason: Nobody is going to develop 400 product shots

  • Situation: Long trip without gear to offload; Format: High-quality JPEG; Reason: The card is the real limit

There is an added technical reason for sports: RAW fills the buffer sooner and shortens the burst. If your camera holds twice as many consecutive shots in JPEG, that difference decides more games than bit depth does.

What about shooting RAW + JPEG at the same time?

It is the sensible option when you need to deliver something today and keep the room for tomorrow: the JPEG comes out of the camera ready for a preview or for the client, and the RAW stays archived. The cost is using card and disk space twice and having two files per photo that you have to pair up when cataloging.

If you choose this route, watch the camera's picture settings: they affect the JPEG and the preview you see on screen, so a very contrasty profile makes you misjudge the exposure of the RAW.

Common mistakes

Shooting JPEG in mixed light. A room with tungsten and a window leaves a white balance that is impossible to get right in camera, and in JPEG that decision can no longer be touched. It is the case where RAW pays for itself.

Re-editing and re-saving the same JPEG. Every save recompresses with loss and degrades it a little more. If you have to work on a JPEG, export to TIFF or PNG while you edit and compress only once at the end.

Expecting the RAW to look better on screen. Freshly imported it looks flat, soft and less saturated than the JPEG, because nobody has yet applied the decisions the camera applies by itself. That flatness is the room to work with, not a defect.

To decide based on your workflow, see the guide to RAW vs JPEG, the one on file management and workflow and the article landscape editing: full workflow in Lightroom.

  • Blog
    Light Metering: Beyond the Auto Meter

    Master light metering: metering modes, exposure compensation and how an external light meter improves your accuracy.

  • Glossary
    3-2-1 backup rule

    The 3-2-1 rule is the backup standard applied to photography: 3 copies of every file, on 2 different media types, with 1 stored off-site.

  • Guide
    Strategic Light Metering

    Metering systems do not know what is important in your scene: understanding each mode gives you creative control over exposure.

  • Blog
    Landscape Editing: A Complete Lightroom Workflow

    Edit landscapes in Lightroom step by step: the order of global adjustments, local corrections and export settings for natural color.

  • Glossary
    Luminosity mask

    A luminosity mask is a selection built from the image's own brightness, so an adjustment acts fully on highlights, half on midtones and not on shadows.

  • Guide
    Post-Processing: Creative Digital Development

    Post-processing doesn't fix a bad photo: it completes your artistic vision. RAW is the negative that needs interpretation.

  • Guide
    Strategic Light Metering

    Metering systems do not know what is important in your scene: understanding each mode gives you creative control over exposure.

  • Guide
    Post-Processing: Creative Digital Development

    Post-processing doesn't fix a bad photo: it completes your artistic vision. RAW is the negative that needs interpretation.