How Big Is a RAW File? RAW File Size From 1,840 Camera Files (2026)

Quick answer: A RAW file from a current camera is about 27 MB. That is the median of 503 camera-format files uploaded to the raw.pixls.us archive since 2020, and half of those files fall between about 20 and 47 MB. What sets the number is megapixels times compression mode: about 1 MB per megapixel in a lossy mode, 1.1 to 1.3 MB per megapixel lossless, and about 2 MB per megapixel uncompressed. The card table turns those into photos per card.

  • A 24 megapixel camera writes about 25 MB in a lossy mode, about 30 MB lossless and about 50 MB uncompressed (medians of 89, 66 and 36 archive files).
  • A 128 GB card takes about 5,100 lossy or 4,300 lossless 24 megapixel shots by our arithmetic. Camera counters land on either side of that, and they vary by body: Sony's a7 V assumes bigger files than ours, Canon's R6 Mark II smaller. Trust your camera's counter over any table.
  • The mode matters more than the brand: Nikon's lossy Compressed saves only about 13% over Lossless, while High Efficiency saves 57%.
  • Manuals quote binary megabytes on Canon and OM System bodies, so a manual's "26.1 MB" shows as about 27.4 MB in Finder.

A RAW file from a current camera is about 27 MB: the median of 503 camera-format files uploaded to raw.pixls.us since 2020, with half between 20 and 47 MB (RevelRaw, September 28, 2026).

Every card-capacity article on the web starts from one assumed RAW size, usually 30 MB, and every forum answer quotes the one camera the poster owns. Nobody had measured sizes across brands, normalized them per megapixel, or checked the manuals against real files. So we took the full index of the raw.pixls.us public-domain archive and measured all of it. Still deciding whether RAW is for you? Shooting RAW versus JPEG is the step before this one.

How we measured. On September 28, 2026, we fetched the full index of the raw.pixls.us archive, where photographers donate CC0 sample files from their cameras: 2,016 files. We dropped 176 that are not ordinary camera output (the list is in the footnote by the citation block), leaving 1,840 files from 930 camera bodies and 46 makers. We read the size and pixel count from the index; no file was downloaded.

Size statistics use the 1,540 files that are full-resolution single shots; pixel-shift composites, crop-mode, Dual Pixel and reduced-size variants are reported separately. The headline 27 MB comes from the 503 of those files that are camera formats (no DNG of any kind, no GoPro) uploaded in 2020 or later. Compression mode comes from the archive's mode field, the uploader's notes and the filename. Every figure is a median unless it says otherwise.

The archive lists sizes in binary megabytes, which we converted to decimal MB (1 MB = 1,000,000 bytes, the unit Finder and card makers use), accurate to about 5 KB. To check your own files, our free in-browser EXIF viewer shows what a RAW file records, including the compression setting on Sony files, without uploading anything.

Read every number with these three caveats.

  • These are contributed test files, mostly single shots of color charts and street scenes at base ISO where the ISO is recorded. Most cameras contributed one to three files, so a per-camera figure is one photographer's frame, not a spec.
  • All MB here are Finder's decimal MB. Canon's and OM System's manuals and the archive count binary megabytes, which read about 5% smaller for the same file.
  • Camera counters vary by body: Sony's a7 V assumes bigger files than our sample, Canon's R6 Mark II smaller. Trust yours over any table.

How many RAW photos fit on a 32, 64, 128, 256 or 512 GB card

A 24 megapixel camera fits about 2,557 lossy or 2,149 lossless RAW photos on a 64 GB card, 5,114 or 4,299 on 128 GB, and 10,228 or 8,598 on 256 GB. Those counts come from the archive, not from an assumed size: for each row we took every full-resolution file in the megapixel bin and compression tier from the brands that offer tiers (Nikon, Sony, Fujifilm, Canon, Samsung and Pentax), used the median as the representative frame, and divided the card's usable space by it.

