Unit Converter
Data Storage Converter
Convert file sizes with explicit decimal (KB, MB, GB) and binary (KiB, MiB, GiB) storage prefixes.
Quick conversion table
Common values in both directions, calculated with the same definitions as the converter above and shown to up to 10 significant digits.
| Gigabytes (GB, decimal) | Gibibytes (GiB, binary) |
|---|---|
| 1 | 0.9313225746 |
| 2 | 1.862645149 |
| 5 | 4.656612873 |
| 10 | 9.313225746 |
| 20 | 18.62645149 |
| 50 | 46.56612873 |
| 100 | 93.13225746 |
| 250 | 232.8306437 |
| 500 | 465.6612873 |
| 1,000 | 931.3225746 |
| Gibibytes (GiB, binary) | Gigabytes (GB, decimal) |
|---|---|
| 1 | 1.073741824 |
| 2 | 2.147483648 |
| 5 | 5.36870912 |
| 10 | 10.73741824 |
| 20 | 21.47483648 |
| 50 | 53.6870912 |
| 100 | 107.3741824 |
| 250 | 268.435456 |
| 500 | 536.870912 |
| 1,000 | 1,073.741824 |
Data Storage Converter examples
| Input | Expected result |
|---|---|
| 1 kibibyte → bytes | 1,024 B |
| 1 gibibyte → megabytes | 1,073.741824 MB |
| 8 bits → bytes | 1 B |
Supported units & limits
Supports bits, bytes, kB, MB, GB, TB, KiB, MiB, GiB and TiB. Values must be nonnegative. Fractional values are allowed mathematically. Results use floating-point arithmetic and 10 displayed significant digits, so very large byte counts are not guaranteed to preserve individual bytes.
Common mistakes
A lowercase b commonly indicates bits; uppercase B indicates bytes. A decimal GB is smaller than a binary GiB. Storage size is not transfer speed; a download-time calculation also needs a transfer rate. A 1 TB drive holds about 931 GiB, which this converter shows if you convert 1 TB to GiB.
Privacy
Conversions run in your browser. This site does not upload or store the values you enter. We use Google Analytics (through Google Tag Manager) to count page visits, and Microsoft Clarity to see how pages are used, such as clicks and scrolling; both may set cookies, and Clarity is set to mask text on the page. The hosting server may keep standard access logs when you load a page.
Conversion guide
Choose decimal or binary prefixes explicitly
Use kB, MB, GB and TB for powers of 1,000 bytes, and KiB, MiB, GiB and TiB for powers of 1,024. Match the exact unit label in the original system before comparing results. Do not infer that every application displaying GB uses the decimal definition.
Data Storage Converter FAQ
Is one kilobyte 1,000 or 1,024 bytes?
Here, 1 kB is 1,000 bytes and 1 KiB is 1,024 bytes. The explicit binary prefix removes the ambiguity sometimes associated with older KB labels.
Why does a drive show a smaller GiB number than its GB label?
The same byte count produces different numbers: one GB is 1,000,000,000 bytes, while one GiB is 1,073,741,824 bytes. Formatting and reserved space can also affect usable capacity.