Saved calculators
Conversion

Bytes to Gbit converter

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.

Use as default values for the embed calculator what is currently in input fields of the calculator on the page.
Input border focus color, switchbox checked color, select item hover color etc.

Please agree to the Terms of Use.
Preview

Save calculator

What is a byte?

A byte (symbol: B) is a fundamental unit of digital information storage, historically representing the number of bits (usually 8) required to encode a single character of text. Today, 1 byte is universally standardized as 8 bits. Bytes are widely used to measure file sizes, memory capacity, and data transfer rates.

What is a gigabit?

A gigabit (symbol: Gbit or Gb) is a unit of data equal to 1,000,000,0001,000,000,000 (10⁹) bits. It is part of the International System of Units (SI) and follows a base-10 structure. Gigabits are commonly used in networking to describe data transfer speeds, such as internet bandwidth (e.g., 1 Gbit/s).

Understanding SI (Decimal) and IEC (Binary) systems

SI system (Base-10)

The SI system uses powers of 10 for unit conversions:

  • 1 gigabit (Gbit) = 10910^9 bits = 1,000,000,0001,000,000,000 bits.
  • Commonly used by internet service providers and storage manufacturers.

IEC standard (Base-2)

The International Electrotechnical Commission (IEC) standardizes binary prefixes for computing:

  • 1 gibibit (Gibit) = 2302^{30} bits = 1,073,741,8241,073,741,824 bits.
  • Used in software (e.g., operating systems) to represent memory and file sizes.

Key differences

System1 gigabit (Gbit)1 gibibit (Gibit)
Value10910^9 bits2302^{30} bits
Difference~7.37% smaller~7.37% larger

Formula

Conversion from bytes to gigabits (SI)

Gigabits (Gbit)=Bytes×8109\text{Gigabits (Gbit)} = \frac{\text{Bytes} \times 8}{10^9}

Conversion from bytes to gibibits (IEC)

Gibibits (Gibit)=Bytes×8230\text{Gibibits (Gibit)} = \frac{\text{Bytes} \times 8}{2^{30}}

Examples

Example 1: Converting 500,000,000 bytes to gigabits and gibibits

  1. SI system (Gbit):
500,000,000×8109=4,000,000,0001,000,000,000=4 Gbit\frac{500,000,000 \times 8}{10^9} = \frac{4,000,000,000}{1,000,000,000} = 4\ \text{Gbit}
  1. IEC standard (Gibit):
500,000,000×81,073,741,824=4,000,000,0001,073,741,8243.725 Gibit\frac{500,000,000 \times 8}{1,073,741,824} = \frac{4,000,000,000}{1,073,741,824} \approx 3.725\ \text{Gibit}

Example 2: Internet speed calculation

If a 2-hour HD movie is 5 GB (SI) in size:

  1. Convert GB to bytes: 5 GB=5×109=5,000,000,000 Bytes5\ \text{GB} = 5 \times 10^9 = 5,000,000,000\ \text{Bytes}.
  2. Convert to gigabits:
5,000,000,000×8109=40 Gbit\frac{5,000,000,000 \times 8}{10^9} = 40\ \text{Gbit}
  1. Download time at 100 Mbps (megabits per second):
40,000 Mbit100 Mbps=400 seconds6.67 minutes.\frac{40,000\ \text{Mbit}}{100\ \text{Mbps}} = 400\ \text{seconds} \approx 6.67\ \text{minutes}.

Historical context

The ambiguity between decimal (SI) and binary (IEC) units dates back to the 1960s. In 1998, the IEC introduced kibibyte (KiB), mebibyte (MiB), and gibibyte (GiB) to resolve confusion caused by using “giga-” for both 10910^9 and 2302^{30}.

Notes

  • Storage marketing: A “1 TB” hard drive marketed using SI units (1 TB=1012 bytes1\ \text{TB} = 10^{12}\ \text{bytes}) equals ~931 GiB in an OS using IEC units.
  • Capitalization: “Gb” = gigabit, “GB” = gigabyte.
  • Precision: Use IEC units for RAM/SSD sizes and SI units for network speeds.

Frequently asked questions

How to convert 256 GB to gibibits?

  1. Convert GB to bytes: 256 GB=256×109=256,000,000,000 Bytes256\ \text{GB} = 256 \times 10^9 = 256,000,000,000\ \text{Bytes}.
  2. Apply the IEC formula:
256,000,000,000×81,073,741,8241,907.35 Gibit.\frac{256,000,000,000 \times 8}{1,073,741,824} \approx 1,907.35\ \text{Gibit}.

Why does my 1 TB drive show only 931 GB?

Storage manufacturers use SI units (1 TB=1012 bytes1\ \text{TB} = 10^{12}\ \text{bytes}), while operating systems use IEC units:

1,000,000,000,0001,073,741,824931.32 GiB.\frac{1,000,000,000,000}{1,073,741,824} \approx 931.32\ \text{GiB}.

How many Gbit are in 150 megabytes?

  1. Convert MB to bytes: 150 MB=150×106=150,000,000 Bytes150\ \text{MB} = 150 \times 10^6 = 150,000,000\ \text{Bytes}.
  2. Convert to Gbit:
150,000,000×8109=1.2 Gbit.\frac{150,000,000 \times 8}{10^9} = 1.2\ \text{Gbit}.

What is the difference between Gbit and Gibit?

  • 1 Gbit=109 bits=1,000,000,000 bits1\ \text{Gbit} = 10^9\ \text{bits} = 1,000,000,000\ \text{bits}.
  • 1 Gibit=230 bits=1,073,741,824 bits1\ \text{Gibit} = 2^{30}\ \text{bits} = 1,073,741,824\ \text{bits}.
    A gibibit is ~7.37% larger than a gigabit.

How to calculate download time for a 20 Gbit file at 200 Mbps?

  1. Convert Mbps to Gbps: 200 Mbps=0.2 Gbps200\ \text{Mbps} = 0.2\ \text{Gbps}.
  2. Time = File Size / Speed:
20 Gbit0.2 Gbps=100 seconds1.67 minutes.\frac{20\ \text{Gbit}}{0.2\ \text{Gbps}} = 100\ \text{seconds} \approx 1.67\ \text{minutes}.

Report a bug