Image File Size Calculator

Uncompressed size72.00 MB
Resolution24.00 MP
Size in MiB68.66 MiB
Typical JPEG estimate7.20 MB
Raw frames per card888
How this was calculated
  1. An uncompressed frame stores every pixel at full depth: 6,000 x 4,000 pixels is 24.00 million pixels, each holding 24 bits (3 bytes).
  2. That is 72.00 MB a frame in decimal units, or 68.66 MiB in the binary units your operating system reports - the same bytes, two rulers.
  3. A quality JPEG typically lands near a tenth of the raw size, about 7.20 MB here, though fine detail and noise push real files well past the estimate.
  4. On a 64 GB card the raw frames fit 888 times - the number that decides whether a shoot needs a second card, before video enters the argument.

This image file size calculator tells you how much space a photo or scan takes up before you ever save it. Enter the frame's pixel dimensions and bit depth, and it returns the uncompressed size in megabytes. The math is simple once you see it: a 6000 x 4000 frame is 24.00 megapixels, and at 24-bit depth that is 3 bytes a pixel, or 72.00 MB uncompressed. Switch to a typical quality JPEG and the same frame drops to about 7.20 MB, a tenth of the raw size. Storage planning follows directly. 888 of those raw frames fit on a 64 GB card, while the 32 GB card in our HD example holds 5,144 frames. Large scans grow fast: a 48-bit scan at 12000 x 9000 reaches 648.00 MB a frame, and only 197 fit on a 128 GB card.

The method behind these figures is the accepted standard for this kind of calculation because it counts exactly what a file stores: pixels multiplied by bytes per pixel. Nothing is estimated or guessed, so the result matches how uncompressed formats are measured everywhere. Compression is then applied as a stated ratio, which is why the JPEG figure is described as typical rather than exact. This page shows the formula, the step-by-step workings, worked examples and sources, so you can check every number yourself and see where each value comes from. That transparency is the point: you get the answer and the reasoning behind it, in plain terms, with no hidden assumptions.

Worked examples

24 MP still, 24-bit, 64 GB card

Uncompressed size = 72.00 MB. Resolution: 24.00 MP; Size in MiB: 68.66 MiB; Typical JPEG estimate: 7.20 MB; Raw frames per card: 888. (6000 px · 4000 px · 24-bit (standard colour) · 64 GB)

Uncompressed size72.00 MB
Resolution24.00 MP
Size in MiB68.66 MiB
Typical JPEG estimate7.20 MB
Raw frames per card888

Full HD frame, 24-bit, 32 GB card

Uncompressed size = 6.22 MB. Resolution: 2.07 MP; Size in MiB: 5.93 MiB; Typical JPEG estimate: 0.62 MB; Raw frames per card: 5,144. (1920 px · 1080 px · 24-bit (standard colour) · 32 GB)

Uncompressed size6.22 MB
Resolution2.07 MP
Size in MiB5.93 MiB
Typical JPEG estimate0.62 MB
Raw frames per card5,144

108 MP scan, 48-bit, 128 GB card

Uncompressed size = 648.00 MB. Resolution: 108.00 MP; Size in MiB: 617.98 MiB; Typical JPEG estimate: 64.80 MB; Raw frames per card: 197. (12000 px · 9000 px · 48-bit (16 per channel) · 128 GB)

Uncompressed size648.00 MB
Resolution108.00 MP
Size in MiB617.98 MiB
Typical JPEG estimate64.80 MB
Raw frames per card197

How uncompressed size is calculated

An image file size calculator works from one simple idea: an uncompressed image is just a grid of pixels, and each pixel carries a fixed number of bytes. Multiply the pixel count by the bytes per pixel and you have the raw size of the frame. The formula is width × height × bytes per pixel. Nothing about the picture's subject, color, or detail changes that number — only its dimensions and bit depth do.

