File Size Converter

Share:

Convert file sizes — bytes / KB / MB / GB / TB / PB — in both decimal (1000) and binary (1024) systems.

RT-CNV-006 · Converters & Units
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

File Size Converter

Advertisement
After results · AD-W1 Responsive · Post-tool — peak engagement

How to use the file size converter

Enter the value

Type any positive number. Decimals welcome (e.g. 4.7). The result panels update on every keystroke — no submit button.

Pick the source unit

Choose from the decimal (SI) family — B, KB, MB, GB, TB, PB — or the binary (IEC) family — KiB, MiB, GiB, TiB, PiB. The optgroup keeps the two systems visually separate.

Compare side-by-side

The two result cards show the value in every unit of each system. The gap between SI and IEC values for the same logical size widens with the unit — about 7% at GB, about 9% at TB (1 TB SI = 0.909 TiB) — which is exactly why "my new 1 TB drive shows as 931 GB in Windows".

Try the presets

The pills under the input cover everyday sizes — CD, DVD, Blu-ray, common HDDs — useful for sanity-checking quotes and storage-plan decisions.

Advertisement
After how-to · AD-W2 Responsive

KB vs KiB — why your 1 TB drive shows as 931 GB

File sizes are stuck between two measurement systems and the resulting confusion costs the industry millions in customer-service tickets every year. The decimal system (SI prefixes: kilo, mega, giga) uses 1,000-byte units — what hard-drive manufacturers print on the box. The binary system (IEC prefixes: kibi, mebi, gibi) uses 1,024-byte units — what operating systems display when you check a file's properties. The two diverge by about 7% at the gigabyte scale and about 10% at the terabyte scale, which is why a "1 TB drive" appears in Windows as 931 GB. The drive isn't lying and Windows isn't lying — they're just measuring different things.

Where the 1024 came from

Computers are binary. Memory addresses, block sizes, page sizes, allocation units — all are powers of 2. 1,024 bytes (2^10) fits neatly into binary arithmetic; 1,000 bytes doesn't. So early computing (1950s-70s) treated 1 KB as 1,024 bytes for convenience. By the 1990s, hard drive manufacturers had a marketing motive to switch to 1,000 (the drives sound bigger that way), and standards bodies eventually formalised it: SI prefixes (KB, MB) for 1,000-based; IEC prefixes (KiB, MiB) for 1,024-based. In practice almost nobody outside Linux uses "KiB" — Windows displays a binary value but labels it "KB"; macOS at least switched to decimal "KB" with a true 1000-byte interpretation in 2009.

Which system does each thing use

Decimal (1000): hard drive labels, SSD labels, internet bandwidth (Mbps, Gbps), Cloud storage pricing (AWS S3, Google Cloud), Apple's macOS "About this Mac" storage display since 2009. Binary (1024): RAM sizes (always — "8 GB" of RAM is 8 GiB), Windows file/disk properties, Linux du/df output by default, file managers across most platforms. So a freshly-installed Windows reads your "1 TB" drive (1,000,000,000,000 bytes) as 931 GB (1,000,000,000,000 / 1,073,741,824). Both numbers describe the same physical drive.

Network speeds are bits, not bytes

Internet bandwidth uses bits per second (lowercase b), not bytes per second (uppercase B). So "100 Mbps" is 100,000,000 bits/second = 12.5 MB/s of usable file-transfer speed (8 bits per byte, with some overhead). A 1 Gbps line is theoretically 125 MB/s; protocol framing takes 5.07% of that (a full TCP/IPv4 segment carries 1,460 payload bytes per 1,538 bytes on the wire), leaving about 118.7 MB/s before any congestion, Wi-Fi loss or server-side limit — and those are usually the larger effect, but none of them follows from the plan rate. This is the source of many a "why does my fast internet download slowly?" question.

APAC storage and bandwidth context

Storage and bandwidth norms vary widely across APAC. Singapore sells 1 Gbps as a standard residential tier and 10 Gbps in some buildings, with Hong Kong, Japan, South Korea and Taiwan in the same bracket; Malaysia's tiers run from the low hundreds of Mbps upward; Indonesia, the Philippines and Vietnam are climbing from a lower base; and India spans the steepest range in the region, from urban fibre to single-digit Mbps in many rural areas.

No median figures are quoted here on purpose. National medians move monthly, and this page previously carried a set that contradicted the ones on our own data storage converter — two snapshots taken at different times, each stale soon after. Ookla's Speedtest Global Index is the source to read a current number from. What does hold steady is the thing this converter exists for: the factor of eight between the bits a line is sold in and the bytes a file is measured in, and the 1000-versus-1024 gap between what a drive is labelled and what an operating system reports. The "1 TB drive" is a regional commodity item, and the label-versus-OS mismatch confuses buyers region-wide.

Your 1 TB drive holds exactly a trillion bytes; Windows disagrees

01

The IEC binary prefixes (KiB, MiB, GiB) were standardised in 1998 — to end the "1 KB = 1000 or 1024?" ambiguity. Adoption outside Linux has been slow.

02

