TECHNOLOGY / MEDIA PRODUCTION

Image file size (uncompressed)

Calculate raw pixel-data size before JPEG, PNG or other compression.

Last reviewed:

← All tools

Your numbers

◈ Your values stay in your browser. No account needed.
YOUR RESULT

Enter your numbers to see a result.

WORKED EXAMPLE

Image file size (uncompressed): a worked example

With image width (pixels) 4,000, image height (pixels) 3,000, number of channels 3 — RGB, bits per channel 8-bit, the uncompressed image size is 36 MB.

Inputs
Image width (pixels)4,000
Image height (pixels)3,000
Number of channels3 — RGB
Bits per channel8-bit
Results
Uncompressed image size36 MB
Megapixels12 MP
Size in MiB34.33 MiB
Bytes36,000,000 bytes
THE METHOD

How it works

This is uncompressed raster data, not the final JPG/PNG/HEIC file size. Metadata, alpha channels and compression affect actual disk usage.

FormulaRaw bytes = width × height × channels × bits/channel ÷ 8.
ASSUMPTIONS

Assumptions and limits

  • Results are estimates based on the inputs and assumptions on this page, not professional advice.
  • Try this: in the example above, a 10% rise in “Image width (pixels)” changes the result by +10.0% and a 10% rise in “Image height (pixels)” changes the result by +10.0%. Use “Save scenario A”, change one input and compare the two results side by side.
QUESTIONS

Frequently asked questions

How is the result of the “Image file size (uncompressed)” calculated?

Raw bytes = width × height × channels × bits/channel ÷ 8. This is uncompressed raster data, not the final JPG/PNG/HEIC file size. Metadata, alpha channels and compression affect actual disk usage.

What does the worked example show?

With image width (pixels) 4,000, image height (pixels) 3,000, number of channels 3 — RGB, bits per channel 8-bit, the uncompressed image size is 36 MB. Megapixels: 12 MP; Size in MiB: 34.33 MiB; Bytes: 36,000,000 bytes.

What assumptions and limits apply?

This is an estimate based on the inputs and assumptions shown on this page, not professional advice. Check anything with financial, health or safety consequences independently.

Is my data private?

Yes. Calculations run in your browser and your numbers are not sent to a server. A share link contains the inputs you choose to share, so check it before sending it to anyone.

FOR WEBSITE OWNERS

Embed this calculator on your site

Free to use. Paste this where you want the calculator to appear. It resizes itself and links back to Calculator786.