Data Storage Converter

Convert data storage between decimal units (KB, MB, GB) and binary units (KiB, MiB, GiB). The difference explains why a drive advertised as 1 TB shows less usable space.

Conversions • Decimal & binary • Storage sizes • Updated November 18, 2026 • Reviewed by the GlobalCalcly editorial team
Unit conversion Choose units and enter a value
From and to
Factors use exact international definitions, so results are not rounded by the converter.
Converted value
—

Enter a value to convert.

Conversion rate —
Reverse rate —
Category Data storage
Formula —

Decimal and binary units

There are two parallel systems for data storage. Decimal units use powers of 1,000 and are common in marketing and networking. Binary units use powers of 1,024 and match how many operating systems report file sizes and memory.

DecimalBytesBinaryBytes
1 KB1,0001 KiB1,024
1 MB1,000,0001 MiB1,048,576
1 GB1,000,000,0001 GiB1,073,741,824
1 TB1,000,000,000,0001 TiB1,099,511,627,776

The gap grows with size: 1 GiB is about 7.4% larger than 1 GB, and 1 TiB is about 10% larger than 1 TB.

Why a 1 TB drive shows less space

Drive manufacturers usually use decimal units, so a 1 TB drive contains 1,000,000,000,000 bytes. Some operating systems report binary units but label them as GB or TB, so the same drive appears as about 931 GB. The capacity is the same; only the unit convention differs.

How to convert data storage

Choose the matching unit system. Decimal units use factors of 1,000; binary units use factors of 1,024.

result = value × (factorfrom ÷ factorto)

For example, to convert 500 MB to MiB:

500 × (1,000,000 ÷ 1,048,576) = 476.84 MiB

Worked examples

  • 1 GB to MiB: 1,000,000,000 ÷ 1,048,576 = 953.67 MiB.
  • 2 TiB to TB: 2 × 1,099,511,627,776 ÷ 1,000,000,000,000 = 2.199 TB.
  • 128 GB to GiB: 128 × 1,000,000,000 ÷ 1,073,741,824 = 119.21 GiB.

For networking, speeds are usually in decimal bits per second, so 100 Mbps is 100,000,000 bits per second, not 100 × 1,024² bits.

What changes the number most

The base you divide by dominates everything else. A file of 4,000,000,000 bytes is 4 GB in decimal but 3.73 GiB in binary, a 7.4% difference from an unchanged byte count. Across a 4 TB array the two readings differ by about 362 GB, more than many single drives hold.

Usable capacity is also reduced by partitioning, file-system metadata and reserved blocks. A 2 TB drive formatted for a desktop system reports about 1.82 TiB, and a small slice of that is held back for the file table. That overhead is a few percent, so it is not the main reason the decimal and binary readings disagree.

Common mistakes to avoid

  • Mixing bits and bytes in throughput. A 100 Mbps link moves 100,000,000 bits per second, which is 12.5 MB/s. Copying 10 GB at that rate takes about 800 seconds, over 13 minutes, not 100 seconds.
  • Applying 1,024 to decimal units. One KB is 1,000 bytes. Using 1,024 inflates a kilobyte by 2.4%, and the error compounds with every step up.
  • Comparing a decimal and a binary figure by eye. 500 GB is 465.66 GiB, a gap of 34.3 GiB, enough to decide whether a backup fits.
  • Planning backups from the bare drive rating. Snapshots, parity and metadata consume space before any user file is written.

How to check the result

Reduce both sides to bytes. Converting 2 TB to GiB means writing 2,000,000,000,000 bytes and dividing by 1,073,741,824, which gives 1,862.65 GiB. Multiply back by the same factor to recover the byte count. A binary value is always smaller than the decimal value for the same number of bytes, and the gap widens at each larger unit, so an answer that grows when you switch to GiB signals an inverted division.

Round numbers make the check easy: a 256 GB drive reports about 238 GiB, and a 512 GB drive about 477 GiB. Both are the same physical capacity described in different bases.

Limits you should know

Capacity is only one number on a storage label, and the converter speaks to that number alone. Three others decide whether a device suits the job.

Rated speed is sequential, not typical. A card marked 100 MB/s reaches that figure on large sequential writes. Small files, many folders and random access can run at a fraction of it, so a 64 GB card filled at an average 25 MB/s takes about 43 minutes, not the 11 the peak rate suggests.

Speed classes set a floor. A V30 card guarantees at least 30 MB/s of sustained write, which is why it suits 4K video; a V10 card guarantees 10 MB/s. The class is a minimum, so two V30 cards can differ widely in practice.

Endurance is separate from size. SSDs carry a terabytes-written rating, often 0.3–0.6 drive writes per day for five years. A 1 TB drive rated at 600 TBW can absorb 600 full-drive writes before its warranty limit, not an unlimited number.

Cloud storage adds billing rules: uploads may be capped by file size, deleted files can linger in trash and still count, and some providers bill the peak daily total rather than the latest figure. Convert the plan size to the unit your backup tool reports before deciding it is large enough. None of these figures change the byte count; they change what the byte count is worth.

Frequently asked questions

What is the difference between KB and KiB?

A kilobyte (KB) is 1,000 bytes under the decimal SI system, while a kibibyte (KiB) is 1,024 bytes. Drive makers use decimal units, while many operating systems report binary units, which explains the apparent shortfall.

Why does my 1 TB drive show 931 GB?

The drive really holds 1,000,000,000,000 bytes. Windows divides that by 1,024 three times but labels the answer GB, giving about 931 GiB. The capacity is unchanged, only the unit label is loose. Linux tools often report the same drive as 1 TB.

Is MB the same as MiB?

No. A megabyte is 1,000,000 bytes, and a mebibyte is 1,048,576 bytes, about 4.9 percent larger. The gap compounds as units grow, reaching roughly 10 percent by the terabyte level. That gap can fit several extra raw photos at camera file sizes.

Are data transfer speeds in bits or bytes?

Most network speeds are quoted in bits per second, such as Mbps, while file sizes use bytes. Divide by 8 to compare them, so a 100 Mbps link moves at most 12.5 MB per second.

Which unit should I use?

Use decimal units when shopping for drives, comparing broadband plans or reading manufacturer specs. Use binary units when matching numbers shown inside Windows or macOS file managers, so your estimates agree with what you see.

Sources & methodology

Results are estimates for general information. For medical, legal or financial decisions, confirm with a qualified professional.