Skip to content

RAID Calculator

RAID 0, 1, 5, 6, 10, 50, 60 and ZFS RAIDZ capacity calculator: usable TB and TiB, efficiency, fault tolerance, rebuild time and the risk of a read error during a rebuild.

Calculator Details

RAID 5 usable capacity:24 TBSee results ↓

Hardware/software RAID levels or ZFS layouts

Including any hot spares

As sold, in decimal terabytes (1 TB = 1,000 GB)

Your Results

RAID 5 usable capacity: 24 TB

RAID 5 usable capacity

24 TB

21.83 TiB as the operating system shows it · 75% of raw

Survives

1 drive

Drive failures without losing data

Rebuild time

22.2 h

8 TB at 100 MB/s

Read-error risk in a rebuild

85.3%

Chance of an unrecoverable read error while rebuilding (at the spec rate): data at risk

Performance (ideal)

3× read

Random-write penalty: 4

RAID is not a backupRAID protects against drive failure, not against deletion, ransomware, fire or a failed controller. Keep a separate backup.

RAID 5 on 4 × 8 TB gives 24 TB usable (21.83 TiB, 75.0% of the raw space) and survives 1 drive.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Usable capacity by RAID level (4 drives)

Usable capacity by RAID level (4 drives)

Detailed Breakdown

Compare levels on 4 × 8 TB
LevelUsableEfficiencySurvivesWrite penalty
RAID 032 TB100%None: any failure loses the array1
RAID 18 TB25%3 drives4
RAID 5 (you)24 TB75%1 drive4
RAID 616 TB50%2 drives6
RAID 1016 TB50%1 drive (up to 2 if each is in a different pair)2
RAID 50—RAID 50 needs at least 6 drives for 2 groups.
RAID 60—RAID 60 needs at least 8 drives for 2 groups.
RAIDZ124 TB75%1 drivefull-stripe writes
RAIDZ216 TB50%2 drivesfull-stripe writes
RAIDZ3—RAIDZ3 needs at least 5 drives.
ZFS mirrors16 TB50%1 drive (up to 2 if each is in a different pair)2

Write penalty: back-end disk operations per small random write. RAIDZ writes full stripes, so it has no read-modify-write penalty but random IOPS of about one drive per vdev.

How This Calculator Works

How it's calculated

usable = data drives × smallest drive · TiB = TB × 10¹² ÷ 2⁴⁰

P(URE in rebuild) = 1 − (1 − 1/R)^(bits read)

Your array: RAID 5 on 4 active drives keeps 3 drives of data: 3 × 8 TB = 24 TB, or 21.828 TiB. Rebuilding one drive reads 3 drives in full (24 TB) and writes 8 TB at 100 MB/s, about 22.2 hours. At one error per 1e+14 bits, the chance of at least one unrecoverable read error is 85.3%.

Frequently Asked Questions

How much space do I get with RAID 5?

One drive’s worth less than the total: (n − 1) × the drive size. Four 8 TB drives give 24 TB usable, 75% of the raw 32 TB. The missing drive’s worth of space holds parity, spread across all drives, which lets the array rebuild any one failed drive.

Why does my 24 TB array show as about 21.8 TB?

Drive makers count 1 TB as 10¹² bytes, while Windows and many other systems count in binary units of 2⁴⁰ bytes (a tebibyte, TiB) but still label them “TB”. 24 × 10¹² ÷ 2⁴⁰ = 21.83 TiB. Nothing is missing; it is the same space in a different unit. File-system overhead takes a little more.

What is the difference between RAID 5 and RAID 6?

RAID 5 keeps one drive’s worth of parity and survives one failure; RAID 6 keeps two and survives any two. With today’s large drives, a RAID 5 rebuild reads every surviving drive in full, and a read error or a second failure during those hours loses data, so RAID 6 (or RAIDZ2) is the usual choice for arrays of large drives.

Is RAID 10 better than RAID 5?

It trades capacity for speed and simpler rebuilds. RAID 10 gives only half the raw space but has no parity calculation, a write penalty of 2 instead of 4, and rebuilds by copying one mirror partner, which is faster and reads far less data. It survives one failure for sure, and more if they hit different mirror pairs.

