Storage
RAID & ZFS capacity calculator
Plan a NAS or storage server: usable space, efficiency and how many drive failures each layout survives, for classic RAID and ZFS — in TB as printed on the box and TiB as your OS shows it.
- Drives
- 6
- Raw capacity
- 48.0 TB
- Usable capacity
- 32.0 TB = 29.10 TiB
- After ZFS slop space (1/32)
- 28.19 TiB
- Usable at 80 % fill
- 22.56 TiB
- Storage efficiency
- 66.7 %
- Drive failures tolerated per vdev
- 2
How to use it
- Pick a layout. For ZFS, set the drives per vdev and the number of vdevs striped together.
- Enter the drive size as sold (decimal TB).
- Read the usable capacity in TB and TiB; for ZFS also after the space ZFS reserves for itself.
- Use the planned fill level to see what you can actually store while keeping the pool fast.
Formula and method
usable = (drives per group − parity drives) × drive size × groups mirror: 1 drive of data per group; RAID 10: drives ÷ 2 parity drives: RAID 5/RAIDZ1 = 1, RAID 6/RAIDZ2 = 2, RAIDZ3 = 3 TiB = TB × 10¹² ÷ 2⁴⁰ ZFS slop space = 1/32 of the pool
- Drives are sold in decimal terabytes (10¹² bytes); operating systems usually show binary TiB (2⁴⁰ bytes), about 9 % less.
- ZFS reserves 1/32 of the pool (“slop space”) and slows down when very full; keeping around 20 % free is a common rule. RAIDZ padding and metadata can reduce space a little further depending on recordsize and ashift.
- RAID is not a backup: it protects against drive failure, not deletion, ransomware or a dead server. See the 3-2-1 rule.
Worked example
Six 8 TB drives in one RAIDZ2 vdev: (6 − 2) × 8 = 32 TB. 32 × 10¹² ÷ 2⁴⁰ = 29.10 TiB. Minus 1/32 slop space: 29.10 × 31/32 ≈ 28.19 TiB. Staying under 80 % full leaves ≈ 22.56 TiB for data. Any two drives may fail.
FAQ
Is RAIDZ1 safe with large drives?
With one parity drive, a second failure during a long rebuild loses the pool. With large drives rebuilds take many hours, so many people prefer RAIDZ2 or mirrors for drives of several terabytes.
Why does my NAS show less space than the drives add up to?
Parity or mirror copies, the TB vs TiB difference (~9 %), filesystem reservations such as ZFS slop space, and metadata all reduce what you can store.
Mirrors or RAIDZ?
Mirrors give faster rebuilds, better random I/O and easy expansion two drives at a time, at 50 % efficiency. RAIDZ uses space more efficiently but rebuilds slower and expands in whole vdevs.
Related tools
- Cloud storage vs NAS cost calculator — Compare cloud storage with your own NAS over 1, 3 and 5 years — hardware, power and upkeep included — and find the break-even month.
- Power consumption & electricity cost calculator — Turn a server’s idle and load watts into kWh and electricity cost per day, month and year, with official prices per country and US state.
- UPS runtime & sizing calculator — Estimate how long a UPS keeps your homelab running and which VA/W rating to buy for your load.
Formulas reviewed November 27, 2026 by Novian · runs entirely in your browser · methodology