Data Storage Converter
How do I convert data units?
Result
How it is calculated
The tool converts through bytes using binary multiples: 1 byte = 8 bits, 1 KiB = 1,024 B, 1 MiB = 1,024 KiB = 1,048,576 B, 1 GiB = 1,073,741,824 B and 1 TiB = 1,099,511,627,776 B. Your value is multiplied by the factor of its unit to get bytes, then divided by the factor of each target unit, giving all six units at once with two decimals, and more digits below 1.
These binary names (kibi, mebi, gibi, tebi) come from NIST and IEC 80000-13; many operating systems show the same sizes as KB, MB and GB. Drive makers use decimal units, where 1 GB = 1,000,000,000 B, so a drive sold as 500 GB shows less in an operating system that counts in binary.
Worked example
Convert 2 GiB. In bytes this is 2 × 1,073,741,824 = 2,147,483,648 B. Divide by 1,024 for KiB: 2,097,152 KiB, and again for MiB: 2,048 MiB. In bits it is 2,147,483,648 × 8, which the tool shows as 17,179,869,184.00 bit. In tebibytes it is only 0.001953 TiB.
Common mistakes
- Confusing bits and bytes: internet speeds are in megabits per second, file sizes in megabytes, and a megabyte is 8 megabits.
- Dividing by 1,000 instead of 1,024 and wondering why the tool shows other values than a manufacturer: KiB, MiB and GiB are 1,024-based, while kB, MB and GB on a drive label are 1,000-based.
- Expecting a drive sold as 1 TB to show 1 TB in the system; binary counting makes it appear smaller.
Sources
- Prefixes for binary multiples — NIST Reference on Constants, Units, and Uncertainty
About this calculator
This converter moves a data size between bits, bytes, kibibytes (KiB), mebibytes (MiB), gibibytes (GiB) and tebibytes (TiB), using the binary steps where 1 KiB = 1024 bytes (the units NIST and IEC 80000-13 name this way, and the steps Windows uses when it reports file and disk sizes under the labels KB, MB and GB, where macOS and many Linux file managers report decimal instead) rather than the decimal 1000-byte kilobyte used in some marketing contexts. That distinction is exactly why a drive labeled "1 TB" shows up as roughly 931 GB in your file explorer — the manufacturer used decimal units, the OS displays binary ones.
It's used by anyone estimating whether a file, video or backup will fit on a given drive or upload allowance, by developers calculating memory or storage requirements, and by people comparing internet plans or cloud storage tiers quoted in different units. Converting bits to bytes specifically also matters for reading network speeds correctly, since connection speeds are quoted in bits per second while file sizes are quoted in bytes.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
For download times, mind the mismatch: this tool counts in binary steps, but network speeds are quoted in decimal bits per second. One GB here is 8,589,934,592 bit, and at 100 Mbit/s, meaning 100,000,000 bit per second, that takes about 85.9 s with no overhead. Real transfers are slower. Are you sizing a download, a backup or a drive? Tell us what you are converting.