Data storage converter
Calculator
The calculator needs JavaScript. The tables below give the same numbers for common cases.
How it is worked out
- Convert to the base unit (byte): 1 × 1,000,000,000 = 1,000,000,000.
- Divide by the size of the target unit: 1,000,000,000 ÷ 1,000,000 = 1,000 MB.
| Unit | Equals |
|---|---|
| bit (bit) | 1 bit = 0.125 bytes |
| byte (B) | 1 B = 1 bytes |
| kilobyte (1,000 bytes) (KB) | 1 KB = 1,000 bytes |
| megabyte (MB) | 1 MB = 1,000,000 bytes |
| gigabyte (GB) | 1 GB = 1,000,000,000 bytes |
| terabyte (TB) | 1 TB = 1,000,000,000,000 bytes |
| kibibyte (1,024 bytes) (KiB) | 1 KiB = 1,024 bytes |
| mebibyte (MiB) | 1 MiB = 1,048,576 bytes |
| gibibyte (GiB) | 1 GiB = 1,073,741,824 bytes |
| tebibyte (TiB) | 1 TiB = 1,099,511,627,776 bytes |
How to use it
In SI usage a kilobyte is 1,000 bytes, a megabyte 1,000,000 and a gigabyte 1,000,000,000. Operating systems often count in powers of 1,024 instead: 1 KiB (kibibyte) = 1,024 bytes, 1 MiB = 1,048,576 bytes and 1 GiB = 1,073,741,824 bytes. That is why a "500 GB" drive shows as about 465 GiB.
A byte is 8 bits.
Frequently asked questions
How many MB are in a GB?
1,000 in SI units; 1,024 MiB in a GiB.
How many bits are in a byte?
8.
Why does my 1 TB drive show less?
Because the system reports in binary units (TiB) while the drive is labelled in SI units (TB).
Method: standard arithmetic shown step by step; no outside data is used. Checked 2026-11-12.
About · How we verify this · Editorial policy · Corrections
General information only. Results are plain arithmetic on the numbers you enter; check anything important (money, health, school work) against your own records or the official source.