What is an unrecoverable read error (URE)?

A sector the drive can’t read back even after retries. Datasheets quote a maximum rate, typically fewer than one error per 10¹⁴ bits read for desktop and NAS drives and one per 10¹⁵ or 10¹⁶ for enterprise drives. During a RAID 5 rebuild every remaining bit must be read, so even a small rate adds up: 24 TB is about 1.9 × 10¹⁴ bits.

Is the read-error risk really that high?

The calculator uses the datasheet ceiling, so it is a worst case. Real drives usually do much better than their spec, and many controllers and ZFS can mark one bad sector and carry on rather than failing the whole rebuild. The number is still a good way to compare layouts: the same rebuild at 10¹⁵ is roughly ten times less risky.

How is RAIDZ different from RAID 5 and 6?

RAIDZ1, Z2 and Z3 are ZFS’s parity layouts with one, two or three parity drives per vdev. Capacity works out like RAID 5, 6 and “RAID 7”, minus a few percent of ZFS metadata and padding. RAIDZ writes whole variable-width stripes, so it has no RAID 5 “write hole”, and rebuilds (resilvers) copy only the data actually stored, not the whole drive.

Do I still need a backup with RAID?

Yes. RAID keeps the array running when a drive fails. It does nothing against accidental deletion, ransomware, file-system corruption, a failed controller, theft or fire, and a mistake is mirrored to every drive instantly. Follow the 3-2-1 rule: three copies, on two kinds of media, one off-site.

Included: usable capacity (TB and TiB), efficiency, guaranteed fault tolerance, ideal read gain and random-write penalty for RAID 0, 1, 5, 6, 10, 50, 60, ZFS RAIDZ1–3 and ZFS mirrors; hot spares; mixed drive sizes (each member limited to the smallest); rebuild time at a fixed rate; and the chance of an unrecoverable read error during a rebuild at the drive’s datasheet rate (Patterson, Gibson and Katz 1988; SNIA; OpenZFS). The read-error figure uses the spec ceiling, which real drives usually beat by a wide margin. Left out: ZFS metadata, padding and slop space (real RAIDZ pools show a few percent less), file-system overhead, SSD wear, controller cache, drive failure rates (MTBF/AFR) and the chance of a second drive failing during the rebuild. RAID is not a backup.

RAID Calculator: Capacity, Fault Tolerance and Rebuild Risk

By FindMySum · Last reviewed

A RAID calculator tells you how much space an array of drives gives you, how many drive failures it survives, and what happens when one fails. RAID (a redundant array of independent disks) spreads data across several drives, trading some capacity for speed, safety or both. This page covers RAID 0, 1, 5, 6, 10, 50, 60 and the ZFS layouts RAIDZ1, RAIDZ2, RAIDZ3 and mirrors. It shows usable capacity in TB and TiB, efficiency, fault tolerance and relative performance, compares every level on your drives, and estimates the rebuild time and the chance of hitting an unreadable sector during a rebuild.

Capacity by RAID level

With n drives of size s (the smallest, if they differ):

LevelUsableSurvivesNotes
RAID 0n × s0striping only; fastest, no protection
RAID 1sn − 1every drive is a full copy
RAID 5(n − 1) × s1one drive of distributed parity
RAID 6(n − 2) × s2two parity blocks per stripe
RAID 10n/2 × s1 (up to n/2)mirrored pairs, striped
RAID 50(n − g) × s1 (one per group)g RAID 5 groups, striped
RAID 60(n − 2g) × s2 (two per group)g RAID 6 groups, striped
RAIDZ1/2/3(n − p) × spZFS parity, p = 1, 2, 3

Worked example: four 8 TB drives in RAID 5

  • Raw space: 4 × 8 = 32 TB.
  • Usable: (4 − 1) × 8 = 24 TB, 75% efficiency.
  • In binary units: 24 × 10¹² ÷ 2⁴⁰ = 21.83 TiB, which is what Windows will report as "21.8 TB".
  • Fault tolerance: any one drive.

The same four drives give 32 TB in RAID 0 (no protection), 16 TB in RAID 6 or RAID 10, and 8 TB in a four-way RAID 1.

TB versus TiB

