Smart Calculators

Smart

Calculators

Data Storage Converter

Convert between bits, bytes, and every decimal (kB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB) unit — with the KiB-vs-KB distinction done right.

GB

Result

0.931323 GiB

1 GB= 0.931323 GiB

UnitValue
Bit (bit)8,000,000,000
Byte (B)1,000,000,000
Kilobyte (kB, decimal) (kB)1,000,000
Megabyte (MB, decimal) (MB)1,000
Gigabyte (GB, decimal) (GB)1
Terabyte (TB, decimal) (TB)0.001
Petabyte (PB, decimal) (PB)1E-6
Exabyte (EB, decimal) (EB)1E-9
Kibibyte (KiB, binary) (KiB)976,563
Mebibyte (MiB, binary) (MiB)953.674
Gibibyte (GiB, binary) (GiB)0.931323
Tebibyte (TiB, binary) (TiB)9.09495E-4
Pebibyte (PiB, binary) (PiB)8.88178E-7
Exbibyte (EiB, binary) (EiB)8.67362E-10

Data storage converter. Bits, bytes, KB, MB, GB and TB with decimal and binary units kept separate.

A data storage converter changes a value between bits, bytes and every prefix up to exabytes, keeping decimal (×1000) and binary (×1024) units apart. It shows both ladders at once, so KiB (1,024 bytes) is never confused with kB (1,000 bytes) and the decimal-versus-binary gap behind reported drive sizes stays visible.

What Is a Data Storage Converter?

Ask two people how many bytes are in a kilobyte and you can get two answers: 1,000 or 1,024. Both have been right at different times. The SI prefix "kilo" has meant exactly 1,000 since the metric system was born, but early programmers borrowed it for the nearest tidy power of two — 2¹⁰ = 1,024 — because memory is addressed in binary. For decades "KB" quietly meant both, and that ambiguity compounds at every tier: by the gigabyte the two readings differ by 7.37%, and by the exabyte by more than 15%. In 1998 the International Electrotechnical Commission ended the guessing with a second set of prefixes — kibi, mebi, gibi, tebi, pebi and exbi (KiB, MiB, GiB, TiB, PiB, EiB) — reserved strictly for the powers of 1,024, leaving kB, MB, GB and the rest for the powers of 1,000. This converter is built around that split instead of papering over it, which is the one thing most storage widgets get wrong: they collapse both systems into a single "KB" picker and silently pick one.
Every conversion here pivots through a single base unit: the byte. You enter an amount in any of the 14 supported units, the tool multiplies by that unit's bytes-per-unit factor to reach bytes, then divides by the target unit's factor to land where you want. Those factors are exact, not engineering roundings — the decimal units are powers of ten (1 kB = 1,000 B, 1 MB = 1,000,000 B, up to 1 EB = 10¹⁸ B), the binary units are powers of two (1 KiB = 1,024 B, 1 MiB = 1,048,576 B, up to 1 EiB = 1,152,921,504,606,846,976 B = 2⁶⁰), and 1 byte is exactly 8 bits by definition. All of them are exactly representable in the IEEE-754 doubles the calculator runs on, so there is no rounding drift hiding in the result.
The distinction the converter exists to protect is decimal versus binary. A decimal unit uses SI prefixes and scales by 1,000: this is what drive and flash manufacturers print on the box, so a "1 TB" disk holds exactly 1,000,000,000,000 bytes. A binary unit uses IEC prefixes and scales by 1,024: this is what RAM modules, file managers and most operating systems actually count in. The gap between the two is small at first and grows with every tier — a kibibyte is 2.4% bigger than a kilobyte, a mebibyte 4.86% bigger than a megabyte, a gibibyte 7.37% bigger than a gigabyte, a tebibyte 9.95% bigger than a terabyte, and an exbibyte 15.29% bigger than an exabyte. That widening gap is the whole "lost capacity" story: nothing is missing from your drive, the two rulers are just different lengths and the labels look identical.
One more axis matters: bits versus bytes. A byte is 8 bits, and the difference is not cosmetic — internet plans are sold in megabits per second (Mbps, lowercase b) while files download in megabytes (MB, uppercase B). A "100 Mbps" line moves 100,000,000 bits per second, which is 12,500,000 bytes per second, or 12.5 MB/s once you divide by 8. Getting the capital letter wrong is an eight-fold error, so this converter includes the bit as a first-class unit and keeps the byte/​bit boundary explicit.
What separates a serious data storage converter from a marketing widget is exactly this honesty: labelling the decimal and binary ladders as two distinct groups, using the correct capitalisation (lowercase kB for the SI kilobyte, capital KiB for the IEC kibibyte), and citing exact factors traceable to IEC 80000-13 and the NIST reference on binary prefixes rather than a hand-waved "about 1,000-ish". Get those right and the confusing questions — why a 1 TB drive shows 931 GB, why an 8 GB stick holds 7.45 GiB, why your download speed looks one-eighth of your plan — all answer themselves.

