Skip to content
FiftyCalc Free calculators for all 50 states

Image File Size Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the image dimensions in pixels and the bit depth to get its raw, uncompressed size.

Result

Sample figures

Uncompressed size (MB, 1,000,000 bytes)—

Uncompressed size (bytes) —

  • Uncompressed size (MiB, 1,048,576 bytes)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Image File Size Calculator

Width, in px: enter 1 or more. Prefilled example: 1,920.

Height, in px: enter 1 or more. Prefilled example: 1,080.

Bit depth (bits per pixel): choose one of the 6 options in the list. Prefilled example: 24-bit RGB (8 bits per channel).

Affiliate link

This is an affiliate link: FiftyCalc may earn a commission if you buy through it. This does not change the result.

Corel sells CorelDRAW graphic design and technical illustration software. Visit Corel

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Width, in px: enter 1 or more.
  2. Height, in px: enter 1 or more.
  3. Bit depth (bits per pixel): choose one of the 6 options in the list.
  4. Read the result: Uncompressed size (MB, 1,000,000 bytes); the panel also shows Uncompressed size (bytes) and Uncompressed size (MiB, 1,048,576 bytes).

How this calculator works

Size (bytes) = width × height × bit depth ÷ 8. Each pixel stores bit depth bits, and 8 bits make one byte.

1 MB = 10⁶ bytes (SI prefix) and 1 MiB = 2²⁰ = 1,048,576 bytes (IEC binary prefix). Operating systems differ in which one they call "MB".

This is the raw size. JPEG, PNG or HEIC files are usually much smaller because of compression, plus a little extra for headers and metadata.

The formula

  1. B=w×h×bd8
  2. Mb=B1,000,000
Symbols used in the formula
SymbolMeaningUnit
wWidthpx
hHeightpx
bdBit depth (bits per pixel)
BUncompressed size (bytes)
MbUncompressed size (1,000,000 bytes)MB

Worked example

Width1,920 px
Height1,080 px
Bit depth (bits per pixel)24-bit RGB (8 bits per channel)
Uncompressed size (bytes)6,220,800
Uncompressed size (MiB, 1,048,576 bytes)5.9326
  1. B=1,920×1,080×248=6,220,800
  2. Mb=6,220,8001,000,000=6.2208

Uncompressed size (MB, 1,000,000 bytes) 6.2208

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How big is an uncompressed 1920 × 1080 image?

At 24-bit color it is 6,220,800 bytes: 6.22 MB or 5.93 MiB.

Why is my JPEG smaller than this?

JPEG compresses the pixel data; the figure here is the size before any compression.

Related calculators