How to convert digital storage units
There are two answers to how many bytes are in a megabyte, and both are correct in their own context. Decimal, where a mega means a million, is what SI defines and what drive and network vendors use. Binary, where a mega means 1024 squared, is what operating systems display. Converting without saying which one you mean is how a 500GB drive becomes a support ticket.
This converter makes the base an explicit choice, and it also carries the bit and byte units side by side, so you cannot accidentally confuse a megabit with a megabyte.
- Enter the value you want to convert.
- Pick the source unit and the target unit, watching whether each is a bit or a byte.
- Set the base: decimal (1 KB = 1000 B, SI and drive vendors) or binary (1 KiB = 1024 B, what your OS shows).
- Read the converted value, and the full table of every other unit at the same time.