← All posts

What is a BMP file? The image format with no compression

What is a BMP file? The image format with no compression

We use image formats every day that shrink pictures in some way. PNG squeezes files without losing anything, and JPEG throws away detail your eyes won't miss. But what if you want the image exactly as it is, with no compression at all? That's the Bitmap, or BMP, format.

What is a BMP file?

BMP is one of the oldest image formats around, created by Microsoft for Windows. A BMP file is very simple: a small header that says how wide and tall the image is, followed by the colour of every single pixel, one after another. No tricks and usually no compression. What's on screen is exactly what's in the file.

Uncompressed... so how big is that?

Let's do the maths on a small 480 × 480 pixel image.

  • Each pixel has 3 colour channels: red, green and blue (RGB).
  • Each channel is a number from 0 to 255, which takes 8 bits (1 byte).
  • So one pixel is 3 × 8 = 24 bits, or 3 bytes.

The whole image is 480 × 480 = 230,400 pixels × 3 bytes = 691,200 bytes, about 0.66 MB.

That doesn't sound too bad. But nobody takes 480-pixel photos any more. A normal 12-megapixel phone photo (4000 × 3000 pixels) works out to 12,000,000 × 3 bytes = about 36 MB as a BMP. As a JPEG, the same photo is usually around 3 to 5 MB.

Now guess what: if you have just 100 photos on your phone and they were all BMPs, they'd fill up about 3.6 GB. A few thousand photos would eat the whole phone.

A real comparison

Here's one real photo, 1080 × 720 pixels, saved in three formats:

FormatPreviewFile size
BMP (no compression)BMP2.33 MB
PNG (lossless)Laptop photo saved as PNG0.84 MB
JPEG (quality 85)Laptop photo saved as JPEG0.10 MB

All three look the same on screen, but the BMP is almost 3 times bigger than the PNG and over 20 times bigger than the JPEG. Every BMP of this size is 2.33 MB, whatever is in the picture, because nothing is compressed.

What is BMP used for?

If it's so big, why does anyone still use it? Because sometimes exact pixels matter more than file size, or the software reading the image needs to be dead simple:

  • Medical and scientific imaging, where data must never be changed by compression.
  • Image processing and computer vision, where programs read raw pixels directly.
  • Old Windows programs, embedded devices and printers that only understand simple formats.
  • Game development and editing, for temporary files that get compressed later.

The main problem is always the same: storage size. For anything you share or keep long-term, a lossless PNG gives you the exact same pixels at a fraction of the size.

Pros and cons of BMP

Pros

  • Exact pixels. No compression means zero quality loss, ever.
  • Simple and fast. Easy for any program to read and write, with no decoding work.
  • Opens everywhere. Practically every image viewer and editor supports it.

Cons

  • Huge files. Many times larger than PNG or JPEG for the same picture.
  • Bad for the web. Pages load slowly and many sites won't accept BMP uploads.
  • Weak transparency support. Many apps ignore it; use PNG for transparent images.

Convert images to (or from) BMP

Need a BMP for an old program or device? Open the image converter, add your pictures, pick BMP and download. Got a folder of huge BMPs eating your storage? Convert them the other way to PNG (same pixels, smaller file) or JPG (much smaller). Up to 50 images at once, and nothing is uploaded; it all happens on your device.

FAQ

Is BMP better quality than PNG?

No, they're the same. PNG is lossless, so a BMP converted to PNG keeps every pixel exactly, just in a much smaller file. The only difference is size.

Why is my BMP file so big?

Because every pixel is stored in full: width × height × 3 bytes. A 4000 × 3000 photo is about 36 MB, whatever is in the picture.

Can a BMP file be compressed?

The format has a simple compression option for images with 256 colours or fewer, but almost nothing uses it for photos. If you want a smaller file without losing quality, convert it to PNG.

Is it safe to delete a BMP after converting it to PNG?

Yes, as long as the PNG opens fine. It holds exactly the same pixels. Converting to JPG is different: it's smaller but loses a little detail, so keep the original if you need it to stay exact.

Learn more

To shrink images even more, try the image compressor or the image resizer. Want to learn more about formats? Read JPG vs PNG, or see how ICO files fit several sizes of one image into a single file.

Eiffel Tower photo by Håkon Grimstad, laptop photo by NordWood Themes on Unsplash