RAID & ZFS RAIDZ Usable Capacity (TB vs TiB) & IOPS Calculator

Interactive RAID & ZFS Usable Capacity, IOPS & Rebuild Time Calculator

OpenZFS RAIDZ · RAID capacity
SCENARIO PRESETS:
?Array layout: RAID 0 (stripe), RAID 1 (n-way mirror), RAID 10 (mirrors), RAID 5 or 6 (parity), RAID 50 or 60 (striped RAID 5 or 6 groups), or ZFS RAIDZ1, RAIDZ2 or RAIDZ3. The parity count sets how many drives can fail. The IOPS model uses write penalties 1, n, 2, 4 and 6 for RAID 0, 1, 10, 5 and 6 (4 and 6 again for RAID 50 and 60); a RAIDZ vdev counts as one disk.
?Number of drives in one array (RAID), one group (RAID 50 or 60) or one RAIDZ vdev. Read it from the bay plan. Range: 2 to 36 drives; RAID 5 needs 3 or more, RAID 6 and RAID 10 need 4 or more.
?Raw capacity of one drive in TB as printed on the label (decimal, 10^12 bytes). Range: 1 to 30 TB.
?Random IOPS of one drive. A 7200 rpm HDD gives roughly 75 to 100 random IOPS; the 80 default is a model assumption for a 16 TB HDD. Use the measured value for your drive. Range: 50 to 50,000 IOPS.
?Share of the workload that is reads; the rest is writes. Measure it with hypervisor or database statistics, or use 70% for a mixed VM workload. Range: 10 to 100%.
?Number of identical vdevs or groups striped together. Use 1 for a single array; RAID 50 and RAID 60 need 2 or more. Range: 1 to 16.
?Hot spare drives kept idle to start a rebuild at once. They add raw capacity, not usable capacity. Range: 0 to 8 drives.
?Drive class that sets the unrecoverable read error rate, the maximum in one manufacturer datasheet for that class (see Sources): NVMe SSD 1 error per 10^17 bits (Samsung PM9A3), SAS SSD 10^17 (Seagate Nytro 3031), 15K SAS HDD 10^16 (Seagate Exos 15E900), nearline 7.2K HDD 10^15 (Seagate Exos X22), consumer HDD 10^14 (Seagate BarraCuda). Your drive's own datasheet may differ; this sets only the read-error probability.
?Speed at which a replacement drive is rewritten. 165 MB/s is the model default; production I/O lowers it. Use the rate your controller or zpool reports. Range: 10 to 1,000 MB/s.
RAW VS USABLE STORAGE (TB & TIB)
Raw = 128 TB · Net = 95.86 TB (87.19 TiB)
STORAGE SPACE EFFICIENCY
74.9% net capacity efficiency
EFFECTIVE WORKLOAD RANDOM IOPS
80 IOPS (RAIDZ vdev ≈ one disk) · for comparison, 492 IOPS if the same drives were striped mirrors
ESTIMATED RESILVER / REBUILD TIME
26.9 Hours to rewrite a full drive at 165 MB/s
DRIVES YOU CAN LOSE
2 drives guaranteed
READ ERROR (URE) IN A REBUILD
59.18 % chance of a read error while reading 112 TB · parity can repair it
CALC21 · RAID & ZFS Usable Capacity…8026.995.8674.9
Computed in your browser

Eight 16 TB drives in one RAIDZ2 vdev (128 TB raw) give 95.86 TB, or 87.19 TiB, of usable space. Six drives hold data (96 TB), and OpenZFS then keeps back slop space: 1/32 of the pool, but never more than 128 GiB. On this pool the 128 GiB cap applies, because 1/32 of 96 TB would be 3 TB. Change the topology, drive count or drive size in the calculator and the capacity, IOPS, rebuild time and read-error risk follow.

Governing equationC_usable = (N − N_parity) · C_disk [RAIDZ: − min(C_usable/32, 128 GiB)] | IOPS_eff = IOPS_raw / [R + W · P_w] (RAID); IOPS_eff = I_disk per VDEV (RAIDZ) (OpenZFS RAIDZ (Pool Structure); OpenZFS zfs.4 (spa_slop_shift, metaslab_df_free_pct))

Model assumptions

