Skip to content

File Size Converter

Type a size like 1.5 GB or 700 MiB and see it in every unit, both decimal (SI) and binary (IEC).

Processed locally in your browser

Options
Number + unit: B, KB, MB, GB, TB, KiB, MiB, GiB… (Mb = megabit). Bare numbers use the default unit.0 chars · 0 lines
The result will appear here.

What is File Size Converter?

Storage sizes come in two families. SI units count in powers of 1000 (1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes) and are used by drive makers and network speeds; IEC units count in powers of 1024 (1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes) and match what many operating systems really allocate. That is why a "500 GB" disk shows about 465 GiB.

This converter parses a number with an optional unit (B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB… also bits such as Mb, and the French o/Ko/Mo/Go), then prints bytes, bits and the value in every SI and IEC unit. Calculations use exact BigInt fractions, so even absurdly large numbers keep every digit.

How does it work?

  1. Enter one size per line, such as 1.5 GB, 500 MiB or 2048 (bare numbers use the unit you choose).
  2. Choose the unit for bare numbers if needed.
  3. Read the table of SI and IEC values, plus the best-fit unit for each family.
  4. With several lines you get a comparison table; invalid lines are reported without stopping the rest.

Common use cases

  • Understanding why a drive advertised in GB shows less space in the operating system.
  • Converting an upload limit from MB to bytes for a server configuration.
  • Comparing a bandwidth in megabits per second with a file size in megabytes.
  • Estimating how many MiB a given number of bytes takes when writing docs or quotas.

Examples

Try this input in the tool above:

Input
1.5 GB
Output
1.5 GB = 1.4 GiB

Privacy

File Size Converter runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

The unit "Mb" (megabit) is distinguished from "MB" (megabyte) by letter case; lowercase "mb" is read as megabytes. Displayed decimals are rounded, while the byte count stays exact.

Frequently asked questions

What is the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes; a mebibyte (MiB) is 1,048,576 bytes (1024²). The gap grows with size: about 7% at GB level.

Why does my 1 TB disk show 931 GB?

The maker counts 1 TB = 10¹² bytes, while the operating system reports in binary units, where that is about 931 GiB.

How many bits are in a byte here?

Eight. 1 byte = 8 bits, so 1 MB (SI) = 8,000,000 bits, and a 100 Mb/s link moves 12.5 MB (SI) per second at best.

More tools in File Tools →