Data Size Converter
Convert bytes, kilobytes, megabytes and gigabytes, decimal and binary.
Inputs
ExampleResult
- Result (GiB)
- 465.661287
- Factor
- 1 GB = 0.931323 GiB
| Unit | Value |
|---|---|
| Bit (bit) | 40,00,00,00,00,000 |
| Byte (B) | 5,00,00,00,00,000 |
| Kilobyte (1,000) (kB) | 50,00,00,000 |
| Megabyte (1,000²) (MB) | 5,00,000 |
| Gigabyte (1,000³) (GB) | 500 |
| Terabyte (1,000⁴) (TB) | 0.5 |
| Kibibyte (1,024) (KiB) | 48,82,81,250 |
| Mebibyte (1,024²) (MiB) | 4,76,837.158203 |
| Gibibyte (1,024³) (GiB) | 465.661287 |
| Tebibyte (1,024⁴) (TiB) | 0.454747 |
About this tool
Convert file and storage sizes. Storage makers use decimal units (1 GB = 1,000³ bytes) while many operating systems use binary units (1 GiB = 1,024³ bytes), which is why a new drive looks smaller than advertised. Both are shown, clearly labelled.
- Enter the value.
- Choose the units to convert from and to.
- Read the result, or see the value in every unit in the table.
Formula
Result = value × (from-unit size in bytes ÷ to-unit size in bytes). Decimal: 1 kB = 1,000 B. Binary: 1 KiB = 1,024 B. 1 byte = 8 bits.
Worked example
A 500 GB drive holds 465.661287 GiB, which is why it may appear as about 465 GB on a computer.
Assumptions and limits
- Bits and bytes differ by a factor of 8; network speeds are usually in bits.
- Values must not be negative.
- Results show up to six decimal places.
Questions
Why does my 1 TB drive show 931 GB?
The drive is 1,000⁴ bytes; your computer counts in 1,024⁴, so it shows 931 GiB but may label it GB.
Is a megabit the same as a megabyte?
No. A megabyte is 8 megabits.
Which should I use?
Use whichever your tool or provider uses, and check the label: kB/MB/GB versus KiB/MiB/GiB.