How to Convert Between Data Storage Units

Every data storage conversion is one multiplication and one division through the byte. The general formula is:
y=xafromatoy = x \cdot \frac{a_{\text{from}}}{a_{\text{to}}}
where x is your input value, a(from) is the source unit's size in bytes, and a(to) is the target unit's size in bytes. To do it by hand, take the headline case — a "1 TB" drive shown by the operating system:
1. Look up the source-to-byte factor. A terabyte is decimal, so 1 TB = 1,000,000,000,000 bytes.
2. Multiply the input by that factor to get bytes. 1 × 1,000,000,000,000 = 1,000,000,000,000 bytes.
3. Look up the target-to-byte factor. Your OS counts in gibibytes, so 1 GiB = 1,073,741,824 bytes.
4. Divide the bytes by the target factor. 1,000,000,000,000 ÷ 1,073,741,824 = 931.32 GiB — the number Windows prints as "931 GB".
The same two steps work for any pair. Megabyte to mebibyte: 1 MB × 1,000,000 ÷ 1,048,576 = 0.95367431640625 MiB (exact). Gibibyte to gigabyte: 1 GiB × 1,073,741,824 ÷ 1,000,000,000 = 1.073741824 GB (exact). The bit is the one unit smaller than a byte: since 1 byte = 8 bits, converting bits to bytes is a divide-by-8, and converting a "100 Mbps" bandwidth to bytes per second is 100 × 1,000,000 ÷ 8 = 12,500,000 B/s = 12.5 MB/s.
To use this calculator, pick the source unit from the From dropdown and the target unit from the To dropdown — the units are grouped as bit/byte, decimal (kB…EB) and binary (KiB…EiB) so you can see which ladder you are on. Type a value and the result updates as you type. The default pair is GB → GiB, which surfaces the decimal-versus-binary gap the moment the page loads, and an all-units view lets you read one input against every other unit at once. Because every factor is exact, there is no rounding to configure; the only thing that changes between units is which power of 1,000 or 1,024 you divide by.

Worked Data Storage Conversion Examples

1 TB drive to GiB — the famous "931 GB"

Set From = Terabyte (TB), To = Gibibyte (GiB), Value = 1. A manufacturer's "1 TB" is decimal — exactly 1,000,000,000,000 bytes — and one gibibyte is 1,073,741,824 bytes, so 1,000,000,000,000 ÷ 1,073,741,824 = 931.32 GiB. That is precisely the figure Windows shows, except Windows mislabels the gibibytes as "GB", which is why a brand-new 1 TB drive appears to be missing about 69 GB. Nothing is missing: the drive holds its full trillion bytes, and both Seagate and Crucial publish the same table (1 TB → 931 GB, 500 GB → 465 GB) as normal decimal-versus-binary labelling, not a defect.

1 MB to MiB — where the gap begins

Set From = Megabyte (MB), To = Mebibyte (MiB), Value = 1. The result is 1,000,000 ÷ 1,048,576 = 0.95367431640625 MiB (exact). Read the other way, 1 MiB = 1.048576 MB, so a mebibyte is 4.86% larger than a megabyte. This is the tier where the confusion is still small enough to ignore in casual use but large enough to matter in software: a file manager reporting "1.0 MB" and a build tool reporting "1.05 MB" for the same file are both right — one is counting in MiB and calling it MB.

100 Mbps to MB/s — bandwidth is bits, files are bytes

