Bytes converter
Convert between bits, bytes, KB, MB, GB and TB and see both the 1000-based and the 1024-based answer, so you know which one Windows, your Mac or an upload form means.
Type a number. Every unit updates as you type.
Decimal units — powers of 1000 Binary units — powers of 1024 (Windows labels these KB, MB, GB) BitsAt 100 Mbps this takes about 1 min 20 s.
Why there are two answers to "how many MB in a GB"
Kilo, mega and giga mean a thousand, a million and a billion everywhere in science, and that is how hard-drive makers, phone makers, Apple's macOS and network equipment use them: 1 GB is 1,000,000,000 bytes. But computer memory is built in powers of two, so early software used "kilobyte" for 1,024 bytes because it was close enough, and the habit spread to megabytes (1,048,576 bytes) and gigabytes (1,073,741,824 bytes). Microsoft Windows still reports file and disk sizes that way, while keeping the KB, MB and GB labels.
In 1998 the IEC created separate names for the binary units — kibibyte (KiB), mebibyte (MiB), gibibyte (GiB), tebibyte (TiB) — so that "GB" could go back to meaning one thing. Linux tools and most technical documentation use them; Windows does not. So the honest answer to "convert KB to MB" is: divide by 1,000 if the number came from a drive box, a Mac or a website upload limit, and by 1,024 if it came from Windows Explorer or a RAM specification. This converter shows both, and the switch at the top decides which one you mean when you type KB, MB or GB.
The missing space on a new drive
A "1 TB" drive holds 1,000,000,000,000 bytes, exactly as advertised. Windows divides that by 1,024 three times and shows 931 GB. Nothing is missing; the same quantity is being measured in a slightly bigger unit. The gap grows with each step: about 2.4% at kilobytes, 4.9% at megabytes, 7.4% at gigabytes and 9.1% at terabytes, which is why it is barely noticed on a USB stick and very noticeable on a large drive. Formatting takes a little more for the file system, and a new laptop also reserves space for a recovery partition, but the bulk of the difference is the unit.
The status line under the value box does this sum for whatever you type: enter 2 TB and it tells you Windows will show about 1.82 TB, which it displays as 1,862.65 GB.
Bits are not bytes
Internet speeds are sold in megabits per second (Mbps), with a lowercase b, and a byte is eight bits. A 100 Mbps connection therefore moves at most 12.5 megabytes per second, and in practice somewhat less once network overhead, Wi-Fi and the server at the other end take their share. The download-time box takes your file size and connection speed and gives the best-case time, which is the number to compare against reality: if a download is taking three times as long, something other than your plan is the bottleneck.
Network units are always decimal. One megabit is 1,000,000 bits, never 1,048,576, so there are no "mebibits per second" to worry about.
Typical conversions
1 KB = 1,000 bytes (or 1,024). 1 MB = 1,000 KB = 1,000,000 bytes (or 1,048,576). 1 GB = 1,000 MB = 1,000,000,000 bytes (or 1,073,741,824). 1 TB = 1,000 GB. 500 KB is 0.5 MB in decimal and 0.49 MB in binary, which is why an upload form with a 500 KB limit can reject a file Windows says is "500 KB" — Windows meant 512,000 bytes. 25 MB, the usual email attachment limit, is 25,000,000 bytes to Gmail but shows as 23.8 MB in Windows Explorer.
Results are shown to ten significant digits with trailing zeros removed, so a whole number of bytes appears as a whole number and a fraction of a petabyte is still readable. Everything is calculated in this page as you type; nothing is sent anywhere.
Common questions
How many MB are in a GB?
1,000 MB in decimal units, which is what drive makers, macOS and phone storage use. 1,024 in binary units, which is what Windows uses while still calling them MB and GB. Strictly, the binary ones are MiB and GiB.
How do I convert KB to MB?
Divide by 1,000 for decimal kilobytes, or by 1,024 for the binary ones Windows shows. For example 2,500 KB is 2.5 MB decimal, or about 2.44 MB as Windows reports it.
Why does my 1 TB drive only show 931 GB?
The drive holds 1,000,000,000,000 bytes. Windows measures in units of 1,073,741,824 bytes but labels them GB, which gives 931. The capacity is all there; it is a different unit.
What is the difference between MB and MiB?
A megabyte (MB) is 1,000,000 bytes. A mebibyte (MiB) is 1,048,576 bytes, or 1,024 × 1,024. The MiB name exists so the two can be told apart; Windows uses the MiB value but writes MB.
How many bytes are in a bit?
A bit is one eighth of a byte. To go from bits to bytes, divide by 8; from bytes to bits, multiply by 8.
How long will a download take at my internet speed?
Enter the file size above and your speed in Mbps in the download box. The time shown is the theoretical best; real downloads usually run at 80–90% of the plan speed over a good connection.
Does the converter handle very large or tiny numbers?
Yes. It works from single bits to petabytes and beyond, shows up to ten significant digits, and switches to scientific notation only for values far outside everyday use.