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

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 7% gap between SI and IEC values for the same logical size (e.g. 1 TB SI = 0.909 TiB) 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 over 12% 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). Singapore's 1 Gbps home broadband is theoretically 125 MB/s; in practice you'll see 100-110 MB/s due to TCP overhead and ISP shaping. 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 offers 1 Gbps (and 10 Gbps in some buildings) standard home broadband — the fastest residential connectivity in the world. Japan and South Korea match this. Hong Kong is similar. Malaysia's average home connection is 100-500 Mbps; Indonesia and the Philippines average 50-100 Mbps; Vietnam is improving rapidly through the 100-300 Mbps range. India ranges from 50 Mbps urban fiber to single-digit Mbps in many rural areas — the steepest spread in the region. Australia's NBN reached 1 Gbps in many premises in 2024 but the average is closer to 100 Mbps. China is the largest mobile-broadband market with significant 5G deployment but home wired fiber speeds typically sit around 200-500 Mbps. Taiwan, particularly Taipei, has near-universal 500 Mbps to 1 Gbps fiber. The "1 TB drive" is now a regional commodity item — under USD 60 anywhere in APAC. Hard-drive vs operating-system size mismatch confuses users region-wide.

10 facts about storage units

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^40).

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

The largest single-volume HDD shipping in 2026 is 30 TB (Seagate Exos). Enterprise SSDs reach 60 TB. Datacenter "tape libraries" still store petabytes per rack.

07

"Yottabyte" (10^24 bytes) is the largest SI prefix in common use. Estimated total internet storage as of 2024 is ~150 zettabytes (10^21) — we'll hit a yottabyte around 2030.

08

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

09

Singapore has the world\'s fastest average residential broadband at 285 Mbps (Ookla, 2024). Hong Kong and South Korea round out the top three globally.

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 = 1 trillion terabytes. Far beyond any single drive. Estimated total internet storage as of 2024 is ~150 zettabytes (10^21); we'll cross a yottabyte sometime around 2030 at current growth rates.
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).
As of 2026: 30 TB single-volume (Seagate Exos). 60 TB enterprise SSDs exist. Cloud "petabyte-scale" storage means 1+ PB managed across many drives in a single logical bucket.
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.

Related News

You may be interested in these recent stories from our newsroom.

No related news yet for this tool. Our editorial team publishes new pieces every week.

Browse all news →
Advertisement
Pre-footer · AD-W3 728 × 90

75 more free tools

Calculators, converters, security tools — no signup.