⚡ BreezyTools Pro — Ad-free experience across all 200+ tools. Less than a coffee a month → Learn More

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

  1. Choose Decimal (1 KB = 1000 B) or Binary (1 KiB = 1024 B) at the top.
  2. Enter a value in the top box and pick its unit (KB by default).
  3. Pick the target unit in the bottom dropdown (MB by default). The result appears at full precision.
  4. 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.

UnitDecimal (SI) bytesBinary (IEC) bytesBinary is larger by
KB / KiB1,0001,0242.4%
MB / MiB1,000,0001,048,5764.86%
GB / GiB1,000,000,0001,073,741,8247.37%
TB / TiB1,000,000,000,0001,099,511,627,7769.95%
PB / PiB1,000,000,000,000,0001,125,899,906,842,62412.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 capacityBytesIn GiBIn TiB
32 GB32,000,000,00029.80232 GiB0.0291 TiB
64 GB64,000,000,00059.60464 GiB0.05821 TiB
128 GB128,000,000,000119.2093 GiB0.1164 TiB
256 GB256,000,000,000238.4186 GiB0.2328 TiB
500 GB500,000,000,000465.6613 GiB0.4547 TiB
512 GB512,000,000,000476.8372 GiB0.4657 TiB
1 TB1,000,000,000,000931.3226 GiB0.9095 TiB
2 TB2,000,000,000,0001,862.645 GiB1.819 TiB
4 TB4,000,000,000,0003,725.29 GiB3.638 TiB
8 TB8,000,000,000,0007,450.581 GiB7.276 TiB
16 TB16,000,000,000,00014,901.16 GiB14.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.

GigabytesDecimal: GB to MBBinary: GiB to MiB
0.5500 MB512 MiB
11,000 MB1,024 MiB
22,000 MB2,048 MiB
44,000 MB4,096 MiB
55,000 MB5,120 MiB
88,000 MB8,192 MiB
1010,000 MB10,240 MiB
1616,000 MB16,384 MiB
3232,000 MB32,768 MiB
6464,000 MB65,536 MiB
128128,000 MB131,072 MiB
256256,000 MB262,144 MiB
MegabytesDecimal: MB to GBBinary: MiB to GiB
10.001 GB0.000976563 GiB
100.01 GB0.00976563 GiB
1000.1 GB0.0976563 GiB
2500.25 GB0.244141 GiB
5000.5 GB0.488281 GiB
7000.7 GB0.683594 GiB
1,0001 GB0.976563 GiB
1,0241.024 GB1 GiB
2,0482.048 GB2 GiB
4,0004 GB3.90625 GiB
5,0005 GB4.88281 GiB
10,00010 GB9.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 speedMegabytes per secondTime for 1 GBTime for 100 GB
10 Mbps1.25 MB/s13 min 20 s22 h 13 min 20 s
25 Mbps3.125 MB/s5 min 20 s8 h 53 min 20 s
50 Mbps6.25 MB/s2 min 40 s4 h 26 min 40 s
100 Mbps12.5 MB/s1 min 20 s2 h 13 min 20 s
200 Mbps25 MB/s40 s1 h 6 min 40 s
300 Mbps37.5 MB/s27 s44 min 27 s
500 Mbps62.5 MB/s16 s26 min 40 s
1 Gbps125 MB/s8 s13 min 20 s
2.5 Gbps312.5 MB/s3.2 s5 min 20 s
10 Gbps1,250 MB/s0.8 s1 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.

Upgrade to Pro →