The 6000 x 4000 example shows how this plays out. Multiply 6000 by 4000 and you get 24,000,000 pixels, or 24.00 megapixels. At a 24-bit depth, each pixel takes 3 bytes — one byte each for red, green, and blue. So 24.00 megapixels × 3 bytes gives 72,000,000 bytes. Divide by 1,000,000 and the answer is 72.00 MB uncompressed. That is the figure the image file size calculator reports for a full-resolution frame at this depth.

The MB versus MiB distinction matters here, and it is where many tools quietly disagree. The 72.00 MB result uses decimal megabytes, where 1 MB equals 1,000,000 bytes. If you divide the same 72,000,000 bytes by 1,048,576 — the binary mebibyte, or MiB — you get about 68.66 MiB. Both describe the identical frame; they simply use different units. Storage makers and most calculator pages quote decimal MB, while some operating systems display binary units under the MB label. Check which convention a page uses before comparing its output to what your computer shows.

Compression changes the picture dramatically. The same 6000 x 4000 frame saved as a typical quality JPEG comes to about 7.20 MB — a tenth of the raw size. That gap is why the uncompressed figure is a ceiling, not a prediction of what the file on your card will weigh. It is also why card capacity planning is easier with raw numbers: 888 of those uncompressed frames fit on a 64 GB card, and the 32 GB card in the HD example holds 5,144 frames. Scale up the dimensions and the numbers grow fast — a 48-bit scan at 12000 x 9000 reaches 648.00 MB a frame, and only 197 fit on a 128 GB card.

To use these results well, keep the unit and the bit depth attached to every number you compare. A 24-bit frame and a 48-bit frame of the same dimensions differ by a factor of two in raw size, and a decimal MB figure will always read slightly larger than the same byte count expressed in MiB.

72,000,000 bytes = 72.00 MB (decimal) = about 68.66 MiB (binary). Same frame, different units.

Bit depth: 8, 24, 32 and 48 bits

Bit depth is the number of bits used to describe each pixel, and it is the multiplier that turns a pixel count into a file size. The image file size calculator treats a 24-bit color image as 3 bytes per pixel, because 24 bits is 8 bits each for red, green and blue. That is why a 6000 x 4000 frame — 24.00 megapixels — comes out at 72.00 MB uncompressed: 24.00 million pixels times 3 bytes. Change the depth and the same frame changes size, even though the pixel count does not move.

An 8-bit image is one byte per pixel. In a grayscale scan that byte is a single brightness value, so the file is one-third the size of the 24-bit version. In a color file, 8 bits usually describes each channel rather than the whole pixel, which is where the naming gets confusing: an "8-bit" palette image stores one index per pixel, while an "8-bit per channel" RGB image is the same 24-bit data described above. A 32-bit image typically adds an 8-bit alpha channel to 24-bit color, carrying transparency alongside red, green and blue. That extra channel is real data and shows up in the file size, so a 32-bit image is one-third larger than its 24-bit equivalent at the same dimensions.

High-bit-depth scans go further. A 48-bit scan uses 16 bits per channel instead of 8, which doubles the bytes per channel and therefore doubles the file size for the same pixel count. The gain is finer tonal steps and more room to edit before banding appears, which is why film and flatbed scans are often captured at 16 bits per channel. The cost is steep. A 48-bit scan at 12000 x 9000 reaches 648.00 MB a frame, and only 197 fit on a 128 GB card. The arithmetic is the same rule as before: 108.00 megapixels at 6 bytes per pixel.

That 648.00 MB figure is worth sitting with. The 12000 x 9000 frame is 108.00 megapixels, nine times the 24.00 megapixels of the 6000 x 4000 example, and 48-bit depth doubles the bytes per pixel from 3 to 6. Nine times the pixels times twice the bytes gives eighteen times the data, and 72.00 MB times 18 is 648.00 MB. Nothing mysterious is happening — the ballooning comes entirely from resolution and depth multiplying together.

