MB to PiB Calculator - Convert Megabytes to Pebibytes

High Precision Data Unit Conversion

Conversion History (Last 6)

Input Megabyte - and press Enter
MB
 
ADVERTISEMENT

Complete List of Megabyte Converters

Quick Navigation

MB to PiB - Conversion Formula and Steps

Megabyte and Pebibyte are units of digital information used to measure storage capacity and data transfer rate. Megabyte is a decimal standard unit where as Pebibyte is binary. One Megabyte is equal to 1000^2 bytes. One Pebibyte is equal to 1024^5 bytes. There are 1,125,899,906.842624 Megabytes in one Pebibyte. - view the difference between both units

MB to PiB Converter Image
Source Data UnitTarget Data Unit
Megabyte (MB)
Equal to 1000^2 bytes
(Decimal Unit)
Pebibyte (PiB)
Equal to 1024^5 bytes
(Binary Unit)

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

PiB = MB x 10002 / 10245

Note : Here we are converting the units between different standards. The source unit Megabyte 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^2, 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 Megabyte (MB) to Pebibyte (PiB).

  1. STEP 1 → Pebibyte = Megabyte x 10002 / 10245
  2. STEP 2 → Pebibyte = Megabyte x (1000x1000) / (1024x1024x1024x1024x1024)
  3. STEP 3 → Pebibyte = Megabyte x 1000000 / 1125899906842624
  4. STEP 4 → Pebibyte = Megabyte x 0.0000000008881784197001252323389053344726

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

  1. = 10 x 10002 / 10245
  2. = 10 x (1000x1000) / (1024x1024x1024x1024x1024)
  3. = 10 x 1000000 / 1125899906842624
  4. = 10 x 0.0000000008881784197001252323389053344726
  5. = 0.000000008881784197001252323389053344726
  6. i.e. 10 MB is equal to 0.000000008881784197001252323389053344726 PiB.

(Result rounded off to 40 decimal positions.)

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

Popular MB Conversions

Conversion Units

Definition : Megabyte

A Megabyte (MB) is a unit of digital information that is equal to 1,000,000 bytes (or 8,000,000 bits) and commonly used to express the size of a file or the amount of memory used by a program. It is also used to express data transfer speeds and in the context of data storage and memory, the binary-based unit of mebibyte (MiB) 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 MB to PiB

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

 ABC
1Megabyte (MB)Pebibyte (PiB) 
21=A2 * 0.0000000008881784197001252323389053344726 
3   

Download - Excel Template for Megabyte 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 MB to PiB Conversion

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

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

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