Data Storage Converter
Free data storage converter: GB to MB, GB to GiB, TB to GB, bits to bytes. Decimal (kB, MB, GB) and binary (KiB, MiB, GiB) units, explained and exact.
How to use Data Storage Converter
- 1Enter a size, for example 5 or 256.
- 2Choose the From and To units; GB and GiB are different, so pick the one your source uses.
- 3Read the result or open All units to see decimal, binary and bit sizes together.
What makes it better
- Bits, bytes, decimal (kB to PB) and binary (KiB to PiB) units
- Explains the SI (1,000) versus IEC (1,024) difference
- Kilobit, megabit and gigabit for network speeds
- Exact integer factors, so no hidden floating-point error
About Data Storage Converter
Data Storage Converter changes sizes between bits, bytes, decimal units (kB, MB, GB, TB, PB) and binary units (KiB, MiB, GiB, TiB, PiB), plus kilobit, megabit and gigabit. Decimal units use powers of 1,000 and binary units use powers of 1,024, which is why a drive sold as 1 TB shows about 931 GiB in many operating systems. All factors are exact integers.
Common uses
- Find out why a new 1 TB drive shows less than 1 TB in Windows or on a phone.
- Convert a download size in GB into MB or GiB when planning a data plan.
- Turn an internet speed in megabits per second into megabytes per second.
- Compare RAM or cloud storage sizes quoted in different prefixes.
Example
Input
5
Result
5 GB ≈ 4.656612873 GiB
Good to know
- kB, MB, GB, TB and PB are decimal (powers of 1,000), as used by drive makers and networks. KiB, MiB, GiB, TiB and PiB are binary (powers of 1,024), as used for memory.
- Some software, including parts of Windows, writes GB when it really counts GiB. The page cannot know which your tool means; choose accordingly.
- Kilobit, megabit and gigabit here are decimal (1 Mbit = 1,000,000 bits = 125,000 bytes) and are not the same as kilobyte, megabyte and gigabyte.
Data Storage Converter FAQ
What is the difference between GB and GiB?
A gigabyte (GB) is 1,000,000,000 bytes, while a gibibyte (GiB) is 1,073,741,824 bytes (2 to the power of 30). GiB is about 7.4% bigger, which explains the gap between a drive's label and the size your computer reports.
Why does my 1 TB drive show only 931 GB?
The maker counts 1 TB as 10¹² bytes, while the operating system divides by 2³⁰ and labels the result GB. 10¹² bytes is 931.32 GiB, so nothing is missing; two different units share the same name.
How many MB are in a GB?
In decimal units, 1 GB is 1,000 MB. In binary units, 1 GiB is 1,024 MiB. This page lets you pick either family, and shows both in the All units table.
How many bits are in a byte?
A byte holds exactly 8 bits. So 1 MB is 8,000,000 bits (8 Mbit), and an internet connection of 100 Mbit/s moves at most 12.5 MB per second.
Is a megabit the same as a megabyte?
No. A megabit (Mbit) is one eighth of a megabyte (MB). Internet providers quote speeds in bits, while downloads and files are measured in bytes, so a 100 Mbit/s line downloads about 12.5 MB each second.