Set From = Bit, choose a byte-based target, and remember the ÷8. A "100 Mbps" internet plan carries 100 × 1,000,000 = 100,000,000 bits per second; divide by 8 and you get 12,500,000 bytes per second = 12.5 MB/s. That is why a 100 Mbps line downloads a 1 GB file in about 80 seconds, not 10 — the plan is quoted in megabits (lowercase b) and the file is measured in megabytes (uppercase B), and a byte is eight bits. Mixing up the capital letter is an eight-fold error, the single most common mistake in reading download speeds.

8 GB of RAM vs an 8 GB USB stick

Two products both say "8 GB" and hold different amounts. RAM is addressed in binary, so 8 GB of memory is really 8 GiB = 8 × 1,073,741,824 = 8,589,934,592 bytes. A USB flash drive is sold in decimal, so "8 GB" is 8,000,000,000 bytes = 7.45 GiB — about 590 million bytes (roughly 562 MiB) less than the RAM module. Set From = Gigabyte, To = Gibibyte, Value = 8 to see the 7.45 GiB figure, then From = Gibibyte, To = Byte, Value = 8 to see the 8,589,934,592-byte RAM figure. Same label, two standards, one converter that tells them apart.

500 GB SSD to GiB — the 465 GB you actually see

Set From = Gigabyte (GB), To = Gibibyte (GiB), Value = 500. The result is 500,000,000,000 ÷ 1,073,741,824 = 465.66 GiB, which your operating system rounds to "465 GB". A 480 GB drive lands at 447 GiB, a 2 TB drive at 1.82 TiB. The proportion is fixed — you always keep about 93.13% of the decimal number once it is re-expressed in binary units — so any drive's OS-reported size is predictable in advance. If the shortfall is much larger than this ~6.9%, the extra is a separate cause: a recovery partition, filesystem overhead, or SSD over-provisioning, none of which are part of the unit conversion.

Reference table: every unit in bytes

This is the backbone of every conversion the tool performs. To convert by hand between any two units, take the source row's bytes and divide by the target row's bytes.
UnitSymbolBytesGroup
bitbit0.125base
byteB1base
kilobytekB1,000decimal
megabyteMB1,000,000decimal
gigabyteGB1,000,000,000decimal
terabyteTB1,000,000,000,000decimal
petabytePB1,000,000,000,000,000decimal
exabyteEB1,000,000,000,000,000,000decimal
kibibyteKiB1,024binary
mebibyteMiB1,048,576binary
gibibyteGiB1,073,741,824binary
tebibyteTiB1,099,511,627,776binary
pebibytePiB1,125,899,906,842,624binary
exbibyteEiB1,152,921,504,606,846,976binary
For example, 1 GiB in MB = 1,073,741,824 ÷ 1,000,000 = 1,073.741824 MB, and 1 TB in MiB = 1,000,000,000,000 ÷ 1,048,576 = 953,674.316 MiB. Every factor above is exact, so the only rounding you ever see is in how many decimals the display shows.

Decimal vs Binary at Every Tier

TierDecimal unit (×1000)Binary unit (×1024)Binary larger by
Kilo1 kB = 1,000 bytes1 KiB = 1,024 bytes2.4%
Mega1 MB = 1,000,000 bytes1 MiB = 1,048,576 bytes4.86%
Giga1 GB = 1,000,000,000 bytes1 GiB = 1,073,741,824 bytes7.37%
Tera1 TB = 1,000,000,000,000 bytes1 TiB = 1,099,511,627,776 bytes9.95%
Peta1 PB = 1,000,000,000,000,000 bytes1 PiB = 1,125,899,906,842,624 bytes12.59%
Exa1 EB = 1,000,000,000,000,000,000 bytes1 EiB = 1,152,921,504,606,846,976 bytes15.29%

Data Storage Converter — Frequently Asked Questions

Is 1 GB 1000 MB or 1024 MB?

Both, depending on the system. In decimal units, 1 GB = 1,000 MB, used by drive makers and networks. In binary units, 1 GiB = 1,024 MiB, used by RAM and most operating systems. The unambiguous fix: write 1 GB = 1,000 MB and 1 GiB = 1,024 MiB.

Why does my 1 TB drive show only 931 GB?

