RAID calculator

Enter your drives and pick a RAID level to see how much space you can actually use and how many drives can fail without losing data. Covers standard RAID and ZFS RAIDZ, with every level compared side by side.

Drives of different sizes?
When filled in, this replaces the two fields above.
RAID level
Usable capacity, —
Survives—
Space efficiency—
Every RAID level for these drives
LevelUsableEfficiencyDrives that can fail
Ad slot · below the tool, never inside it

How RAID capacity is calculated

Every level below treats each drive as the size of the smallest drive in the array (s), with n drives in total.

LevelUsable spaceMinimum drivesDrives that can fail
RAID 0n × s20
RAID 1s2All but one
RAID 5(n − 1) × s31
RAID 6(n − 2) × s42
RAID 10n × s ÷ 24 (even)1 per mirror pair
RAIDZ1≈ (n − 1) × s21
RAIDZ2≈ (n − 2) × s32
RAIDZ3≈ (n − 3) × s43

Example: four 4 TB drives in RAID 5 give 12 TB of usable space, shown as about 10.91 TiB by Windows. One drive's worth of space holds parity, so any one drive can fail and the array rebuilds onto a replacement.

The RAID levels in plain English

  • RAID 0 joins drives into one fast, large volume with no protection. One failed drive loses everything.
  • RAID 1 (mirror) keeps a full copy on every drive. Safe and simple, but you get only one drive's worth of space.
  • RAID 5 and RAIDZ1 spend one drive's worth of space on parity and survive one failure. If a second drive fails before the rebuild finishes, the data is lost.
  • RAID 6 and RAIDZ2 spend two drives' worth and survive any two failures, which is why they are the common choice for arrays of large drives.
  • RAIDZ3 spends three drives' worth and survives three failures.
  • RAID 10 mirrors pairs of drives and joins the pairs. Only half the raw space is usable.

RAIDZ is ZFS's own version of parity RAID, used by TrueNAS and available in Proxmox. The OpenZFS manual describes its capacity as approximate, because ZFS also stores its own metadata. For choosing between storage-first and virtual-machine-first systems, see Proxmox vs Unraid.

Sources

Frequently asked questions

Which RAID level is best for a home NAS?

For four or more drives, RAID 6 or RAIDZ2 is the safer choice because it survives two failed drives. RAID 5 or RAIDZ1 gives more space but survives only one. For two drives, a mirror (RAID 1) is the usual choice.

Why does my array show less space than this calculator?

Two reasons. Drive makers count 1 TB as 1,000,000,000,000 bytes, while Windows counts in TiB, which is about 9% smaller: that is why the calculator shows both. File systems also reserve some space for their own use. ZFS RAIDZ in particular holds approximately, not exactly, the amount shown.

Can I mix drive sizes?

Yes, but standard RAID and RAIDZ use only as much of each drive as the smallest one. Three drives of 4, 4 and 8 TB in RAID 5 give 8 TB of usable space, and 4 TB of the 8 TB drive goes unused. Unraid's array works differently and can use mixed sizes fully.

Is RAID a backup?

No. RAID protects against a drive failing. It does not protect against deleting a file by mistake, ransomware, fire or theft, because those affect every drive at once. Keep a separate backup of anything important.