Unit Converter

Free Data Storage Converter

Convert between 16 data storage units — bits, bytes and their multiples. Includes both decimal (SI, base-1000) and binary (IEC, base-1024) prefixes so you can finally understand why your "1 TB" drive shows 931 GB.

Live conversion 100% offline One-click swap 16 units

Convert

From
To
Precision
Decimal places 6
Quick presets
Common sizes

Result

Converted value
1 B
1 byte = 1 byte
All units for 1 byte
UnitValue
Decimal vs binary. Storage manufacturers use decimal (1 GB = 1,000,000,000 bytes). Operating systems use binary (1 GiB = 1,073,741,824 bytes). That is why a "1 TB" drive shows as 931 GiB in Windows or macOS.

About Data Storage Conversion

Data storage uses two parallel systems of prefixes, which is why data storage conversion is more confusing than almost any other unit conversion. The decimal (SI) prefixes — kilobyte, megabyte, gigabyte — are powers of 1000. The binary (IEC) prefixes — kibibyte, mebibyte, gibibyte — are powers of 1024. Both are used every day, often by the same software, sometimes for the same file.

The confusion is not academic. A 1 TB hard drive holds exactly 1,000,000,000,000 bytes as far as the manufacturer is concerned. Windows, macOS and Linux all display that same drive as 931 GiB. Neither number is wrong — they use different units with the same names abbreviated the same way. This tool shows both clearly and always labels which system you are using.

The 16 units supported

UnitSymbolBytesSystem
Bitb0.125Base
ByteB1Base
KilobyteKB1,000Decimal (SI)
MegabyteMB1,000,000Decimal (SI)
GigabyteGB1,000,000,000Decimal (SI)
TerabyteTB1,000,000,000,000Decimal (SI)
PetabytePB10¹⁵Decimal (SI)
KibibyteKiB1,024Binary (IEC)
MebibyteMiB1,048,576Binary (IEC)
GibibyteGiB1,073,741,824Binary (IEC)
TebibyteTiB1,099,511,627,776Binary (IEC)
PebibytePiB1,125,899,906,842,624Binary (IEC)
KilobitKb125Bits
MegabitMb125,000Bits
GigabitGb125,000,000Bits
TerabitTb125,000,000,000Bits

Decimal vs binary — the size gap

PrefixDecimal (×1000)Binary (×1024)Difference
Kilo / Kibi1,000 B1,024 B+2.4%
Mega / Mebi1,000,000 B1,048,576 B+4.9%
Giga / Gibi1,000,000,000 B1,073,741,824 B+7.4%
Tera / Tebi1,000,000,000,000 B1,099,511,627,776 B+10.0%
Peta / Pebi10¹⁵ B1,125,899,906,842,624 B+12.6%

Common conversions

FromToFactor
1 byteBits8 exactly
1 KBBytes1,000 exactly
1 KiBBytes1,024 exactly
1 MBMiB0.953674… approximately
1 GBGiB0.931323… approximately
1 TBTiB0.909495… approximately
1 MiBMB1.048576 exactly

Why your drive shows less than you paid for

A "1 TB" SSD is advertised as holding 1,000,000,000,000 bytes (decimal). Windows displays the same drive as 931 GiB (binary), because Windows uses binary arithmetic under the hood but historical decimal labels for the numbers. So a 1 TB drive shows as "931 GB" in Windows — even though it physically holds exactly what the manufacturer promised. This is not a scam and not a bug: it is the two systems disagreeing about what the word "giga" means.

USB drive manufacturers often go a step further and format with less usable space than the raw capacity (partition table overhead, preinstalled software), which is why a "64 GB" USB stick might show as 57 GiB in your file manager. That is both the decimal/binary conversion and a bit of vendor padding.

Common use cases

Disk Planning

Compare advertised drive capacity to actual formatted size.

Cloud Storage

Convert between provider decimal quotas and OS binary displays.

Network Speeds

Convert Mbps to MB/s (network speeds are almost always in bits).

Database Sizing

Compare storage quotas to actual row sizes in bytes.

Server Capacity

Plan disk layouts and estimate backup sizes accurately.

Mobile Data

Convert between phone plan quotas (GB) and app data usage (MiB).

Privacy and accuracy

This data storage converter runs entirely in your browser. All conversions use exact definitional factors, so the results are as precise as the input. Nothing is uploaded, stored or logged — safe for confidential data capacity planning.

Frequently Asked Questions

Why does my 1 TB drive show as 931 GB?
The manufacturer sells you 1 TB = 1,000,000,000,000 bytes (decimal, base-1000). Windows displays that same drive using binary units, where 1 GiB = 1,073,741,824 bytes. So 1,000,000,000,000 / 1,073,741,824 ≈ 931 GiB, which Windows labels "931 GB". Both numbers are correct — they use different units with the same abbreviation. The label is misleading, but the capacity is not.
What is the difference between MB and MiB?
MB (megabyte) is a decimal unit: 1,000,000 bytes. MiB (mebibyte) is a binary unit: 1,048,576 bytes (2²⁰). The IEC introduced the "bi" prefix system in 1998 to eliminate the ambiguity — but most operating systems still use the older MB label to mean MiB, which is where the confusion comes from. This tool uses both correctly and labels them clearly.
How many bits are in a byte?
There are exactly 8 bits in one byte. A bit is a single binary digit (0 or 1). A byte is the smallest addressable unit of memory in most architectures. This 8-to-1 ratio is one of the few things in data storage that is universally agreed upon.
Why are network speeds in bits and file sizes in bytes?
Historically, network engineers measured throughput in bits per second (bps), while storage engineers measured capacity in bytes. The convention stuck. So your ISP advertises "100 Mbps" (megabits per second), but a download shows "12.5 MB/s" (megabytes per second) — 100 / 8 = 12.5. To convert network speed to file-download speed, divide by 8.
How many MB in a GB?
In decimal units: 1 GB = 1,000 MB exactly. In binary units: 1 GiB = 1,024 MiB exactly. So a file that is 1 GB is either 1,000 MB or 1,024 MiB depending on which convention the program uses. Windows typically shows MB when it means MiB, which is why a 1 GB file appears as "1024 MB" on some systems and "1000 MB" on others.
What is a petabyte?
A petabyte (PB) is 1,000,000,000,000,000 bytes (10¹⁵) in decimal units, or 1,125,899,906,842,624 bytes (2⁵⁰) in binary units (PiB). To put it in perspective: 1 PB is roughly 1,000 TB. Large cloud providers and data centers measure storage in petabytes.
Is this data storage converter free?
Yes. It is 100% free, requires no sign-up, and runs entirely in your browser.
Is my input sent to a server?
No. All conversions happen locally in JavaScript. Nothing is uploaded, stored or logged.
How accurate is the conversion?
Every conversion factor used here is the exact definitional value. The only source of rounding is the precision setting — increase decimal places for more digits.
What do cloud providers mean when they say "1 TB"?
Cloud providers almost always use decimal storage: 1 TB = 1,000,000,000,000 bytes. When you upload 500 GB of files to a cloud account advertised as 1 TB, the dashboard shows you used 500 GB — the exact decimal amount. Your local operating system, however, will show those same files as 465 GiB if you download them and view them in a file manager.

Related Converters

Done!