Data size converter
Convert file sizes and storage capacities between bytes, KB, MB, GB and TB, in decimal and binary units.
What you type stays in your browser
1 GB = 1,000 MB
1 GB in other units
Results show up to six significant figures; the calculation uses exact unit definitions.
In short
In decimal (SI) units, 1 GB = 1,000 MB and 1 MB = 1,000 KB, the convention storage makers use. Operating systems often count in binary, where 1 GiB = 1,024 MiB. Type a size and the converter shows it in both systems and in bits.
1000 or 1024?
Two conventions exist. SI prefixes mean powers of 1,000, so a gigabyte is 1,000,000,000 bytes; drive manufacturers, phone makers, macOS and mobile data plans use them. Binary prefixes mean powers of 1,024 and have their own names: kibibyte (KiB), mebibyte (MiB), gibibyte (GiB). Windows and RAM sizes count in binary but often write GB anyway.
That mismatch is why a new 1 TB drive shows as about 931 GB in Windows: 1,000,000,000,000 bytes divided by 1,073,741,824 bytes per GiB is 931.3. Nothing is missing; the same bytes are counted with a bigger unit.
- 1 KB = 1,000 bytes; 1 KiB = 1,024 bytes
- 1 MB = 1,000 KB; 1 MiB = 1,024 KiB
- 1 GB = 1,000 MB = 0.931 GiB
- 1 TB = 1,000 GB = 0.909 TiB
- 1 byte = 8 bits; 100 Mbps ≈ 12.5 MB/s
Everyday Data size values
Familiar data size values make it easy to check that a converted number is plausible.
- A page of plain text: 2 KB = 0.002 MB
- A 3-minute MP3 song: 3.5 MB = 0.0035 GB
- A 12-megapixel phone photo (JPEG): 3 MB = 0.003 GB
- The Gmail attachment limit: 25 MB = 0.025 GB
- A single-layer DVD: 4.7 GB = 4,700 MB
- A typical laptop SSD: 512 GB = 512,000 MB
Data size units compared with gigabytes
| Unit | gigabytes |
|---|---|
| 1 MB (megabyte) | 0.001 GB |
| 1 KB (kilobyte) | 0.000001 GB |
| 1 TB (terabyte) | 1,000 GB |
| 1 B (byte) | 1E-9 GB |
| 1 bit (bit) | 1.25E-10 GB |
| 1 PB (petabyte) | 1,000,000 GB |
| 1 KiB (kibibyte) | 0.000001024 GB |
| 1 MiB (mebibyte) | 0.00104858 GB |
| 1 GiB (gibibyte) | 1.07374 GB |
| 1 TiB (tebibyte) | 1,099.51 GB |
| 1 kbit (kilobit) | 1.25E-7 GB |
| 1 Mbit (megabit) | 0.000125 GB |
| 1 Gbit (gigabit) | 0.125 GB |
Frequently asked questions
How many MB are in a GB?
1,000 MB in decimal units, the standard for storage and data plans. In binary units, 1 GiB is 1,024 MiB, which is what Windows means when it shows GB.
Why does my 1 TB drive show 931 GB?
The drive holds 1,000,000,000,000 bytes, and Windows divides by 1,073,741,824 bytes per gibibyte while still writing GB. The result, 931.3, is the same capacity in a larger unit.
What is the difference between Mb and MB?
Lowercase b means bits and uppercase B means bytes; one byte is 8 bits. A 100 Mbps internet connection downloads at most about 12.5 MB per second.
How your files stay private
This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.
All data size conversions
Unit converter All unit converters
Last updated Nov 20, 2026