CalcOpenly
English

RAID calculator (RAID 0, 1, 5, 6 and 10)

Calculate usable RAID capacity, parity or mirror overhead and how many drive failures RAID 0, 1, 5, 6 and 10 survive, in TB and the TiB Windows shows.

Drafted with AI writing toolsUpdated Checked examples: 6

Drive makers label sizes in decimal TB (10¹² bytes).
Try
Usable capacity
TB
Usable capacity: 24 TB
Maximum decimal places: 3; Nearest, ties away from zero
Usable in binary units (as Windows and df -h show it)
21.83TiB
Raw capacity
32TB
Used for redundancy
8TB
Space efficiency
75.00%
Drive failures always survived
1
Disk I/Os per small random write
4
One drive in binary units
7.28TiB
RAID 5 survives only one failure. A rebuild reads every other drive in full, and a second failure or unreadable sector during it loses data, which is why arrays of large drives often use RAID 6.

RAID 5 on 4 drives of 8 TB gives 24 TB usable (21.83 TiB in the binary units Windows shows), 75% of the raw space, and always survives 1 failed drive.

Every level with 4 × 8 TB drives

010203040RAID 0RAID 1RAID 5RAID 6RAID 10
Usable TBRedundancy TB
How it's calculated S
  1. Drive size in decimal and binary units

    8 TB=8×1012 B=8×1012240=7.2760 TiB8\ \text{TB} = 8 \times 10^{12}\ \text{B} = \frac{8 \times 10^{12}}{2^{40}} = 7.2760\ \text{TiB}

    Drive labels use 1 TB = 10¹² bytes. Windows divides by 2⁴⁰ but still prints “TB”, so a new drive looks about 9% smaller there; macOS reports decimal TB.

  2. RAID 5 usable space

    3×8 TB=24 TB3 \times 8\ \text{TB} = 24\ \text{TB}

    One drive's worth of parity is spread across all drives. Every member counts as the smallest drive in the set.

  3. Space efficiency

    2432=75.00%\frac{24}{32} = 75.00\%
  4. Fault tolerance

    1 drive

About the RAID calculator

In the formula, C is usable capacity, s is the smallest drive size and n is the number of drives. Usable capacity is the drive size times the number of drives' worth of space that holds data: n for RAID 0 striping, 1 for a RAID 1 mirror, n − 1 for RAID 5 single parity, n − 2 for RAID 6 double parity and n ÷ 2 for RAID 10 striped mirrors. The rest of the raw space holds copies or parity, which is what lets the array keep running after a drive fails.

People use it to size a NAS or server before buying drives. The default, four 8 TB drives in RAID 5, gives 24 TB usable out of 32 TB raw, 75% efficiency, and survives one failed drive. In Windows the same space appears as 21.83 TB, because Windows divides by 2^40 (the binary TiB) but prints "TB".

The results assume identical drives; with mixed sizes, each drive counts as the smallest one. File-system metadata, hot spares and reserved space are not subtracted, so the room left for files is slightly lower.

How to calculate usable RAID capacity

Multiply the smallest drive's size by the drives' worth of space that holds data: n for RAID 0, 1 for RAID 1, n − 1 for RAID 5, n − 2 for RAID 6 and n ÷ 2 for RAID 10. Four 8 TB drives give 32, 8, 24, 16 and 16 TB; the rest of their 32 TB holds parity or copies.

Capacity and fault tolerance by level

With n drives of size s:

  • RAID 0 (striping, 2+ drives): n × s usable. Any failure loses the array.
  • RAID 1 (mirroring, 2+ drives): s usable. Every drive is a full copy, so it survives n − 1 failures.
  • RAID 5 (single parity, 3+ drives): (n − 1) × s usable. Survives any one failure.
  • RAID 6 (double parity, 4+ drives): (n − 2) × s usable. Survives any two failures.
  • RAID 10 (striped mirrors, an even count of 4+ drives): n ÷ 2 × s usable. Survives one failure for certain, and up to n ÷ 2 if each failure hits a different mirror pair.

Redundancy also costs writes. A small random write takes 1 disk operation on RAID 0, 2 on RAID 10, 4 on RAID 5 and 6 on RAID 6, while RAID 1 writes once to every member. SNIA's Data Protection Best Practices describes the levels.

Worked example: four 8 TB drives in RAID 5

Raw capacity is 4 × 8 = 32 TB. One drive's worth holds distributed parity, so usable space is 3 × 8 = 24 TB, an efficiency of 24 ÷ 32 = 75%. The array keeps running after any single drive failure.

Windows reports that 24 TB as about 21.8 TB, because it divides by 2⁴⁰ bytes (a tebibyte, TiB) but still prints "TB": 24 × 10¹² ÷ 2⁴⁰ = 21.83. No space is missing. NIST's binary-prefix page defines both units.

Usable space for five arrays

ScenarioUsable TBUsable TiBFailures always survived
Default2421.831
RAID 1 on 387.282
RAID 6 on 63229.102
RAID 10 on 83229.101
Drive unit TiB3.2985348833283.001

The first four rows use 8 TB drives: four in RAID 5, three in one mirror, six in RAID 6 and eight in RAID 10. The last row is four 1 TiB drives in RAID 5, which gives exactly 3 TiB, or 3.298534883328 TB.

RAID 6 on six drives and RAID 10 on eight both give 32 TB, but RAID 6 survives any two failures, while RAID 10 is only guaranteed to survive one.

RAID 5, RAID 6 or RAID 10?

  • RAID 5 stores the most for one drive of protection: eight 8 TB drives give 56 TB, or 87.5%. A rebuild reads every surviving drive in full, and a second failure or unreadable sector during it loses data.
  • RAID 6 gives up a second drive, so eight 8 TB drives give 48 TB, or 75%. It survives two failures, which is why arrays of large drives often use it.
  • RAID 10 keeps only 50%, but small random writes take 2 disk operations instead of 4 or 6, and a rebuild copies just one mirror partner.

