PB to PiB Calculator - Convert Petabytes to Pebibytes

High Precision Data Unit Conversion

Conversion History (Last 6)

Input Petabyte - and press Enter

Complete List of Petabyte Converters

Quick Navigation

PB to PiB - Conversion Formula and Steps

Petabyte and Pebibyte are units of digital information used to measure storage capacity and data transfer rate. Petabyte is a decimal standard unit where as Pebibyte is binary. One Petabyte is equal to 1000^5 bytes. One Pebibyte is equal to 1024^5 bytes. There are 1.125899906842624 Petabytes in one Pebibyte. - view the difference between both units

PB to PiB Converter Image
Source Data UnitTarget Data Unit
Petabyte (PB)
Equal to 1000^5 bytes
(Decimal Unit)
Pebibyte (PiB)
Equal to 1024^5 bytes
(Binary Unit)

The formula of converting the Petabyte to Pebibyte is represented as follows :

PiB = PB x 10005 / 10245

Note : Here we are converting the units between different standards. The source unit Petabyte is Decimal where as the target unit Pebibyte is Binary. In such scenario, first we need to convert the source unit to the basic unit - Byte - multiply with 1000^5, and then convert to target unit by dividing with 1024^5 .

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


Pebibyte = Petabyte x 10005 / 10245


Pebibyte = Petabyte x (1000x1000x1000x1000x1000) / (1024x1024x1024x1024x1024)


Pebibyte = Petabyte x 1000000000000000 / 1125899906842624


Pebibyte = Petabyte x 0.88817841970012523233890533447265625

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

  1. = 10 x 10005 / 10245
  2. = 10 x (1000x1000x1000x1000x1000) / (1024x1024x1024x1024x1024)
  3. = 10 x 1000000000000000 / 1125899906842624
  4. = 10 x 0.88817841970012523233890533447265625
  5. = 8.8817841970012523233890533447265625
  6. i.e. 10 PB is equal to 8.8817841970012523233890533447265625 PiB.

(Result rounded off to 40 decimal positions.)

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

Popular PB Conversions

Conversion Units

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

Definition : Pebibyte

A Pebibyte (PiB) is a unit of digital information that is equal to 1,125,899,906,842,624 bytes (or 9,007,199,254,740,992 bits) and is defined by the International Electro technical Commission(IEC). The prefix "pebi" is derived from the binary number system and it is used to distinguish it from the decimal-based "petabyte" (PB). It is widely used in the field of computing as it more accurately represents the storage size of high end servers and data storage arrays.
- Learn more..

Excel Formula to convert from PB to PiB

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

1Petabyte (PB)Pebibyte (PiB) 
21=A2 * 0.88817841970012523233890533447265625 

Download - Excel Template for Petabyte to Pebibyte Conversion

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

Python Code for PB to PiB Conversion

You can use below code to convert any value in Petabyte to Pebibyte in Python.

petabyte = int(input("Enter Petabyte: "))
pebibyte = petabyte * (1000*1000*1000*1000*1000) / (1024*1024*1024*1024*1024)
print("{} Petabyte = {} Pebibyte".format(petabyte,pebibyte))

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