Data Storage Converter
Convert bytes, KB, MB, GB, TB & bits.
100% private — runs in your browser, nothing is uploaded.
8,589,934,5921,073,741,8241,048,5761,02410.0009779.5367e-7How to use the Data Storage Converter
- 1Pick a mode
Choose Binary (1024) or Decimal (1000) depending on what you need.
- 2Enter the amount
Type the size you want to convert.
- 3Choose the unit
Select the unit your amount is in.
- 4Read every unit
See the equivalent in bits, bytes, KB, MB, GB, TB and PB.
Examples
| Input | Output |
|---|---|
1 GB (decimal) | 1,000 MB · 1,000,000 KB · 8,000,000,000 bits |
1 GiB (binary) | 1,024 MiB · 1,048,576 KiB |
Free online data storage converter
This data storage converter turns any file or drive size into every other unit at once — from bits and bytes up to petabytes. Switch between decimal and binary units to match whatever you are working with, whether that is a hard-drive spec sheet or your operating system.
Decimal vs. binary — the source of confusion
The reason a “1 TB” drive shows as about 931 GB on your computer is that two different standards are in play:
- Decimal (SI) — KB, MB, GB step by 1,000. Used by storage manufacturers.
- Binary (IEC) — KiB, MiB, GiB step by 1,024. Used by most operating systems and memory.
Bits vs. bytes
Network speeds are measured in bits per second, while file sizes are in bytes. Since 1 byte = 8 bits, a 100 Mbps connection downloads at roughly 12.5 MB/s. This converter handles both, entirely in your browser, so it is instant, private and works offline.
KB, MB, GB and TB explained
You buy a “1 TB” drive, plug it in, and your computer says 931 GB. You pay for a “100 Mbps” connection and your downloads run at 12 MB/s. Neither is a scam, and neither is a fault. Both come from the same small set of confusions about how data is measured — and once you see them, a lot of computing stops being mysterious.
Bits and bytes are not the same thing
Start here, because it is the root of half the confusion.
A bit is a single 0 or 1 — the smallest possible piece of data. Eight bits make one byte, which is enough to store one character of text.
The critical detail is the notation, and it is diabolically easy to misread:
- Lowercase “b” means bits. Mb, Mbps.
- Uppercase “B” means bytes. MB, MB/s.
One character of difference, a factor of eight in meaning.
Why your internet is “slower” than advertised
This follows directly. Internet speeds are sold in bits per second; file sizes are measured in bytes. So a 100 Mbps connection downloads at about 12.5 MB/s — divide by 8.
Nothing is broken. You are simply comparing two different units. A 1 GB file over a perfect 100 Mbps line takes about 80 seconds, not 10.
Is the bits convention deliberately flattering? It produces a bigger number, so make of that what you will. It does have a legitimate engineering history — networks genuinely move bits, not bytes — but nobody in marketing has been in a hurry to change it.
The real culprit: two counting systems
Now the drive-size question. There are two different standardsfor what “kilo” means in computing, and both are in active use.
Decimal (SI) — the everyday metric meaning. Each step is 1,000:
- 1 KB = 1,000 bytes
- 1 MB = 1,000 KB
- 1 GB = 1,000 MB
- 1 TB = 1,000 GB
Binary (IEC) — each step is 1,024:
- 1 KiB (kibibyte) = 1,024 bytes
- 1 MiB = 1,024 KiB
- 1 GiB = 1,024 MiB
- 1 TiB = 1,024 GiB
Why 1,024? Because computers count in powers of two, and 1,024 is 2¹⁰ — the power of two closest to 1,000. Memory is addressed in binary, so binary-sized chunks are what the hardware naturally produces. Early engineers found 1,024 conveniently close to a kilo and borrowed the prefix, and the ambiguity has haunted us ever since.
Why 1 TB shows as 931 GB
Now it resolves cleanly. The two parties are using different systems:
- The manufacturer uses decimal.A “1 TB” drive holds exactly 1,000,000,000,000 bytes. That is what you bought, and you got all of it.
- Windows reports in binary. It divides by 1,024 three times, giving about 931— and then, unhelpfully, labels the result “GB” when it really means GiB.
Not a single byte is missing.The drive contains precisely what was advertised. Only the label on your screen is inconsistent — and the mislabelling is Windows's fault, not the manufacturer's.
The gap grows with size, because the 2.3% discrepancy compounds at every step:
- 1 KB vs 1 KiB — about 2.3% apart
- 1 MB vs 1 MiB — about 4.6%
- 1 GB vs 1 GiB — about 6.9%
- 1 TB vs 1 TiB — about 9.1%
Which is why nobody complains about a kilobyte and everybody complains about a terabyte.
Worth noting: macOS and Linux now use decimal, so the same drive shows as “1 TB” on a Mac and “931 GB” on a PC. Same drive, same bytes, different arithmetic.
RAM is the exception.Memory really is manufactured in binary sizes, so an “8 GB” stick genuinely is 8 GiB — 8,589,934,592 bytes. Memory is the one place where the binary meaning is the honest one.
A sense of scale
Numbers this large stop meaning anything without anchors:
- 1 byte — one character.
- 1 KB — a short paragraph.
- 100 KB — a well-compressed web image.
- 1 MB — a large document, or a compressed photo.
- 5 MB — a typical phone photo, straight from the camera.
- 50 MB — a minute of 1080p video.
- 1 GB — roughly half an hour of HD video, or about 200 songs.
- 1 TB — around 250,000 photos, or 200 hours of HD video.
Where this actually bites you
- Buying storage. Expect a stated GB figure to read about 7% smaller on Windows — and a TB figure about 9% smaller — purely from the labelling difference, plus a little more lost to formatting.
- Estimating download times. Divide your Mbps by 8 to get MB/s.
- Upload limits.A form capping uploads at “10 MB” may mean either standard — but the difference is only 5%, so it rarely matters.
- Cloud billing. Providers almost always use decimal, which works slightly in your favour compared to what your operating system reports.
Next steps
Curious why computers count in powers of two in the first place? Read binary, decimal and hex explained or try the Number Base Converter.
Frequently Asked Questions
How many MB are in a GB?
It depends on the standard. In decimal (SI) units 1 GB = 1,000 MB. In binary units 1 GiB = 1,024 MiB. Storage makers use decimal; operating systems often use binary, which is why a '1 TB' drive shows as about 931 GiB.
What is the difference between binary (1024) and decimal (1000)?
Decimal units (KB, MB, GB) step by 1,000. Binary units (KiB, MiB, GiB) step by 1,024, matching how memory is addressed. This tool lets you switch between both so you always get the right answer.
How do I convert bits to bytes?
There are 8 bits in 1 byte. Enter a value in bits and read the Byte row, or vice versa. This matters for network speeds, which are quoted in bits per second (e.g. 100 Mbps ≈ 12.5 MB/s).
Why does my hard drive show less space than advertised?
Manufacturers advertise in decimal (1 TB = 1,000,000,000,000 bytes) but Windows reports in binary (1 TiB = 1,099,511,627,776 bytes). The bytes are the same; only the unit differs, so a 1 TB drive shows as ~931 GiB.
What units are supported?
Bits and bytes up to petabytes: bit, Byte, KB/KiB, MB/MiB, GB/GiB, TB/TiB and PB/PiB, in both decimal and binary modes.
Is it private?
Yes. All conversions run in your browser. Nothing is uploaded, and the tool works offline.
Why is my 100 Mbps internet connection downloading at ~12 MB/s?
Network speeds are measured in megabits per second (Mbps), while file sizes are measured in megabytes (MB). Dividing 100 by 8 bits per byte gives 12.5 MB/s — that is full speed, not a slowdown.
Should I write KB or KiB?
KiB (kibibyte) is unambiguous for binary 1,024-byte multiples, whereas KB is metric 1,000 bytes — though operating systems often still display KB when they mean KiB.