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.

Your figures

Example result — edit the figures to make it yours

6,220,800 bytes

Uncompressed size

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Uncompressed size6.221 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

Bytes = width × height × bit depth ÷ 8

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

Quick reference — varying Image width (px)
Image width (px)Uncompressed sizeUncompressed size
64020736002.0736
128041472004.1472
192062208006.2208
256082944008.2944
38401244160012.4416
60001944000019.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.