How Many Bytes in a Gigabyte? GB vs GiB Explained

Storage and data sizes cause more confusion than almost any other unit. A new 1 TB drive appears as 931 GB on your computer. A "100 Mbps" connection downloads at about 12 MB per second. So how many bytes in a gigabyte, really? The honest answer is "it depends who is counting" – and once you understand why, every one of these puzzles makes sense.

Screenshot of the Data Storage Converter on Assen Tools
The Data Storage Converter in use. Open the Data Storage Converter – free, no sign-up.

Bits and bytes first

  • A bit is a single 0 or 1.
  • A byte is 8 bits – enough to store one simple character, such as the letter A (see what is ASCII).

Internet speeds are measured in bits per second (Mbps), while file sizes are measured in bytes (MB). Divide by 8 to convert: a 100 Mbps connection can download about 12.5 megabytes per second at best.

Two ways of counting: decimal and binary

Decimal (SI) units – used by storage manufacturers, internet providers and international standards:

  • 1 kilobyte (KB) = 1,000 bytes
  • 1 megabyte (MB) = 1,000,000 bytes
  • 1 gigabyte (GB) = 1,000,000,000 bytes
  • 1 terabyte (TB) = 1,000,000,000,000 bytes

Binary units – powers of 1,024, traditionally used by computer memory and operating systems:

  • 1 kibibyte (KiB) = 1,024 bytes
  • 1 mebibyte (MiB) = 1,048,576 bytes
  • 1 gibibyte (GiB) = 1,073,741,824 bytes
  • 1 tebibyte (TiB) = 1,099,511,627,776 bytes

The binary units have their own names – KiB, MiB, GiB – but many programs still label them "KB, MB, GB", which causes the confusion.

Why a 1 TB drive shows 931 GB

The manufacturer sells 1 TB = 1,000,000,000,000 bytes (decimal). Windows divides by 1,073,741,824 (binary) but labels the result "GB":

1,000,000,000,000 ÷ 1,073,741,824 ≈ 931 "GB"

No space is missing – the same number of bytes is simply counted in different units. macOS uses decimal units, so the same drive shows as 1 TB there.

What a data bundle really buys

Mobile data bundles are sold in decimal gigabytes. As rough guides – actual usage varies by app and quality:

  • Web browsing and messaging: relatively light
  • Music streaming: tens of megabytes per hour
  • Video calls: several hundred megabytes per hour
  • HD video streaming: around 1–3 GB per hour

To compare bundles fairly, work out the price per GB – see how to compare prices per unit.

File sizes in everyday life

  • A text email: a few KB
  • A compressed phone photo: 1–5 MB
  • A 3-minute song: about 3–8 MB
  • A one-hour HD video: 1–3 GB

Large photos and PDFs are often the reason uploads fail – see how to reduce image size and how to compress a PDF.

Convert instantly

The free Data Storage Converter converts between bits, bytes, KB, MB, GB, TB and their binary equivalents, so you can check drive sizes, bundle allowances and download speeds. Related tools: Image Compressor and Compress PDF to make files smaller.

Frequently asked questions

Is 1 GB 1,000 MB or 1,024 MB? In decimal units, 1,000 MB. In binary units, 1 GiB is 1,024 MiB.

Why is my download slower than my internet speed? Speeds are quoted in bits, files in bytes. Divide by 8, then allow for network overheads.

How many photos fit in 1 GB? Roughly 200–1,000, depending on photo size and compression.

Summary

So, how many bytes in a gigabyte? In decimal units – used by manufacturers and data providers – exactly 1,000,000,000. In binary units (a gibibyte), 1,073,741,824. That difference explains "missing" drive space, and dividing bits by 8 explains download speeds. Convert any size with the free Data Storage Converter.

Jonathan Nwachukwu, founder of Assen Tools

Written by

Jonathan Nwachukwu · Founder & developer

Jonathan is a freelance web developer and web development teacher who builds Laravel, WordPress and WooCommerce sites for clients. He built AssenTools to put the everyday file, photo and calculation jobs he kept doing for clients and students into one free, private toolbox, and he maintains every tool and guide on the site.