Data Storage Converter
Convert bits and bytes between decimal storage units through TB and binary units through TiB. The converter uses eight bits per byte, distinguishes powers of 1000 from powers of 1024, and reports the multiplication factor for the selected pair.
By Dr. Hassan Khames EliwaLast updated
Result
- Bits
- 8,000,000,000,000 bit
- Bytes
- 1,000,000,000,000 B
- Conversion factorMultiply the input by this factor. Decimal prefixes use 1000; binary prefixes use 1024.
- 0.9094947018
How it works
Begin with bits and bytes
A bit is a binary digit. A byte contains eight bits in this converter, so one byte becomes eight bits and one bit becomes 0.125 bytes. The form uses bit for bits and uppercase B for bytes to avoid relying on a tiny capitalization difference in an ambiguous abbreviation.
Every supported unit has an explicit factor in bits. Conversion first multiplies the input by the source factor, then divides by the destination factor. This common base prevents a special-case formula for every possible unit pair and makes reverse conversions use the same definitions.
Decimal prefixes describe powers of 1000
The decimal sequence is B, kB, MB, GB, and TB. One kB is 1000 bytes, one MB is 1,000,000 bytes, one GB is 1,000,000,000 bytes, and one TB is 1,000,000,000,000 bytes. These prefixes are frequently used for storage-device capacity and network-related quantities, although a product’s documentation remains the authority for its particular labeling.
Binary prefixes describe powers of 1024
The binary sequence is B, KiB, MiB, GiB, and TiB. One KiB is 1024 bytes; one MiB is 1,048,576 bytes; one GiB is 1,073,741,824 bytes; and one TiB is 1,099,511,627,776 bytes. The i distinguishes these standardized binary prefixes from their decimal counterparts.
A decimal terabyte and a binary tebibyte therefore describe different byte counts. A display using binary arithmetic but labeling its number with a decimal abbreviation can make a drive appear to have lost capacity. Conversion explains the unit difference, but filesystem metadata, reserved partitions, formatting, compression, and actual usable capacity are separate questions.
Bounded numerical output
Amounts may range from zero through 1e15 and may include fractional units. Invalid selections, negative amounts, blank input, and nonfinite numbers are rejected. The factors and bounds keep arithmetic finite. This is a floating-point converter, not an arbitrary-precision inventory ledger; very large integer byte counts may no longer preserve every last byte.
Ordinary results display up to ten decimal places. Very small nonzero results and very large results use scientific notation so a nonzero conversion is not misleadingly shown as zero. Rounded forward and reverse displays may differ in their last printed digits even though the underlying factors are consistent.
Worked example
Compare one terabyte with one tebibyte
Choose amount 1, source TB, and destination TiB. One TB contains 1,000,000,000,000 bytes or 8,000,000,000,000 bits. Divide those bytes by 1,099,511,627,776 bytes per TiB to obtain the displayed 0.9094947018 TiB.
The conversion factor is also 0.9094947018 because the input amount is one. In the reverse direction, 1 TiB becomes 1.0995116278 TB, while the exact byte total is 1,099,511,627,776 B. The differing headline numbers do not indicate missing data: the unit sizes differ.
For a smaller exact check, 1024 B converts to 1 KiB and 1.024 kB. A single bit converts to 0.125 B. These examples isolate the two easy mistakes: confusing bytes with bits and confusing a decimal prefix with a binary prefix.
Expert tips
Common mistakes
- Do not treat MB and MiB as interchangeable. Their relative difference grows as the prefix power increases, so a rough kilobyte shortcut becomes less useful at terabyte scale.
- Do not divide by eight when converting bytes to bits. A byte contains eight bits, so byte-to-bit conversion multiplies and bit-to-byte conversion divides.
- Do not infer the number of files a device can hold from nominal capacity alone. File size distribution, allocation units, metadata, and reserved space can materially change the usable total.
Frequently asked questions
Does KB mean the same as KiB?
Not here. The selector explicitly uses kB for 1000 bytes and KiB for 1024 bytes. Avoid ambiguous KB labels when exchanging figures with another person or system.
Can I convert fractions of a byte?
Yes. Mathematical conversions may yield fractional bytes, particularly from bits. That does not mean every storage device can allocate a fractional byte to a file.
Are transfer speeds supported?
No. A quantity such as GB is not a rate such as Gb/s. Convert the data quantity and speed to compatible units before applying a separate duration calculation.
Why is one TB less than one TiB?
A TiB contains more bytes than a TB. Expressing the same decimal-terabyte quantity using the larger tebibyte unit therefore produces a number below one.
Is the conversion exact?
The unit definitions are exact, but browser arithmetic and printed decimal representations are finite precision. For exact accounting beyond safe integer sizes, use a dedicated arbitrary-precision workflow.
Can I compare cloud billing quantities?
You can reconcile the unit factors, but check the provider’s definitions, rounding increments, included allowances, and billing period. Unit conversion alone does not calculate a complete storage bill.
Related calculators
Related guides
MathStandard deviation without the jargonThe average tells you the centre. Standard deviation helps describe the spread, provided you know what the data represents.14 November 2026 · 7 min read
MathPercentages people get wrong: change, difference and pointsThe denominator determines the answer. Learn to distinguish percentage change, symmetric difference and percentage-point movements.14 November 2026 · 7 min readSources and standards
About the author
Dr. Hassan Khames Eliwa holds a PhD in Construction & Built Environment and has more than 20 years of international project controls experience. He is Director of Eliwa Project Controls Limited in Auckland and founder of PMMilestone.org and PMMilestone.com.
Buy me a coffee