Home · Everyday · Tech, Text & Media · Image File Size Calculator
Image File Size Calculator
Calculates the uncompressed size of a raster image from its pixel dimensions and colour bit depth, in bytes and MB.
What this calculator does
Calculates the uncompressed size of a raster image from its pixel dimensions and colour bit depth, in bytes and MB. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
An uncompressed bitmap stores a fixed number of bits for every pixel: bytes = width × height × bit depth ÷ 8, with 24 bits per pixel for standard RGB colour. The MB figure uses the decimal megabyte, 1,000,000 bytes.
Real formats differ: BMP and TIFF add headers and sometimes row padding, while JPEG, PNG and WebP compress — often to a tenth or less of this raw figure, depending on image content. Use the raw size for memory and bandwidth planning, not for predicting a JPEG's weight.
Worked example
With the example inputs this page opens with (image width (px) 1920, image height (px) 1080, bit depth (bits per pixel) 24), the result is 6,220,800 bytes — uncompressed size. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| Image width (px) | Uncompressed size | Uncompressed size |
|---|---|---|
| 640 | 2073600 | 2.0736 |
| 1280 | 4147200 | 4.1472 |
| 1920 | 6220800 | 6.2208 |
| 2560 | 8294400 | 8.2944 |
| 3840 | 12441600 | 12.4416 |
| 6000 | 19440000 | 19.44 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Image File Size Calculator work?
Calculates the uncompressed size of a raster image from its pixel dimensions and colour bit depth, in bytes and MB. Width · Height (px) · Bit depth → Uncompressed file size. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Image File Size Calculator need?
Width · Height (px) · Bit depth → Uncompressed file size. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Image File Size Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.