A "1 TB" hard drive contains exactly 1,000,000,000,000 bytes. Windows reads this as 931.32 GiB because it divides by 1,073,741,824 (2^30).

03

The first commercial hard drive (IBM RAMAC 305, 1956) stored 5 MB and was the size of two refrigerators. A modern microSD card the size of a fingernail holds ~200,000× more.

04

RAM is always sized in binary (a "16 GB" stick is 16 GiB = 17.18 billion bytes). Hard drives are always sized in decimal (16 TB = 16 trillion bytes, not 17.6 trillion).

05

1 byte historically meant the smallest addressable unit on a machine. 8-bit bytes became standard with the IBM System/360 (1964); earlier machines used 6, 7, 9, or 12-bit "bytes".

06

Flash has overtaken spinning rust on sheer capacity per device. Seagate's HAMR drives reached 44 TB in volume shipment to hyperscalers in March 2026; the largest enterprise SSDs announced by then were several times that, Kioxia's LC9 series at 245.76 TB. Both are datacentre parts, not things you can buy for a desktop.

07

Yotta (10^24) stopped being the top of the SI ladder in November 2022, when the 27th CGPM added ronna (10^27) and quetta (10^30). The BIPM's stated reason was data: quantities of digital information were about to need prefixes beyond yotta.

08

Network speeds use bits (lowercase b), storage uses bytes (uppercase B). "100 Mbps" internet = 12.5 MB/s download — divide by 8.

09

Ookla's Speedtest Global Index reports a median, not an average, and the two are routinely quoted as if interchangeable. Read the current country figure from the index itself rather than from any number quoted elsewhere — including here.

10

Australia's NBN reached 1 Gbps home plans by 2024; before that, the average was ~50 Mbps. The gap is mostly fixed-wireless vs fiber coverage.

Frequently asked questions

Hard-drive manufacturers use decimal (1 TB = 1,000,000,000,000 bytes). Windows uses binary (1 TB = 1,099,511,627,776 bytes). The drive has exactly the advertised byte count — Windows just labels its display as "GB" while measuring in GiB. Mac and Linux differ in their conventions; modern macOS uses decimal like the drive label.
Use KB (1000) for hard drives, network bandwidth, and AWS/Cloud storage. Use KiB (1024) for RAM, OS-displayed file sizes, and anything strictly binary. In casual writing, "KB" usually means 1024 — that's the historical norm — but standards bodies prefer the more explicit KiB for that meaning.
2^10 = 1024 — convenient in binary computing. 10^3 = 1000 — convenient in everyday measurement. Both have legitimate use cases; the industry never picked one and standardised. The IEC prefixes (KiB, MiB) were the 1998 attempt to disambiguate.
10^24 bytes, or a trillion terabytes — far beyond any single drive. It is no longer the largest SI prefix either: the 27th CGPM added ronna (10^27) and quetta (10^30) in November 2022, specifically because digital storage was heading past yotta.
In binary (which Windows uses for display): yes. 1 GiB = 1024 MiB. In decimal (SI / drive manufacturers): no — 1 GB = 1000 MB. The tool shows both so you can see which interpretation matters for your use case.
Network speeds are in bits per second (Mbps, Gbps). File sizes are in bytes. To convert: divide bits-per-second by 8 to get bytes-per-second. A 100 Mbps connection transfers ~12.5 MB per second of file data (minus TCP overhead).
Seagate was shipping 44 TB HAMR drives to hyperscale customers in March 2026, and the largest announced enterprise SSD by then was Kioxia's 245.76 TB LC9. Both are datacentre parts. Treat any specific figure here as perishable — capacity records move every few months. Cloud "petabyte-scale" storage means 1+ PB managed across many drives in one logical bucket, not a single device.
1 PB (petabyte, SI) = 1,000,000,000,000,000 bytes = 10^15. 1 PiB (pebibyte, IEC) = 1,125,899,906,842,624 bytes = 2^50. PiB is ~12.6% larger.
Internally uses BigInt for exact byte counts up to ~9 PB. Above that, floating-point arithmetic kicks in and you may see ~1 byte rounding errors at the extreme end. For everyday file sizes (TB and below), conversions are exact.
Historical accident. Networking inherited from telecommunications (where decimal had always been used — 64 kbps voice = 64,000 bits/second exactly). Storage inherited from RAM (binary). The two industries never reconciled.

Method & sources

How it computes

Decimal (SI) units are powers of 1000 and binary (IEC) units powers of 1024: 1 kB = 10^3 B, 1 KiB = 2^10 B. Every conversion is value × source factor ÷ target factor, held as exact integer byte counts to about 9 PB.

What this tool implements

  • IEC prefixes for binary multiples (kibi, mebi, gibi …), approved December 1998 and tabulated by NIST: 1 KiB = 2^10 B, 1 MiB = 1 048 576 B.
  • SI decimal prefixes per the BIPM, extended to ronna (10^27) and quetta (10^30) by the 27th CGPM in 2022.
  • A 10^12-byte drive therefore displays as 931.32 GiB on a system that divides by 2^30.

Sources

Advertisement
Pre-footer · AD-W3 728 × 90