Skip to content

Byte & file size converter

Convert between bytes, KB, MB, GB, TB (decimal) and KiB, MiB, GiB, TiB (binary) with exact arithmetic. Handy for file and disk sizes.

AvailableIn your browserInput: Text

How to use: Byte & file size converter

  1. Type an amount.
  2. Choose its unit (B, KB, MB, GB… or KiB, MiB, GiB…).
  3. Read the equivalent in every unit.

What it accepts and what you get

Input
A number and a unit.
Output
The size in decimal (SI) and binary (IEC) units.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • 1 KB is 1,000 bytes and 1 KiB is 1,024 bytes; operating systems do not all use the same convention.

Frequently asked questions

How many bytes are a KB and a KiB?

1 KB is 1,000 bytes and 1 KiB is 1,024 bytes. The tool shows decimal (SI) and binary (IEC) units at the same time.

Why does my system show a different size?

Because operating systems do not always use the same convention: some count in multiples of 1,000 and others of 1,024.

When to use it

  • When an upload limit is in MB and your file is measured in KB or GB.
  • To understand why a “1 TB” disk shows less space in the system.

Examples

1 MB versus 1 MiB
1 MB is 1,000,000 bytes and 1 MiB is 1,048,576; the tool shows both.
GB to MB
Type the amount, choose its unit and read the equivalent in all the others.

Common mistakes

  • Mixing KB with KiB: the first is 1,000 bytes and the second 1,024.
  • Assuming every system uses the same convention: they do not.