💾

Data Size Converter

Convert decimal and binary data storage units.

Processed locally in your browser unless the page says otherwise.

Gigabyte (GB)
0.001
UnitConverted value
Byte (B)1,000,000
Kilobyte (KB)1,000
Megabyte (MB)1
Gigabyte (GB)0.001
Terabyte (TB)0.000001
Kibibyte (KiB)976.5625
Mebibyte (MiB)0.953674316406
Gibibyte (GiB)0.000931322575
Tebibyte (TiB)0.000000909495

Unit note

KB/MB/GB use powers of 1000; KiB/MiB/GiB use powers of 1024.

How KB, MB, GB, KiB, and MiB conversion works

This data size converter changes values between bits, bytes, KB, MB, GB, TB, and binary units such as KiB, MiB, and GiB. It is useful for file sizes, drives, memory, network usage, upload limits, and cloud storage estimates.

Data sizes can use decimal or binary standards. Storage and networking often use 1 KB = 1,000 bytes, while memory and operating systems often use 1 KiB = 1,024 bytes.

Formula or logic

  • 1 byte = 8 bits
  • 1 KB = 1,000 bytes
  • 1 KiB = 1,024 bytes
  • 1 MB = 1,000 KB; 1 MiB = 1,024 KiB

Example

A 5 MB file is about 5,000,000 bytes. If an operating system shows the size in MiB, the displayed number may look slightly smaller because the unit standard is different.

Common questions

What is the difference between bit and byte?

1 byte equals 8 bits. Network speed often uses bits, while file size usually uses bytes.

Are KB and KiB the same?

Not exactly. KB is commonly 1,000 bytes, while KiB is 1,024 bytes.

Why does drive capacity look different on my computer?

Manufacturers and operating systems may use different unit standards, and some space may be reserved by the system.

Related tools