Calculators.Life Calculator
Engineering

ZFS Storage Pool Capacity Calculator

Input Parameters

Scenarios
Total number of physical drives allocated to the storage pool or vdev.
Manufacturer advertised size of each disk in decimal terabytes (1 TB = 10^12 bytes).

Computed Results

Effective Capacity (TB)
7.71
Raw Storage Capacity (TB)16
Usable Capacity Pre-Overhead (TB)8
Effective Capacity (TiB)7.01
Calculated ZFS Overhead (%)3.61%
Fault ToleranceMirror Pairs: 2. Can survive failure of 1 disk in each mirror pair (up to 2 disks if in different pairs).

The ZFS storage pool capacity calculator determines the effective usable space and fault tolerance of your storage array. By accounting for disk count, drive size, redundancy levels (such as RAIDZ or mirroring), and file system overhead, it helps you accurately plan your storage architecture and understand the difference between raw and usable capacity.

Practical Use Cases

When designing a ZFS storage pool (zpool), the advertised size of your hard drives does not equal the amount of data you can actually store. System administrators and home lab enthusiasts use a zfs calculator to plan their storage arrays. Common applications include:

How to Use the Calculator

Follow these steps to estimate your storage pool's capacity:

  1. Number of Disks in Pool: Enter the total number of physical drives you plan to allocate to the storage pool or vdev.
  2. Disk Size (Decimal TB): Input the manufacturer's advertised size of a single disk in terabytes (e.g., 4, 8, 12).
  3. Redundancy Level: Select your desired fault tolerance configuration (None, Single/RAIDZ1, Double/RAIDZ2, Triple/RAIDZ3, or Mirror).

The calculator will output your raw capacity, usable capacity before overhead, effective capacity in both TB and TiB, and a description of your array's fault tolerance.

Formula & Calculation Explanation

The calculator determines your effective capacity through a multi-step process that accounts for redundancy and file system overhead.

1. Usable Disks Based on Redundancy

First, the system calculates how many disks actually contribute to storage capacity based on your chosen redundancy level:

2. Effective Capacity Calculation

Once the usable disks are determined, the calculator applies a standard ZFS overhead rate. This overhead accounts for slop allocation (typically 1/32 of the pool) and metadata, modeled here as approximately 3.61%.

Usable Capacity Pre-Overhead = Usable Disks × Disk Size
Effective Capacity (TB) = Usable Capacity Pre-Overhead × (1 − 0.0361)

3. TB to TiB Conversion

Operating systems often display storage in base-2 tebibytes (TiB) rather than base-10 terabytes (TB). The calculator converts the effective TB capacity to TiB using the following formula:

Effective Capacity (TiB) = (Effective Capacity (TB) × 1,000,000,000,000) ÷ 1,099,511,627,776

Verified Scenario Walkthroughs

Here are four verified examples demonstrating how different configurations impact usable capacity and fault tolerance:

Small home media server setup

A basic entry-level setup using 2 disks of 8 TB each with single redundancy (RAIDZ1):

Standard enterprise RAIDZ2 array

A mid-range configuration using 8 disks of 12 TB each with double redundancy (RAIDZ2):

High-capacity archival storage pool

A high-value setup using 24 disks of 20 TB each with triple redundancy (RAIDZ3):

Performance-focused stripe configuration

An alternate mode using 6 disks of 4 TB each with no redundancy:

Inputs & Outputs Reference

FieldTypeDescription
Number of Disks in PoolInputTotal number of physical drives allocated to the storage pool or vdev.
Disk Size (Decimal TB)InputManufacturer advertised size of each disk in decimal terabytes (1 TB = 10^12 bytes).
Redundancy LevelInputThe fault tolerance configuration (e.g., mirror, single, double).
Raw Storage Capacity (TB)OutputThe total advertised capacity of all disks combined, ignoring redundancy.
Usable Capacity Pre-Overhead (TB)OutputThe capacity available after accounting for redundancy, but before ZFS formatting overhead.
Effective Capacity (TB)OutputThe final usable capacity in base-10 terabytes after ZFS overhead is deducted.
Effective Capacity (TiB)OutputThe final usable capacity in base-2 tebibytes, which is how most operating systems display storage space.
Calculated ZFS Overhead (%)OutputThe percentage of space reserved for ZFS slop allocation and metadata (calculated at 3.61%).
Fault ToleranceOutputA description of how many disk failures the array can survive without data loss.

Frequently Asked Questions

What is the difference between TB and TiB in ZFS?

Hard drive manufacturers measure capacity in base-10 terabytes (TB), where 1 TB equals 1,000,000,000,000 bytes. However, operating systems typically display storage in base-2 tebibytes (TiB), where 1 TiB equals 1,099,511,627,776 bytes. This conversion is why a drive always appears smaller in your operating system than on the physical label.

What is ZFS overhead?

ZFS overhead consists of space reserved by the file system to function properly. This includes 'slop allocation' (typically 1/32 of the pool size) to prevent the pool from becoming completely full and unmanageable, plus additional space for metadata. This calculator models the combined overhead at approximately 3.61%.

Why does mirroring reduce my capacity by half?

In a mirrored configuration, every piece of data is written identically to two disks to ensure high performance and fast rebuild times. Because every disk has an exact copy, the total usable capacity is exactly half of the raw capacity of the paired disks.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.