Data Storage Converter
Convert bytes, KB, MB, GB and TB against KiB, MiB, GiB and TiB with the IEEE 1541 definitions, and see exactly why a 1 TB drive shows 931 GB.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Data Storage Converter?
You buy a 1 TB drive, plug it in, and the operating system reports 931 GB. Nothing was taken from you: the manufacturer counted in decimal units (1 TB = 10¹² bytes) and the OS counted the same bytes in binary units (1 TiB = 2⁴⁰ bytes) while printing the old decimal label. This converter takes any storage amount and shows it in bits, bytes, KB, MB, GB and TB alongside KiB, MiB, GiB and TiB, so the two counting systems sit side by side.
Select a target unit and the steps show the definition doing the work: 1 KB = 1,000 bytes and 1 KiB = 1,024 bytes, as IEEE 1541 and ISO/IEC 80000-13 standardized, with each larger prefix multiplying by 1,000 or 1,024 again. The 2.4% gap at the kilobyte level compounds to 7.4% at the terabyte, which is exactly the missing 69 GB on that drive.
The conversion is computed in your browser and no figure you enter is uploaded. Under the result, the report bar exports the whole table as CSV or PDF, and a share link restores your exact input for whoever opens it.
- One size shown in bits, bytes, KB, MB, GB, TB, KiB, MiB, GiB and TiB together
- Worked steps for any chosen unit with the 1,000 or 1,024 chain explicit
- IEEE 1541 / ISO 80000-13 definitions: KB = 1,000 B, KiB = 1,024 B
- Presets for common drive and SSD sizes, including the 1 TB case
- CSV and PDF export from the report bar, with a shareable input link
Updated
How to use the Data Storage Converter
- Type the amount of data, for example 1.
- Choose its unit, say gigabytes. The table immediately lists the value in bits, bytes, KB, MB, TB, KiB, MiB, GiB and TiB.
- Click the unit you want explained to see the steps, with the 1,000-based or 1,024-based chain written out.
- The preset values cover a 1 TB drive, 512 GB and 256 GB SSDs, and half a gigabyte.
- Export the table as CSV or PDF via the report bar, or share the link that reopens your conversion.
Worked examples
The 1 TB drive that shows 931 GB
Input
1 TB
Output
931.32 GiB
1 TB is 10¹² bytes. Divided by 1,073,741,824 bytes per GiB, that is 931.32 GiB, or 0.9095 TiB. Windows divides by binary units but keeps the GB label, hence the familiar 931 GB readout.
A 500 GB SSD in binary units
Input
500 GB
Output
465.66 GiB
500 × 10⁹ bytes over 2³⁰ bytes per GiB gives 465.66 GiB. Formatting overhead comes on top of this; the unit mismatch alone accounts for the first 34 GB people think they lost.
16 GiB of RAM in decimal gigabytes
Input
16 GiB
Output
17.18 GB
Memory is built in powers of two, so a 16 GB module truly holds 16 × 2³⁰ = 17,179,869,184 bytes, which is 17.18 decimal GB. RAM is the one case where the marketing number is the binary one.
One gigabyte in bits
Input
1 GB
Output
8,000,000,000 bits
A byte is 8 bits, so 10⁹ bytes is 8 × 10⁹ bits. This is the bridge to network speeds: at 100 Mbit/s, that gigabyte takes 80 seconds to move, best case.
Background and insight
Early computing used kilobyte loosely for 1,024 bytes because memory sizes fall naturally on powers of two. Storage vendors, meanwhile, used the SI meaning of kilo, 1,000, which is also what network engineers had always used for bits per second. The same word meant two different sizes depending on who said it, and lawsuits over hard drive capacity followed in the early 2000s.
The fix was new names. The IEC introduced binary prefixes in 1998 and IEEE 1541, along with ISO/IEC 80000-13, standardized them: kibi (Ki) for 1,024, mebi (Mi) for 1,048,576, gibi (Gi) for 1,073,741,824 and tebi (Ti) for 1,099,511,627,776. Under these standards KB, MB and GB are strictly decimal. Linux tools and macOS (since 2009) largely follow this; Windows Explorer still divides by powers of 1,024 and prints GB, which is where the 931 figure on a 1 TB drive comes from.
Both systems describe the same bytes. RAM is the one place binary sizes are physically real: address lines double capacity, so a memory module advertised as 16 GB actually holds 16 GiB, 17,179,869,184 bytes. Drives, SSDs and file download sizes are decimal by industry practice, and file transfer speeds are usually decimal bits per second, a third convention again.
Common use cases
Checking drive capacity
Confirm that a new disk or SSD reports the right size once the GB versus GiB labeling is accounted for.
Capacity planning
Convert between the decimal units in vendor quotes and the binary units in OS and database tooling.
Download and transfer estimates
Turn file sizes in bytes into bits to reason about transfer times on a connection rated in Mbit/s.
Spec writing and reviews
Quote storage figures in unambiguous units (GiB where binary is meant) in docs, tickets and benchmarks.
Tips and limitations
- When a storage number looks 7% off at the TB scale, suspect a GB/GiB mix-up before anything else; the gap is 2.4% per prefix step and compounds.
- Write GiB, MiB or KiB whenever you mean the 1,024-based size. The explicit suffix is the only spelling that cannot be misread.
- Network speeds are bits per second, storage is bytes: divide a Mbit/s rating by 8 before comparing it with a MB/s copy speed.
- A drive also loses usable space to file system structures after formatting; that loss is real and separate from the unit difference, which is pure labeling.
- In Windows PowerShell and many programming languages, the constant 1GB historically means 2³⁰; check what a script means before trusting its output.
Sources and further reading
- IEEE 1541-2002, Wikipedia. The standard separating decimal KB from binary KiB
- Prefixes for binary multiples, National Institute of Standards and Technology. NIST reference page for kibi, mebi, gibi and tebi
- Binary prefix, Wikipedia. History of the 1,000 versus 1,024 confusion and the IEC prefixes
Frequently asked questions
Why does a 1 TB drive show up as 931 GB?
The drive really holds 10¹² bytes, the decimal terabyte the manufacturer states. Windows divides that count by 1,073,741,824 (2³⁰) and labels the result GB, so it prints 931. In standard terms the drive is 1 TB and also 931.32 GiB; both describe the same bytes.
Is a kilobyte 1,000 or 1,024 bytes?
Under IEEE 1541 and ISO/IEC 80000-13, a kilobyte (KB) is 1,000 bytes and a kibibyte (KiB) is 1,024 bytes. The older habit of calling 1,024 bytes a KB survives in some software, which is why the explicit KiB spelling exists.
How many megabytes are in a gigabyte?
1,000 MB in a GB, since both are decimal prefixes. In the binary family it is 1,024 MiB in a GiB. Mixing the families is where the familiar 1,024 MB per GB folklore comes from.
What is a mebibyte?
1,048,576 bytes, 2²⁰. It is the binary counterpart of the megabyte (10⁶ bytes) and about 4.9% larger. A classic 650 MB CD, for instance, holds about 619.9 MiB.
Why is RAM measured in powers of two?
Memory capacity is set by address lines, and each extra line doubles the addressable cells, so real sizes land on 2³⁰, 2³¹ and so on. A module sold as 16 GB holds exactly 16 GiB, 17,179,869,184 bytes, which is 17.18 decimal GB.
How many bits are in a byte?
Eight, by universal modern convention (standardized as the octet). That is why a 1 GB file is 8 × 10⁹ bits, and why a 1 Gbit/s network link moves at most 125 decimal MB per second.
Is there an in-depth guide to the Data Storage Converter?
Yes. “Unit Conversion Factors: Exact Definitions, Gallons and Temperature Offsets” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.