# Bit to Gibibyte - *512 Bit* to GiB Conversion

## Conversion History (Last 6)

### Excel Formula to convert from Bit to GiB

Apply the formula as shown below to convert from 512 Bit to Gibibyte.

A | B | C | |
---|---|---|---|

1 | Bit (b) | Gibibyte (GiB) | |

2 | 512 | =A2 * 0.000000000116415321826934814453125 | |

3 |

Download - Excel Template for Bit to Gibibyte Conversion

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

### Python Code for Bit to GiB Conversion

You can use below code to convert any value in Bit to Gibibyte in Python.

bit = int(input("Enter Bit: "))

gibibyte = bit / (8*1024*1024*1024)

print("{} Bit = {} Gibibyte".format(bit,gibibyte))

gibibyte = bit / (8*1024*1024*1024)

print("{} Bit = {} Gibibyte".format(bit,gibibyte))

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