Technology & IT

๐Ÿ’พ

File Size Calculator: Convert Between Bits, Bytes & Other Units

Convert file size between bits, bytes, KB, MB, GB, TB, PB, and binary units (KiB, MiB, GiB). See how the math works and compare common media sizes.

File size

Enter a file size and choose the unit. Results update as you type. Toggle binary (1024) for how Windows and most OSes report size, or decimal (1000) for storage vendors and networks.

Equivalent size

A file size of 1 GiB can be expressed as:

bits8,589,934,592
bytes1,073,741,824
kibibytes (KiB)1,048,576
mebibytes (MiB)1,024
gibibytes (GiB)1
tebibytes (TiB)0.0009765625
pebibytes (PiB)0.0000009537
exbibytes (EiB)0.0000000009

Information Hub

How the math works

Binary (IEC): each step is 1024 (2ยนโฐ). So 1 KiB = 1024 B, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB. One byte = 8 bits.

  • Using binary (1024): 1 GiB = 1024^3 = 1,073,741,824 bytes.
  • 1 ร— 1,073,741,824 = 1,073,741,824 bytes.
  • Total: 1,073,741,824 bytes = 8,589,934,592 bits.

Common media and storage sizes

Sizes vary by format and quality; use this as a ballpark.

3.5" floppy1.44 MB
CD (74โ€“80 min)700 MB
DVD-R single layer4.7 GB
DVD-R dual layer8.5 GB
Blu-ray single layer25 GB
Typical MP3 song4 MB
1 min uncompressed WAV10 MB
1 hr SD video1 GB
1 hr 1080p video6 GB

File Sizes Explained: Bits, Bytes, and Why 1024

File size turns up in downloads, storage, and email limits. Most of the confusion is either bits vs bytes or decimal (1000) vs binary (1024). A few basics clear that up.

Core ideas

Bits and bytes

A bit is a single 0 or 1. A byte is 8 bits and can represent one character (e.g. a letter or digit). Speeds are in bits per second (Mbps); file sizes are in bytes (KB, MB, GB). One byte = 8 bits.

Binary (1024) vs decimal (1000)

Binary: 1 KiB = 1024 B, 1 MiB = 1024 KiB. Used by Windows and most OSes for file and drive size. Decimal: 1 KB = 1000 B, 1 MB = 1000 KB. Used by storage vendors and many networks. Same label "GB" can mean different amounts depending on whoโ€™s measuring.

Why your "TB" drive looks smaller

A drive sold as 2 TB holds 2 trillion bytes (2 ร— 10ยนยฒ). In binary thatโ€™s 2 ร— 10ยนยฒ รท 1024ยณ โ‰ˆ 1.82 TiB. Windows reports in binary but often labels it "TB," so you see ~1.82 TB. No bytes are missingโ€”just different units.

IEC vs SI prefixes

IEC (binary): KiB, MiB, GiB, TiB (1024-based). SI (decimal): KB, MB, GB, TB (1000-based). Using the right one avoids the "why is my drive smaller?" surprise when you compare vendor specs to what the OS shows.

File Size Calculator: Convert Bits, Bytes, KB, MB, GB, TB

Convert between bits, bytes, kilobytes, megabytes, gigabytes, and terabytes in binary (1024) or decimal (1000). Matches how Windows reports size or how vendors label drives. Free, runs in your browser.

What this tool does

Enter a file size and choose the unitโ€”bits, bytes, or any of the larger prefixes (KB through EB). The result appears in every other unit as you type. Switch to binary (1024) when you want the same convention as Windows and most file managers, or decimal (1000) when youโ€™re comparing to storage specs or data caps. The Information Hub below the calculator shows how the conversion is derived and a reference table of common media sizes.

Bits vs bytes

File size is in bytes (and units built on bytes). Speeds are in bits per secondโ€”Mbps, Gbps. One byte is 8 bits, so bytes=bits8\text{bytes} = \frac{\text{bits}}{8} and bits=8ร—bytes\text{bits} = 8 \times \text{bytes}. Confusing the two is easy: a 100 Mbps link moves 12.5 MB per second, not 100 MB/s.

