KB, MB, GB and TB: file size units explained

File sizes are quoted in different ways by different programs. Here is how the units relate, why the numbers sometimes disagree, and how to plan around a size limit.

Bits, bytes and the units above them

A bit is a single 0 or 1. A byte is eight bits and is the basic unit for file size. A text file with 1,000 characters is roughly 1,000 bytes. Larger units are built on top of the byte: kilobyte (KB), megabyte (MB), gigabyte (GB) and terabyte (TB). Internet speeds are usually quoted in bits per second (Mbps), which is eight times smaller than the same number of megabytes per second, so a 100 Mbps connection downloads at most about 12.5 MB each second.

Decimal and binary: why 1 GB is not always the same

There are two conventions.

  • Decimal (SI): 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 1,000,000,000 bytes. Storage makers, mobile networks and many websites use this.
  • Binary: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes, 1 GiB = 1,073,741,824 bytes. Memory chips and some operating systems work this way, and some of them still call these units KB, MB and GB.

The two differ by about 2.4% at the KB level and about 7.4% at the GB level, which is why the same file can appear as 98 KB in one program and 100 KB in another. When a website sets a limit of 100 KB, aim for a few KB under to be safe. The MB to GB and GB to MB converters use the decimal standard.

Why your drive shows less space than advertised

A drive sold as 500 GB holds 500,000,000,000 bytes. Windows divides by 1,024 three times and reports about 465 GB, even though it still uses the label GB. Nothing is missing: the two programs are counting in different units. A 1 TB drive shows as about 931 GB for the same reason. Some formatting overhead and the operating system's own files take a little more space.

Typical file sizes

FileTypical size
Plain text emaila few KB
Form photo (JPEG)20 to 100 KB
Phone photo2 to 6 MB
One minute of music (MP3, 128 kbps)about 1 MB
One minute of HD videoroughly 50 to 150 MB, depending on compression
Short PDF of text50 to 300 KB

These are rough guides. Actual sizes depend on resolution, compression and content.

Planning around a limit

  1. Find out whether the limit is in KB or MB and whether it is a maximum, a minimum or both.
  2. Check the size shown by the same program that will enforce the limit, if you can.
  3. Leave a margin of about 5% under the limit to cover the decimal and binary difference.
  4. If the file is too big, reduce what makes it big: image dimensions and quality for pictures, page count and scan resolution for PDFs.

Frequently asked questions

How many MB are in 1 GB?

1,000 MB in the decimal standard that mobile carriers and storage makers use, and 1,024 MiB in the binary standard.

Why does my 1 TB drive show about 931 GB?

The drive holds 1,000,000,000,000 bytes. Windows divides by 1,024³ and reports about 931, which is the same amount of storage expressed in binary units.

Is Mbps the same as MBps?

No. Mbps is megabits per second and MBps is megabytes per second. One byte is eight bits, so divide Mbps by 8 for MBps.

More guides

Paul Digital guides are written from hands-on testing of the tools on this site and are reviewed when platforms or formats change. Requirements set by exam boards, governments and apps vary and change over time, so always check the official instructions for your case. Spotted an error? Email askpaulonline@gmail.com.