Byte to Gigabyte - 5 Byte to GB Conversion

Copy Link & Share
Input Byte - and press Enter

Recent Conversions


Complete List of Byte Converters


B to GB Formula and Manual Conversion Steps

Byte and Gigabyte are units of digital information used to measure storage capacity and data transfer rate. Byte is one of the very basic digital unit where as Gigabyte is a decimal unit. One Byte is equal to 8 bits. One Gigabyte is equal to 1000^3 bytes. There are 1,000,000,000 Bytes in one Gigabyte.

Byte to GB Converter | Data Unit Converter
Source Data UnitTarget Data Unit
Byte (B)
Equal to 8 bits
(Basic Unit)
Gigabyte (GB)
Equal to 1000^3 bytes
(Decimal Unit)

Below conversion diagram will help you to visualize the Byte to Gigabyte calculation steps in a simplified manner.

÷ 8   
÷ 1000   
÷ 1000   
÷ 1000   
÷ 1000   
÷ 1000   
÷ 1000   
÷ 1000   
÷ 1000   
Bit [b]
Byte [B]
Kilobyte [kB]
Megabyte [MB]
Gigabyte [GB]
Terabyte [TB]
Petabyte [PB]
Exabyte [EB]
Zettabyte [ZB]
Yottabyte [YB]
  x 8  
  x 1000  
  x 1000  
  x 1000  
  x 1000  
  x 1000  
  x 1000  
  x 1000  
  x 1000  

The formula of converting the Byte to Gigabyte is represented as follows :

GB = Byte / 10003

Now let us apply the above formula and see how to manually convert Byte (B) to Gigabyte (GB). We can further simplify the formula to ease the calculation.


Gigabyte = Byte / 10003


Gigabyte = Byte / (1000x1000x1000)


Gigabyte = Byte / 1000000000


Gigabyte = Byte x (1 / 1000000000)


Gigabyte = Byte x 0.000000001

If we apply the above Formula and steps, conversion from 5 Byte to GB, will be processed as below.

  1. = 5 / 10003
  2. = 5 / (1000x1000x1000)
  3. = 5 / 1000000000
  4. = 5 x (1 / 1000000000)
  5. = 5 x 0.000000001
  6. = 0.000000005
  7. i.e. 5 Byte is equal to 0.000000005 GB.

(Result rounded off to 40 decimal positions.)

Popular Byte Conversions

Conversion Units

Definition : Byte

A Byte is a unit of digital information that typically consists of 8 bits and can represent a wide range of values such as characters, binary data and it is widely used in the digital world to measure the data size and data transfer speed.
- Learn more..

Definition : Gigabyte

A Gigabyte (GB) is a decimal unit of digital information that is equal to 1,000,000,000 bytes (or 8,000,000,000 bits) and commonly used to measure the storage capacity of computer hard drives, flash drives, and other digital storage devices. It is also used to express data transfer speeds and in the context of data storage and memory, the binary-based unit of Gibibyte (GiB) is used instead.
- Learn more..

Excel Formula to convert from Byte to GB

Apply the formula as shown below to convert from 5 Byte to Gigabyte.

1Byte (B)Gigabyte (GB) 
25=A2 * 0.000000001 

Download - Excel Template for Byte to Gigabyte Conversion

If you want to perform bulk conversion locally in your system, then download and make use of above Excel template.

Python Code for Byte to GB Conversion

You can use below code to convert any value in Byte to Gigabyte in Python.

byte = int(input("Enter Byte: "))
gigabyte = byte / (1000*1000*1000)
print("{} Byte = {} Gigabyte".format(byte,gigabyte))

The first line of code will prompt the user to enter the Byte as an input. The value of Gigabyte is calculated on the next line, and the code in third line will display the result.