Data Storage Converter

Convert between bytes, KB, MB, GB, TB, and PB.

Enter your values

Results

Enter your values and press Calculate.

Why use this calculator

Understanding data storage sizes is important for choosing storage devices, managing cloud storage, and understanding file sizes.

How to use it

Enter a value and select the unit to convert from. All equivalent sizes are displayed.

The formula

Each level is 1024× the previous: 1 KB = 1024 B, 1 MB = 1024 KB, etc.

Worked examples

  • 1 GB

    1,024 MB, 1,048,576 KB, 1,073,741,824 bytes

When people use it

  • Storage device comparison
  • Cloud storage planning
  • File size estimation

Tips

  • Marketing often uses 1000-based (decimal) while computers use 1024-based (binary)
  • 1 TB ≈ 1000 GB in marketing, but 1024 GB in computing

Questions people ask

Why is my 1TB drive only showing 931 GB?
Drive manufacturers use decimal (1 TB = 1,000 GB) while your OS uses binary (1 TB = 1,024 GB). 1,000,000,000,000 bytes / 1,073,741,824 = 931 GiB.