In short
Data sizes use two systems. Decimal prefixes follow the SI: a gigabyte (GB) is 10⁹ bytes. Binary prefixes from IEC 80000-13 use powers of 2: a gibibyte (GiB) is 2³⁰ = 1,073,741,824 bytes. Drive makers use GB and TB, while many operating systems show binary sizes, so a 1 TB drive appears as about 931 GiB.
How it works
decimal (SI): 1 kB = 10³ B 1 MB = 10⁶ B 1 GB = 10⁹ B 1 TB = 10¹² B binary (IEC): 1 KiB = 2¹⁰ B 1 MiB = 2²⁰ B 1 GiB = 2³⁰ B 1 TiB = 2⁴⁰ B 1 byte = 8 bits
NIST’s page on binary prefixes explains the kibi, mebi, gibi and tebi units adopted so that kilo, mega and giga can keep their decimal SI meaning. The gap grows with size: a kibibyte is 2.4% larger than a kilobyte, a tebibyte 10% larger than a terabyte.
Network speeds are usually given in bits per second, storage in bytes. Divide bits by 8 to get bytes.
Worked examples
Why a 1 TB drive shows less space
1 TB is 10¹² bytes, and 10¹² ÷ 2⁴⁰ = 0.909495 TiB, about 931 GiB. No space is missing; it is the same number of bytes counted in larger units.
One GiB in bytes
2³⁰ = 1,073,741,824 bytes, 7.4% more than a decimal gigabyte’s 1,000,000,000 bytes.
A 100 Mbit/s connection in megabytes per second
100 megabits ÷ 8 bits per byte = 12.5 MB each second, so a 1 GB file takes at least 80 seconds before protocol overhead.
Using this calculator well
- Watch the b and B. Mb (megabits) and MB (megabytes) differ by a factor of 8.
- Network speeds are decimal. 1 Gbit/s is 10⁹ bits per second, the SI meaning of giga.
- Formatted capacity is lower again. File systems reserve some space, so usable space is a little less than the converted figure.
- KB versus kB: the SI symbol for 1,000 bytes is kB; KiB is 1,024 bytes.
Frequently asked questions
What is the difference between GB and GiB?
A gigabyte (GB) is 1,000,000,000 bytes, using the decimal SI prefix. A gibibyte (GiB) is 1,073,741,824 bytes, using the binary prefix 2³⁰. One GB is 0.9313 GiB, which is why storage looks smaller when an operating system shows binary units.
How many GB are in a TB?
In decimal units, exactly 1,000 GB are in 1 TB. In binary units, 1,024 GiB make 1 TiB. Mixing the two systems gives the familiar result that a 1 TB drive shows as about 931 GiB.
How do I convert megabits to megabytes?
Divide by 8, because a byte has 8 bits. A 50 Mbit/s download speed moves at most 6.25 megabytes per second, before network overhead. To go from megabytes to megabits, multiply by 8.
Why does my 256 GB phone show less storage?
256 GB is 256 × 10⁹ bytes, about 238.4 GiB, and the operating system and preinstalled apps also use part of it. The space is not lost; it is measured in a larger unit and partly occupied.
Sources and methodology
- NIST Guide to the SI (Special Publication 811), Appendix B.8: Factors for Units Listed Alphabetically, National Institute of Standards and Technology, conversion factors used as test references (accessed November 24, 2026)
- The International System of Units (SI Brochure), 9th edition, Bureau International des Poids et Mesures (BIPM), SI base units and decimal prefixes (accessed November 24, 2026)
- Specifications, Tolerances, and Other Technical Requirements for Weighing and Measuring Devices (Handbook 44), Appendix C, National Institute of Standards and Technology, US customary units: 1 yd = 0.9144 m, 1 lb = 0.453 592 37 kg, 1 gal = 231 in³ (accessed November 24, 2026)
- Prefixes for binary multiples, National Institute of Standards and Technology, kibi (2¹⁰), mebi (2²⁰), gibi (2³⁰), tebi (2⁴⁰); IEC 80000-13 (accessed November 24, 2026)
Rounding: Factors are exact definitions, so results are exact apart from binary floating-point rounding. Values are kept to 12 significant digits and shown to 10, switching to scientific notation below 0.000001 or above 10¹⁵.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/data-converter" title="Data Storage Converter" width="100%" height="760" style="border:0" loading="lazy"></iframe>