Data Storage Converter
Convert between bytes, KB, MB, GB, TB, and PB.
Convert Bytes, KB, MB, GB, TB, and PB
This data storage converter translates file and storage sizes between bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes, using either decimal or binary multiples. Use it to check drive and memory card capacities, cloud storage quotas, upload and attachment limits, database or backup sizing, and to understand why your computer reports less space than the box promised. Below the tool are the exact byte counts, formulas, and ready-made charts for the conversions people look up most.
How to Use the Data Storage Converter
- Choose Decimal (1 KB = 1000 B) or Binary (1 KiB = 1024 B) at the top.
- Enter a value in the top box and pick its unit (KB by default).
- Pick the target unit in the bottom dropdown (MB by default). The result appears at full precision.
- Click Copy result to copy the number.
In Binary mode the dropdowns still read KB, MB, GB, and so on, but they stand for KiB, MiB, GiB (powers of 1,024).
Decimal vs Binary Units
Each step up the scale multiplies by the base: 1,000 in decimal mode or 1,024 in binary mode. The tool converts your value to bytes (value × basen, where B = 0, KB = 1, MB = 2, GB = 3, TB = 4, PB = 5) and then divides by the target unit's size. Because the gap compounds at every step, a binary unit is 2.4% larger than its decimal namesake at the kilo level but almost 10% larger at the tera level.
| Unit | Decimal (SI) bytes | Binary (IEC) bytes | Binary is larger by |
|---|---|---|---|
| KB / KiB | 1,000 | 1,024 | 2.4% |
| MB / MiB | 1,000,000 | 1,048,576 | 4.86% |
| GB / GiB | 1,000,000,000 | 1,073,741,824 | 7.37% |
| TB / TiB | 1,000,000,000,000 | 1,099,511,627,776 | 9.95% |
| PB / PiB | 1,000,000,000,000,000 | 1,125,899,906,842,624 | 12.6% |
Drive makers, network equipment, and macOS (since version 10.6) use decimal units. RAM is built in binary sizes, and Windows File Explorer reports sizes in binary units while labeling them KB, MB, and GB. Linux tools vary by command and option. Strictly, the SI symbol for 1,000 bytes is kB with a lowercase k, but KB is common in practice.
Why a 500 GB Drive Shows About 465 GB (GB vs GiB)
A drive sold as 500 GB holds 500,000,000,000 bytes. Windows divides that by 1,073,741,824 (one GiB) and shows about 465.66, still labeled "GB". Nothing is missing; the same bytes are counted in a bigger unit. To convert GB to GiB, multiply by 0.931323 (exactly 1,000,000,000 ÷ 1,073,741,824). To convert TB to TiB, multiply by 0.909495.
| Advertised capacity | Bytes | In GiB | In TiB |
|---|---|---|---|
| 32 GB | 32,000,000,000 | 29.80232 GiB | 0.0291 TiB |
| 64 GB | 64,000,000,000 | 59.60464 GiB | 0.05821 TiB |
| 128 GB | 128,000,000,000 | 119.2093 GiB | 0.1164 TiB |
| 256 GB | 256,000,000,000 | 238.4186 GiB | 0.2328 TiB |
| 500 GB | 500,000,000,000 | 465.6613 GiB | 0.4547 TiB |
| 512 GB | 512,000,000,000 | 476.8372 GiB | 0.4657 TiB |
| 1 TB | 1,000,000,000,000 | 931.3226 GiB | 0.9095 TiB |
| 2 TB | 2,000,000,000,000 | 1,862.645 GiB | 1.819 TiB |
| 4 TB | 4,000,000,000,000 | 3,725.29 GiB | 3.638 TiB |
| 8 TB | 8,000,000,000,000 | 7,450.581 GiB | 7.276 TiB |
| 16 TB | 16,000,000,000,000 | 14,901.16 GiB | 14.55 TiB |
Where you'll meet it: new hard drives, SSDs, USB sticks, SD cards, and phones. Windows shows the binary figure; macOS and iOS show the decimal one, so the same drive looks larger on a Mac. Formatting, file system structures, and recovery partitions take a little more space on top of this.
To reproduce this with the tool: in Decimal mode, convert 1 TB to B to get 1,000,000,000,000 bytes. Switch to Binary mode, enter 1000000000000 with B selected, and convert to GB: about 931.32. That is the same drive, measured in GiB.
MB to GB and GB to MB
In decimal units, divide megabytes by 1,000 to get gigabytes, and multiply gigabytes by 1,000 to get megabytes. In binary units, use 1,024 instead: 1 GiB = 1,024 MiB. Converting between the two systems (for example MB to GiB) needs both steps, which is easiest by going through bytes in the tool.
| Gigabytes | Decimal: GB to MB | Binary: GiB to MiB |
|---|---|---|
| 0.5 | 500 MB | 512 MiB |
| 1 | 1,000 MB | 1,024 MiB |
| 2 | 2,000 MB | 2,048 MiB |
| 4 | 4,000 MB | 4,096 MiB |
| 5 | 5,000 MB | 5,120 MiB |
| 8 | 8,000 MB | 8,192 MiB |
| 10 | 10,000 MB | 10,240 MiB |
| 16 | 16,000 MB | 16,384 MiB |
| 32 | 32,000 MB | 32,768 MiB |
| 64 | 64,000 MB | 65,536 MiB |
| 128 | 128,000 MB | 131,072 MiB |
| 256 | 256,000 MB | 262,144 MiB |
| Megabytes | Decimal: MB to GB | Binary: MiB to GiB |
|---|---|---|
| 1 | 0.001 GB | 0.000976563 GiB |
| 10 | 0.01 GB | 0.00976563 GiB |
| 100 | 0.1 GB | 0.0976563 GiB |
| 250 | 0.25 GB | 0.244141 GiB |
| 500 | 0.5 GB | 0.488281 GiB |
| 700 | 0.7 GB | 0.683594 GiB |
| 1,000 | 1 GB | 0.976563 GiB |
| 1,024 | 1.024 GB | 1 GiB |
| 2,048 | 2.048 GB | 2 GiB |
| 4,000 | 4 GB | 3.90625 GiB |
| 5,000 | 5 GB | 4.88281 GiB |
| 10,000 | 10 GB | 9.76563 GiB |
Where you'll meet it: file and video sizes, phone data plans (sold in decimal GB), email attachment limits, cloud storage quotas, and RAM, which is always binary (8 GB of RAM is 8 GiB, or 8,192 MiB). If a photo is too large for an upload limit, the Image Compressor can shrink it in your browser.
Bits vs Bytes (Mbps to MB/s)
One byte is 8 bits. Storage is measured in bytes (B), but internet and network speeds are quoted in bits per second (Mbps, Gbps). To convert Mbps to MB/s, divide by 8; to convert MB/s to Mbps, multiply by 8. This tool works in bytes, so convert bits first. The download times below are the theoretical best case for decimal gigabytes; real transfers are slower because of protocol overhead and network conditions.
| Connection speed | Megabytes per second | Time for 1 GB | Time for 100 GB |
|---|---|---|---|
| 10 Mbps | 1.25 MB/s | 13 min 20 s | 22 h 13 min 20 s |
| 25 Mbps | 3.125 MB/s | 5 min 20 s | 8 h 53 min 20 s |
| 50 Mbps | 6.25 MB/s | 2 min 40 s | 4 h 26 min 40 s |
| 100 Mbps | 12.5 MB/s | 1 min 20 s | 2 h 13 min 20 s |
| 200 Mbps | 25 MB/s | 40 s | 1 h 6 min 40 s |
| 300 Mbps | 37.5 MB/s | 27 s | 44 min 27 s |
| 500 Mbps | 62.5 MB/s | 16 s | 26 min 40 s |
| 1 Gbps | 125 MB/s | 8 s | 13 min 20 s |
| 2.5 Gbps | 312.5 MB/s | 3.2 s | 5 min 20 s |
| 10 Gbps | 1,250 MB/s | 0.8 s | 1 min 20 s |
Where you'll meet it: internet plans and Wi-Fi speeds (advertised in Mbps or Gbps) versus the MB/s that browsers, game launchers, and download managers display. A lowercase b means bits and an uppercase B means bytes. To see how text turns into individual bits, try the Binary Translator. For length, weight, and other kinds of units, use the general Unit Converter.
Frequently Asked Questions
What is the difference between KB and KiB?
Under SI rules a kilobyte (KB) is 1,000 bytes, while a kibibyte (KiB) is 1,024 bytes. The IEC introduced the binary prefixes KiB, MiB, and GiB in 1998, but "KB" is still widely used to mean 1,024 bytes, which is why this tool lets you choose.
How many MB are in a GB?
1,000 MB in decimal units or 1,024 MiB in binary units. Use Decimal mode for download sizes and storage marketing, and Binary mode to match what Windows shows.
Why does my new hard drive show less space than advertised?
The manufacturer counts in decimal (1 TB = 1,000,000,000,000 bytes) while your operating system may count in binary. A 1 TB drive is about 931 GiB and a 2 TB drive about 1.82 TiB. Formatting and recovery partitions can take a little more.
How many GB are in a TB?
There are 1,000 GB in a TB in decimal units, which is how drives are sold, and 1,024 GiB in a TiB in binary units. A 1 TB drive therefore shows about 931 GiB in Windows.
How many bytes are in a gigabyte?
1,000,000,000 bytes in decimal units, or 1,073,741,824 bytes (2 to the 30th power) in binary units.
How do I convert Mbps to MB/s?
Divide by 8. For example, 400 Mbps ÷ 8 = 50 MB/s. Real transfer speeds are usually a bit lower because of network overhead.
Which mode should I use?
Use Decimal for drive capacities, cloud plans, and most published file sizes. Use Binary for RAM and when you want to match the sizes shown in Windows File Explorer.
Love using BreezyTools?
Go Pro for an ad-free experience, priority features, and support independent development — for less than a coffee a month.