Last updated: February 08, 2025

GB to Byte Converter

Created by

In this article, we’ll show you how to convert data from gigabytes (GB) to bytes (B). We will cover essential definitions, provide examples, share relevant formulas, and present tables, along with answers to common questions.

Definitions of Byte and GB

Let’s get started by understanding the key definitions and differences between Byte and Gigabyte. Understanding these terms will allow you to perform conversions confidently.

What is a byte (B)?

A Byte (B) is a standard unit of digital information used for data storage. It consists of 8 bits, which gives it a total of 256 possible values (from 0 to 255).

1 Byte equals 8 bits
1 Byte = 8 bits = 256 possible values

With such amount of potential values, a byte can represent many fundamental digital information, including characters in the ASCII (American Standard Code for Information Interchange) encoding system, numbers, color components, network packets, control code, and other information that fits in a byte.

What is a Gigabyte (GB)?

A gigabyte (GB) is a unit of measurement for data storage used to measure device capacity, files, or memory that are large in size, typically between one billion and one trillion bytes.

It has symbols or abbreviations such as GB, Gbyte, GiB, or Gibyte.

Definition and value of gigabyte (GB)
Definition of gigabyte and its values.

When using International System of Units (SI) prefixes[1], which are based on powers of 10, a gigabyte (GB) equals 1,000,000,000 bytes.

  • 1 GB = 103 MB = 1,000 MB
  • 1 GB = 109 B = 1,000,000,000 B

When using International Electrotechnical Commission (IEC) binary prefixes[2], which are based on powers of 2, a gigabyte (GB) equals 1,073,741,824 bytes.

  • 1 GiB = 210 MiB = 1,024 MiB
  • 1 GiB = 230 B = 1,073,741,824 B

Gigabyte to byte formula

Let’s take a closer look at the conversion formula so you can carry out these conversions independently, whether using a calculator or doing it manually with pencil and paper.

Using decimal (SI) prefixes

The giga- prefix in the International System of Units (SI) represents a multiplier of 109 (1,000,000,000).

SI Prefixes
International System of Units (SI) decimal prefixes

So, to convert from gigabyte to byte, multiply the number of gigabytes (NGB) by the multiplier (1,000,000,000).

NB = NGB × 1,000,000,000

$$\text{N}_\text{B} = \text{N}_\text{GB} \times 1{,}000{,}000{,}000$$

Or remember the GB-to-B conversion factor: 1 GB = 1,000,000,000 B

Using binary (IEC) prefixes

The gibi- prefix in the International Electrotechnical Commission (IEC) represents a multiplier of 230 (1,073,741,824).

Binary Prefixes for Byte
International Electrotechnical Commission (IEC) binary prefixes

So, to convert from gibibyte to byte, multiply the number of gibibytes (NGiB) by the multiplier (1,073,741,824).

NB = NGiB × 1,073,741,824

$$\text{N}_\text{B} = \text{N}_\text{GiB} \times 1{,}073{,}741{,}824$$

Or remember the GiB-to-B conversion factor: 1 GiB = 1,073,741,824 B

Examples

Now, let's take a look at an example that illustrates the calculations required to convert from gigabytes to bytes (GB to B).

Example

Imagine you’ve just purchased a new external hard drive advertised as having 500GB of storage. Excited to back up all your photos, videos, and documents, you connect it to your computer, only to find that the available storage is less than 500GB. You see something like 465GB instead.

500GB disk property on Windows 11
500GB disk drive capacity reports on computer operating system

You realize that operating systems report storage size using binary units, which may differ from the manufacturer. To understand this difference, you convert 500 gigabytes into bytes using decimal and binary standards to determine which one the manufacturer employed.

Using decimal (SI) prefixes

Since 1 gigabyte (GB) equals 109 (1,000,000,000) bytes, we can convert 500 GB to bytes by using the following formula:

$$\text{N}_\text{B} = \text{N}_\text{GB} \times 1{,}000{,}000{,}000$$
$$\text{N}_\text{B} = 500 \times 1{,}000{,}000{,}000 = \boxed{500{,}000{,}000{,}000 \text{ B}}$$

So, the 500 GB hard drive, when expressed in decimal units, is equivalent to 500,000,000,000 bytes.

Alternatively, you can use our calculator by entering 500 into the GB box, and you instantly get the storage value in bytes, in this case, 500,000,000,000 B.

Convert 500 GB to bytes demonstration
Convert 500 gigabytes to bytes using our calculator.

Using binary (IEC) prefixes

Since 1 gibibyte (GiB) equals 230 (1,073,741,824) bytes, we can convert 500 gibibytes to bytes by using the following formula:

$$\text{N}_\text{B} = \text{N}_\text{GiB} \times 1{,}073{,}741{,}824$$
$$\text{N}_\text{B} = 500 \times 1{,}073{,}741{,}824 = \boxed{536{,}870{,}912{,}000 \text{ B}}$$

So, the 500 GB hard drive, when expressed in binary units, is equivalent to 536,870,912,000 bytes.

