The formula
RAID 0: usable = N × C; no fault tolerance
RAID 1: usable = C; survives N − 1 failures
RAID 5: usable = (N − 1) × C; survives 1 failure
RAID 6: usable = (N − 2) × C; survives 2 failures
RAID 10: usable = N/2 × C; RAID 50/60: (N − g) × C or (N − 2g) × C for g groups
TiB = TB × 10¹² ÷ 2⁴⁰ (about 0.909 × TB)
Worked example
- Six 12 TB drives in RAID 6:
- Usable = (6 − 2) × 12 = 48 TB, which most operating systems show as 43.66 TiB.
- Raw capacity is 72 TB, so efficiency is 4 ÷ 6 = 66.7%, with 24 TB used for parity.
- Any two drives can fail without losing data. The same drives in RAID 10 give 36 TB, and in RAID 5 give 60 TB but survive only one failure.
What RAID does
RAID (redundant array of independent disks) combines several drives into one logical volume for more capacity, more speed, protection against drive failure, or a balance of all three. It's used in servers, network-attached storage (NAS) boxes and workstations. Each RAID level trades usable capacity against fault tolerance and performance differently. This calculator shows the usable space, how much goes to redundancy, how many drives can fail and the theoretical speed-up for the common levels.
RAID 0, 1 and 10
RAID 0 stripes data across all drives, giving the full capacity and the best speed but no protection: if any drive fails, everything is lost. RAID 1 mirrors identical copies on two or more drives, so you get the capacity of one drive and can lose all but one. RAID 10 stripes across mirrored pairs, combining RAID 1's protection with RAID 0's speed at 50% efficiency. RAID 10 rebuilds quickly, because a replacement drive copies from its mirror, and it's popular for databases and virtual machines that need fast random writes.
RAID 5 and 6: parity
RAID 5 spreads parity information across all drives, so the array can rebuild the contents of any single failed drive. It uses the capacity of one drive for parity, giving good efficiency with three or more drives. RAID 6 adds a second, independent parity block and survives two simultaneous failures, at the cost of two drives' capacity and slower writes. RAID 50 and 60 stripe across several RAID 5 or 6 groups, improving performance and rebuild times in large arrays. Many NAS systems offer similar schemes, such as Synology SHR or ZFS RAID-Z1, Z2 and Z3.
Why RAID 5 is risky with large drives
When a drive fails in RAID 5, the array runs without protection until the rebuild finishes. With today's large drives, rebuilding can take a day or more, during which every remaining drive is read in full. A second failure, or an unrecoverable read error, can cause data loss. Drives bought together often fail around the same time, too. For drives of 8 TB and larger, most storage experts recommend RAID 6, RAID 10 or equivalent double-parity schemes rather than RAID 5.
TB versus TiB
Drive makers advertise capacity in decimal terabytes (10¹² bytes), but most operating systems report binary tebibytes (2⁴⁰ bytes), about 9% smaller. A 48 TB array therefore shows as roughly 43.7 TB in Windows or a NAS interface. File systems also reserve some space for metadata, snapshots and journaling, so the space available for files will be a little lower still. The calculator shows both figures so you can match what you'll see on screen.
Hot spares and rebuild time
A hot spare is an extra drive kept in the array, unused, that the controller automatically starts rebuilding onto when a drive fails. It shortens the window of risk, which matters for remote servers. Rebuild time is roughly the drive capacity divided by its sustained speed: a 12 TB drive at 150 MB/s takes at least 22 hours, and longer if the array is busy.
RAID is not a backup
RAID protects against drive failure, but not against accidental deletion, file corruption, ransomware, controller failure, theft, fire or flood: all of these affect every drive in the array at once. Follow the 3-2-1 rule: keep three copies of important data, on two different types of media, with one copy off-site or in the cloud. Our data transfer calculator estimates how long a cloud backup will take, and the cloud cost calculator estimates storage costs.