The MARGINAL seal (rebuild above 24 h) and the single-parity warning (RAID 5 or RAIDZ1 with more than 8 drives) are thresholds of this model, not of a standard. The model accepts 2 to 36 drives per group and rewrites a full drive at 165 MB/s by default (an input). Hot spares add raw capacity only. RAIDZ usable capacity subtracts the OpenZFS slop space, min(usable ÷ 32, 128 GiB); the 128 MiB minimum for tiny pools, the embedded log reservation, RAIDZ allocation padding and metadata are not modelled. Read-error probability = 1 − exp(−bits read × datasheet maximum rate), with independent errors and every surviving drive of the group read in full (the mirror partner in RAID 1 and 10); a second failure is not modelled.

Computed in your browser. The calculator, the tables and the worked examples run the same equations.

Why Does a 128 TB RAIDZ2 Array (8 x 16 TB) Show 87.2 TiB in ZFS?

Storage architects routinely meet a capacity shortfall between the raw decimal Terabytes (TB) printed on drive labels and the binary Tebibytes (TiB) reported by zpool list, df -h, VMware vSphere or Windows Server. Drive makers define 1 TB as 10^12 bytes; operating systems and ZFS use IEC 80000-13 powers of two, 1 TiB = 2^40 = 1,099,511,627,776 bytes. Before any parity disk, hot spare or metadata is deducted, every drive shrinks by 10^12 / 2^40 = 0.9094947 TiB per TB, a 9.05% reduction in displayed capacity. The first table shows it: eight 16 TB drives in RAIDZ2 keep six data drives (96 TB); OpenZFS then holds back slop space of 1/32 of the pool with a ceiling of 128 GiB, and here the ceiling applies (1/32 of 96 TB would be 3 TB), which leaves 95.86 TB, or 87.19 TiB.

After base conversion, parity removes redundancy drives: RAID 10 sacrifices 50% of raw drives for mirrored pairs (N/2 usable); RAID 5 / RAIDZ1 sacrifices 1 drive per VDEV/array (N - 1); RAID 6 / RAIDZ2 sacrifices 2 (N - 2); RAIDZ3 sacrifices 3 (N - 3); RAID 0 sacrifices none, RAID 1 keeps one drive per mirror, and RAID 50 and 60 lose 1 or 2 drives in each group (Wikipedia, Nested RAID levels). OpenZFS also holds back slop space: by default 1/32 (3.2 %) of the pool (spa_slop_shift = 5), capped at 128 GiB on large pools (spa_max_slop), so the cap takes over once usable space passes 4 TiB (128 GiB × 32). Keep pools well clear of full (see the FAQ on write performance).

8-Drive × 16 TB (128 TB Raw) Usable Capacity & IOPS Comparison Across RAID and ZFS Topologies — Computed via C_usable = (N − N_parity) · C_disk [RAIDZ: − min(C_usable/32, 128 GiB)] | IOPS_eff = IOPS_raw / [R + W · P_w] (RAID); IOPS_eff = I_disk per VDEV (RAIDZ) (OpenZFS RAIDZ (Pool Structure); OpenZFS zfs.4 (spa_slop_shift, metaslab_df_free_pct)) · Sources checked November 2026
TopologyFault ToleranceUsable Decimal (TB)Usable Binary (TiB)Efficiency (%)Effective IOPS (70/30)
RAID 10 (Mirrors)1–4 drives64.00 TB58.21 TiB50.0%492 IOPS
RAID 51 drive112.00 TB101.86 TiB87.5%337 IOPS
RAID 62 drives96.00 TB87.31 TiB75.0%256 IOPS
ZFS RAIDZ11 drive111.86 TB101.74 TiB87.4%80 IOPS
ZFS RAIDZ22 drives95.86 TB87.19 TiB74.9%80 IOPS
ZFS RAIDZ33 drives79.86 TB72.63 TiB62.4%80 IOPS

How Do Write Penalties, Random IOPS and Rebuild Time Change With the RAID Level?

Under a mixed workload (default 70% random reads, 30% writes), every small random write reads and rewrites old data and parity blocks: the RAID write penalty (F_wp). RAID 0 has F_wp = 1; RAID 10 writes both mirrors (F_wp = 2); RAID 5 has F_wp = 4; and RAID 6 has F_wp = 6. The effective random IOPS of a classic RAID array across N drives with per-drive IOPS I_disk and read ratio r_read is IOPS_eff = (N * I_disk) / (r_read + (1 - r_read) * F_wp). In OpenZFS a RAIDZ VDEV behaves like one spindle for random IOPS (~1x I_disk per VDEV), so high-IOPS pools add VDEVs or use striped mirrors.