For comparison, the same 6000 x 4000 frame is about 7.20 MB as a typical quality JPEG, a tenth of the raw size, because JPEG compression discards detail the eye is less likely to miss. Raw frames do not: 888 of those raw frames fit on a 64 GB card. Choosing a bit depth is therefore a storage decision as much as a quality one, and running the numbers before a shoot or a scan session is the cheapest way to avoid running out of card space.

  • 8-bit: one byte per pixel; a single brightness value in grayscale, or one index per pixel in a palette image.
  • 24-bit: 8 bits each for red, green and blue — 3 bytes per pixel, the basis of the 72.00 MB example.
  • 32-bit: 24-bit color plus an 8-bit alpha channel for transparency, so one-third more data than 24-bit.
  • 48-bit: 16 bits per channel, 6 bytes per pixel — the depth behind the 648.00 MB scan.
Same frame, different depth: 6000 x 4000 at 24-bit is 72.00 MB uncompressed. At 48-bit the bytes per pixel double, so the file doubles at the same pixel count — and a 12000 x 9000 48-bit scan reaches 648.00 MB, with only 197 fitting on a 128 GB card.

Compressed reality: JPEG and RAW files

The 72.00 MB figure for a 6000 x 4000 frame at 24-bit depth is a pure arithmetic result: 24.00 megapixels at 3 bytes a pixel. That number assumes every pixel is stored at full precision with no compression at all. In practice, most cameras do not save files that way. A typical quality JPEG of the same frame comes in around 7.20 MB, roughly a tenth of the raw size. That gap is the first thing an image file size calculator makes visible, and it is the reason two photographers shooting the same scene can end up with wildly different storage needs.

Why does JPEG shrink so much? Because it discards information the eye is less likely to notice, and it stores the remaining detail more compactly. The 7.20 MB estimate is a typical result, not a guarantee. A busy, high-detail scene will land higher; a smooth, low-detail one will land lower. The 72.00 MB uncompressed figure, by contrast, is fixed by the pixel count and bit depth alone, so it never moves. Treat the uncompressed number as a ceiling and the JPEG number as a realistic everyday estimate.

Real RAW files land between those two poles. RAW data is not compressed the way JPEG is, but it is also not a straight 3-bytes-per-pixel dump. Camera makers pack sensor data in their own ways, and the result is a file larger than a JPEG but usually smaller than the full uncompressed figure. That is why a RAW shooter cannot simply multiply megapixels by 3 and trust the answer, and why the spread between the 7.20 MB JPEG and the 72.00 MB uncompressed frame is best read as a range rather than a single point.

The stakes get clearer when you translate file size into card capacity. At the uncompressed figure, 888 raw frames fit on a 64 GB card. The 32 GB card in the HD example holds 5,144 frames, a reminder that smaller files stretch storage much further. Push resolution and bit depth up and the numbers turn dramatic: a 48-bit scan at 12000 x 9000 reaches 648.00 MB a frame, and only 197 fit on a 128 GB card. Run your own frame dimensions through the image file size calculator to see where your files fall between the JPEG estimate and the uncompressed ceiling.

  • 6000 x 4000 at 24-bit: 72.00 MB uncompressed (24.00 megapixels at 3 bytes a pixel).
  • Same frame as a typical quality JPEG: about 7.20 MB, a tenth of the raw size.
  • Uncompressed frames per 64 GB card: 888.
  • Frames per 32 GB card in the HD example: 5,144.
  • 48-bit scan at 12000 x 9000: 648.00 MB a frame, 197 per 128 GB card.
The uncompressed figure is a fixed ceiling; the JPEG estimate is a typical result. Real RAW files sit between the two.

Planning cards and storage for a shoot

Card planning starts with one number: how many frames of your actual file type fit on the media you already own or plan to buy. The image file size calculator gives you that number directly, so you can match card capacity to a shoot day instead of guessing from the label on the card. For a 6000 x 4000 frame at 24-bit depth, the uncompressed size is 72.00 MB — 24.00 megapixels at 3 bytes a pixel. That same frame saved as a typical quality JPEG is about 7.20 MB, a tenth of the raw size. The gap between those two figures is the whole reason a capacity plan built on JPEG counts will fail you the first time you switch to raw.

