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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
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.
- Width, in px: enter 1 or more.
- Height, in px: enter 1 or more.
- Bit depth (bits per pixel): choose one of the 6 options in the list.
- 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
| Symbol | Meaning | Unit |
|---|---|---|
| Width | px | |
| Height | px | |
| Bit depth (bits per pixel) | ||
| Uncompressed size (bytes) | ||
| Uncompressed size (1,000,000 bytes) | MB |
Worked example
| Width | 1,920 px |
|---|---|
| Height | 1,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 |
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.