Converters
Data Size Converter: Bytes, KB, MB, GB and TB
Convert bits, bytes, KB, MB, GB, TB and PB with 1 KB = 1024 or 1000 bytes, plus KiB, MiB and GiB. See why a 1 TB drive shows 931 GB and what 100 Mbit is in MB.
How to use Data Size Converter: Bytes, KB, MB, GB and TB
Enter a size, pick From and To, and choose whether KB, MB and GB mean 1024 (binary) or 1000 (decimal) bytes. The result updates as you type, and the table lists the value in bits, bytes and every prefix.
- Enter the sizeType a number such as 1 for 1 GB or 2500000 for a size in bytes.
- Choose the unitsPick bits, kbit, Mbit, Gbit, bytes, KB to PB, or KiB to PiB, which always use 1024.
- Set what KB meansBinary (1 KB = 1024 B, as Windows shows) or decimal (1 KB = 1000 B, as drive makers and macOS use).
1024 or 1000: why a 1 TB drive shows 931 GB
Drive and memory card makers use decimal units, so 1 TB is 1,000,000,000,000 bytes and 1 GB is 1,000,000,000 bytes. Windows reports sizes in binary units, where 1 KB = 1024 bytes; strictly these are KiB, MiB and GiB. A 1 TB drive therefore appears as 931.32 GB in Windows and a 500 GB drive as 465.66 GB, with no space missing. Choose the decimal setting and convert TB to GiB to see this. In binary mode 1 GB = 1,024 MB and 1 MB = 1,048,576 bytes; in decimal mode they are 1,000 MB and 1,000,000 bytes. KiB, MiB and GiB always use 1024.
Bits and bytes: broadband speeds in MB
Broadband and network speeds are quoted in megabits per second (Mbps), but file sizes are measured in megabytes. A byte is 8 bits, so with the decimal setting 100 Mbit is 12.5 MB, meaning a 100 Mbps connection can move at most about 12.5 MB each second before overheads. In decimal units 1 GB is 8,000,000,000 bits. The kbit, Mbit and Gbit options always step by 1,000, matching how connection speeds are advertised. To estimate a download time, convert the file size to megabits and divide by the line speed in Mbps.
Accuracy and data handling
Displayed values may be rounded; confirm unit definitions and required precision for engineering, laboratory or billing work. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
How many MB are in a GB?
1,024 MB in binary units, as Windows counts, or 1,000 MB in decimal units, as drive makers count. Switch the KB, MB and GB setting to see both.
How many bytes are in a megabyte?
1,048,576 bytes (1024 × 1024) in binary units, or 1,000,000 bytes in decimal units. A mebibyte (MiB) is always 1,048,576 bytes.
Why does my 1 TB drive show less space?
The maker counts 1 TB as 1,000,000,000,000 bytes, while Windows divides by 1024 at each step and shows about 931 GB. Nothing is missing; the units differ.
How many MB per second is 100 Mbps?
100 megabits is 12.5 megabytes, because a byte is 8 bits. Real downloads are a little slower because of network overheads.
More Converters
Related toolsUK and US mpg, L/100km and km/L, plus fuel cost per mile from a price per litre.
Numbers to Roman numerals and back, with a breakdown and up to 3,999,999.
Text to Morse and Morse to text, with automatic direction and transmission timing.
Cups, spoons, mL, pints and grams, with ingredient densities for flour, sugar and butter.
Degrees, radians, DMS, gradians, turns and mils, with π and DMS input.
psi, bar, kPa, MPa, atm, mbar, mmHg and more, for tyres, weather and gauges.