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 number, decimals welcome (e.g. 4.7). The result panels update as you type.

Pick the source unit

Choose from the decimal (SI) family or the binary (IEC) family. If the number came from Windows, choose the binary unit: a file Windows calls 4.38 GB is 4.38 GiB. If it came from a box, a spec sheet, macOS or an iPhone, choose the decimal one.

Compare side-by-side

The two result cards show the value in every unit of each system, and the panel below shows what Windows, macOS and Linux call that size. The gap widens with the unit: a binary reading comes out 6.9% lower at the GB scale and 9.1% lower at the TB scale (1 TB = 0.9095 TiB), which is why a 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 and common drives. Two of them show how muddled labels get. An 80-minute CD labelled 700 MB holds 737.28 MB of data, because the label is really 703 MiB. A "1.44 MB" floppy holds 1,440 KiB, so its "MB" is 1,000 × 1,024 bytes, neither unit.

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. The decimal system uses steps of 1,000: kilo, mega, giga, the SI prefixes printed on a drive box. The binary system uses steps of 1,024: kibi, mebi, gibi. A binary reading comes out 6.9% lower at the gigabyte scale and 9.1% lower at the terabyte scale, which is why a "1 TB drive" appears in Windows as 931 GB. The bytes are the same. Only the divisor differs, and Windows then writes GB where the standards would write GiB.

Where the 1024 came from

Computers are binary. Memory addresses, block sizes and page sizes are all powers of 2, and 1,024 (2^10) is close enough to 1,000 that early computing borrowed "kilo" for it. Standards bodies later separated the two. The International Electrotechnical Commission approved kibi, mebi and gibi in December 1998, and they now sit in ISO/IEC 80000-13. The SI Brochure is blunt about the other half: SI prefixes refer strictly to powers of 10 and should not be used for powers of 2. Note the case too: the SI symbol for kilo is a lowercase k, so 1,000 bytes is strictly kB, and KiB is the binary one.

Which system does each thing use

Decimal (1000): drive and memory-card labels, internet bandwidth (Mbps, Gbps), macOS and iOS storage figures. Apple says only OS X Leopard and earlier, and iOS 10 and earlier, reported capacity in binary. Binary (1024): RAM ("8 GB" of RAM is 8 GiB), Windows File Explorer, and Linux du, df and ls -h output. GNU tools write single letters (932G), and --si switches them to decimal. Check the small print: Google Cloud Storage bills in binary gigabytes, 2^30 bytes each, even where it writes GB. The Windows line in the panel above applies Explorer's divide-by-1,024 rule to three digits; we have not checked it against every Windows build. So a freshly installed Windows reads a drive of 1,000,000,000,000 bytes as 931 GB (1,000,000,000,000 ÷ 1,073,741,824 = 931.32). A real drive holds slightly more than its label, and formatting and the system take some back, so the free space you see will be lower again.

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. To compare your line with a national figure, use Ookla's Speedtest Global Index, which publishes monthly medians, not averages. Quoting one here would only go stale.

A 1 TB drive reads 931 GB, a 700 MB CD holds 737, and a 1.44 MB floppy is neither

01

The IEC approved the binary prefixes (kibi, mebi, gibi) in December 1998 to end the "is 1 KB 1,000 or 1,024?" ambiguity. Microsoft's Raymond Chen explained in 2009 why Explorer still writes KB: "the entire computing industry" had ignored the guidance.

02

A drive sold as 1 TB is counted in trillions of bytes. Windows divides by 1,073,741,824 (2^30) and shows 931 GB. The same count on a Mac reads 1 TB.

03

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

04

A CD labelled 700 MB holds 703.1 MiB of data in 80 minutes: 360,000 sectors of 2,048 bytes. That label uses the binary meaning, the opposite of the DVD beside it, whose 4.7 GB is decimal.

05

The "1.44 MB" floppy is 1,440 KiB. Its MB is 1,000 × 1,024 bytes, a unit neither the SI nor the IEC recognises. In real units it holds 1.47 MB or 1.41 MiB.

06

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), citing data science's coming need to express digital information beyond 10^24.

Frequently asked questions

Drive makers count in decimal (1 TB = 1,000,000,000,000 bytes). Windows divides by 1,073,741,824 and labels the result GB, though the standards would call that unit GiB. Nothing is missing. macOS uses decimal like the label, so the same drive reads 1 TB there. Linux tools divide by 1,024 too but write 932G, because they round up.
Use kB (1,000 bytes) when you mean decimal, as on drive labels and network speeds. Use KiB (1,024 bytes) when you mean binary, as for RAM. In casual writing "KB" often means 1,024, which is the older habit and what Windows prints, so where the difference matters, write the unit in full or state the byte count. Cloud bills vary: check whether a provider means decimal GB or binary.
2^10 = 1024 is a round number in binary hardware, and 10^3 = 1000 is a round number everywhere else. The industry never settled on one. The IEC prefixes (KiB, MiB) were the 1998 attempt to tell them apart.
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, citing data science's coming need for them.
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).
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.
Exactly, at any size. The value you type is held as a whole-number fraction, not a floating-point number, so 10 PB keeps every byte. Results show four decimal places, and very small ones switch to e-notation (1 byte is 1e-15 PB).
History. Networking grew out of telecommunications, where rates were always decimal: a 64 kbps voice channel is 64,000 bits a second. Binary sizes came from memory hardware. Disk makers went with decimal, and the two habits never merged.

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. FileSizeKernel holds the value as an exact BigInt fraction, so every conversion is exact at any size. It also shows what each system calls the size: Windows File Explorer (÷1024, written GB, three digits cut off), macOS and iOS (base 10), GNU ls -h (÷1024, rounded up).

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; now in ISO/IEC 80000-13 (named as such by GNU coreutils; the ISO page itself refuses automated fetches).
  • SI decimal prefixes per the BIPM, extended to ronna (10^27) and quetta (10^30) by the 27th CGPM in 2022. The SI Brochure says SI prefixes refer strictly to powers of 10. The symbol for kilo is lowercase k.
  • A 10^12-byte drive therefore displays as 931.32 GiB on a system that divides by 2^30.
  • Corrected 2026-11-02: cloud storage pricing was listed as decimal, naming AWS S3 and Google Cloud. Google Cloud Storage bills in binary gigabytes (2^30 bytes); the claim is gone and the page says to check. "File managers across most platforms" as binary is gone, and so is the column heading that put macOS under binary: Apple says only OS X Leopard and earlier, and iOS 10 and earlier, reported binary.
  • Corrected 2026-11-02: the 700 MB CD preset used decimal megabytes. An 80-minute CD holds 360,000 sectors of 2,048 bytes (ECMA-130), 737,280,000 bytes, so the label is 703 MiB; the preset is now 737.28 MB. The gap between readings was given as both 9% and 10% at TB; it is 9.1% lower when read in binary.
  • Corrected 2026-11-02: the page claimed BigInt exactness to about 9 PB while multiplying through a double, and threw on a value too large for a double. It is now exact at any size. The everyday comparison was nearest by difference, so most sizes matched the wrong entry, and its figures were unsourced (a 500 KB web page, a 5 MB MP3, 80-character SMS); it is now nearest by ratio over figures that are definitions or arithmetic.

Sources

What can make this go out of date

  • None at runtime.

Abridged — the full review record for this tool runs longer than the list above.

Advertisement
Pre-footer · AD-W3 728 × 90