Bytes converter
Convert storage sizes between bytes, kilobytes, megabytes, gigabytes and terabytes.
Try it
Inputs
Result
The result appears here as you type.
About Bytes converter
A bytes converter changes a storage size from one unit to another. Enter a value and choose its unit, from bytes up to terabytes, and the tool shows the equivalent in other units. It is useful when a drive is labelled in gigabytes but your computer reports gibibytes, when you are checking the size of a download or when you are planning storage for photos and video.
Storage units come in two families. Decimal units use powers of 1,000, which is how drive manufacturers label their products. Binary units use powers of 1,024, which is how many operating systems report the size of files and memory. The difference is roughly 7 percent at the gigabyte level and grows with larger units.
How to use Bytes converter
- Enter the size you have, such as 2.5.
- Choose its unit: bytes, kilobytes, megabytes, gigabytes or terabytes.
- Read the size in bytes using the decimal and the binary definitions.
- Read the megabyte figure for quick comparisons with file sizes.
Decimal and binary definitions
In decimal, one kilobyte is 1,000 bytes, one megabyte is one million bytes and one gigabyte is one billion bytes. Drive makers use these figures, so a drive sold as 500 gigabytes holds 500 billion bytes before formatting.
In binary, the same prefixes mean 1,024 times the smaller unit. Operating systems often show the binary figure, so a 500 gigabyte drive may appear as about 465 gigabytes. The drive is not smaller; the unit is different. The IEC names kibibyte, mebibyte and gibibyte were introduced to make this clear.
Planning storage
A rough guide helps when you plan. A high-quality photo may take 3 to 5 megabytes, an hour of standard video can take several gigabytes, and a typical app may need a few hundred megabytes. Multiply the typical size by the number of items and add a margin of at least 20 percent.
Backups and cloud sync use extra space for versions and deleted files. Allow for that when you estimate how much storage a plan needs.
Network speeds are usually quoted in bits per second, while file sizes are quoted in bytes. A connection of 100 megabits per second moves about 12.5 megabytes per second in theory. Divide the bit figure by eight to convert, and allow for overhead, which typically cuts the real rate further.
Memory and storage figures in software documentation can use either system, so note which one the product uses. The gap between decimal and binary is small for kilobytes but grows to around 10 percent at the terabyte level, which matters for capacity planning.
Frequently asked questions
Why does my new drive look smaller than advertised?
The advertised size uses decimal units, while the operating system reports binary units. The drive holds the full stated capacity.
Should I use kilobytes or kibibytes?
Use decimal for drive labels and network speeds that quote megabits, and binary when a system shows file sizes or memory in powers of 1,024.
Can the converter handle very large sizes?
It handles values in the units shown. Very large numbers may show rounding in the last digits.
Related tools
Tools that pair well with this one.