File Size Converter
Convert file sizes — bytes / KB / MB / GB / TB / PB — in both decimal (1000) and binary (1024) systems.
File Size Converter
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.
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
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.
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).
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.
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).
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".
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.
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.
Network speeds use bits (lowercase b), storage uses bytes (uppercase B). "100 Mbps" internet = 12.5 MB/s download — divide by 8.
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.
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
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
- National Institute of Standards and Technology. Prefixes for binary multiples. https://physics.nist.gov/cuu/Units/binary.html
- Bureau International des Poids et Mesures. SI prefixes. https://www.bipm.org/en/measurement-units/si-prefixes
- Ookla. Speedtest Global Index — median country speeds. https://www.speedtest.net/global-index
Pick up where you left off
Stored only in this browser — never sent to our servers.