๐ŸŽ‰ All tools are 100% free โ€” No signup required, no limits, no cost ever.

๐Ÿ“ File Size Converter

Convert between bytes, KB, MB, GB and TB instantly. Switch between binary (1024) and decimal (1000) units.

โœ“ All units at once โœ“ Binary & decimal โœ“ Instant calculation
Binary (1024) โ€” KiB, MiB, GiB
Decimal (1000) โ€” KB, MB, GB
โ€”
โ€”
โ€”
โ€”
โ€”
โ€”
๐Ÿ’ก Why two systems? Binary (1024-based) is how operating systems calculate file sizes โ€” what you see in Windows/Mac file properties. Decimal (1000-based) is how storage manufacturers advertise capacity (e.g. a "1TB" drive). This is why a "1TB" drive shows as ~931GB in your operating system.

What This Tool Does

This calculator converts between file size units โ€” bytes, kilobytes (KB), megabytes (MB), gigabytes (GB) and terabytes (TB) โ€” and clarifies the difference between decimal (1000-based) and binary (1024-based) definitions, which is a common source of confusion when file sizes don't match what you expect.

Why File Size Units Are Confusing

There are two competing definitions for units like "megabyte". The decimal definition (used by storage manufacturers and some software) defines 1MB as 1,000 kilobytes and 1KB as 1,000 bytes โ€” consistent with the metric system. The binary definition (used by operating systems like Windows when showing file sizes) defines 1MB as 1,024 kilobytes and 1KB as 1,024 bytes, based on powers of 2 which are natural for computing. This is why a drive sold as "1TB" shows as roughly 931GB in Windows โ€” the manufacturer used the decimal definition, but Windows displays the binary equivalent.

Decimal vs Binary โ€” Quick Reference

The difference is small for small files but grows significant at larger scales โ€” at the terabyte level, the difference between decimal and binary definitions is roughly 10%.

How to Use This Converter

  1. Enter a file size value
  2. Select the unit you're converting from
  3. View the equivalent value in other units, with both decimal and binary calculations available

Why This Matters for Upload Limits and Email Attachments

Many services state size limits in MB or GB without specifying which definition they're using, which can lead to confusing situations โ€” a file that your operating system shows as "24.9 MB" might be reported as exactly "25,000,000 bytes" elsewhere, and whether that fits a "25MB limit" depends on which definition the limit-setter intended. In practice, most upload limits have enough margin that this rarely causes actual failures, but if you're working with a file that's extremely close to a stated limit, understanding that your file manager might be showing a slightly different number than the service's limit checker explains why a file that "looks" like it should fit sometimes gets rejected as too large, or vice versa.

How the Difference Compounds at Larger Sizes

The percentage difference between decimal and binary units is the same at every scale (about 2.4% per unit step, compounding), but the absolute difference becomes much more noticeable as file sizes grow. At the kilobyte level, the difference between 1KB (1000 bytes) and 1KiB (1024 bytes) is just 24 bytes โ€” completely negligible. At the gigabyte level, the difference between 1GB and 1GiB is about 74 million bytes โ€” still small relative to the whole, but now a number large enough to show up as a visible difference in a displayed file size. By the terabyte level, this compounds to roughly a 10% difference, which is substantial enough that it's the main reason storage devices appear to have "less space than advertised" โ€” the space is actually there, it's just being measured and displayed using a different definition than the one used in marketing.

Practical Uses

This is useful when checking whether a file will fit within an upload limit stated in a different unit than your file manager shows, understanding why a downloaded file's size doesn't match what a website listed, or converting between units when comparing storage plans or specifications. If you're trying to reduce a file's actual size rather than just understand the units, our Image Compressor and PDF Compressor can help reduce image and PDF file sizes respectively.

Frequently Asked Questions

Why does my file show a different size than expected?+

This is often due to the decimal vs binary definition difference โ€” what one system calls 1MB (1,000,000 bytes) another might display as approximately 0.95MB using the binary definition (1,048,576 bytes per MiB).

Which definition do operating systems use?+

Windows traditionally displays binary (1024-based) values while using decimal unit labels (KB, MB, GB). macOS more recently switched to decimal (1000-based) values for file size displays.

Can this tool reduce my file's actual size?+

No, this is a unit conversion calculator. To reduce file size, use Image Compressor for images or PDF Compressor for PDFs.

What units does this converter support?+

Bytes, kilobytes, megabytes, gigabytes and terabytes, with both decimal and binary calculations.

Why does a 1TB drive show as less than 1TB on my computer?+

Manufacturers typically use the decimal definition (1TB = 1,000,000,000,000 bytes), while operating systems often display the binary equivalent, showing approximately 931GiB for the same physical capacity.