ConvertersA little help for every day

Search by name or task, such as JSON or percentage.

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.

View all tools
ResultUpdates as you type
Result1 GB = 1,024 MB
Conversion factors1 GB = 1,024 MB; 1 MB = 0.0009765625 GB

Using binary units: 1 KB = 1024 B and 1 GB = 1024³ B (as Windows does; the same as KiB and GiB).

UnitValue
Bits (bit)8,589,934,592
Kilobits (kbit = 1000 bit)8,589,934.592
Megabits (Mbit)8,589.934592
Gigabits (Gbit)8.589934592
Bytes (B)1,073,741,824
Kilobytes (KB)1,048,576
Megabytes (MB) ✓1,024
Gigabytes (GB)1
Terabytes (TB)0.0009765625
Petabytes (PB)9.536743164 × 10⁻⁷
Kibibytes (KiB)1,048,576
Mebibytes (MiB)1,024
Gibibytes (GiB)1
Tebibytes (TiB)0.0009765625
Pebibytes (PiB)9.536743164 × 10⁻⁷

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.

  1. Enter the sizeType a number such as 1 for 1 GB or 2500000 for a size in bytes.
  2. Choose the unitsPick bits, kbit, Mbit, Gbit, bytes, KB to PB, or KiB to PiB, which always use 1024.
  3. 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 tools