🌐 EN

💾 File Size Converter

Convert a file-size number between bytes and binary-sized units.

Byte (B)—
Kilobyte (KB)—
Megabyte (MB)—
Gigabyte (GB)—
Terabyte (TB)—
Petabyte (PB)—

Reference Information

• 1 KB = 1,024 Bytes
• 1 MB = 1,024 KB = 1,048,576 Bytes
• 1 GB = 1,024 MB = 1,073,741,824 Bytes
• 1 TB = 1,024 GB
• 1 PB = 1,024 TB

※ Computers calculate using 1024 as the base (binary).
※ Storage device manufacturers may use 1000 as the base (decimal).
※ This calculator uses the 1024 base (binary).

Inputs and checks

  • Enter a finite, nonnegative number; the initial value is 1.
  • Choose Bytes, KiB, MiB, GiB, TiB, or PiB; the initial unit is GiB.
  • Edit the value or unit for an immediate update, or press Convert.
  • Bytes through GiB show 2 decimal places, TiB 6, and PiB 9.

Reading the result

  • Each step between units is 1024, not 1000.
  • A displayed 0.00 in a large unit can mean a small positive amount rounded down.
  • This tool converts size figures, not actual files or transfer speeds; very large values can lose numerical precision.

Examples

One GiB in other units

Input
Value: 1; unit: GiB
Result
1,073,741,824.00 Bytes; 1,048,576.00 KiB; 1,024.00 MiB; 1.00 GiB; 0.000977 TiB; 0.000000954 PiB
How to check it
1 GiB contains 1024 MiB and 1024³ bytes; smaller TiB and PiB values are rounded to the shown places.

1024 bytes in larger units

Input
Value: 1024; unit: Bytes
Result
1,024.00 Bytes; 1.00 KiB; 0.00 MiB; 0.00 GiB; 0.000000 TiB; 0.000000000 PiB
How to check it
1024 bytes equals 1 KiB; larger-unit displays round very small values to zero.

Frequently asked questions

Is one KiB 1000 bytes?
No. One KiB is 1024 bytes here.
Why does MiB show 0.00 for 1024 bytes?
It is a nonzero amount rounded to two decimal places.
Can I upload a file to measure it?
No. Enter a size number instead.