Data Size Converter
Convert bits, bytes, kB, and KiB, and distinguish decimal from binary units.
Drive makers use decimal units (GB). Windows and many apps count in binary units (GiB) but still write GB.
Your result
Enter a size, such as 500 GB.
How to use it
- Enter the quantity and choose the unit.
- Read the bits and the other units.
- Compare kB with KiB. They are not the same.
Examples
- 1 kibibyte1 and the unit KiB. 8192 bits, 1024 bytes, 1.024 kilobytes, and 1 kibibyte.
- 1 decimal megabyte1 and the unit MB. 8000000 bits.
- A quantity of zero0. A message asks for a quantity above zero.
Tool details and privacy
kB is a multiple of 1000 bytes. KiB is a multiple of 1024 bytes. A bit is one eighth of a byte.
The input allows three decimal places. The display allows six and trailing zeros are removed.
Options
- Decimal units are powers of 1000 and binary units are powers of 1024. They are not treated as one unit.
Limits
- The quantity allows three decimal places. More than that is rejected.
- A quantity of zero is rejected.
Privacy
The numbers are calculated in your browser and are not sent to any server.
Questions
Does 1 kB equal 1 KiB?
No. 1 KiB is 1.024 kB, 1024 bytes, and 8192 bits.
How many bits are in a byte?
8.
Does it read a file size?
No. You type the number.
Why six decimal places in the display?
So small differences can be seen, and trailing zeros are removed.