RAID calculator and simulator for storage planning
Built by the engineers who rebuild failed arrays every week: work out capacity, fault tolerance, IOPS and rebuild time before you buy disks or reshape a volume.
Set up the array with your disks
The calculator handles disks of different sizes, hot spares, nested levels and several ZFS vdevs. Results update as you type and the address of the page keeps the configuration.
Open the advanced settings to match your hardware: disk speed, IOPS, error rate, failure rate and rebuild priority.
Load an example
Which level for which workload
Rules of thumb from the arrays we see in the lab. Load any row into the calculator and adjust it to your disks.
| Workload | Suggested level | Why | Example |
|---|---|---|---|
| Virtual machines, databases, mail | RAID 10 or ZFS mirrors | Many small random writes: low write penalty, and a rebuild reads back a single disk. | try |
| File server and shared folders | RAID 6 or RAID-Z2 | A good balance of space and protection; dual parity also covers a read error during the rebuild. | try |
| Backup repositories, large archives | RAID 60 or several RAID-Z2 vdevs | High capacity with smaller groups: shorter rebuilds and a spread risk. | try |
| Video surveillance (NVR) | RAID 5 with few disks, RAID 6 above 4 | Continuous sequential writes; with large disks single parity leaves the array exposed for too long. | try |
| Home or small office NAS with mixed disks | SHR or SHR-2 | Uses disks of different sizes and grows by replacing one disk at a time. | try |
| Scratch space, render cache, data you can regenerate | RAID 0 | Top speed and capacity, as long as losing the volume costs nothing. | try |
Two rules hold in every case. RAID protects against a disk failure, not against deletion, ransomware or configuration mistakes, so a separate backup is always needed. And disks bought together tend to fail close together: mix batches or keep a hot spare.
How to read the results
Installed capacity is split into four parts, next to fault tolerance, performance and rebuild risk: choosing a level means balancing all of them.
Usable capacity
The space your volumes can actually use, before formatting. Toggle between TB, the decimal unit on disk labels, and TiB, the binary unit reported by Linux, ZFS and most operating systems.
Parity and mirrors
The share of raw capacity that protects the data instead of storing it: one disk's worth in RAID 5 or RAID-Z1, two in RAID 6, half the disks in RAID 1 and RAID 10.
Wasted space
With mixed disk sizes, classic RAID trims every member to the smallest one. The calculator shows that loss; SHR or one ZFS vdev per disk size keeps it low.
ZFS reserve and spares
OpenZFS holds back roughly 1/32 of the pool (up to 128 GiB) so it can keep working when full. A hot spare stays empty until a disk fails.
Fault tolerance
Two numbers: failures survived whichever disks die, and the best case when failures fall in different mirrors or groups.
Speed and IOPS
Estimated against one disk, without controller or SSD cache. Random writes pay the write penalty of the level; a RAID-Z vdev behaves like one disk for random I/O.
The assumptions behind the numbers
A calculator is only useful if you know what it computes. These are the formulas, simplified on purpose: they are for comparing setups, not for certifying a system.
The estimates ignore controller cache, SSD cache, compression, deduplication, RAID-Z padding with small blocks and the system partitions of NAS units (Synology reserves a few GB per disk). For the limits of a given model, the vendor’s datasheet prevails.
- Capacity
- RAID 5/6: (n − p) × smallest disk. RAID-Z: sum over vdevs of (disks − p) × smallest disk of the vdev, minus slop space. SHR: for each capacity layer, (disks in the layer − p) × layer height.
- Rebuild time
- Member capacity ÷ (sequential speed × rebuild percentage). ZFS resilvers only allocated data, so pool fill counts too.
- Read errors (URE)
- P = 1 − e−bits read / URE rate, where bits read are the data on the surviving disks of the group. At 1014 bits that is on average one error every 12.5 TB read.
- Further failures during the rebuild
- Probability that enough disks in the group fail to exceed the remaining redundancy, assuming independent failures at a constant AFR during the rebuild window.
Sources and technical documentation
Frequently asked questions about RAID calculation
RAID 5 or RAID 6 with large disks?
Above 8–10 TB per disk, RAID 6 or RAID-Z2. A rebuild reads back every surviving disk for a day or more: with single parity, one unreadable sector or a second failure in that window is enough to lose the array. The calculator shows that risk for your disks.
What is the difference between RAID-Z and RAID 5 or 6?
RAID-Z1, Z2 and Z3 give one, two or three parity disks per vdev like RAID 5, RAID 6 and triple parity, but with variable-width copy-on-write stripes: there is no write hole and no read-modify-write. Random IOPS are about one disk per vdev, so pools with many vdevs are faster.
How long does a RAID rebuild take?
Roughly the capacity of one member divided by the rebuild speed. A 16 TB disk at 100 MB/s needs about 44 hours, longer if the array is busy. ZFS only resilvers allocated blocks, so a half-empty pool is faster.
Is a hot spare worth it?
It saves the time between a failure and the replacement, which can be days. For arrays that nobody watches every day or with large disks it is worth it; in ZFS a spare can serve several vdevs.
Why does my NAS show less space than the calculator in TB?
Disk makers count in decimal terabytes (10^12 bytes) while operating systems count in tebibytes (2^40 bytes): 16 TB are 14.55 TiB. Switch the unit to TiB to see what the system will report, before file system overhead.
How is usable RAID capacity calculated?
For RAID 5 it is (number of disks − 1) × the smallest disk, for RAID 6 (disks − 2) × the smallest disk, for RAID 1 and RAID 10 half of the total. RAID-Z works the same way per vdev, minus the space ZFS keeps in reserve. With mixed sizes, classic RAID trims every disk to the smallest one.
Can I mix disks of different sizes?
Yes, but in classic RAID each disk is used only up to the size of the smallest one. Synology SHR splits the disks into capacity layers and uses more of the space; in ZFS you can build one vdev per size. Enter your disks to see how much is wasted.
What should I do if the calculator says my array is lost?
Switch the system off and do not start a rebuild, reinitialise the volume or run file system repair tools: they overwrite the information needed to rebuild the array. In a laboratory we clone every disk and rebuild the array virtually, so the data is very often recoverable.
Has the array already failed?
Switch it off, do not force a rebuild and do not reinitialise the disks. Our laboratory clones every member and rebuilds the array virtually from the copies: RAID 0, 1, 5, 6, 10, 50, 60, RAID-Z and SHR, from servers and NAS units.