Byte to PB Calculator - Convert Bytes to Petabytes

High Precision Data Unit Conversion

Conversion History (Last 6)

Input Byte - and press Enter
Byte
 
ADVERTISEMENT

Complete List of Byte Converters

Quick Navigation

B to PB - Conversion Formula and Steps

Byte and Petabyte 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 Petabyte is a decimal unit. One Byte is equal to 8 bits. One Petabyte is equal to 1000^5 bytes. There are 1,000,000,000,000,000 Bytes in one Petabyte. - view the difference between both units

Byte to PB Converter Image
Source Data UnitTarget Data Unit
Byte (B)
Equal to 8 bits
(Basic Unit)
Petabyte (PB)
Equal to 1000^5 bytes
(Decimal Unit)

Below conversion diagram will help you to visualize the Byte to Petabyte 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 Petabyte is represented as follows :

PB = Byte / 10005

Now let us apply the above formula and, write down the steps to convert from Byte (B) to Petabyte (PB). This way, we can try to simplify and reduce to an easy to apply formula.

FORMULA

Petabyte = Byte / 10005

STEP 1

Petabyte = Byte / (1000x1000x1000x1000x1000)

STEP 2

Petabyte = Byte / 1000000000000000

STEP 3

Petabyte = Byte x (1 / 1000000000000000)

STEP 4

Petabyte = Byte x 0.000000000000001

Example : If we apply the above Formula and steps, conversion from 10 Byte to PB, will be processed as below.

  1. = 10 / 10005
  2. = 10 / (1000x1000x1000x1000x1000)
  3. = 10 / 1000000000000000
  4. = 10 x (1 / 1000000000000000)
  5. = 10 x 0.000000000000001
  6. = 0.00000000000001
  7. i.e. 10 Byte is equal to 0.00000000000001 PB.

(Result rounded off to 40 decimal positions.)

You can use above formula and steps to convert Byte to Petabyte using any of the programming language such as Java, Python or Powershell.

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 : Petabyte

A Petabyte (PB) is a unit of digital information that is equal to 1,000,000,000,000,000 bytes (or 8,000,000,000,000,000 bits) and commonly used to measure the storage capacity of enterprise storage arrays and data centers. It is also used to express data transfer speeds and in the context of data storage and memory, the binary-based unit of Pebibyte (PiB) is used instead.
- Learn more..

Excel Formula to convert from Byte to PB

Apply the formula as shown below to convert from Byte to Petabyte.

 ABC
1Byte (B)Petabyte (PB) 
21=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))

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.

Byte to PB to PiB Conversion Table

Byte to Petabyte (PB)Byte to Pebibyte (PiB)
1 Byte = 0.000000000000001 PB 1 Byte = 0.0000000000000008881784197001252323389053 PiB
2 Byte = 0.000000000000002 PB 2 Byte = 0.0000000000000017763568394002504646778106 PiB
3 Byte = 0.000000000000003 PB 3 Byte = 0.000000000000002664535259100375697016716 PiB
4 Byte = 0.000000000000004 PB 4 Byte = 0.0000000000000035527136788005009293556213 PiB
5 Byte = 0.000000000000005 PB 5 Byte = 0.0000000000000044408920985006261616945266 PiB
6 Byte = 0.000000000000006 PB 6 Byte = 0.000000000000005329070518200751394033432 PiB
7 Byte = 0.000000000000007 PB 7 Byte = 0.0000000000000062172489379008766263723373 PiB
8 Byte = 0.000000000000008 PB 8 Byte = 0.0000000000000071054273576010018587112426 PiB
9 Byte = 0.000000000000009 PB 9 Byte = 0.000000000000007993605777301127091050148 PiB
10 Byte = 0.00000000000001 PB 10 Byte = 0.0000000000000088817841970012523233890533 PiB
100 Byte = 0.0000000000001 PB 100 Byte = 0.0000000000000888178419700125232338905334 PiB
256 Byte = 0.000000000000256 PB 256 Byte = 0.0000000000002273736754432320594787597656 PiB
500 Byte = 0.0000000000005 PB 500 Byte = 0.0000000000004440892098500626161694526672 PiB
512 Byte = 0.000000000000512 PB 512 Byte = 0.0000000000004547473508864641189575195312 PiB
1000 Byte = 0.000000000001 PB 1000 Byte = 0.0000000000008881784197001252323389053344 PiB
1024 Byte = 0.000000000001024 PB 1024 Byte = 0.0000000000009094947017729282379150390625 PiB
2048 Byte = 0.000000000002048 PB 2048 Byte = 0.000000000001818989403545856475830078125 PiB
5000 Byte = 0.000000000005 PB 5000 Byte = 0.0000000000044408920985006261616945266723 PiB
10000 Byte = 0.00000000001 PB 10000 Byte = 0.0000000000088817841970012523233890533447 PiB