# Byte to Petabyte - 4 Byte to PB Conversion

Copy Link & Share
Input Byte - and press Enter
Byte

4 Byte = 0.000000000000004 PB
Calculated as → 4 / 10005... - view detailed steps

Clear

## B to PB Formula and Manual Conversion 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.

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 see how to manually convert Byte (B) to Petabyte (PB). We can further simplify the formula to ease the calculation.

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

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

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

(Result rounded off to 40 decimal positions.)

#### 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.

#### Definition : Petabyte

A Petabyte (PB) is a decimal 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.

### Excel Formula to convert from Byte to PB

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

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