Binary (1024) vs decimal (1000)

In binary (IEC), each step is 1024: 1 KiB = 1024 B, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB. So 1 GiB = 102431024^3 = 1,073,741,824 bytes. In decimal (SI), each step is 1000: 1 KB = 1000 B, 1 MB = 1000 KB, 1 GB = 1000 MB, so 1 GB = 100031000^3 = 1,000,000,000 bytes. A drive sold as "1 TB" holds 101210^{12} bytes; in Windows (binary) that shows as about 931 GiB. The calculatorโ€™s base toggle lets you match whichever convention youโ€™re working with.

Common file and storage sizes

In the Information Hub under the calculator youโ€™ll find a Common media and storage sizes tableโ€”floppy, CD, DVD, Blu-ray, typical MP3 and videoโ€”as a ballpark. Use the tool to convert any of those into bits, bytes, or another unit. For email, 10โ€“25 MB is a safe attachment limit on most providers; for anything bigger, share a link from cloud storage instead.

File size limits (file systems)

Maximum file size depends on the file system. FAT32 limits a single file to 232โˆ’12^{32}-1 bytes (4 GB minus 1 byte). NTFS and exFAT support far larger filesโ€”up to 16 EB in current specs. When moving or creating very large files (e.g. video, disk images), make sure the destination volume uses a file system that supports that size.

File Size Calculator FAQ

Why does my 1 TB drive show only about 931 GB in Windows?

Storage makers use decimal units: 1 TB = 1,000,000,000,000 bytes. Windows uses binary: 1 TiB = 1,099,511,627,776 bytes, and it labels it "TB" in the UI. So a drive sold as 1 TB (10ยนยฒ bytes) is 10ยนยฒ รท 1024ยณ โ‰ˆ 931 GiB. You didnโ€™t lose spaceโ€”the same bytes are there; the units and base (1000 vs 1024) differ.

What is the difference between KB and KiB?

KB (kilobyte) is decimal: 1 KB = 1,000 bytes. KiB (kibibyte) is binary: 1 KiB = 1,024 bytes. Same idea for MB/MiB, GB/GiB, and so on. Windows and many apps still say "KB" and "MB" but use 1024 under the hood, which is why the IEC invented KiB, MiB, GiBโ€”to avoid mixing decimal names with binary math.

How do I convert file size from bits to bytes?

One byte equals 8 bits. Divide bits by 8 to get bytes (e.g. 1,000 bits = 125 bytes). Multiply bytes by 8 to get bits. The tool above shows the same size in every unit so you can read off the value you need.

What file size can I safely send by email?

Most providers cap attachments at 25โ€“50 MB; 5โ€“10 MB is a safe bet so the message doesnโ€™t bounce or get stripped. For anything larger, use a link from a file-sharing or cloud service instead of attaching.

Why 1024 instead of 1000 for "kilo" in file sizes?

Computers work in powers of two. 1024 is 2ยนโฐ, so it fits how memory and addressing work. Early on, "kilo" was used for 1024 in computing. Later, standards bodies said "kilo" should mean 1000 (SI) and introduced "kibi" (KiB) for 1024. Thatโ€™s why you see both bases today.

What are typical file sizes for photos, video, and audio?

A 12 MP photo (JPG) is often 3โ€“5 MB. A 3โ€‘minute MP3 is roughly 3โ€“5 MB; the same as uncompressed WAV is about 30 MB. SD video runs about 1 GB per hour; 1080p often 4โ€“8 GB per hour. Exact sizes depend on resolution, codec, and quality settings.

How do I reduce file size?

For documents and spreadsheets, avoid embedding huge images; compress images before inserting. For media, use compressed formats (e.g. JPG, MP3, H.264) and lower bitrates or resolution. Archivers (ZIP, 7z) shrink text and some binaries; they rarely shrink already-compressed media.
๐Ÿ’ก

Mathematical Reference Note

Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.

Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.

Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.

ยฉ 2026 CalcRegistry Reference Last System Check: April 2026Free Online Utility Tools