Planning details that change the answer

  • Mixed drive sizes. Every member counts as the smallest. Three 8 TB drives and one 12 TB drive in RAID 5 give 24 TB, leaving 4 TB of the larger drive unused.
  • Hot spares. A spare waits idle, so count only active members. Five bays holding four RAID 5 drives and one spare make a four-drive array.
  • Space you still lose. File-system metadata, snapshots and reserved free space all come out of the usable figure.
  • Backups. RAID is not a backup: deletion, ransomware and file-system corruption reach every drive at once, so keep separate copies.

Common RAID sizing mistakes

  • Expecting a three-drive RAID 1 to give 12 TB. A three-way mirror of 8 TB drives holds 8 TB, as three copies of the same data.
  • Assuming RAID 10 survives any two failures. Two failures in the same mirror pair lose the array.
  • Mixing up TB and TiB. One 8 TB drive is 7.28 TiB, about 9% less as a number, with the same bytes.

Units and minimum drive counts

  • Drive sizes in GB, TB, GiB or TiB. Drive makers label in decimal TB, 10¹² bytes.
  • RAID 5 needs at least 3 drives, RAID 6 and RAID 10 at least 4, and RAID 10 an even count.

To estimate how long copying the data will take, use the bandwidth and transfer calculator.

Worked examples

RAID 5 with 4 × 8 TB

RAID level
RAID 5
Number of drives
4
Size of each drive
8 TB
Usable capacity
24 TB
Usable in binary units (as Windows and df -h show it)
21.83 TiB
Space efficiency
75.00%
Drive failures always survived
1
One drive in binary units
7.28 TiB

Checked against: (4 − 1) × 8 = 24 TB

RAID 6 with 6 × 4 TB

RAID level
RAID 6
Number of drives
6
Size of each drive
4 TB
Usable capacity
16 TB
Used for redundancy
8 TB
Space efficiency
66.67%
Drive failures always survived
2
Disk I/Os per small random write
6

Checked against: (6 − 2) × 4 = 16; 16/24 = 66.67%

RAID 10 with 4 × 2 TB

RAID level
RAID 10
Number of drives
4
Size of each drive
2 TB
Usable capacity
4 TB
Space efficiency
50.00%
Drive failures always survived
1
Fault tolerance
1 drive guaranteed; up to 2 if each failure is in a different mirror pair

Checked against: 4 / 2 × 2 = 4 TB; with 2 mirror pairs one failure per pair is survivable, but two in the same pair are not

Two-drive mirror

RAID level
RAID 1
Number of drives
2
Size of each drive
1 TB
Usable capacity
1 TB
Space efficiency
50.00%
Drive failures always survived
1

Checked against: Definition: every member holds a full copy

Questions

How much usable space does RAID 5 give?

RAID 5 gives (n − 1) × drive size, because one drive's worth of space holds parity. Four 8 TB drives give 24 TB (75%) and eight give 56 TB (87.5%). It needs at least 3 drives and survives exactly one failure. Efficiency rises as you add drives, but so does the amount of data a rebuild must read without hitting a second failure.

What is the difference between RAID 5 and RAID 6?

RAID 6 stores two independent parities (P and Q) instead of one, so it survives any 2 failed drives at the cost of a second drive's capacity. With six 4 TB drives, RAID 5 gives 20 TB and RAID 6 gives 16 TB. With read-modify-write, a small random write costs 4 disk I/Os on RAID 5 and 6 on RAID 6. Actual throughput depends on the controller, cache and workload.

Is RAID 10 better than RAID 5?

RAID 10 can benefit small random writes and rebuilds, while RAID 5 stores more; actual performance depends on the workload and controller. RAID 10 always keeps 50% of raw space, so 4 × 8 TB gives 16 TB against 24 TB for RAID 5. A small random write costs 2 disk I/Os instead of 4, and a rebuild copies one mirror partner instead of reading every drive. RAID 10 survives 1 failure for certain and up to half its drives if each is in a different pair.

Why does an 8 TB drive show as 7.28 TB in Windows?

Drive makers use decimal units, 1 TB = 10^12 bytes, while Windows divides by 2^40 = 1,099,511,627,776 bytes and still labels the result TB. 8 × 10^12 ÷ 2^40 = 7.28, so no space is missing; the gap is about 9% at terabyte scale. IEC 80000-13 names the binary unit the tebibyte (TiB). Macs have reported decimal units since OS X Snow Leopard.

Is RAID a backup?

No. RAID keeps an array running through drive failures, but deletions, ransomware encryption and file-system corruption reach every drive at once, and RAID 0 has no redundancy at all. Keep separate backups: CISA recommends the 3-2-1 rule, which means 3 copies of important files, on 2 different media types, with 1 copy stored off-site.

About this calculator

C=s×{nRAID 01RAID 1n−1RAID 5n−2RAID 6n/2RAID 10C = s \times \begin{cases} n & \text{RAID 0} \\ 1 & \text{RAID 1} \\ n-1 & \text{RAID 5} \\ n-2 & \text{RAID 6} \\ n/2 & \text{RAID 10}\end{cases}

Sources

  1. SNIA Data Protection Best Practices — mirroring writes to every member
  2. SNIA Common RAID Disk Data Format (DDF) Specification, rev. 2.0 — RAID level definitions
  3. Patterson, Gibson & Katz (1988), A Case for Redundant Arrays of Inexpensive Disks (RAID), SIGMOD
  4. IEC 80000-13:2008 — binary prefixes (1 TiB = 2⁴⁰ bytes)

Checked against references

This calculator includes 6 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.