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.

업데이트 검증한 예제: 6

Drive makers label sizes in decimal TB (10¹² bytes).
시도하기
Usable capacity
TB
Usable capacity: 24 TB
최대 소수 자릿수: 3; 가장 가까운 값, 중간값은 0에서 먼 쪽으로
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
계산 방법 S
  1. Drive size in decimal and binary units

    8 TB=8×1012 bytes=8×1012240=7.2760 TiB8\ \text{TB} = 8 \times 10^{12}\ \text{bytes} = \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

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

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.

계산 예제

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

검증 출처: Python 3.8 decimal: (4 − 1) × 8 = 24 TB; 24e12 / 2**40 = 21.8279 TiB; 8e12 / 2**40 = 7.2760 TiB

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

검증 출처: Python 3.8: (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

검증 출처: Python 3.8: 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

검증 출처: Definition: every member holds a full copy

자주 묻는 질문

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. A small random write costs 4 disk I/Os on RAID 5 and 6 on RAID 6, so RAID 6 writes are slower.

Is RAID 10 better than RAID 5?

RAID 10 is faster and rebuilds more safely, while RAID 5 stores more. 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.

“RAID calculator (RAID 0, 1, 5, 6 and 10)”의 정확도는 어느 정도인가요?

정확도는 입력값과 계산 방법의 가정에 따라 달라집니다. 십진 연산은 유효숫자 50자리를 사용하지만, 추정값·수치해석 방법·원본 데이터의 정밀도는 더 낮을 수 있습니다. 표시값을 반올림해도 이러한 한계는 사라지지 않습니다. 독립적인 출처의 풀이와 대조한 계산 예시: 6. 예를 들어 “RAID 5 with 4 × 8 TB”은 Python 3.8 decimal: (4 − 1) × 8 = 24 TB; 24e12 / 2**40 = 21.8279 TiB; 8e12 / 2**40 = 7.2760 TiB와 대조해 확인합니다.

이 계산 방법의 출처는 무엇인가요?

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

이 계산기 소개

usable=s×{nRAID 01RAID 1n−1RAID 5n−2RAID 6n/2RAID 10\text{usable} = 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}

출처

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

출처와 대조하여 검증

이 계산기에는 독립적인 출처에서 답을 얻은 계산 예제가 6개 있습니다. 테스트 모음에서 실행되며 여기에서도 실행할 수 있습니다.

관련 계산기