MiB to PB Calculator - Convert Mebibytes to Petabytes

High Precision Data Unit Conversion

Conversion History (Last 6)

Input Mebibyte - and press Enter

Complete List of Mebibyte Converters

Quick Navigation

MiB to PB - Conversion Formula and Steps

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

MiB to PB Converter Image
Source Data UnitTarget Data Unit
Mebibyte (MiB)
Equal to 1024^2 bytes
(Binary Unit)
Petabyte (PB)
Equal to 1000^5 bytes
(Decimal Unit)

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

PB = MiB x 10242 / 10005

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

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


Petabyte = Mebibyte x 10242 / 10005


Petabyte = Mebibyte x (1024x1024) / (1000x1000x1000x1000x1000)


Petabyte = Mebibyte x 1048576 / 1000000000000000


Petabyte = Mebibyte x 0.000000001048576

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

  1. = 10 x 10242 / 10005
  2. = 10 x (1024x1024) / (1000x1000x1000x1000x1000)
  3. = 10 x 1048576 / 1000000000000000
  4. = 10 x 0.000000001048576
  5. = 0.00000001048576
  6. i.e. 10 MiB is equal to 0.00000001048576 PB.

(Result rounded off to 40 decimal positions.)

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

Popular MiB Conversions

Conversion Units

Definition : Mebibyte

A Mebibyte (MiB) is a unit of digital information that is equal to 1,048,576 bytes (or 8,388,608 bits) and is defined by the International Electro technical Commission(IEC). The prefix "mebi" is derived from the binary number system and it is used to distinguish it from the decimal-based "megabyte" (MB). It is widely used in the field of computing as it more accurately represents the amount of data storage and data transfer in computer systems.
- 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 MiB to PB

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

1Mebibyte (MiB)Petabyte (PB) 
21=A2 * 0.000000001048576 

Download - Excel Template for Mebibyte 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 MiB to PB Conversion

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

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

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