Audited 28 Jul 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Storage Unit Converter (GB, GiB, TB, TiB, MB, MiB)

Convert between bits, bytes, decimal MB, GB and TB and binary MiB, GiB and TiB, and see why a 1 TB drive appears as 931 GB in Windows.

Storage Unit Converter

How much storage you have. Fractions are fine — enter 0.5 for half a gibibyte. Negative amounts are rejected because a negative quantity of storage is not a thing.
From
To
Converted amount
931.3226
The amount expressed in the unit chosen under To.
Bytes
1,000,000,000,000
Bits
8,000,000,000,000
Megabytes (MB, 10⁶)
1,000,000
Mebibytes (MiB, 2²⁰)
953,674.3164
Gigabytes (GB, 10⁹)
1,000
Gibibytes (GiB, 2³⁰)
931.3226
Terabytes (TB, 10¹²)
1
Tebibytes (TiB, 2⁴⁰)
0.9095
In words
1 TB is 931.322575 GiB. Both describe 1000000000000 bytes. You entered terabytes (decimal), a decimal power of ten and asked for gibibytes, a binary power of two. Because one side uses powers of ten and the other powers of two, the two numbers differ even though the amount of storage does not — that gap is the whole reason a drive never matches the number on its box.

Background.

A new 1 TB external drive goes into a Windows laptop, and File Explorer reports 931 GB. Nothing is broken and nothing has been taken. The drive holds exactly the 1,000,000,000,000 bytes it was sold as. Windows divides that count by 2³⁰, which is 1,073,741,824, gets 931.3226, and prints the result with the label GB. Plug the same drive into a Mac running OS X 10.6 or later, which counts in powers of ten, and it shows as about 1 TB.

The root of it is that one word, gigabyte, has carried two meanings for decades. In the SI, giga means 10⁹ and nothing else, and drive makers follow it. Computer memory is built in powers of two, so the industry borrowed kilo, mega and giga for 2¹⁰, 2²⁰ and 2³⁰. NIST records the split: memory manufacturers usually mean 1,048,576 bytes by a megabyte, storage manufacturers 1,000,000. Both conventions can even share one line of a datasheet: Micron describes a DDR4 module as 8GB, meaning 8 × 2³⁰ bytes, and its transfer rate as 25.6 GB/s, meaning 10⁹ bytes per second.

The IEC's remedy, in IEC 60027-2, gave the binary multiples names of their own, kibi through pebi, written KiB to PiB. Bits form a third family, quoted with a lower-case b for network speeds and interfaces. Every result here also appears as a plain byte count, the one figure no labelling convention can change.

What is storage unit converter?

Digital storage is counted in bits and bytes, and the units on this converter fall into three families. Bit units use decimal prefixes: a megabit is 10⁶ bits. Decimal byte units follow the SI: a kilobyte is 10³ bytes, a gigabyte 10⁹, a petabyte 10¹⁵. Binary byte units follow IEC 60027-2: a kibibyte is 2¹⁰ = 1,024 bytes, a gibibyte 2³⁰, a pebibyte 2⁵⁰. The difference between a decimal unit and its binary partner grows from 2.4% at kilo to 12.59% at peta.

How to use this calculator.

  1. Enter the amount and choose the unit it is written in. Capacities printed on a drive, a phone box or a broadband plan are decimal; sizes reported by Windows and memory capacities are binary, even when labelled GB.
  2. Choose the unit you want. Any unit converts to any other, from bits to pebibytes.
  3. Read the byte count to settle disagreements: two tools that report different figures for the same file usually show the same number of bytes.
  4. Scan the ladder of MB, MiB, GB, GiB, TB and TiB to work out which convention a program is using.
  5. Check the case of the b. Mb is megabits and MB megabytes, a factor of eight apart.

The formula.

result = value × bytesPer(from) ⁄ bytesPer(to)