The rebuild (resilvering) window grows with drive capacity. At the 165 MB/s default rebuild rate, which you can change (real rates fall with concurrent production I/O), rewriting a full 16 TB drive takes (16 * 10^6 MB) / 165 MB/s = 96,970 seconds (26.9 hours). The MARGINAL seal (rebuild above 24 hours) and the single-parity warning (RAID 5 or RAIDZ1 with more than 8 drives) are thresholds of this model, not of a standard. An 8-drive RAID 5 array reads 7 * 16 TB = 112 TB to rebuild, so a consumer drive with an Unrecoverable Read Error (URE) spec of 1 in 10^14 bits would be expected to meet about nine bad sectors. The calculator gives the probability, 1 − exp(−bits read × rate): 99.99 % for that consumer drive and 59.2 % for a nearline drive rated 1 sector per 10^15 bits (Seagate Exos X22 data sheet). Hence RAID 6 / RAIDZ2 for large arrays, where the remaining parity can repair the error.

ZFS RAIDZ2 Usable Capacity (TB / TiB) & Efficiency by VDEV Drive Width (16 TB Drives) — Computed via C_usable = (N − N_parity) · C_disk [RAIDZ: − min(C_usable/32, 128 GiB)] | IOPS_eff = IOPS_raw / [R + W · P_w] (RAID); IOPS_eff = I_disk per VDEV (RAIDZ) (OpenZFS RAIDZ (Pool Structure); OpenZFS zfs.4 (spa_slop_shift, metaslab_df_free_pct)) · Sources checked November 2026
VDEV Width (Drives)Raw CapacityUsable Decimal (TB)Usable Binary (TiB)Storage Efficiency
4 Drives64 TB31.86 TB28.98 TiB49.8%
6 Drives96 TB63.86 TB58.08 TiB66.5%
8 Drives128 TB95.86 TB87.19 TiB74.9%
10 Drives160 TB127.86 TB116.29 TiB79.9%
12 Drives192 TB159.86 TB145.39 TiB83.3%
16 Drives256 TB223.86 TB203.60 TiB87.4%

What Does the Calculator Return for a 6 x 8 TB RAID 5 and for 8 x 16 TB Striped Mirrors?

Worked Example 1 (6 x 8 TB legacy RAID 5 array, 60 % reads): An older file server has six 8 TB drives in RAID 5 and a mostly-read workload, and its owner wants to know what a rebuild costs. The six drives are 48 TB raw and 40 TB net (36.38 TiB, 83.3 % efficiency). They give about 218 random IOPS at 60 % reads, and a failed drive takes 13.5 h to rewrite at 165 MB/s. During that rewrite the array reads the five surviving drives, 40 TB, and the chance of a read error on a nearline drive is 27.39 %; with RAID 5 there is no parity left to repair it and the stripe is lost. The same six drives in RAID 6 keep 32 TB net (29.10 TiB) and can repair that error, so the decision is whether 8 TB of capacity is worth that margin. Related in the Network, Fiber, PoE & Rack Hub: IP Camera NVR Storage & Bandwidth Calculator (H.265+) and Server Rack Thermal BTU/h, Cooling Tons & CFM Calculator.

Worked Example 2 (8 x 16 TB striped mirrors, 50 % read database): A database host needs random IOPS more than capacity, so the question is what striped mirrors buy over RAIDZ2 on the same eight 16 TB drives. RAID 10 returns 427 random IOPS at 50 % reads, with 64.0 TB net (58.21 TiB, 50.0 % efficiency); one RAIDZ2 vdev of the same drives is modelled at about 80 IOPS, one disk's worth, but keeps 95.86 TB (87.19 TiB). A mirror rebuild rewrites one drive in 26.9 h and reads only its 16 TB partner, a 12.01 % chance of a read error against 59.18 % for the 112 TB that RAIDZ2 reads. The choice is 31.86 TB of capacity against more than five times the IOPS. More calculators for the same rack are in the Engineering Studio.

Step-by-Step Storage Pool Sizing and ZFS `ashift` Alignment Checklist

When initializing OpenZFS pools on modern 4K-native (4Kn) HDDs or NVMe SSDs, always force ashift=12 (4 KiB sectors) or ashift=13 (8 KiB sectors) at pool creation time to prevent read-modify-write sector misalignment penalties.

