# Bit to Terabyte - *5 Bit* to TB Conversion

Copy Link & Share
### Excel Formula to convert from Bit to TB

Apply the formula as shown below to convert from 5 Bit to Terabyte.

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

1 | Bit (b) | Terabyte (TB) | |

2 | 5 | =A2 * 0.000000000000125 | |

3 |

Download - Excel Template for Bit to Terabyte 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 TB Conversion

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

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

terabyte = bit / (8*1000*1000*1000*1000)

print("{} Bit = {} Terabyte".format(bit,terabyte))

terabyte = bit / (8*1000*1000*1000*1000)

print("{} Bit = {} Terabyte".format(bit,terabyte))

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