Every conversion runs through bytes: result = value × bytes per source unit ÷ bytes per target unit. The decimal byte units hold 10³, 10⁶, 10⁹, 10¹² and 10¹⁵ bytes, using the SI prefixes defined by the BIPM. The binary units hold 2¹⁰, 2²⁰, 2³⁰, 2⁴⁰ and 2⁵⁰ bytes, using the IEC prefixes. Bit units take decimal prefixes and are divided by 8 to reach bytes, so 1 Mbit is 10⁶ ÷ 8 = 125,000 bytes. All of these factors are exact integers or exact fractions, so there is no approximation in any conversion.

The gap between partners follows from the definitions. Each binary step multiplies by 1,024 and each decimal step by 1,000, so at the nth tier the binary unit is 1.024ⁿ times the decimal one: 2.4% larger for KiB against kB, 4.8576% for MiB against MB, 7.3742% for GiB against GB, 9.9512% for TiB against TB and 12.59% for PiB against PB. The percentage depends only on the tier, never on the amount, but the absolute shortfall grows with the drive.

A worked example.

Example

Take the 1 TB drive. As a byte count it is 10¹² = 1,000,000,000,000 bytes. A gibibyte is 2³⁰ = 1,073,741,824 bytes, and 1,000,000,000,000 ÷ 1,073,741,824 = 931.3226 GiB, the figure Windows shows as 931 GB. The ladder shows the same trillion bytes every other way: 8,000,000,000,000 bits, 1,000,000 MB, 953,674.3164 MiB, 1,000 GB and 0.9095 TiB. The 68.6774 "missing" gigabytes people go looking for are not lost space; they are the same bytes divided by a larger unit.

to UnitGiB
value1
from UnitTB

Frequently asked questions.

Why does my new drive show less space than the box says?
Because the box counts in powers of ten and Windows in powers of two while still writing GB. A 1 TB drive appears as 931.3226 GiB, a 500 GB drive as 465.6613 GiB and a 2 TB drive as 1.819 TiB. The bytes are all there. Formatting then takes a further, much smaller amount for the file system's own structures.
What exactly is the difference between GB and GiB?
A GB is 10⁹ = 1,000,000,000 bytes and a GiB is 2³⁰ = 1,073,741,824 bytes, so a GiB is 7.3742% larger. Going the other way, 1 GiB is 1.0737 GB and 1 GB is about 0.9313 GiB. The GiB name exists precisely so the binary amount can be written without ambiguity.
How long will a 1 GB file take on a 100 Mb/s connection?
At least 80 seconds. A 100 Mb/s link moves 100 million bits a second, which is 12.5 million bytes, or 12.5 MB per second. A billion bytes divided by 12.5 million per second gives 80 seconds, before protocol overhead and real-world congestion slow it further.
How much space does formatting actually use?
It depends on the file system and its settings. Space goes to tables, journals and allocation maps, and some systems hold back a reserve: Linux's ext4 keeps 5% for the root user by default, about 46.5661 GiB on a 1 TB drive, which can be lowered with tune2fs. None of that explains the 68.6774 GiB gap, which is pure unit arithmetic.
Why does the gap get bigger as drives get bigger?
Because the ratio compounds with each prefix step: 1.024 at kilo, 1.024² at mega, and so on, reaching 9.9512% at tera. The percentage at a given tier is fixed, but its absolute size scales with capacity. A 1 TB drive appears 68.6774 GiB short; a 20 TB drive shows as 18.1899 TiB, about 1.81 TiB short.
Was the 1.44 MB floppy disk really 1.44 MB?
Neither kind. Its formatted capacity was 1,440 KiB, which is 1,474,560 bytes. In decimal megabytes that is 1.4746 MB, and in mebibytes 1.4063 MiB. The 1.44 figure came from dividing by 1,024 once and then by 1,000, a mixed megabyte of 1,024,000 bytes, which shows how loosely the prefixes have been used.
Which units should I use when writing documentation?
Use KiB, MiB and GiB whenever you mean powers of two, and kB, MB and GB only for powers of ten, as NIST and the IEC recommend. Memory sizes, such as an 8 GB module holding 8,589,934,592 bytes, are binary; drive capacities and network rates are decimal. When the source is ambiguous, give the byte count once.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
result = value × bytesPer(from) ⁄ bytesPer(to)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon