In 1 bytes there are 1.00000e-15 petabytes. Meanwhile in 1 petabytes there are 1,000,000,000,000,000 bytes. Keep reading to learn more about each unit of measure and how they are calculated. Or just use the Petabytes to Bytes calculator above to convert any number.
* Values rounded to 6 decimal places for readability
To convert bytes (B) to petabytes (PB), divide the number of bytes by 1,000,000,000,000,000.
Formula (decimal SI):
PB = B ÷ 1,000,000,000,000,000
Quick examples:
This bytes to petabytes conversion uses the standard decimal system, where 1 petabyte equals 10¹⁵ bytes.
It depends on the system you use. In decimal (SI), 1 KB = 1,000 bytes. In binary (often used for memory), 1 KiB = 1,024 bytes.
In decimal units, 1 MB = 1,000,000 bytes (1,000 KB). In binary units, 1 MiB = 1,048,576 bytes (1,024 KiB).
In decimal, 1 GB = 1,000,000,000 bytes (1,000 MB). In binary, 1 GiB = 1,073,741,824 bytes (1,024 MiB).
In decimal, 1 TB = 1,000,000,000,000 bytes (1,000 GB). In binary, 1 TiB = 1,099,511,627,776 bytes (1,024 GiB).
In decimal, 1 PB = 1,000,000,000,000,000 bytes (1,000 TB). In binary, 1 PiB = 1,125,899,906,842,624 bytes (1,024 TiB).
KB uses base-10 math (powers of 1,000). KiB uses base-2 math (powers of 1,024). Storage makers often use KB/MB/GB (decimal), while operating systems may show sizes closer to KiB/MiB/GiB (binary).
Drive makers label 1 TB as 1,000,000,000,000 bytes (decimal). Many computers report space using binary-sized chunks, close to TiB. That mismatch makes the number look smaller, even though the byte count is correct.
File size is usually shown in bytes (KB, MB, GB). Internet speed is often shown in bits per second (Kb/s, Mb/s, Gb/s). 1 byte = 8 bits, so you divide bits by 8 to estimate bytes.
These are the common decimal steps:
These are the binary steps:
Use MB/GB/TB when you want the common label shown on drives and plans. Use MiB/GiB/TiB when you need exact binary values, like in system reports or memory math.
Pick the system first:
In decimal, 1 TB = 0.001 PB. That means 1 PB = 1,000 TB.
In decimal, 1 PB = 1,000,000 GB. In binary terms, 1 PiB = 1,048,576 GiB.
Not always. Many storage labels use decimal, but some software uses the same letters while calculating in binary. If you need accuracy, look for KiB, MiB, GiB, TiB, PiB.
Petabyte (PB) is the largest unit in that range. After PB, the next common unit is exabyte (EB).
The Calculate Box tool to convert bytes to petabytes uses the open source script Convert.js to convert units of measurement. To use this tool, simply type a bytes value in the box and have it instantly converted to petabytes.