Drives are sold in decimal terabytes, 10¹² bytes. Operating systems often measure in tebibytes, 2⁴⁰ = 1,099,511,627,776 bytes, while still writing "TB". A tebibyte is about 10% bigger, so every array looks about 9% smaller once installed. The data storage converter does the conversion for any size.

Rebuild time

When a drive fails, the array runs degraded until a replacement is rebuilt. The rebuild writes one drive's worth of data, so the minimum time is the drive size divided by the rebuild rate. For an 8 TB drive at 100 MB/s:

8 × 10¹² bytes ÷ 100 × 10⁶ bytes/s = 80,000 s ≈ 22 hours.

Under normal load, rebuilds often run at a fraction of the drive's top speed and take longer. During that time a RAID 5 array has no redundancy left.

The unrecoverable read error problem

To rebuild a RAID 5 drive, the controller must read every bit on every surviving drive. Datasheets for desktop and NAS drives typically quote fewer than one unrecoverable read error (URE) per 10¹⁴ bits read; enterprise drives quote 10¹⁵ or 10¹⁶. For the default array, the rebuild reads three 8 TB drives: 24 × 10¹² × 8 = 1.92 × 10¹⁴ bits. At the 10¹⁴ spec,

P(at least one URE) = 1 − (1 − 10⁻¹⁴)^(1.92 × 10¹⁴) ≈ 1 − e^(−1.92) ≈ 85%.

At 10¹⁵ the same rebuild has about a 17% chance. These are worst cases built from the spec ceiling, and real drives usually do much better, but they explain why storage engineers moved from RAID 5 to RAID 6 and RAIDZ2 as drives grew. With double parity, a read error during a single-drive rebuild can be repaired from the second parity, so it is not data loss.

Mirrors are kinder: a RAID 10 rebuild reads only the failed drive's partner, so the default drives in RAID 10 would read one 8 TB drive instead of three.

Performance in brief

  • Reads scale with the number of drives holding data: RAID 0 and mirrors read from every drive; parity levels read from the data drives.
  • Small random writes cost extra disk operations: 2 for mirrors, 4 for RAID 5 (read data and parity, write both) and 6 for RAID 6.
  • RAIDZ writes whole stripes, avoiding the read-modify-write penalty and the RAID 5 "write hole", but each vdev delivers roughly the random IOPS of a single drive, so ZFS pools for databases often use mirrors.

RAID is not a backup

RAID keeps data available through a drive failure. It does not protect against deleting the wrong folder, ransomware, a corrupted file system, a failing controller, theft or fire, and any change is written to every drive at once. Keep at least one separate backup, ideally off-site.

More questions

Can I mix drive sizes in a RAID array?

Usually, but every drive is treated as the size of the smallest. A RAID 5 of 4, 4, 8 and 8 TB drives gives 3 × 4 = 12 TB, leaving 8 TB on the larger drives unused. Some systems (Synology SHR, Unraid, ZFS after replacing every drive) can use more of the extra space, but standard RAID levels can't.

How many drives do I need for each RAID level?

RAID 0 and RAID 1 need two, RAID 5 three, RAID 6 and RAID 10 four (RAID 10 in even numbers). RAID 50 needs at least two RAID 5 groups of three (six drives) and RAID 60 two RAID 6 groups of four (eight). ZFS RAIDZ1, Z2 and Z3 are usually built with at least three, four and five drives.

What is a hot spare?

An installed drive that holds no data until another drive fails, when the controller starts rebuilding onto it automatically. It shortens the time the array runs degraded, which matters most at night or in remote sites, but it adds no capacity and no extra fault tolerance while the array is healthy.

Which RAID level is best for a home NAS?

For two drives, RAID 1. For three or four drives up to about 8 TB each, RAID 5 or RAIDZ1 is common; with larger drives, RAID 6 or RAIDZ2 is safer because rebuilds take a day or more. Whatever the level, keep a separate backup.

How long does a RAID rebuild take?

Roughly the drive size divided by the rebuild speed, if nothing else is using the array. An 8 TB drive at 100 MB/s takes about 22 hours; a 20 TB drive takes over two days. Busy arrays rebuild more slowly, and ZFS resilvers only copy the space actually used, which can be much faster on a half-empty pool.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy