Skip to main content
ponderloop

Data Storage Converter

1 TB = 1,000,000,000,000 bytes = 931.322574615478515625 GiB. That is why a "1 TB" drive shows as about 931.3 GB in Windows: the maker counts in powers of 1,000 and Windows counts in powers of 1,024 but still writes "GB". macOS counts in powers of 1,000 and shows 1 TB.

Updated Runs in your browser: nothing you enter is uploadedHow this tool works

Type a number such as 1, 500, 1,000.5 or 2.5e3. Results are exact, digit for digit.

1 TB =

931.322574615478515625 GiB

1 TB is 1,000,000,000,000 bytes (8,000,000,000,000 bits).

The same amount in every unit

bit (bit)
8,000,000,000,000
B (byte)
1,000,000,000,000
kB (kilobyte)
1,000,000,000
MB (megabyte)
1,000,000
GB (gigabyte)
1,000
TB (terabyte)
1
PB (petabyte)
0.001
KiB (kibibyte)
976,562,500
MiB (mebibyte)
≈ 953,674.316406
GiB (gibibyte)
≈ 931.322574615
TiB (tebibyte)
≈ 0.909494701773
PiB (pebibyte)
≈ 0.0008881784197

Drive capacity as Windows and macOS show it

Windows counts in powers of 1,024 but labels the result GB or TB; macOS (since 10.6) counts in powers of 1,000, like the drive maker.

1 TB drive: Windows shows 931.3 GB, macOS shows 1 TB

1 TB is 1,000,000,000,000 bytes. Windows divides by powers of 1,024 but keeps the decimal letters, macOS divides by powers of 1,000.

Printed on the drive
1 TB
Capacity in bytes
1,000,000,000,000
Windows shows (binary, labelled GB)
931.3 GB
Exactly, in GiB
931.322574615478515625 GiB
macOS shows (decimal)
1 TB
Windows number is smaller by
68.68 GB (6.87%)

Every unit in bytes

Decimal SI units are powers of 1,000; binary IEC units are powers of 1,024. Bits are one eighth of a byte.
UnitNameSystemBytesBits
bitbitBase unit1/8 (0.125)1
BbyteBase unit18
kBkilobyteDecimal (SI), 1000ⁿ1,0008,000
MBmegabyteDecimal (SI), 1000ⁿ1,000,0008,000,000
GBgigabyteDecimal (SI), 1000ⁿ1,000,000,0008,000,000,000
TBterabyteDecimal (SI), 1000ⁿ1,000,000,000,0008,000,000,000,000
PBpetabyteDecimal (SI), 1000ⁿ1,000,000,000,000,0008,000,000,000,000,000
KiBkibibyteBinary (IEC), 1024ⁿ1,0248,192
MiBmebibyteBinary (IEC), 1024ⁿ1,048,5768,388,608
GiBgibibyteBinary (IEC), 1024ⁿ1,073,741,8248,589,934,592
TiBtebibyteBinary (IEC), 1024ⁿ1,099,511,627,7768,796,093,022,208
PiBpebibyteBinary (IEC), 1024ⁿ1,125,899,906,842,6249,007,199,254,740,992

How far apart decimal and binary units drift

The binary unit is always larger, and the gap grows with each step up: about 2.4% at kilo, nearly 10% at tera.
PairDecimal bytesBinary bytesBinary unit is larger by
kB vs KiB1,0001,0242.4%
MB vs MiB1,000,0001,048,5764.85%
GB vs GiB1,000,000,0001,073,741,8247.37%
TB vs TiB1,000,000,000,0001,099,511,627,7769.95%
PB vs PiB1,000,000,000,000,0001,125,899,906,842,62412.6%

Common drive sizes as Windows and macOS show them

Before formatting and system files: the numbers come only from the decimal-versus-binary difference.
Printed on the driveCapacity in bytesWindows showsmacOS showsWindows number is smaller by
128 GB128,000,000,000119.2 GB128 GB8.791 GB (6.87%)
256 GB256,000,000,000238.4 GB256 GB17.58 GB (6.87%)
500 GB500,000,000,000465.7 GB500 GB34.34 GB (6.87%)
512 GB512,000,000,000476.8 GB512 GB35.16 GB (6.87%)
1 TB1,000,000,000,000931.3 GB1 TB68.68 GB (6.87%)
2 TB2,000,000,000,0001.819 TB2 TB0.181 TB (9.05%)
4 TB4,000,000,000,0003.638 TB4 TB0.362 TB (9.05%)
8 TB8,000,000,000,0007.276 TB8 TB0.724 TB (9.05%)
16 TB16,000,000,000,00014.55 TB16 TB1.448 TB (9.05%)

Worked examples

You enterYou get
1 GiB in MB1,073.741824 MB
1 MiB in kB1,048.576 kB
1 TiB in TB≈ 1.09951162778 TB
1 GB in MiB≈ 953.674316406 MiB
64 GB in GiB≈ 59.6046447754 GiB
8 bit in B1 B
100 MB in bit800,000,000 bit

How to convert data storage units

  1. Enter the amount. Type a number such as 1, 500, 1,000.5 or 2.5e3. Commas are fine; storage cannot be negative.
  2. Pick the units. Choose the unit you have in "From" and the unit you want in "To". Decimal units are bit, B, kB, MB, GB, TB and PB; binary units are KiB, MiB, GiB, TiB and PiB.
  3. Read the exact result. The headline shows every digit, with "≈" only if a very long result was rounded. The list below gives the same amount in all twelve units.
  4. Check a drive. To see what Windows and macOS show for a drive, enter the capacity printed on the box in the drive panel.

Frequently asked questions

Why does my 1 TB drive show about 931 GB?
The drive holds 1 TB as manufacturers count it: 1,000,000,000,000 bytes. Windows divides by 1,024 three times to get gigabytes, giving 931.322574615478515625 GiB, and displays that as "931 GB". No space is missing; the same bytes are described with a different unit. Formatting and system files take a little more.
What is the difference between GB and GiB?
A gigabyte (GB) is 1,000,000,000 bytes (10⁹). A gibibyte (GiB) is 1,073,741,824 bytes (2³⁰), so 1 GiB = 1,073.741824 MB. The same pattern holds for kB/KiB, MB/MiB, TB/TiB and PB/PiB.
Does Windows or macOS use GB or GiB?
Windows reports sizes in binary units (powers of 1,024) but labels them KB, MB, GB and TB. macOS since version 10.6 (Snow Leopard) reports capacity in decimal units, so a 1 TB drive reads 1 TB, as Apple documents in "How storage capacity is measured on Apple devices". Apple notes that iOS 10 and earlier and OS X Leopard and earlier used binary.
Are KiB, MiB and GiB official?
Yes. The IEC approved the names and symbols in 1998, NIST lists them under "Prefixes for binary multiples", and they now sit in ISO/IEC 80000-13. They are not SI prefixes, but SI-style prefixes such as kilo and mega are reserved for powers of 1,000.
Why do some programs say KB for 1,024 bytes?
Memory chips are built in powers of two, and JEDEC, the semiconductor standards body, has long recorded K = 1,024, M = 1,048,576 and G = 1,073,741,824 for memory capacities. That legacy meaning is why RAM is sold as 8 GB when it holds 8 GiB. In IEC and SI notation the lowercase k is 1,000 and a binary kilobyte is KiB.
What is the difference between MB and Mb?
A capital B is a byte (8 bits) and a lowercase b is a bit, so 1 MB is 8 megabits (Mb). Network speeds are usually quoted in bits, file sizes in bytes. This converter uses "bit" and "B" to keep them apart.
Is the conversion exact?
Yes. Every unit is a whole number of bits and the amount you type is read as a fraction, so the arithmetic uses integers throughout. Results are written in full until they pass about 30 digits (a bit in pebibytes, for example), and then marked with "≈".
Why is the usable space even lower than Windows shows?
The file system keeps tables and journals, drives reserve spare area, and operating systems may hold recovery partitions. This tool only explains the unit difference, which is a fixed, computed amount, not those overheads.

How it works

Each unit is stored as a whole number of bits: one bit is 1, a byte is 8, a kilobyte is 8 × 1,000, a kibibyte is 8 × 1,024, and so on up to the pebibyte (8 × 1,024⁵). The number you type is turned into a fraction of two big integers (so 0.1 is 1/10, never a binary float), multiplied by the "from" unit and divided by the "to" unit, then written out in decimal. Because every unit is a power of 2 and 5 times a whole number, every result has a finite decimal expansion; the page prints up to 30 significant digits in the headline and 12 in the table. The drive panel converts the printed capacity to bytes, picks the largest binary unit that is at least 1 for Windows (labelled with the decimal letters, as Windows does) and the largest decimal unit that is at least 1 for macOS. Windows rounds its display in its own way, so the last digit may differ by one; the panel shows four significant digits. Formatting overhead is not modelled.

Sources

Guides

All convertersAll toolsHome & DIY calculators