Sources

  1. OpenZFS · RAIDZ (Pool Structure)RAIDZ1, RAIDZ2 and RAIDZ3 are single, double and triple parity groups. Random-read IOPS of a RAIDZ vdev is roughly one disk's; worst-case write IOPS is that of the slowest disk.
  2. Wikipedia · Standard RAID levels General definitionSpace efficiency: RAID 5 = 1 - 1/n and RAID 6 = 1 - 2/n of total capacity; RAID 1 = 1/n. Basis of the RAID 5 and RAID 6 usable-capacity checks.
  3. Wikipedia · ZFS General definitionRAID-Z1, Z2 and Z3 survive one, two and three disk failures (Z1 like RAID 5, Z2 like RAID 6). The article gives no capacity or IOPS formulas.
  4. OpenZFS · zfs(4) module parameters (spa_slop_shift, metaslab_df_free_pct)spa_slop_shift defaults to 5: the last 1/2^5 = 1/32 (3.2 %) of pool space is not allowed to be consumed. Basis of the 1/32 share of the slop space that the calculator subtracts from RAIDZ usable capacity; this page does not give the 128 GiB cap, which is in the source file listed next. Classic RAID 5, 6 and 10 carry no such factor. Same page: metaslab_df_free_pct defaults to 4 %; once free space in a space map falls below it, allocation switches from first-fit to best-fit.
  5. OpenZFS · module/zfs/spa_misc.c (spa_slop_shift, spa_max_slop, spa_get_slop_space)Source code of OpenZFS, read on 25 Nov 2026 at commit 76c1fb8: spa_slop_shift = 5 and spa_max_slop = 128 GiB; spa_get_slop_space() sets slop = MIN(space >> spa_slop_shift, spa_max_slop). The comment above the parameter says that on very large pools the slop space is smaller than 3.2 %, bounded by spa_max_slop. Basis of the cap applied here.
  6. Wikipedia · Nested RAID levels General definitionRAID 50 needs at least six drives and RAID 60 at least eight; efficiency 1 - 1/n and 1 - 2/n per group of n drives, and tolerance of one or two drives per group.
  7. Seagate · Exos X22 data sheetNonrecoverable read errors per bits read: 1 sector per 10E15 for the 7.2K nearline class.
  8. Seagate · Exos 15E900 data sheetNonrecoverable read errors per bits read, maximum 1 per 10E16, for the enterprise 15K SAS class.
  9. Seagate · BarraCuda 3.5-inch data sheet1 sector per 10E14 for the consumer desktop HDD class.
  10. Samsung · PM9A3 data sheetUncorrectable bit error rate 1 sector per 10^17 bits read for the NVMe SSD class.
  11. Seagate · Nytro 3031 SAS SSD data sheetNonrecoverable read errors per bits read: 1 per 10E17 for the SAS SSD class.

Method and test suite: Calculation Methodology.

Frequently Asked Questions: RAID & ZFS Usable Capacity, IOPS & Rebuild Time Calculator

Why does a single 10-drive ZFS RAIDZ2 VDEV only deliver the random IOPS of a single drive?

Because ZFS uses dynamic variable-width stripes across all data and parity disks to eliminate the RAID-5 write hole, every random read or write must coordinate across the VDEV spindles. To multiply random IOPS, stripe across several smaller VDEVs (two 6-drive RAIDZ2 VDEVs or five 2-way mirrors).

Why does ZFS write performance fall as a pool fills up?

OpenZFS is a copy-on-write filesystem that never overwrites live blocks in place, so every write needs free space. Per the OpenZFS module parameters, once the free space in a space map falls below metaslab_df_free_pct (default 4 %), allocation switches from first-fit to best-fit. This calculator does not give the point where a given workload slows down, so plan capacity with room to spare instead of a fixed percentage.

How does ZFS resilvering differ from traditional hardware RAID controller rebuilds?

A hardware RAID controller is filesystem-blind and rebuilds every sector of a 20 TB drive, even if the array is 15% full. OpenZFS knows which blocks hold data, so a resilver rewrites only allocated blocks and can finish sooner on a partly filled pool. This calculator has no fill-level input: its rebuild time is for a full drive at the speed you enter (165 MB/s by default), the upper bound for a full pool.

What is the RAID-5 'Write Hole' and how does ZFS eliminate it?

In hardware RAID 5/6 without a battery-backed cache, a power loss mid-write leaves the data and parity stripes out of sync and silently corrupts data on later parity reads. ZFS writes every stripe as a variable-width, checksummed copy-on-write transaction, so partial-stripe desynchronization cannot occur.