EN
My tools

Image File Size Calculator

Calculate the uncompressed size of an image from width, height and bit depth, in bytes, KB/MB and KiB/MiB, plus the exact size of a BMP file.

Uncompressed size
6,220,800 bytes
1920 × 1080 px × 24 bits ÷ 8
Kilobytes (1 KB = 1,000 bytes)
6,220.8 KB
Megabytes (1 MB = 1,000,000 bytes)
6.2208 MB
Kibibytes (1 KiB = 1,024 bytes)
6,075 KiB
Mebibytes (1 MiB = 1,048,576 bytes)
5.9326 MiB
BMP file size
6,220,854 bytes
rows padded to 4 bytes, 54-byte header

This is the raw pixel data, as held in memory or in an uncompressed BMP/TIFF. PNG, JPEG, WebP and HEIC files are compressed, so they are usually much smaller, and how much depends on the picture.

Same image at other colour depths
Bits per pixelBytesMBMiB
1259,2000.2590.247
82,073,6002.0741.978
164,147,2004.1473.955
246,220,8006.2215.933
328,294,4008.2947.91
4812,441,60012.44211.865
6416,588,80016.58915.82
My tools →
Advertisement

Every pixel of an image needs a certain number of bits, so the raw size of a picture follows directly from its width, height and colour depth. That raw size is what an image takes up in memory, in a graphics card or in an uncompressed BMP or TIFF file — and the starting point for judging how well PNG or JPEG compress it. Enter the dimensions and bit depth to get the size in bytes, decimal and binary units, and the exact BMP file size.

How to use this tool

  1. Enter the width and height in pixels.
  2. Pick the colour depth: 24 bits for normal photos, 32 with transparency, 8 for greyscale or 256-colour images.
  3. For animations or batches, enter the number of frames or images.
  4. Read the size in bytes, KB/MB and KiB/MiB; the table compares other depths.

Formula

size in bytes = ⌈width × bits per pixel ÷ 8⌉ × height × images

Each row is rounded up to whole bytes, which only matters below 8 bits per pixel. Decimal units use 1 KB = 1,000 bytes and 1 MB = 1,000,000 bytes, as storage makers and macOS do; binary units use 1 KiB = 1,024 and 1 MiB = 1,048,576 bytes, as Windows Explorer does while labelling them "KB" and "MB". A BMP file pads every row to a multiple of 4 bytes and adds a 54-byte header, plus a palette of 4 bytes per colour at 8 bits or less.

Example

A Full HD screenshot of 1920 × 1080 px in 24-bit colour holds 1920 × 1080 × 24 ÷ 8 = 6,220,800 bytes: 6.22 MB, or 5.93 MiB. Saved as a BMP it is 6,220,854 bytes; as a PNG it is typically far smaller, because PNG compresses repeated colours.

Frequently asked questions

Why is my JPEG so much smaller?

JPEG, PNG, WebP and HEIC compress the pixel data. A Full HD photo of 6.2 MB raw is usually well under 1 MB as a JPEG; how much smaller depends on the quality setting and the detail in the picture.

Should I use MB or MiB?

Both are correct but different: 1 MiB is 4.9% larger than 1 MB. Upload limits on websites are usually in decimal MB; Windows shows binary values but calls them MB.

How much memory does a photo need in an app?

Browsers and apps usually decode images to 32 bits per pixel, so a 12-megapixel photo takes about 48 MB of memory, whatever its file size.

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Image File Size Calculator. https://kakao.mobile/tools/image-file-size-calculator/

MLA

“Image File Size Calculator.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/image-file-size-calculator/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement