File Size Converter
Convert file sizes between bits, bytes, decimal storage units, and binary storage units instantly.
How to Use
- Enter a file size value.
- Select the source unit.
- Choose decimal (SI), binary (IEC), or show both.
- Review the converted results and open “Show Work” for steps.
Decimal Units (SI)
Base 10Binary Units (IEC)
Base 2Show Work (step-by-step)
Reference
Quick answer: decimal units use powers of 1000, while binary units use powers of 1024.
That is why 1 MB is not the same as 1 MiB.
| Unit Type | Name | Symbol | Bytes |
|---|---|---|---|
| Decimal | Kilobyte | KB | 1,000 |
| Decimal | Megabyte | MB | 1,000,000 |
| Decimal | Gigabyte | GB | 1,000,000,000 |
| Binary | Kibibyte | KiB | 1,024 |
| Binary | Mebibyte | MiB | 1,048,576 |
| Binary | Gibibyte | GiB | 1,073,741,824 |
FAQ
What is the difference between MB and MiB?
MB means megabyte and uses base 10, so 1 MB = 1,000,000 bytes. MiB means mebibyte and uses base 2, so 1 MiB = 1,048,576 bytes.
Why does my drive show less usable space than advertised?
Manufacturers usually label storage with decimal units, while many systems report size using binary conversions, so the displayed value can appear smaller.
How many bits are in one byte?
There are 8 bits in 1 byte.
Should I use decimal or binary?
Use decimal for drive marketing, transfer specs, and many storage product listings. Use binary for memory, operating system reporting, and technical analysis where IEC units matter.
Tool Info
Last updated:
Updates may include unit support, formatting improvements, precision controls, and share-state handling.