Byte to Petabyte - 4 Byte to PB Conversion
Copy Link & ShareExcel Formula to convert from Byte to PB
Apply the formula as shown below to convert from 4 Byte to Petabyte.
A | B | C | |
---|---|---|---|
1 | Byte (B) | Petabyte (PB) | |
2 | 4 | =A2 * 0.000000000000001 | |
3 |
Download - Excel Template for Byte to Petabyte 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 PB Conversion
You can use below code to convert any value in Byte to Petabyte in Python.
byte = int(input("Enter Byte: "))
petabyte = byte / (1000*1000*1000*1000*1000)
print("{} Byte = {} Petabyte".format(byte,petabyte))
petabyte = byte / (1000*1000*1000*1000*1000)
print("{} Byte = {} Petabyte".format(byte,petabyte))
The first line of code will prompt the user to enter the Byte as an input. The value of Petabyte is calculated on the next line, and the code in third line will display the result.