Because the drive is labelled in decimal and your operating system reports in binary. A "1 TB" drive holds exactly 1,000,000,000,000 bytes, but the OS divides by 1,073,741,824 (one gibibyte) and gets 931.32 — then mislabels the result "GB" instead of the correct "GiB". Nothing is missing; it is the same storage measured with a different ruler. Seagate and Crucial publish the identical 1 TB → 931 GB figure.

What is the difference between KiB and KB?

A kilobyte (kB) is 1,000 bytes; a kibibyte (KiB) is 1,024 bytes. The lowercase-k kB is the SI decimal unit, while the capital-K KiB is the IEC binary unit introduced in 1998 to end the 1,000-versus-1,024 ambiguity. The gap is only 2.4% at this tier but grows to 7.37% by GiB versus GB.

What is the difference between GiB and GB?

One gigabyte (GB) is 1,000,000,000 bytes (decimal); one gibibyte (GiB) is 1,073,741,824 bytes (binary, 2³⁰). A gibibyte is 7.37% larger, so 1 GB = 0.9313 GiB. Manufacturers advertise in GB, while Windows and RAM count in GiB but often print the label "GB" — which is the root of the 1 TB → 931 GB confusion.

How do I convert Mbps to MB/s?

Divide by 8, because one byte is eight bits. A 100 Mbps connection carries 100,000,000 bits per second = 12,500,000 bytes per second = 12.5 MB/s. Internet plans are quoted in megabits (Mbps, lowercase b) and files are measured in megabytes (MB, uppercase B), so your maximum download speed in MB/s is always about one-eighth of the advertised Mbps number.

Is a byte 8 bits?

Yes. One byte is exactly 8 bits by definition, so a bit is 0.125 bytes. This is why storage is measured in bytes (uppercase B) and network speed in bits (lowercase b), and why a byte-based file size is one-eighth of the same amount expressed in bits.

Why is RAM measured in binary but hard drives in decimal?

RAM is addressed by binary memory lines, so its capacity naturally falls on powers of two — an "8 GB" module is 8 GiB = 8,589,934,592 bytes. Storage makers, by contrast, market capacity in round decimal numbers, so an "8 GB" flash drive is 8,000,000,000 bytes = 7.45 GiB. Two identical labels, two different standards; the converter keeps them in separate groups so you always know which one a spec sheet means.

Why is my 500 GB SSD only 465 GB?

The same decimal-versus-binary labelling: 500,000,000,000 bytes ÷ 1,073,741,824 = 465.66 GiB, which the OS shows as "465 GB". You keep about 93.13% of the decimal number once it is re-expressed in binary units. If the drive shows noticeably less than 465 GB, the extra loss is a recovery partition, filesystem overhead, or SSD over-provisioning — separate from the unit conversion.

Does capitalisation matter — is Kb the same as KB?

It matters a lot. Uppercase B means byte and lowercase b means bit, so KB (or kB) is a kilobyte and Kb is a kilobit — an eight-fold difference. On top of that, the capital-K KiB signals a binary kibibyte (1,024 bytes) while the lowercase-k kB signals a decimal kilobyte (1,000 bytes). Reading the exact letters is the difference between a right answer and one that is 8× or 2.4% off.

Should I use decimal or binary units for my file sizes?

Use whichever matches your audience, but say which one you mean. Storage marketing, networking and most Apple and Linux tools use decimal (GB); Windows, RAM specs and many developer tools use binary (GiB) even when they print "GB". For technical documentation, the unambiguous choice is to write GiB/MiB when you mean powers of 1,024 and GB/MB when you mean powers of 1,000 — exactly the split this converter enforces.

How accurate is this data storage converter?

Every factor is exact. Decimal units are exact powers of ten, binary units are exact powers of two, and 1 byte = 8 bits by definition — all of them representable without rounding in the IEEE-754 doubles the tool uses. Results such as 1 MB = 0.95367431640625 MiB and 1 GB = 0.931322574615478515625 GiB are shown to full precision, sourced from IEC 80000-13 and the NIST reference on binary prefixes.

Is this data storage converter free?

Yes. It runs entirely in your browser with no account and no usage limits, covering all 14 units from the bit to the exbibyte. An embeddable widget version is also available, so a docs site, runbook or developer blog can host it without sending readers off-site.