Camera classModeFiles (cameras)Median MB32 GB64 GB128 GB256 GB512 GB
24 MPLossy89 (58)24.881,2782,5575,11410,22820,456
24 MPLossless66 (53)29.591,0762,1494,2998,59817,197
24 MPUncompressed36 (34)50.476301,2582,5175,03410,069
33 MPLossy10 (6)31.979951,9913,9827,96415,929
33 MPLossless11 (8)45.916931,3842,7685,53611,073
33 MPUncompressed3 (3)73.454338661,7323,4646,928
45 MPLossy12 (7)37.098581,7163,4336,86613,733
45 MPLossless10 (7)54.285861,1702,3414,6829,365
45 MPUncompressed6 (3)81.423917811,5623,1246,248
61 MPLossy5 (4)69.094609201,8403,6807,361
61 MPLossless3 (3)79.603997991,5983,1966,392
61 MPUncompressed7 (5)123.272585161,0322,0654,130

"Lossy" is Nikon Compressed, HE and HE*, Sony Compressed, Fujifilm Compressed and Canon C-RAW; "Lossless" is Nikon, Sony and Fujifilm Lossless plus Canon's standard RAW. The 24 MP bin holds files storing 23.5 to 26.9 megapixels, 33 MP holds 30 to 34.5, 45 MP holds 44 to 47.9 and 61 MP holds 60 to 62.5. The 24 MP lossy row is a mix of 29 Sony Compressed, 34 Nikon Compressed (only about 87% of Lossless), 14 Canon C-RAW, 6 Fujifilm Compressed and 6 Nikon HE and HE* files; C-RAW and HE shooters do better than that row, because their 24 megapixel files run about 12 to 17 MB, roughly double the count. The 33 MP row mixes C-RAW (13.5 to 34 MB) with Sony Compressed (23 to 41 MB), and the 45 MP row mixes C-RAW (16.8 and 27.5 MB) with Nikon HE, HE* and Compressed (24 to 51 MB), so their medians fit neither group; use the per-camera tables below for those bodies. Counts assume 99.5% of the card's printed capacity is usable and round each file up to whole storage blocks (32 KB on a 32 GB card and 128 KB on larger exFAT cards, per the SD specification's file-system table as summarized on Wikipedia, both in binary kilobytes).

The arithmetic for the most common case, a 24 megapixel camera in a lossy mode on a 128 GB card: 128 billion bytes, 127.36 billion of them usable at 99.5%; a 24.88 MB file, or 24.9 MB once rounded up to the card's storage blocks; divide, and 5,114 frames fit. The 30 MB assumption the top-ranking card articles use gives 4,260 on the same card, close for a lossless 24 megapixel camera and 20% pessimistic for a lossy one.

Two cautions. The 99.5% figure is our assumption, not a sourced one; a conservative 96% takes 3.5% off every count (4,934 in the worked example). And counters can land on either side of this table: they vary by body. Sony's a7 V implies bigger files than our sample (33.5 versus 23.3 MB), Canon's R6 Mark II smaller ones (its manual says 1,170 RAW frames on 32 GB where our lossless row gives 1,076). Trust your camera's counter over any table. CFexpress cards follow the same arithmetic; the card type changes write speed and how fast the buffer clears, not how many frames fit. To measure a body's real per-frame size first, try our free sample RAW files.

Why your 128 GB card only shows 119 GB

The missing gigabytes are a units mismatch, and it touches file sizes too. Card makers count 1 GB as 1,000,000,000 bytes, so a 128 GB card holds 128 billion bytes. Windows, many cameras and older software count 1 GB as 1,073,741,824 bytes, and 128 billion divided by that is 119.2. Apple's storage-capacity note (February 26, 2025) spells out both conventions and says iOS 10 and earlier and OS X Leopard and earlier reported in binary, so any newer Mac, Finder included, shows the card near its printed 128 GB while a Windows PC shows about 119. Formatting then sets aside a small share for the file system tables. The SD Association defines SDHC cards (over 2 GB up to 32 GB) as FAT32 and SDXC cards (over 32 GB up to 2 TB) as exFAT, hence the two block sizes in our card table.

The same trap sits inside file listings. The raw.pixls.us archive labels its sizes "MB" but counts them in binary megabytes, 1,048,576 bytes each; all 78 files whose exact byte counts we had from earlier lab work matched the binary reading and none the decimal one. The archive's figures therefore read about 4.6% low compared with Finder, or put the other way, the decimal figure is 4.9% higher: the a7 V Lossless file the archive lists as 42.15 MB is 44.20 MB in Finder. Canon's and OM System's manuals use binary megabytes as well; Nikon's unit is unclear; Sony and Fujifilm publish counts, not sizes. Before comparing a website's file size with what your Mac shows, check which megabyte it is using.

Why are RAW files so big?

Megapixels. A RAW keeps one brightness value per sensor pixel, so pixel count sets the baseline: twice the pixels, roughly twice the file. Within one compression tier the per-megapixel cost is steady across brands (about 1.0 MB lossy, 1.2 lossless and 2.0 uncompressed), so the rules of thumb in the quick answer work whatever the logo on the camera.

Bit depth. Most cameras store 12 or 14 bits per pixel, and on formats that pack the data the extra two bits cost real space: a Nikon D850 Lossless file at 14-bit is 55.2 MB and the 12-bit file from the same day is 43.6 MB, 27% smaller. Sony's uncompressed and older compressed formats store a fixed number of bits per pixel, so a 12-bit Sony file is no smaller; our Sony compression study goes into that.

Compression mode. The biggest lever after pixel count. Uncompressed formats put each 14-bit value in a 2-byte slot, so a 24 megapixel sensor produces about 48 MB of sensor data before the preview (the 16-bit container is documented in diglloyd's 2015 look at Sony uncompressed). Lossless compression packs the same values like a zip archive and gets them back exactly; in our same-day pairs it ran 53 to 63% of uncompressed. Lossy modes discard some precision, 34 to 51% of uncompressed on Fujifilm, Sony and Nikon; Canon has no uncompressed mode, and its C-RAW runs 57% of Canon's lossless RAW.

The embedded preview. Every RAW carries a JPEG of itself for the camera's screen and for thumbnails, and it is part of the file size, typically 1 to 5 MB; one Adobe forum poster measured a 9 MB difference between a full-size and a medium preview in the same DNG.

Scene and ISO. Compression works by finding repetition, and noise has none, so busy or noisy frames compress worse. Canon's manuals say that "File size varies by shooting conditions (such as cropping/aspect ratio, subject, ISO speed, Picture Style, and Custom Functions)", and a 2009 PetaPixel test on one camera (old, single-source) found ISO 3200 files 44% larger than ISO 100 in low light and 5.7% larger outdoors. Where the archive holds two files from the same body in the same mode at the same pixel count, they differ by up to 47% (a Canon G7 X Mark III in C-RAW: 21.4 and 31.3 MB). Uncompressed modes are immune: our 15 modern Sony uncompressed files varied 4% per pixel, Canon C-RAW files 39%, the widest spread of any mode.

The dataset: RAW file size by format

Across all 1,540 full-resolution single shots, old bodies and every compression mode mixed together, the median file is 23.51 MB and the median per-megapixel cost is 1.22 MB, with the middle 80% of files running from 11.2 to 57.6 MB. Split by format family, the picture looks like this.

FormatFiles (cameras)Median MBMiddle 80% of files, MBMedian megapixelsMB per megapixel
Panasonic RW2308 (112)21.8914.6 to 24.318.11.22
Nikon NEF238 (83)22.989.9 to 44.420.91.10
Sony ARW166 (107)25.0815.1 to 85.624.31.05
DNG (phones, drones, in-camera)165 (160)24.4813.5 to 47.913.11.88
Fujifilm RAF149 (87)33.8019.3 to 112.326.51.54
Canon CR2103 (101)23.4411.0 to 36.417.91.28
Canon CR382 (29)27.4814.9 to 38.824.01.07
Olympus and OM System ORF72 (70)14.1210.1 to 19.312.61.00
Phase One IIQ40 (20)42.0917.7 to 127.240.10.98
Pentax PEF34 (32)19.6410.8 to 46.516.41.28
Samsung SRW27 (22)26.4121.4 to 35.920.81.63
Hasselblad 3FR/FFF22 (16)83.3255.2 to 206.852.81.53
Canon CRW (pre-2004)21 (18)5.622.8 to 10.25.01.14
Sigma X3F (Foveon)17 (14)49.817.8 to 59.414.83.24
GoPro GPR17 (8)4.313.5 to 8.312.00.35
Leica RWL16 (10)14.9111.4 to 23.312.11.22

Full-resolution single shots only. "Middle 80%" is the 10th to 90th percentile. Families with fewer than 16 such files (Minolta, Kodak, Leaf, Epson, Mamiya, Nikon NRW and others) are in the dataset but not in the table. The MB-per-megapixel column is the median of each file's own ratio, so it does not equal median MB divided by median megapixels. DNG mixes phone files at about 2 MB per megapixel with in-camera DNGs from Leica, Pentax, Ricoh and Hasselblad at about 1.4.

The mainstream mirrorless formats cluster: Sony, Canon CR3, Nikon and Panasonic all land between 1.05 and 1.22 MB per megapixel because most of their archive files are in a compressed mode of some kind. Fujifilm sits higher at 1.54 because half its files are uncompressed, the default on many X bodies. Format matters less than mode.

Cite this data: Tello, Daniel. "How Big Is a RAW File? RAW File Size From 1,840 Camera Files." RevelRaw, September 28, 2026. https://revelraw.com/blog/how-big-is-a-raw-file.html#dataset

Methods footnote: the 176 excluded index rows were 68 firmware-hack dumps, 46 without a usable pixel count, 18 cinema-camera frames, 21 files written by converters or noise-reduction tools rather than a camera, 6 Raspberry Pi captures, 5 film scanners, 5 outliers, 4 DNGs from brands that do not write DNG in-camera, 2 firmware files and 1 flagged as truncated. Same-body mode ratios use two full-resolution files from one body uploaded on the same day by the same contributor, with the same bit-depth label where both carry one and pixel counts within 12%.

RAW file size by camera

The tables below cover 52 current bodies we looked up by name, with every compression mode the archive holds for each. Almost every cell is a single file, so read each one as "one photographer's frame from this camera came out at this size" and use the mode percentages in the next section to fill the gaps. Where a cell has more than one file it says so and gives the median.

Sony

Camera (megapixels)Compressed, MBLossless, MBUncompressed, MB
a7 V (32.7)23.31 (HQ: 23.24)44.20not offered
a7 IV (32.7)40.6649.1973.45
a7C II (32.7)40.1845.9173.40
a7R V (60.2)72.2985.95134.70
a7CR (60.2)71.3079.60132.52
a1 II (49.8)53.4457.91103.63
a9 III (24.0)29.0835.5553.40
a6700 (25.6)34.1543.73not offered
ZV-E10 II (26.1)28.3632.58not offered

Canon

Camera (megapixels)C-RAW, MBRAW, MB
EOS R5 (44.8)16.8240.63
EOS R5 Mark II (44.8)27.5254.44
EOS R6 (20.0)11.2122.90
EOS R6 Mark II (24.0)16.4729.39
EOS R6 Mark III (32.3)17.1034.61
EOS R7 (32.3)13.5132.32
EOS R8 (24.0)14.6128.78
EOS R10 (24.0)no file34.67 (3 more files with no mode stated: median 31.01)
EOS R50 (24.0)20.47 (2 files)32.50 (2 files)
EOS R100 (24.0)15.7228.18

Nikon

Camera (megapixels)HE, MBHE*, MBCompressed (lossy), MBLossless, MBUncompressed, MB
Z8 (45.7)24.3835.75not offered60.84not offered
Z9 (45.7)24.8435.59not offered57.58not offered
Z7 II (45.8)not offerednot offered42.83 (2 files)48.66 (2 files)79.61 (2 files)
Z6 III (24.5)13.4319.56not offered32.96not offered
Z6 II (24.5)not offerednot offered31.96 (2 files)33.85 (2 files)44.20 (2 files)
Zf (24.5)13.46 (mode inferred from ratio)19.63 (mode inferred from ratio)not offered31.11not offered
Z5 II (24.5)12.5818.84not offered29.54not offered
Z5 (24.4)not offerednot offered24.73 (2 files)27.80 (2 files)not offered
Z50 II (20.9)12.4417.65not offered27.50not offered
Z fc (20.9)not offerednot offeredno file24.02 (4 files)38.35 (2 files)
Z30 (20.9)not offerednot offerednot offered23.56 (4 files)not offered

Fujifilm

Camera (megapixels)Compressed (lossy), MBLossless, MBUncompressed, MB
X-T5 (40.9)28.0443.1285.71
X100VI (40.9)29.8549.3887.59
X-H2 (40.9)28.95 (lossy or lossless not stated)40.0986.72
X-T50 (40.9)29.65 (lossy or lossless not stated)47.2487.56
X-H2S (26.5)21.1230.8158.36
X-M5 (26.5)21.5635.9558.77
X-S20 (26.5)27.66 (2 files, lossy or lossless not stated)no file58.51
GFX100S II (103.4)67.50 (2 files, lossy or lossless not stated)102.84 (2 files)209.32 (2 files)

OM System, Panasonic, Pentax, Ricoh and phones

Camera (megapixels)ModeMB
OM System OM-1 (20.4)RAW (one mode)21.82
OM System OM-1 Mark II (20.4)RAW (one mode)22.44
OM System OM-3 (20.4)RAW (one mode)21.63
OM System OM-5 (20.5)RAW (one mode)19.29
Panasonic S1R II (44.2)RW2 (one mode)63.17 (7 files)
Panasonic G9 II (25.1)RW2 (one mode)41.16 (4 files)
Panasonic GH7 (25.1)RW2 (one mode)40.74 (4 files)
Panasonic S5 II (24.0)RW2 (one mode)37.26 (2 files)
Panasonic S9 (24.1)RW2 (one mode)27.68
Pentax K-3 Mark III (26.6)PEF / in-camera DNG32.28 (2 files) / 32.78
Ricoh GR IIIx (24.8)in-camera DNG31.36
Apple iPhone 12 Pro (12.2)ProRAW DNG29.19
Google Pixel 8 Pro (50.1)DNG45.10
DJI Mavic 3 Pro (12.2)DNG14.88

Megapixels are the camera's output size where our earlier Sony lab measured it and the stored size from the archive otherwise. One file per cell unless stated. "No file" means the archive holds none in that mode; "not offered" means the camera has no such setting. The two Zf lossy files carry no mode label; we assigned HE and HE* from their size ratios to the Lossless file (43% and 63%), which fall inside the HE and HE* ranges measured on five other bodies. Files uploaded by different people on different days are different scenes, so compare modes within a row before comparing across rows.

One Panasonic note. The G9 II, GH7 and S5 II files came out at about 1.55 to 1.64 MB per megapixel, above the 1.22 median for the RW2 family, while the S9's single file sits at 1.15. RW2 has one mode, so there is no setting to change; this is an observation about three current bodies, not a rule for the format.

RAW file size by compression mode

The per-camera cells are single scenes, so to measure what a mode setting does we compared pairs: two full-resolution files from the same body, uploaded on the same day by the same contributor, in different modes, which controls for the camera and, nearly always, for the scene. There are 249 such pairs across Nikon, Sony, Fujifilm and Canon, 109 of them lossy versus lossless, and in all 109 the lossy file was the smaller one.

BrandComparisonMedian size vs referencePairs (bodies)Range
NikonCompressed vs Lossless87%52 (26)79 to 95%
NikonLossless vs Uncompressed59%36 (18)52 to 78%
NikonCompressed vs Uncompressed51%35 (18)45 to 74%
NikonHE* vs Lossless62%5 (5)59 to 64%
NikonHE vs Lossless43%5 (5)40 to 45%
NikonHE vs HE*69%5 (5)67 to 71%
SonyCompressed vs Uncompressed51%23 (19)50 to 58%
SonyLossless vs Uncompressed63%9 (9)51 to 72%
SonyCompressed vs Lossless84%9 (9)53 to 92%
SonyCompressed (HQ) vs Compressed100%1 (1)99.7%
FujifilmLossless vs Uncompressed53%22 (18)43 to 65%
FujifilmCompressed vs Uncompressed34%9 (9)33 to 37%
FujifilmCompressed vs Lossless67%8 (8)60 to 73%
CanonC-RAW vs RAW57%30 C-RAW files vs 19 RAW files (17)41 to 69%

Each row is a median of per-pair ratios. Canon's standard RAW is losslessly compressed and Canon offers no uncompressed mode, so its row compares C-RAW with lossless.

Nikon

Nikon's older lossy setting, the one its menus call Compressed, saved only 13% over Lossless (52 pairs, 26 bodies), which makes Lossless the obvious choice on every Nikon that offers both. The High Efficiency modes on the Z8, Z9, Z6III, Z5II and Z50II are a licensed compression scheme called TicoRAW, per its maker's December 2021 announcement, and they cut far deeper: a Z8 frame goes from 60.8 MB Lossless to 35.8 MB HE* to 24.4 MB HE. The background on the format is in what a NEF file is.

Sony

Sony's guide calls its Compressed setting "approximately half" the size of Uncompressed, and the archive agrees, with every one of 23 pairs between 50 and 58%. The a7 V is the outlier in the Compressed-versus-Lossless row at 53%, because its Compressed format is new: its compressed file is 23.31 MB where the a7 IV's is 40.66 MB at the same 33 megapixel output, 57% of it, though that is one file from each camera by different contributors, and Sony's own shot counts (3,800 versus 2,800 on 128 GB) imply a gentler 74%. Compressed (HQ) is the same size as plain Compressed. What each mode does to the picture, tonal steps and burst buffers included, is in how Sony's compression modes compare; the format itself is in what an ARW file is.

Fujifilm

Fujifilm uncompressed RAF costs 2.04 MB per megapixel across 74 files, and it is the default on many X-series bodies. Fujifilm's X-T5 manual says Compressed files are "25 to 35 percent of their uncompressed size" and lossless files "about 30 to 90 percent"; ours landed at the top of the first range and in the middle of the second. On an X-T5 that is 85.7 MB uncompressed, 43.1 MB lossless or 28.0 MB compressed for the same 40 megapixels. More on the format in what a RAF file is.

Canon

C-RAW cut Canon's files to 57% of standard RAW, but with the widest spread of any mode, 41 to 69%, so a card estimate for C-RAW needs more margin than any other. Dual Pixel RAW is the other Canon multiplier, measured on two bodies: it took the R6 Mark II's 29.4 MB RAW to 50.1 MB (170%) and the R5's 40.6 MB RAW to 73.5 MB (181%), with the C-RAW versions at 154 and 163%. The CR3 container and its history are in what a CR3 file is.

Everyone else

Panasonic RW2, Olympus and OM System ORF and Pentax PEF have one mode each, so there is nothing to compare: 1.22 MB per megapixel for RW2, 1.0 for ORF and 1.28 for PEF. Phase One's IIQ L cost 1.09 and its smaller IIQ S 0.73, Hasselblad's 16-bit files 1.53, and Sigma's Foveon X3F files 3.24, because that sensor records three color layers for every pixel location.

What the manual says vs what the files measure

Canon, Nikon and OM System print a file size in their manuals; Sony and Fujifilm print only shot counts. The manuals never name the unit, but Canon's and OM System's shot counts fit binary megabytes (1,048,576 bytes, the unit cameras and Windows use) almost exactly: 32 billion bytes divided by 26.1 binary MB gives 1,169 frames, and Canon's R6 Mark II page says 1,170; the R5 works out to 672 (Canon says 670) and the OM-1 Mark II to 2,725 (OM System says 2,727). So a manual's "26.1 MB" is about 27.4 MB in Finder, which counts in decimal (multiply by 1.049). Nikon's counts fit neither unit. The table shows our archive files in binary MB, the manufacturers' own unit; the rest of this article stays in Finder's decimal MB.

Camera, modeManual, MB (binary)Archive file, MB (binary)Difference
Canon R6 Mark III, RAW34.333.0−4%
Canon R6 Mark III, C-RAW16.816.3−3%
Canon R5, RAW45.438.8−15%
Canon R5, C-RAW21.916.0−27%
Canon R6 Mark II, RAW26.128.0+7%
Canon R6 Mark II, C-RAW13.215.7+19%
Canon R8, RAW26.127.5+5%
Canon R8, C-RAW13.213.9+6%
Canon R50, RAW27.031.0 (2 files)+15%
Canon R50, C-RAW14.019.5 (2 files)+39%
Nikon Z8, Lossless51.6 (unit unknown)58.0+12%
Nikon Z8, HE*32.6 (unit unknown)34.1+5%
Nikon Z8, HE21.1 (unit unknown)23.3+10%
Nikon Z6III, Lossless27.3 (unit unknown)31.4+15%
Nikon Z6III, HE*17.3 (unit unknown)18.7+8%
Nikon Z6III, HE11.4 (unit unknown)12.8+12%
Nikon Zf, Lossless25.9 (unit unknown)29.7+15%
OM System OM-1 Mark II, RAW22.421.4−4%

One archive file per row except the R50 (median of two). Manual figures as printed, fetched September 28, 2026: Canon R6 Mark III, R5, R6 Mark II, R8 and R50; Nikon Z8, Z6III and Zf; OM System OM-1 Mark II. Nikon prints its sizes as approximate. Nikon's shot counts on the same pages do not multiply out against its own MB column in either unit (7,300 Z8 Lossless frames at 51.6 MB would fill 377 to 395 GB of the 660 GB card it quotes), so we used only the MB column.

For standard RAW, Canon's numbers landed within 5% on the R6 Mark III and R8, 7% under our R6 Mark II file, 17% over our R5 file and 13% under our R50 files, so the manual is a fair midpoint rather than a ceiling. The C-RAW gaps are larger in both directions: R8 +6%, R6 Mark II +19%, R50 +39%, R5 −27%, the scene dependence of C-RAW again. Nikon's Lossless figures ran 12 to 15% under our files on all three bodies, and its HE and HE* figures 5 to 12% under. Each archive file is one frame of whatever its contributor shot, so for a Nikon Z8 in Lossless, plan on 52 to 58 MB per frame in the camera's units, 54 to 61 MB in Finder's.

Sony gives shot counts instead of sizes, which lets us compare what the counter assumes with what our files weigh. Sony's a7 V help guide lists 3,800 Compressed frames, 3,800 Compressed (HQ) frames and 2,600 Lossless frames on a 128 GB card. With the card assumptions used above, 3,800 frames implies about 33.5 MB per Compressed frame, versus 23.3 MB for our one a7 V Compressed file, a test chart at ISO 100 in a new variable-rate format; 2,600 Lossless frames implies about 49.0 MB, versus our 44.2 MB file. Counters can land on either side of our table, and they vary by body: the a7 V's and the R5's imply bigger files than our samples, the R6 Mark II's, R8's and R50's smaller ones. Trust your camera's counter over any table.

Which RAW mode should you shoot?

The pairs above settle it for most bodies. Nikon: Lossless over Compressed, because Compressed saves only about 13% and gives up data to do it; HE* when the card is the constraint. Fujifilm: lossless instead of the uncompressed default, for half the file and the same sensor data. Sony: Lossless unless card space or the burst buffer binds, with the a7 V as the exception, where Compressed is about half the Lossless size (53%), versus 78 to 92% on other Sony bodies; our Sony study's verdict table covers the buffer trade-off body by body. Canon: C-RAW roughly halves the file but varies the most with the scene, so leave margin on the card. Whether to shoot RAW or JPEG at all is a separate question, covered in our RAW versus JPEG editing comparison.

Phones: iPhone ProRAW

Phone RAWs cost about 2 MB per megapixel, the rate of an uncompressed camera file, because most store uncompressed DNG: across 82 phone DNGs in the archive the median is 24.45 MB for a 12 megapixel frame. Apple's ProRAW support page (April 19, 2024) puts an iPhone ProRAW at "approximately 25 MB" at 12 megapixels and "approximately 75 MB" at 48 megapixels; the one ProRAW in the archive, from an iPhone 12 Pro, is 29.19 MB at 12.2 megapixels. A 48 megapixel ProRAW therefore outweighs a Nikon Z8 Lossless frame. The iPhone 16 Pro's JPEG-XL ProRAW option is reported smaller, around 45 MB lossless and 20 MB lossy per MacRumors (September 20, 2024), but Apple gives no JPEG-XL figures and the archive holds no such file. Editing starts with our ProRAW guide. A Google Pixel 8 Pro DNG is 45.1 MB at 50 megapixels, so it is compressed.

The extremes

The largest file in the archive is not a single photograph: a Sony a7R III pixel-shift composite, a four-frame ARQ file, weighs 340.87 MB for 42.6 megapixels, about 8 MB per megapixel. The largest single shot is a Hasselblad X2D 100C frame at 213.31 MB for 105 megapixels, with a Hasselblad CFV 100C, a Phase One IQ4 150MP and an uncompressed Fujifilm GFX100S all within about 3 MB of it. The smallest file above 20 megapixels is a GoPro HERO10 Black at 6.07 MB for 23.3 megapixels, 0.26 MB per megapixel, thanks to video-style lossy compression. The smallest file we trust is a 1990s Kodak EOS DCS 3 frame at 1.37 MB for 1.3 megapixels (a 0.84 MB Kodak DC120 file is smaller, but its twin in the archive is flagged as truncated).

FAQ

How big is a RAW file?

About 27 MB for a current camera: the median of 503 camera-format RAW files uploaded to the raw.pixls.us archive since 2020, with half between about 20 and 47 MB. Per megapixel, lossy modes cost about 1 MB, lossless modes 1.1 to 1.3 MB and uncompressed modes about 2 MB, so a 24 megapixel camera writes roughly 25, 30 or 50 MB by setting. A 61 megapixel Sony file is about 70 MB compressed and 125 to 135 MB uncompressed.

How many RAW photos fit on a 64, 128 or 256 GB SD card?

A 24 megapixel camera fits about 2,557 lossy or 2,149 lossless RAW photos on 64 GB, 5,114 or 4,299 on 128 GB, and 10,228 or 8,598 on 256 GB, using the median size of our archive files for each tier and 99.5% of the card's printed capacity. A 45 megapixel camera fits about 3,433 lossy or 2,341 lossless on 128 GB. Camera counters land on either side of those figures, so trust yours over any table.

Why are RAW files so big?

Because a RAW keeps one 12- or 14-bit brightness value for every sensor pixel, before any of the processing that lets a JPEG throw detail away. Uncompressed formats store each value in a 2-byte slot, so a 24 megapixel sensor produces about 48 MB before the embedded preview JPEG adds 1 to 5 MB. Lossless compression packs that to 53 to 63% of the size; lossy modes reach 34 to 51% of uncompressed, or 57% of lossless for Canon C-RAW.

How much bigger is RAW than JPEG?

About 2.4 to 3.4 times for standard RAW in eight Canon and Nikon manuals: the Canon R6 Mark III lists RAW at 34.3 MB and its largest fine JPEG at 10.4 MB. Canon C-RAW is about 1.6 times the JPEG, and Nikon High Efficiency 1.0 to 1.1 times, the same size as a fine JPEG on the Zf. HEIF is about the same size as JPEG on Canon bodies, while Sony's a7 IV fits about twice as many HEIF frames as JPEGs.

Does lossless compressed RAW lose quality?

No. Lossless compression is reversible, so the sensor data comes back out unchanged; Sony's a7 IV guide says it causes no deterioration in image quality and Fujifilm's X-T5 manual calls its lossless option reversible with no loss of image data. The modes that discard data are Canon C-RAW, Nikon High Efficiency and Nikon's older Compressed setting, Sony Compressed and Fujifilm Compressed. Nikon's Compressed saves only about 13% over Lossless, so on a Nikon the lossless setting costs very little.

Why does my 128 GB card only show 119 GB?

Card makers count 1 GB as 1 billion bytes, so a 128 GB card holds 128 billion bytes; Windows and many cameras divide by 1,073,741,824 instead and display about 119 GB, per Apple's storage-capacity note (February 26, 2025). Formatting reserves a little more. Nothing is missing. Finder has reported decimal units since Snow Leopard, so a Mac shows the card near its printed capacity. File sizes shift the same way: the archive lists a 44.20 MB file as 42.15 MB.

Sources for the JPEG and HEIF comparison: the eight manuals linked in the manual section (Canon R6 Mark III, R6 Mark II, R5, R8 and R50; Nikon Z8, Z6III and Zf), whose RAW-to-JPEG ratios run from 2.35 on the Zf to 3.36 on the R5 and whose C-RAW-to-JPEG ratios are 1.6 on every Canon; Sony's a7 IV recordable-images page (10,000 HEIF Extra fine versus 4,700 JPEG Extra fine on 128 GB); Adobe's JPEG vs RAW explainer (undated, "2 to 6 times") and Ask Tim Grey (March 19, 2015, "2 to 3 times"); Sony's a7 IV RAW file type page for the lossless wording.

Editing any of these on a Mac

File size decides how many frames you bring home. What happens next is the same at 6 MB or 213 MB: the file has to open and be edited. RevelRaw is our native macOS RAW editor. It opens the 24 formats on our format list, every brand in the tables above and iPhone ProRAW among them, then AI scene detection ranks 40+ curated presets for the photograph. Everything runs on your Mac and nothing is uploaded.

Picked your card? Now edit the frames. RevelRaw is free to download, with one free full-quality export to try the whole workflow on your own RAW files. Get RevelRaw on the Mac App Store (requires macOS 26 or later on an Apple M1 Mac or later).

Related reading: Shooting in RAW vs JPEG · Every RAW format RevelRaw opens · Free sample RAW files (CC0)