Monday to Saturday 8:00–19:00 (UK time), Sunday closedFree courier pickup · drop-off points in Cardiff, Birmingham and London

RAID calculator: capacity, performance and rebuild risk

A configurator for system administrators: compare RAID 5, 6, 10, 50, 60, RAID-Z and SHR with the same disks, simulate failures and get ready-made mdadm and ZFS commands.

The calculator

Start from one of the examples or add disks one at a time. Tap a disk to mark it as failed and watch what happens to the volume: degraded, still protected or lost.

The link in the address bar always holds the current setup, which makes it easy to keep with a quote or a change request.

Load an example

What each figure means

Each number answers a practical question: how much can I store, how many disks can fail, how fast is it and how exposed am I while it rebuilds.

  • Usable space

    What is left for volumes, before the file system. Shown in decimal TB, as printed on the disk label, or in binary TiB, the unit used by Linux, ZFS and Windows.

  • Protection

    Capacity taken by parity or mirror copies. It is the price of redundancy: one disk for RAID 5 and RAID-Z1, two for RAID 6, half the array for RAID 10.

  • Unused

    Space the level cannot use when disks have different sizes. In classic RAID every member drops to the smallest disk; SHR and separate ZFS vdevs reduce the waste.

  • Reserved and spare

    ZFS keeps about 1/32 of the pool free (slop space, capped at 128 GiB in recent OpenZFS). Hot spares hold no data until they replace a failed disk.

  • Failures tolerated

    The first number holds for any disks, the second is the maximum when failures land in different groups. An 8-disk RAID 10 survives 4 failures only if no pair loses both disks.

  • Theoretical performance

    Multiples of a single disk, without cache. Random writes include the write penalty: 2 I/O for mirrors, 4 for single parity, 6 for dual parity. RAID-Z gives about one disk of IOPS per vdev.

Choosing a RAID level by workload

Starting points we also use in consultancy. The calculator lets you check them against your own hardware: click “try” to load an example.

WorkloadSuggested levelWhyExample
Virtual machines, databases, mailRAID 10 or ZFS mirrorsMany small random writes: low write penalty, and a rebuild reads back a single disk.try
File server and shared foldersRAID 6 or RAID-Z2A good balance of space and protection; dual parity also covers a read error during the rebuild.try
Backup repositories, large archivesRAID 60 or several RAID-Z2 vdevsHigh capacity with smaller groups: shorter rebuilds and a spread risk.try
Video surveillance (NVR)RAID 5 with few disks, RAID 6 above 4Continuous sequential writes; with large disks single parity leaves the array exposed for too long.try
Home or small office NAS with mixed disksSHR or SHR-2Uses disks of different sizes and grows by replacing one disk at a time.try
Scratch space, render cache, data you can regenerateRAID 0Top speed and capacity, as long as losing the volume costs nothing.try

Whatever the level, keep a backup on separate storage: RAID does nothing against deletion, ransomware or a bad firmware update. Disks from the same batch also age together, so a second failure during a rebuild is more common than the datasheet suggests.

How the calculator works

We publish the formulas so you can check every result. They are deliberately simple: good enough to compare options, not a substitute for testing the real system.

Not modelled: controller and SSD caches, compression, deduplication, RAID-Z padding with small records and the space NAS systems reserve for their own partitions. Check the vendor documentation for model-specific limits.

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

RAID calculator: questions and answers

What is the formula for usable space in RAID 5, 6 and 10?

RAID 5: (n − 1) × smallest disk. RAID 6: (n − 2) × smallest disk. RAID 10: n ÷ 2 × smallest disk. For RAID-Z apply the same rule to every vdev and subtract the ZFS reserve. Larger disks in a classic array only contribute the size of the smallest member.

Is RAID 5 still safe with today’s large hard drives?

For disks of several terabytes it is risky. Rebuilding means reading every other disk in full, often for more than a day, with no redundancy left. A single unrecoverable read error or another failure stops it. Dual parity (RAID 6, RAID-Z2) is the safer default.

What happens if my RAID disks are not the same size?

A classic RAID treats every member as if it were as small as the smallest disk, and the rest is lost. SHR, or separate ZFS vdevs grouped by size, recovers most of it. The calculator shows the unused space for each option.

Is RAID-Z the same as RAID 5?

Similar protection, different mechanics. RAID-Z1 has single parity like RAID 5, but ZFS writes full stripes with checksums, which avoids the write hole and detects silent corruption. Random performance scales with the number of vdevs, not disks.

Why does SHR give more space than RAID 5 with mixed disks?

Because it does not trim every disk to the smallest one. It cuts the disks into layers of equal size, protects each layer with its own array and combines them with LVM, so larger disks keep contributing as long as at least two of them share a layer.

Why does rebuilding a large RAID take so long?

The controller has to write the whole replacement disk, reading all the others at the same time, usually at reduced priority so the array stays usable. At 100 MB/s a 20 TB disk takes more than two days.

How does the URE rate affect a rebuild?

The more data you read back, the more likely you meet a sector that cannot be read. With no parity left, that error cannot be corrected and the rebuild may stop. Enterprise disks rated at 10^15 bits lower the risk tenfold compared with 10^14.

My RAID has more failed disks than it can tolerate: is the data gone?

Not necessarily. Disks marked as failed often still read most sectors. Power the system down, label the disks with their slot and avoid forced rebuilds or reinitialisation. We image every disk and reconstruct the array from the copies.

RAID degraded or not mounting?

Every rebuild attempt writes to the disks. Leave them as they are, note the slot order and talk to us: we image each disk and rebuild the volume virtually, for hardware RAID, mdadm, ZFS and NAS arrays.

RAID data recovery

Free diagnosis in 1 minute

Which device has a problem?

Step 2 of 3

What is happening?

Step 3 of 3

Where should we send the diagnosis?

Reply within 2 hours during opening hours. No obligation. Free courier pickup anywhere in the UK.

Calculate the cost