Data Storage Converter
Convert bits, bytes, KB, MB, GB, TB and the binary units KiB, MiB, GiB and TiB, and see why a 1 TB drive shows 931 GiB. A byte is 8 bits. Example: with value 1, …, the result is Gigabytes (10^9 B) to Gibibytes (1024³ B) = 1 GB = 0.931322574615 GiB.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
How do you use the Data Storage Converter?
Enter a size, choose the unit it is in and the unit you want. Decimal units (kB, MB, GB, TB) use powers of 1000 as drive makers do, while binary units (KiB, MiB, GiB, TiB) use powers of 1024 as most operating systems do.
What formula does the Data Storage Converter use?
A byte is 8 bits. Decimal prefixes multiply by 1000: 1 GB = 10⁹ B. Binary prefixes multiply by 1024: 1 GiB = 2³⁰ B = 1,073,741,824 B. The ratio 1 GB ÷ 1 GiB = 0.9313, which is why a drive sold as 1 TB shows about 931 GiB.
Worked example: Value 1, From unit Gigabytes (10^9 B), To unit Gibibytes (1024³ B)
A drive sold as 500 GB holds 500 × 10⁹ bytes, which is 465.66 GiB. A 100 Mbit/s connection moves 12.5 MB per second, since 100 ÷ 8 = 12.5.
With these values the calculator returns Gigabytes (10^9 B) to Gibibytes (1024³ B) = 1 GB = 0.931322574615 GiB; Conversion factor = 1 GB = 0.931322574615 GiB; Reverse factor = 1 GiB = 1.073741824 GB.
When to use the Data Storage Converter
This conversion explains why a new hard drive or SD card shows less space than advertised, helps size cloud storage and backups, and converts network speeds from megabits to megabytes per second. Programmers also use it when estimating memory use and file sizes.
What are the most common mistakes with the Data Storage Converter?
- Treating KB, MB and GB as powers of 1024 when the label means powers of 1000.
- Confusing megabits (Mb) with megabytes (MB); a byte is 8 bits.
- Expecting a 1 TB drive to show 1000 GB in an operating system that reports in GiB.
- Forgetting that file-system overhead also reduces usable space.
What Is the Tested Example for the Default Values?
This example is computed by the same code that powers the calculator above, so you can compare it with your own numbers or a textbook answer.
| Input: Value | 1 |
|---|---|
| Input: From unit | Gigabytes |
| Input: To unit | Gibibytes |
| Gigabytes (10^9 B) to Gibibytes (1024³ B) | 1 GB = 0.931322574615 GiB |
| Conversion factor | 1 GB = 0.931322574615 GiB |
| Reverse factor | 1 GiB = 1.073741824 GB |
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
Why does my 1 TB drive show 931 GB?
The drive maker counts 1 TB as 10¹² bytes, while the operating system reports in binary units: 10¹² ÷ 2⁴⁰ = 0.909 TiB, or about 931 GiB.
How many MB are in a GB?
1000 MB in a GB using decimal units, or 1024 MiB in a GiB using binary units.
How many bytes are in a megabyte?
1,000,000 bytes in a decimal megabyte (MB) and 1,048,576 bytes in a mebibyte (MiB).