Alternatively, you can use our calculator by entering 500 into the From box, choose GiB from the From unit box, and you instantly get the storage value in bytes, in this case, 536,870,912,000 B.

Convert 500 GiB to bytes demonstration
Convert 500 gibibytes to bytes using our calculator.

From your calculations, you can assume that the manufacturer used decimal (SI) prefixes[3]‌ to determine the hard drive’s capacity. Therefore, the actual capacity of the 500 GB hard drive is 500,000,000,000 bytes.

Using our calculator, you can convert the 500 billion bytes to gibibytes that match the exact capacity reported by the operating system, approximately 465.66 GiB.

Convert 500 billion bytes to gibibytes demonstration
The real capacity of 500 GB reported in computer's operating systems

Gigabyte to byte conversion table

The conversion table below provides a handy reference for converting data storage capacity from gigabytes (GB) to bytes (B). It covers a range from 0.1 GB to 1,000 GB, allowing for easy and quick conversions between these units of measurement.

Decimal (SI) prefixes

GigabytesBytes
0.1 GB100,000,000 B
0.5 GB500,000,000 B
1 GB1,000,000,000 B
2 GB2,000,000,000 B
4 GB4,000,000,000 B
5 GB5,000,000,000 B
10 GB10,000,000,000 B
20 GB20,000,000,000 B
30 GB30,000,000,000 B
40 GB40,000,000,000 B
50 GB50,000,000,000 B
60 GB60,000,000,000 B
70 GB70,000,000,000 B
80 GB80,000,000,000 B
90 GB90,000,000,000 B
100 GB100,000,000,000 B
200 GB200,000,000,000 B
500 GB500,000,000,000 B
800 GB800,000,000,000 B
1000 GB1,000,000,000,000 B
Gigabytes to bytes conversion table

Binary (IEC) prefixes

GibibytesBytes
1 GiB1,073,741,824 B
2 GiB2,147,483,648 B
4 GiB4,294,967,296 B
5 GiB5,368,709,120 B
10 GiB10,737,418,240 B
20 GiB21,474,836,480 B
30 GiB32,212,254,720 B
40 GiB42,949,672,960 B
50 GiB53,687,091,200 B
60 GiB64,424,509,440 B
70 GiB75,161,927,680 B
80 GiB85,899,345,920 B
90 GiB96,636,764,160 B
100 GiB107,374,182,400 B
200 GiB214,748,364,800 B
500 GiB536,870,912,000 B
800 GiB858,993,459,200 B
1000 GiB1,073,741,824,000 B
Gibibytes to bytes conversion table

FAQs

Is 1 byte or 1 gigabyte larger?

A gigabyte (GB) is a billion times bigger than a byte (B). Here are the relationships between the units:

Decimal prefixes

  • 1 GB = 109 = 1,000,000,000 B
  • 1 B = 10-9 = 1 ÷ 1,000,000,000 = 0.000000001 GB

Binary prefixes

  • 1 GiB = 230 = 1,073,741,824 B
  • 1 B = 2-30 = 1 ÷ 1,073,741,824 = 0.000000000931322574615478515625 GiB

How to convert from gigabytes to bytes?

To convert data storage from gigabytes (GB) to bytes (B), follow these simple steps based on the standard you are using:

  • Write down the data storage value in gigabytes (GB).

Decimal (SI) prefixes

  • Multiply it by the value of a GB-to-B conversion factor: 109 or 1,000,000,000.
  • The result from multiplication is the value of the data storage in bytes (B).

Binary (IEC) prefixes

  • Multiply it by the value of a GiB-to-B conversion factor: 230 or 1,073,741,824.
  • The result from multiplication is the value of the data storage in bytes (B).

You now know how to convert data storage capacity from gigabytes (GB) to bytes (B). You can quickly use our calculator to convert between the data storage units to save time for future calculations.

For further understanding, check our data storage converter page to learn more about the differences between decimal and binary units of data storage.

GB to Byte Converter

About this app

GB to Byte Converter

The gigabyte to byte (GB to B) converter is a simple tool for converting data storage between gigabytes (GB) and bytes (B), with explanations, formulas, examples, and tables.

Availability

You can use the calculator for free as a PWA web app online or install it locally on any modern operating system, including Android, iOS, Windows 11/10, and macOS.

GB to Byte Converter QR
Scan Me
Use GB to Byte Converter as Web App
Similar Calculators

References

3 Sources

  1. ⬆️ Metric (SI) Prefixes | NIST, NIST, Jan. 13, 2010.

    https://www.nist.gov/pml/owm/metric-si-prefixes
  2. ⬆️ IEC 60027-2 Letter symbols to be used in electrical technology - Part 2: Telecommunications and electronics.

    https://webstore.iec.ch/en/publication/30633
  3. ⬆️ Why does my hard drive report less capacity than indicated on the drive’s label? | Seagate ASEAN, Seagate.com, 2025.

    https://www.seagate.com/as/en/support/kb/why-does-my-hard-drive-report-less-capacity-than-indicated-on-the-drives-label-172191en/