Data Storage Converter

Decimal kB, MB, GB and TB use powers of 1000. Binary KiB, MiB, GiB and TiB use powers of 1024. One byte is 8 bits.

Bytes (B)
—
kB (1000 B)
—
MB (1000² B)
—
GB (1000³ B)
—
TB (1000⁴ B)
—
KiB (1024 B)
—
MiB (1024² B)
—
GiB (1024³ B)
—
TiB (1024⁴ B)
—
b (B/8)
—

Decimal kB, MB, GB and TB use powers of 1000. Binary KiB, MiB, GiB and TiB use powers of 1024. One byte is 8 bits. Select the input unit. Results are rounded to 12 significant digits; measurement accuracy depends on your inputs.

How data storage conversion works

Decimal kB, MB, GB and TB use powers of 1000. Binary KiB, MiB, GiB and TiB use powers of 1024. One byte is 8 bits.

Choose KiB for 1024 bytes; kB means 1000 bytes.

Select the input unit. Results are rounded to 12 significant digits; measurement accuracy depends on your inputs.

Frequently asked questions

What is the difference between kB and KiB?

Decimal kB, MB, GB and TB use powers of 1000. Binary KiB, MiB, GiB and TiB use powers of 1024. One byte is 8 bits.

How are numbers displayed?

Select the input unit. Results are rounded to 12 significant digits; measurement accuracy depends on your inputs.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Unit = kB (1000 B)
Value = 1
Bytes (B): 1000
kB (1000 B): 1
MB (1000² B): 0.001
GB (1000³ B): 0.000001
2
Unit = MB (1000² B)
Value = 1
Bytes (B): 1000000
kB (1000 B): 1000
MB (1000² B): 1
GB (1000³ B): 0.001
3
Unit = GB (1000³ B)
Value = 1
Bytes (B): 1000000000
kB (1000 B): 1000000
MB (1000² B): 1000
GB (1000³ B): 1
4
Unit = TB (1000⁴ B)
Value = 1
Bytes (B): 1000000000000
kB (1000 B): 1000000000
MB (1000² B): 1000000
GB (1000³ B): 1000
5
Unit = KiB (1024 B)
Value = 1
Bytes (B): 1024
kB (1000 B): 1.024
MB (1000² B): 0.001024
GB (1000³ B): 0.000001024
6
Unit = MiB (1024² B)
Value = 1
Bytes (B): 1048576
kB (1000 B): 1048.576
MB (1000² B): 1.048576
GB (1000³ B): 0.001048576

How we test our calculators →

Also try:

Back to category →