How Many Bytes Are in a Gigabyte? (GB Explained Simply)
Quick answer: A gigabyte (GB) is 1,000,000,000 bytes (1 billion) under the standard decimal definition used by storage manufacturers, or 1,073,741,824 bytes (about 1.07 billion) under the binary definition your operating system often uses. Both are “correct”. They’re just two different counting systems, and the gap between them is exactly why your 500GB drive shows up as 465GB in Windows or macOS.
That two-number answer trips up a lot of people, so let’s unpack where it comes from and why it actually matters the next time you buy a hard drive, check a phone plan, or wonder why your storage never quite adds up.
Bits and Bytes: The Building Blocks
Computers store and move everything (text, photos, video, this article) as binary information: strings of 0s and 1s. Each single 0 or 1 is called a bit, short for “binary digit.” It’s the smallest unit of data a computer works with.
One bit on its own can’t do much. It only represents two possible states, like on/off or true/false. Group 8 bits together, though, and you get a byte, which can represent 256 different values (2⁸).
That’s enough to represent a single character ( a letter, number, or symbol ), which is why file sizes are almost always measured in bytes, not bits.
One important distinction: internet speeds are usually advertised in bits per second (Mbps, Gbps), while file and storage sizes are measured in bytes (MB, GB).
Since a byte is 8 bits, a “100 Mbps” connection tops out around 12.5 MB per second, not 100 MB per second; a common source of confusion when people wonder why a download is going slower than their advertised internet speed suggests.
From Byte to Gigabyte: The Full Chain
Bytes scale up through a series of standard units, each one roughly a thousand times bigger than the last:
| Unit | Abbreviation | Approx. size |
|---|---|---|
| Byte | B | 1 byte |
| Kilobyte | KB | ~1,000 bytes |
| Megabyte | MB | ~1,000 kilobytes |
| Gigabyte | GB | ~1,000 megabytes |
| Terabyte | TB | ~1,000 gigabytes |
| Petabyte | PB | ~1,000 terabytes |
| Exabyte | EB | ~1,000 petabytes |
| Zettabyte | ZB | ~1,000 exabytes |
| Yottabyte | YB | ~1,000 zettabytes |
A kilobyte is roughly the size of a short paragraph of plain text. A megabyte is roughly a few minutes of MP3 audio, or one decent-resolution photo.
Scale that up a thousand times again, and you land on the gigabyte. The unit you actually run into every day, whether you’re buying a phone, a laptop, or a data plan.
Related: MP3 vs MP4: What’s the Difference and Which Format Should You Use?
So, How Many Bytes Are in a Gigabyte – Exactly?
Here’s where it gets genuinely interesting, because the honest answer depends on which counting system you’re using.
Decimal (base-10) system – used by storage manufacturers:
Computers are electronic, but humans think in tens, and the international standard (SI) system of measurement is built entirely on powers of ten. Under this system:
- 1 Kilobyte (KB) = 1,000 bytes
- 1 Megabyte (MB) = 1,000,000 bytes
- 1 Gigabyte (GB) = 1,000,000,000 bytes
This is the definition hard drive, SSD, USB drive, and memory card manufacturers use on the box.
Binary (base-2) system – used by most operating systems:
Computers themselves don’t actually count in tens. They count in powers of two, because that’s how binary circuits work. Under this system, “kilo” doesn’t mean exactly 1,000; it means 2¹⁰, which happens to be 1,024, the closest power of two to 1,000.
That small rounding compounds every time you go up a unit:
- 1 Kibibyte (KiB) = 1,024 bytes
- 1 Mebibyte (MiB) = 1,024 KiB = 1,048,576 bytes
- 1 Gibibyte (GiB) = 1,024 MiB = 1,073,741,824 bytes
For decades, most software just called this binary gigabyte a “GB” too, using the same label as the decimal version even though the numbers don’t match. That’s the root of all the confusion; two different quantities sharing one name.
| Definition | 1 GB in bytes | Used by |
|---|---|---|
| Decimal GB (10⁹) | 1,000,000,000 bytes | Storage manufacturers, network/ISP speeds, SI standard |
| Binary GiB, commonly labeled “GB” (2³⁰) | 1,073,741,824 bytes | Windows, macOS, and most operating systems when reporting file/drive sizes |
Why Your “500GB” Drive Shows Up as 465GB
This is the single most common real-world encounter people have with this exact question, so it’s worth walking through the math.
A manufacturer sells you a drive using the decimal definition:
500 GB = 500,000,000,000 bytes
Your operating system, however, reports storage using the binary definition. It takes that same number of bytes and divides it by 1,024 three times (bytes → KiB → MiB → GiB):
500,000,000,000 ÷ 1,024 ÷ 1,024 ÷ 1,024 ≈ 465.7
That’s why a “500GB” drive shows up as roughly “465GB” the moment you plug it in. Nothing is missing, and you haven’t been shortchanged. The drive genuinely holds 500,000,000,000 bytes; your OS is just measuring it with a different-sized ruler and still calling the result “GB.”
The gap gets larger the bigger the drive gets. A 1TB drive reports as roughly 931GB. A 4TB drive reports as roughly 3.64TB.
This is also why some operating systems and file managers have started using GiB and TiB explicitly, to be clearer about which system they’re using. Though “GB” still gets used loosely for both in most everyday software.
Common mistake to avoid: Assuming a drive showing less capacity than advertised means it’s defective or the seller shortchanged you. Unless the gap is dramatically larger than the roughly 7% difference explained above, this is normal.
Related: The Best Major ISPs in the US to Consider in 2026
How Much Can You Actually Fit in a Gigabyte?
Numbers are abstract until you put them next to something real. Here’s roughly what 1 GB holds, depending on the type of file (actual sizes vary with quality, resolution, and compression):
| Content type | Approx. amount per 1 GB |
|---|---|
| Plain text pages | ~500,000–900,000 pages |
| MP3 songs (standard quality) | ~200–250 songs |
| Photos (12MP, compressed JPEG) | ~300–500 photos |
| RAW photos (high-end camera) | ~15–25 photos |
| HD video (1080p) | ~5–10 minutes |
| 4K video | ~2–4 minutes |
| Standard-definition Netflix streaming | ~20–25 minutes |
| Voice/video call (Zoom, Skype) | ~3–4 hours |
Expert tip: If you’re trying to estimate how much storage or data plan you actually need, video is almost always the deciding factor. A single hour of 4K footage can easily eat 30- 45 GB, while the same hour of text, photos, and browsing might use a fraction of a gigabyte.
Gigabyte vs. Bigger Units: Terabyte, Petabyte, and Beyond
Once you’re comfortable with the gigabyte, the units above it follow the same logic, just scaled up:
- Terabyte (TB) = 1,000 GB (decimal) or 1,024 GiB (binary). Modern laptops, external drives, and game consoles commonly ship with 1-8 TB of storage.
- Petabyte (PB) = 1,000 TB. This is the scale large organizations ( cloud providers, streaming platforms, research institutions) operate at for total data storage.
- Exabyte (EB) = 1,000 PB. Global internet traffic is now measured in exabytes per year.
- Zettabyte (ZB) and Yottabyte (YB) = 1,000x each step further. These remain largely theoretical for consumer purposes but are used in projections of total global data creation.
For virtually all everyday purposes like buying a laptop, phone, or cloud storage plan, you’ll only ever need to think in gigabytes and terabytes.
Related: How to Tell If Your SSD Is Failing: Real Warning Signs
Decimal vs. Binary: Which One Is “Correct”?
Myth vs. fact: Myth – “Manufacturers use the decimal definition to cheat customers out of storage.” Fact – the decimal (1,000-based) definition is the official SI and international standard for the “giga-” prefix, used consistently across every field of measurement, not just computing.
A kilogram is 1,000 grams, a kilometer is 1,000 meters, and a kilobyte, by that same standard, is 1,000 bytes. It’s operating systems ( not manufacturers) that repurposed the same “GB” label for a binary value roughly 7% larger.
Neither side is lying to you; they’re using two legitimate, differently defined systems and, unfortunately, the same abbreviation for both. If you want to avoid the ambiguity entirely, look for GiB (gibibyte) when precision matters. It always means the binary, 1,024-based value, with no guesswork required.
Closing Thoughts
Understanding how many bytes are in a gigabyte may seem like a small thing, but it helps make sense of many everyday tech terms. Storage sizes, internet plans, file downloads, cloud backups, and device specifications all use units like MB, GB, and TB. Knowing what they mean can save you from confusion and help you make smarter buying decisions.
The simple answer is that a gigabyte can mean two different things. In decimal terms, used by storage manufacturers, 1 GB equals 1,000,000,000 bytes. In binary terms, often used by operating systems, 1 GiB equals 1,073,741,824 bytes. That small difference explains why your computer may show slightly less storage than what is printed on the box.
You do not need to memorize every number. Just remember that bytes build into kilobytes, megabytes, gigabytes, and terabytes. Once you understand that pattern, file sizes and storage capacities become much easier to understand.
Technology keeps changing, but these basic digital units remain the same. Whether you are buying a new SSD, comparing cloud storage plans, checking file sizes, or learning how computers work, knowing the difference between bytes and gigabytes is a useful skill.
Frequently Asked Questions
How many bytes are in a GB?
A gigabyte is 1,000,000,000 bytes (1 billion) under the standard decimal definition used by manufacturers, or 1,073,741,824 bytes under the binary definition many operating systems use when reporting storage.
Is 1 GB equal to 1024 MB or 1000 MB?
Both, depending on the system. Under the decimal (SI) standard, 1 GB = 1,000 MB. Under the binary system used by most operating systems, 1 GB (technically 1 GiB) = 1,024 MB (MiB).
Why does my hard drive show less storage than what I paid for?
Manufacturers list capacity using the decimal definition (1 GB = 1 billion bytes), while your operating system reports it using the binary definition, which requires more bytes per “GB.” The drive isn’t missing storage. It’s being measured with a different, larger unit.
What’s the difference between a gigabyte and a gibibyte?
A gigabyte (GB) is 1,000,000,000 bytes under the decimal/SI standard. A gibibyte (GiB) is 1,073,741,824 bytes under the binary standard. They’re often used interchangeably in casual software, but only “GiB” unambiguously means the binary value.
How many bytes are in a kilobyte and a megabyte?
A kilobyte is 1,000 bytes (or 1,024 bytes in binary/KiB). A megabyte is 1,000,000 bytes (or 1,048,576 bytes in binary/MiB).
How many gigabytes are in a terabyte?
A terabyte is 1,000 gigabytes under the decimal system, or 1,024 gibibytes under the binary system.
How many photos or songs can I fit in 1 GB?
Roughly 300-500 compressed photos or 200-250 standard-quality MP3 songs, though this varies significantly with resolution, compression, and audio quality.
How many bytes are in 1 GB of internet data?
The same as storage: about 1,000,000,000 bytes under the decimal definition most ISPs and data plans use. Streaming, downloads, and browsing all draw from that same billion-byte allowance.
Are internet speeds measured in bytes or bits?
Internet speeds are almost always advertised in bits per second (Mbps or Gbps), while file sizes are measured in bytes. Since 1 byte equals 8 bits, you divide your Mbps figure by 8 to estimate your realistic maximum download speed in megabytes per second.
Is a gigabyte bigger than a megabyte?
Yes. A gigabyte is 1,000 times larger than a megabyte under the decimal system (or 1,024 times larger under the binary system).
How many bytes are in a petabyte or exabyte?
A petabyte is 1,000,000,000,000,000 bytes (10¹⁵). An exabyte is 1,000,000,000,000,000,000 bytes (10¹⁸), roughly a thousand petabytes.
Why do computers use both 1000 and 1024 for the same prefixes?
Because two different standards developed for two different purposes: the SI decimal standard (1,000) is the internationally recognized measurement convention used across all of science and industry, while the binary standard (1,024) reflects how computer memory is actually addressed in powers of two. Both stuck, and both still get called “GB” in casual use.
How much storage does a 2-hour HD movie use?
Roughly 3-6 GB for a compressed 1080p download, though streaming quality, bitrate, and encoding can push that considerably higher or lower.
What’s the difference between GB and Gb?
Capitalization matters here: “GB” means gigabyte (billion bytes), while “Gb” means gigabit (billion bits). Since a byte is 8 bits, 1 GB is 8 times larger than 1 Gb, a distinction that matters most when comparing internet speeds (usually in Gb/Mb) against file or storage sizes (usually in GB/MB).
We hope this guide made the topic simple and easy to follow. If you found it helpful, consider bookmarking this page and sharing it with others.
You can also follow The Infobits on Facebook and X for more easy-to-understand tech guides, tips, and explainers.
We also request that you bookmark this page for future reference. Sign up for our free newsletter as well to receive new information in your inbox regularly and stay technically up to date.
Disclosure: If you follow our links to a retailer’s website and make a purchase, we will get an affiliate commission on some, but not all, of the items or services we promote. This will cause no price change for you.







