All / Calculate

KB, MB, GB, and TB

Convert bytes, KB, MB, GB, TB, and PB, then compare that size with common files.

Decimal is 1000. Binary is 1024. The chart is a log scale so a text file and a movie can sit together.

Convert bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. Decimal uses 1000. Binary uses 1024. The chart is a log scale so a text file and a movie can appear together, and it compares the size with a few common files.

  1. 1Enter an amount and a unit.
  2. 2Choose decimal or binary.
  3. 3Read every unit and the comparison chart.

Decimal uses 1000, which matches most disk labels. Binary uses 1024, which matches a lot of memory math.

Bytes
1.000e+9
KB
1,000,000
MB
1,000
GB
1
TB
0.001
PB
1.000e-6
Your size beside common files. Bars use a log scale so a text file and a movie can share one chart.
  • Your size1,000 MB
  • Short text0.002 MB
  • Photo3 MB
  • Song8 MB
  • HD movie4,000 MB
  • 4K movie20,000 MB

Rate this tool

Questions

Why do the bars look close?
The scale is logarithmic. The numbers beside the bars are the real sizes.
Is a KB here a kibibyte?
Only when Binary 1024 is on. The label still says KB.
Nothing is uploaded. Closing the tab drops the file.
The math runs in the page.

Related