What Is a Data Storage Converter?
A data storage converter translates digital information quantities between units like bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. You run into these conversions constantly: a phone with 128 GB of storage, a 500 MB file download, a 1 Gbps internet plan, a 2 TB external hard drive. The numbers look straightforward until you realize that a 1 TB drive formatted in Windows shows roughly 931 GB of usable space. That gap is not a defect. It is the difference between two measurement standards that share the same labels.
This converter supports both standards so you can match whatever context you are working in. For general file and storage size questions, try our Unit Converter, which also includes a digital storage category.
Binary vs Decimal: Why Your 1 TB Drive Shows 931 GB
There are two ways to count bytes, and the confusion between them is one of the most common sources of tech support frustration.
Decimal (SI, 1000-based): Hard drive manufacturers and network providers use powers of 10. One kilobyte is 1,000 bytes, one megabyte is 1,000,000 bytes, and one terabyte is 1,000,000,000,000 bytes. This is the same prefix logic as kilograms and kilometers. The International Electrotechnical Commission (IEC) and the International System of Units (SI) endorse this standard.
Binary (1024-based): Operating systems like Windows and most file size readouts use powers of 2, because computers address memory in binary. One kilobyte is 1,024 bytes (2 to the 10th), one megabyte is 1,048,576 bytes (2 to the 20th), and one terabyte is 1,099,511,627,776 bytes (2 to the 40th). macOS switched to decimal reporting in 2009, which is why a 1 TB drive shows as 1 TB on a Mac but 931 GB on Windows. Both are correct. They just use different definitions of "GB."
The IEC created distinct names for the binary units to end the ambiguity: kibibyte (KiB), mebibyte (MiB), gibibyte (GiB), tebibyte (TiB). These never caught on in everyday use, so KB, MB, and GB remain ambiguous. This calculator lets you pick the standard so there is no guessing.
What This Calculator Does
The converter handles bits, bytes, and the full kilo through peta range in both binary and decimal standards. Pick a standard, enter a value, choose the source and target units, and the result updates instantly. A swap button reverses the direction, and a full table shows your input in every supported unit at once.
- Inputs: A numeric value, a standard (binary or decimal), source unit, and target unit
- Outputs: Converted result, conversion details, and a table of all units
How the Conversion Works
The calculator first converts the input to bytes, which serves as the base unit, then divides by the target unit's byte factor. For example, converting 5 gigabytes to megabytes in the binary standard: 5 GB times 1,073,741,824 bytes per GB equals 5,368,709,120 bytes. Dividing by 1,048,576 bytes per MB gives 5,120 MB. In the decimal standard, the same 5 GB would be 5,000 MB.
For bit units, the converter applies a factor of 8, since there are 8 bits in a byte. Internet speeds are sold in bits per second (Mbps, Gbps), while file sizes are measured in bytes. A 100 Mbps connection downloads at most 12.5 MB per second, which is a frequent point of confusion. For network bandwidth planning, see our Bandwidth Calculator.
Common Conversion Factors
| Unit | Binary (1024-based) | Decimal (1000-based) |
|---|---|---|
| 1 Kilobyte | 1,024 B | 1,000 B |
| 1 Megabyte | 1,048,576 B | 1,000,000 B |
| 1 Gigabyte | 1,073,741,824 B | 1,000,000,000 B |
| 1 Terabyte | 1,099,511,627,776 B | 1,000,000,000,000 B |
| 1 Petabyte | 1,125,899,906,842,624 B | 1,000,000,000,000,000 B |
How to Use the Calculator
- Choose the standard: binary (1024) for Windows file sizes and RAM, or decimal (1000) for hard drive capacities and network speeds.
- Enter the value you want to convert.
- Select the unit you are converting from.
- Select the unit you are converting to, or click swap to reverse the direction.
- Read the result and the full conversion table below it.
Example Calculations
Example 1: Hard Drive Capacity Discrepancy
A 2 TB external hard drive is advertised using the decimal standard. The buyer wants to know what Windows will report.
- Advertised (decimal): 2 TB = 2,000,000,000,000 bytes
- Windows (binary): 2,000,000,000,000 / 1,073,741,824 = 1,862.65 GB
- Reported: approximately 1,863 GB or 1.82 TB
- Gap: about 137 GB, which is 6.9% less than advertised
Example 2: Internet Speed to Download Time
A user has a 500 Mbps fiber plan and wants to download a 45 GB game. They need the file size in megabits to compare with the speed.
- File size: 45 GB = 45,000 MB (decimal) = 360,000 megabits
- Speed: 500 Mbps
- Theoretical time: 360,000 / 500 = 720 seconds = 12 minutes
- Realistic time: 15 to 18 minutes after overhead and protocol losses
Real-World Scenarios
Cloud Storage Cost Comparison
Dana, a freelance video editor in Portland, stores raw 4K footage that averages 8 GB per minute of video. She has 142 hours of footage from a recent project and needs to compare cloud storage costs. Using the converter, she finds 142 hours times 60 minutes times 8 GB equals 68,160 GB, or about 66.6 TiB in binary terms. One cloud provider charges $0.023 per GB per month (decimal), so her monthly cost would be 68,160 times $0.023, or roughly $1,567. She uses the converter to confirm the provider is quoting in decimal GB, not binary GiB, which would change the bill by about 7%. For projecting storage growth over time, she could pair this with our Compound Interest Calculator logic applied to data growth rates.
Database Capacity Planning
Marcus, a backend engineer at a SaaS startup, is sizing a PostgreSQL database server. The current database is 1.4 TB (as reported by the Linux ext4 filesystem, which uses binary units). He expects 35% annual growth and needs to plan for 3 years out. Using the binary standard, 1.4 TB today is 1,433.6 GiB. Projecting 35% compound growth over 3 years gives 1,433.6 times 1.35 cubed, or about 3,526 GiB, which is 3.44 TiB. He needs a server with at least 4 TB of usable storage to leave headroom. The converter helps him move between the TiB the OS reports and the TB the cloud provider bills, so his budget request matches the procurement quote.
Mobile Data Budget
Priya, a college student on a limited data plan, has a 50 GB monthly cellular allowance. She streams music at 320 kbps (kilobits per second) during her 90-minute daily commute. Using the decimal standard, she converts 320 kbps to megabytes per second: 320 / 8 = 40 kB/s = 0.04 MB/s. Over 90 minutes (5,400 seconds), that is 216 MB per day, or about 6.5 GB per month. That leaves her 43.5 GB for everything else. The converter confirms her mental math and lets her compare the 320 kbps stream against a 128 kbps alternative, which would use only 2.6 GB per month.
Common Mistakes to Avoid
- Mixing bits and bytes: A lowercase b means bit, an uppercase B means byte. 100 Mbps is 12.5 MB/s, not 100 MB/s. This is the single most common error in data conversions, and it leads to wildly wrong download time estimates.
- Assuming KB always means 1024: Hard drive makers use 1,000. Windows uses 1,024. Network speeds use 1,000. RAM uses 1,024. If you do not know which standard a number uses, your conversion could be off by up to 7.4% at the terabyte level and 12.6% at the petabyte level.
- Forgetting filesystem overhead: A formatted drive always holds less than its raw capacity. The filesystem itself (NTFS, ext4, APFS) reserves space for metadata, journals, and block alignment. A 1 TB drive formatted in NTFS loses another 1 to 3% beyond the binary/decimal gap.
- Ignoring decimal vs binary in cloud billing: AWS, Google Cloud, and Azure bill storage in decimal GB. If you size your workload in binary GiB and paste that number into a cost calculator, you will underestimate your bill by about 7%. Always convert to the provider's unit before estimating cost.
Authoritative Research and Resources
- NIST Metric SI Prefixes - The National Institute of Standards and Technology defines the SI prefixes (kilo, mega, giga, tera) as powers of 1,000. This is the authoritative source for the decimal standard used by storage manufacturers and network providers.
- IEC 60027-2 Letter Symbols - The International Electrotechnical Commission standard that introduced the kibibyte, mebibyte, and gibibyte names for binary multiples (powers of 1,024) to resolve the ambiguity with SI prefixes.