Key takeaways
- There are three conventions, not two. SI decimal: 1 GB is 1,000,000,000 bytes. IEC binary: 1 GiB is 1,073,741,824 bytes. JEDEC, used for memory chips, writes KB/MB/GB but means the binary values.
- The gap compounds with each prefix step: 2.4 percent at kilo, 7.4 percent at giga, 9.95 percent at tera. That is why a 1 TB drive reports about 931 GB and a 2 TB drive about 1.81 TiB — nothing is missing.
- Windows Explorer reports binary values but labels them GB. macOS since 10.6 and most drive vendors report decimal. Linux ls -lh and df -h are binary; ls --si and df -H are decimal.
- Networking always uses decimal bits. A 100 Mbps line carries at most 12.5 MB per second, because a byte is eight bits — the single most expensive misreading in a broadband purchase.
- Download seconds equal size in megabytes times eight, divided by the line speed in megabits per second. Add a tenth to a fifth for protocol overhead before believing the result.
- Advertised capacity is not usable capacity. Filesystem metadata, ext4's default 5 percent reserved blocks, SSD over-provisioning and RAID parity each take a cut before you store anything.
Three Conventions, All Written 'GB'
The confusion is not that people disagree about arithmetic; it is that three standards bodies each defined a legitimate meaning for the same letters. The SI prefixes are decimal and always have been: kilo means a thousand, mega a million, giga a billion, so a gigabyte is 10 to the ninth bytes. The IEC, in standard 80000-13, introduced separate binary names in 1998 — kibi, mebi, gibi, tebi — where a gibibyte is 2 to the thirtieth bytes, 1,073,741,824. And JEDEC, the memory-chip standards body, kept the older habit of writing KB, MB and GB while meaning the binary values, because RAM is addressed in powers of two and a decimal prefix would be actively misleading there.
So the same string '1 GB' legitimately denotes 1,000,000,000 bytes on a drive box, 1,073,741,824 bytes in a Windows properties dialog, and 1,073,741,824 bytes on a DIMM datasheet that writes GB rather than GiB. The MB to GB converter and the GB to MB converter therefore have to ask which convention you mean, and showing both side by side is the only honest presentation. The unit converter does the same across data, length, weight and time.
The size of the disagreement is worth knowing because it grows. Each binary step is 1,024 against a decimal 1,000, a ratio of 1.024, so the gap is 2.4 percent at the kilo step. At giga it is 1.024 cubed, about 7.4 percent; at tera, 1.024 to the fourth, about 9.95 percent. That compounding is the whole explanation for the drive that 'lost' a tenth of itself: the vendor counted decimal terabytes and the operating system counted binary ones, and both were right.
Which Convention Each Platform Actually Uses
You can predict the number before you see it, which is more useful than converting after the fact. Windows Explorer and the properties dialog divide by powers of 1,024 but print the labels KB, MB, GB and TB — so a Windows 'GB' is really a GiB. macOS changed behaviour in 10.6 Snow Leopard and has reported decimal since, which is why the same external drive shows a larger number on a Mac than on a PC and why people conclude one of them is lying. Neither is: they are answering different questions.
Linux exposes the choice rather than hiding it. ls -lh and df -h use binary units; ls --si and df -H use decimal. The command-line tools that print raw byte counts, such as ls -l and stat, are unambiguous and are the ones to trust when a number matters. Storage vendors, SSD and HDD marketing, and cloud object-storage pricing are decimal throughout. Memory and cache sizes, and most programming-language APIs that report a buffer length, are binary.
Networking is the clean case: it is decimal and it is bits. Every line speed, every throughput figure, every data-cap number in a transit contract is SI. So when a router says 100 Mbps and a download dialog says 12 MB/s, they agree exactly, and the only conversion happening is the eight bits per byte. The practical rule that follows: if the unit is per second, assume bits and decimal; if it is a capacity on a box, assume decimal; if it is a capacity in an operating system dialog, check which OS before assuming anything.
Bits Versus Bytes: The Eight That Costs Money
A byte is eight bits, and the case of the letter B is the entire signal: Mb is a megabit, MB is a megabyte. Broadband is sold in megabits per second because the number is eight times larger and because the industry has always measured signalling rates in bits. Quotas and file sizes are measured in bytes. A 100 Mbps plan therefore delivers at most 12.5 MB per second, and a 1 Gbps plan at most 125 MB per second — not the 100 and 1,000 that a reader skimming the unit is likely to assume.
This is the most consequential misreading in the whole family, because it changes a purchase decision rather than a rounding. Someone comparing a 50 Mbps plan against a 200 MB monthly allowance is comparing a rate with a volume and needs the time dimension to relate them at all. The KB to MB converter and the MB to KB converter sit at the small end of the same ladder, where web budgets and attachment limits live, and the eight-fold trap is identical there: a 5 MB page weight budget is 40 megabits of transfer.
Two smaller traps sit alongside it. Encoding inflates size before transmission — base64 adds about a third, so an attachment that fits a limit on disk can bounce after encoding. And throughput figures are usually quoted for the payload while the line carries headers, acknowledgements and retransmissions as well, which is why a speed test and a real transfer disagree even when both are honest.
Working Out Download Time, With the Overhead Stated
The calculation is one line: seconds equals size in megabytes multiplied by eight, divided by the line speed in megabits per second. A 700 MB file on a 25 Mbps connection is 700 times 8 over 25, which is 224 seconds, just under four minutes. A 50 GB game on a 100 Mbps connection is 50,000 MB times 8 over 100, which is 4,000 seconds, about 67 minutes. Note that the size was taken as decimal gigabytes, because that is what a storefront means; using binary would change the answer by 7 percent, which is smaller than the overhead you are about to add.
Now the honest adjustment. TCP and IP headers, acknowledgements, congestion-window behaviour, TLS record overhead and any retransmission all consume line capacity that never becomes file bytes. On a clean wired connection a tenth is a reasonable allowance; on congested wifi or a long-fat network a fifth or more is realistic. So the 67-minute estimate becomes roughly 74 to 80 minutes, and quoting the bare 67 as a promise is how support tickets get written. The rule is to compute the theoretical floor, then state the overhead you assumed rather than presenting the floor as the answer.
The reverse question is the one people actually have when buying a plan: what speed do I need to move this volume in this window? Rearranged, megabits per second equals megabytes times eight divided by the seconds available. Moving 200 GB overnight in eight hours is 200,000 times 8 over 28,800, about 55 Mbps sustained — and 'sustained' is doing real work in that sentence, because a plan advertised at 100 Mbps that throttles after 50 GB will not finish the job. The GB to TB converter and the TB to GB converter are where that volume arithmetic usually starts.
Advertised Capacity Is Not Usable Capacity
Even after the convention is settled, a fresh drive does not offer its full label to your files, and the cuts are separate from the naming issue. A filesystem stores metadata — allocation tables, inodes, journals, directory structures — which consumes space before the first file is written. ext4 additionally reserves 5 percent of blocks for the superuser by default, so a large data volume can appear to lose a twentieth of itself to nothing visible; that reservation is tunable and is meant to keep a full root filesystem recoverable, not to be left at 5 percent on a media disk.
SSDs over-provision, typically around 7 percent of the raw NAND, held back by the controller for wear levelling and garbage collection. That space is genuinely unavailable and is one reason an SSD's advertised capacity is already below the flash it contains. RAID takes a further, predictable cut: mirroring halves usable capacity, single-parity RAID loses one disk's worth, double-parity loses two. A four-disk RAID 5 array of 4 TB drives offers about 12 TB usable before any of the above, and quoting 16 TB is the error that ends in a rebuild.
The practical discipline is to state capacity with its base and its layer. '1 TB decimal, 931 GiB as the OS reports it, about 880 GiB usable after filesystem and reservation' is three numbers that are all true and all different, and a backup plan built on the first one will fail. When a limit matters — an attachment cap, a quota, a partition size — work in raw bytes, because a byte count has no convention to argue about. That is the same advice the image file size guide gives for hitting a photo upload ceiling, and the percentage arithmetic behind 'reduce this by 30 percent' is covered in the online calculators guide.
How to Write a Size That Cannot Be Misread
The fix is not to pick a side in the decimal-versus-binary argument; it is to stop relying on the unit alone. Write GiB when you mean 2 to the thirtieth bytes and GB when you mean 10 to the ninth, and the ambiguity disappears at the cost of two extra letters. Where an audience will not know the IEC names, write the byte count or state the base in words: '1,073,741,824 bytes (binary)' is unambiguous to anyone and unambiguous to a script.
In code the same discipline applies to constants. Define the base once, name it, and never mix a decimal divisor with a binary label — the bug that produces a progress bar reading 1.07 GB for a 1 GiB file is a naming bug, not an arithmetic one, and it survives review because both numbers look plausible. Log raw byte counts and format for display at the edge; that keeps the stored truth convention-free and lets the presentation layer choose honestly.
For anything contractual — a storage quota, a bandwidth commitment, an egress allowance — insist on the base being written into the agreement. Cloud egress is priced in decimal GB while the servers generating it report binary GiB, and a tenth of a percent of ambiguity across a large invoice is a real number. The converters here exist to make that conversion quick; the judgement about which one a document means is the part that still needs a human, and it is the part this guide is for.
Frequently asked questions
The questions people ask most about mb to gb: binary vs decimal, bits vs bytes, answered directly.