Data Converter

Use this calculator

Understand digital storage, byte sizes and the decimal-versus-binary distinction.

What is data?

Digital data is information represented in binary form. A bit (b) is one binary digit; a byte (B) comprises eight bits. Storage sizes are commonly presented using decimal and binary byte units.

Start with bits and bytes

1\, B = 8\, b

B stands for byte and b stands for bit. The case distinguishes two different quantities. The Data converter selects byte-based units.

Eight labeled bits form one byte; the uppercase B symbol remains visible.

B stands for byte and b stands for bit. The case distinguishes two different quantities. The Data converter selects byte-based units.

Read storage prefixes accurately

A decimal prefix advances by powers of 1000. Binary prefixes advance by powers of 1024. These differences become relevant when comparing storage packaging, files and operating-system displays.

Decimal unitBytesBinary unitBytes
KB1000KiB1024
MB1 000 000MiB1 048 576
GB1 000 000 000GiB1 073 741 824
TB1 000 000 000 000——
Both bars use the same byte scale: 1 MiB contains more bytes than 1 MB.

A decimal prefix advances by powers of 1000. Binary prefixes advance by powers of 1024. These differences become relevant when comparing storage packaging, files and operating-system displays.

Match a file-size label to the menu

Convert a displayed storage size

D_{t} = \frac{D_{s}\, c_{s}}{c_{t}}

• Enter the storage quantity in From.

• Choose its unit from B, KB, MB, GB, TB, KiB, MiB or GiB; choose the destination unit in To.

• The result updates automatically. Swap units, additional equivalent results, Save to history, Share and Add to sheet are provided.

Dₛ is the numerical amount in the From unit; Dₜ is the answer in the To unit. cₛ and cₜ are each selected unit’s factor in B.

Example: 1 GiB = 1 073 741 824 B = 1073.741824 MB. The canonical unit in this tool is B.

Why the same file has different numerical sizes

Exactly 1 GB is 1,000,000,000 bytes. Expressing those bytes in GiB gives approximately 0.931323 GiB. A correct comparison matches both the numeral and unit symbol rather than looking only at the printed number.

The conversion presents equivalent byte amounts using explicitly named prefixes.

Exactly 1 GB is 1,000,000,000 bytes. Expressing those bytes in GiB gives approximately 0.931323 GiB. A correct comparison matches both the numeral and unit symbol rather than looking only at the printed number.

Quick answers

What does uppercase B mean?

Byte; 1 B contains 8 b.

Why are MB and MiB different?

MB uses 1 000 000 bytes, whereas MiB uses 1 048 576 bytes.

How do I compare a 1 GB label with GiB?

Select GB in From and GiB in To; the answer is approximately 0.931323 GiB.