Run the raw case first, because it sets the floor. At 72.00 MB per frame, 888 raw frames fit on a 64 GB card. That is a realistic working number for a stills session: it covers a portrait sitting, a product batch, or a day of event coverage with room to spare, and it tells you how many 64 GB cards to pack for a longer job. Divide your expected frame count by 888 and round up to get the card count for that body of work. If you shoot JPEG alongside raw, the 7.20 MB figure lets you estimate the smaller files separately rather than folding them into the raw total.

Scanning work follows the same logic but at a very different scale. A 48-bit scan at 12000 x 9000 reaches 648.00 MB a frame, and only 197 fit on a 128 GB card. That is roughly nine times the size of the 72.00 MB raw frame, so a card that holds 888 camera raw files holds fewer than 200 scans. Plan scanning sessions in batches of under 200 images per 128 GB card, and expect to offload and verify each card before starting the next batch. For a large archive digitization project, this is the number that decides how many cards you cycle through in a week.

The contrast with lighter files is worth keeping in view. The 32 GB card in the HD example holds 5,144 frames — a reminder that capacity figures swing enormously with resolution, bit depth, and format. Never carry a frames-per-card estimate from one project to another without re-running it. Use the image file size calculator with your own dimensions, bit depth, and file type each time your camera, scanner, or output settings change.

  • 6000 x 4000 at 24-bit: 72.00 MB uncompressed per frame; 888 frames per 64 GB card
  • Same frame as typical quality JPEG: about 7.20 MB, a tenth of the raw size
  • 48-bit scan at 12000 x 9000: 648.00 MB per frame; 197 frames per 128 GB card
  • 32 GB card in the HD example: 5,144 frames — capacity varies widely by format
Plan raw and scans on their own counts: 888 raw frames per 64 GB card, but only 197 large scans per 128 GB card.

FAQs

How big is a 24 MP photo uncompressed?

At 24-bit depth, the 6000 x 4000 example comes to 72.00 MB. That figure assumes every pixel is stored at full size with no compression applied. Your camera's RAW file is usually smaller than this because it is compressed, so treat 72.00 MB as the uncompressed size rather than what you will see on the card.

How many raw frames fit on a 64 GB card?

At the 72.00 MB size, a 64 GB card holds 888 raw frames. The calculator counts in decimal gigabytes, which is how card makers label their products, so the result matches the capacity printed on the packaging. Real-world counts can differ slightly once file system overhead and camera-specific compression are factored in.

What is the difference between MB and MiB here?

The same frame measures 72.00 MB in decimal units and 68.66 MiB in the binary units an operating system reports. The two numbers describe identical data; only the unit definition differs. This is why a file can look smaller in your computer's file browser than the calculator's decimal result, and neither figure is wrong.

Why is a 48-bit scan so large?

A 48-bit scan stores 6 bytes a pixel instead of 3, so each pixel carries twice the data of a 24-bit file. That is why the 108 MP example reaches 648.00 MB uncompressed. The extra depth preserves more color information per channel, and the file size grows in direct proportion to the added bytes.

How big is a Full HD frame?

A 1920 x 1080 frame at 24-bit is 6.22 MB uncompressed, and 5,144 of them fit a 32 GB card. This is the raw, uncompressed size for a single frame at that resolution and depth. Compressed video formats will produce much smaller files, so use this figure as an upper bound.

Is the JPEG estimate reliable?

It is a planning figure, roughly a tenth of raw size. Fine detail and noise push real files well past 7.20 MB on detailed frames, so the estimate can undershoot. Use it to plan storage and card capacity, not as a guarantee of the exact size any particular image will end up at.

Sources

Related calculators

Video Bitrate Calculator
File size from video and audio bitrates and duration, or the video bitrate needed to hit a target file size - both directions.
Audio File Size Calculator
Uncompressed PCM audio size from sample rate, bit depth, channels and duration - MB, GB, raw bit rate and exact bytes.
Aspect Ratio Calculator
Simplify any width and height to their aspect ratio — and, given a diagonal, the physical width and height that ratio produces.
Flash Guide Number Calculator
Get a flash's guide number from distance and aperture, its maximum reach at any aperture, or its effective guide number at higher ISO.