Calculators & Converters

Data Storage Converter

Translate a storage amount without guessing whether a prefix means 1000 or 1024. See decimal and binary sizes together, inspect fractional bytes, and apply a reserve allowance for capacity planning.

Free online tool

Loading tool…

Compare storage units

B means byte; bit means bit. Decimal prefixes use 1000; binary prefixes use 1024. Fractions are kept.

Capacity planning

Estimate space after your own reserve allowance. Formatting and file-system overhead vary; no automatic overhead is assumed.

Converted amount

1 TB — decimal bytes≈ 931.322575

GiB — binary bytes

1,000decimal GB
931.322575binary GiB

This amount is a whole number of bytes at the available numeric precision.

After your reserve: 838.190317 GiB usable.

Equivalent units

UnitAmount
bit (bit)8.00000000e+12
byte (B)1.00000000e+12
kbit — decimal bits8,000,000,000
kB — decimal bytes1,000,000,000
Mbit — decimal bits8,000,000
MB — decimal bytes1,000,000
Gbit — decimal bits8,000
GB — decimal bytes1,000
Tbit — decimal bits8
TB — decimal bytes1
Pbit — decimal bits0.008
PB — decimal bytes0.001
Kibit — binary bits7,812,500,000
KiB — binary bytes976,562,500
Mibit — binary bits7,629,394.53
MiB — binary bytes953,674.316
Gibit — binary bits7,450.5806
GiB — binary bytes931.322575
Tibit — binary bits7.27595761
TiB — binary bytes0.909494702
Pibit — binary bits0.00710542736
PiB — binary bytes0.00088817842

Displayed values are rounded. CSV uses the available JavaScript numeric precision; it cannot restore precision absent from the input.

Calculations and CSV generation run locally in your browser. No measurement data is uploaded by this tool.

GET STARTED

How to use the Data Storage Converter

  1. 01

    Enter an amount and select its exact unit. Use bit for bits and B for bytes; the capitalization changes the meaning.

  2. 02

    Choose your target unit. The table shows both decimal and binary equivalents, so you can compare a drive label with an operating system readout.

  3. 03

    Optionally enter a reserve percentage. Choose display precision, copy the selected conversion, or download the full unit table as CSV.

Examples

A drive label and a binary readout

A nominal 1 TB is 1,000,000,000,000 bytes, about 931.322575 GiB. The two numbers describe the same byte count before formatting and system allocations.

Memory stated in MiB

512 MiB equals 536.870912 MB. Keep the binary prefix when documenting a memory limit; changing MiB to MB changes the specified quantity.

Small amounts and allocation

Eight bits make one byte. A conversion of one bit to 0.125 B is mathematically useful, but a file system cannot necessarily allocate fractional bytes to a file.

Decimal versus binary prefixes

This converter treats kB, MB, GB, TB, and PB as powers of 1000 bytes. KiB, MiB, GiB, TiB, and PiB use powers of 1024 bytes. It offers the corresponding bit units separately. These explicit labels prevent the historical ambiguity of a bare “KB,” which is not offered as a unit.

Converting through a common byte count

Each amount is first expressed in bytes, then divided by the target unit’s byte factor. For example, multiplying 2 GiB by 1024³ and dividing by 1000³ gives 2.147483648 GB. No compression ratio, file count, or encoding assumption enters that calculation.

Planning usable space

The reserve control applies your percentage directly to the converted byte count. A 10% reserve leaves 90% of the stated capacity. This is a planning allowance you supply; it does not predict a particular file system’s metadata, partition layout, manufacturer recovery area, or operating-system storage.

What to know

  • This is a unit converter, not a disk scanner or a file-system space estimator.
  • Input magnitudes above 1e18 or below 1e-18 are rejected, except zero. Large integer byte counts can lose single-byte precision.
  • Decimal and scientific notation are supported; commas and unit text are not. Calculations use JavaScript floating-point numbers and displayed results are rounded.

Common questions

Why does a 1 TB disk appear smaller?

The same bytes produce a smaller number when divided by a binary unit. Formatting, recovery partitions, and other allocations can reduce available space further; this tool converts units only.

Is a megabyte eight megabits?

Yes, with matching decimal prefixes. One MB is eight Mbit. One MiB is eight Mibit; mixing MB with Mibit also changes the prefix factor.

Can I enter a fraction of a byte?

Decimals are accepted and retained. The tool warns about fractional bytes, but it does not round to a file-system allocation block.

Is the CSV exact for huge sizes?

It preserves the available JavaScript number value. Numbers beyond the safe integer range may lose individual-byte precision, even when a unit factor is exact.

Sources & references