Redundant Array of Independent Disks (RAID) Calculator
Calculate RAID usable capacity from disk sizes, layout, spares, overhead, and reserves, with failure tolerance and rebuild-risk checks.Planned Usable Capacity
Current result
| Metric | Value | Copy |
|---|---|---|
| {{ row.label }} | {{ row.value }} |
| Metric | Value | Copy |
|---|---|---|
| {{ row.label }} | {{ row.value }} |
| Layout | Planned usable ({{ unit }}) | Tolerance | Idle disks | Rebuild | Risk | Verdict | Copy |
|---|---|---|---|---|---|---|---|
|
{{ row.raidLabel }}
{{ row.note }}
|
{{ row.displayPlannedUsable }} | {{ row.toleranceDisplay }} | {{ row.idleDisplay }} | {{ row.rebuildDisplay }} | {{ row.riskDisplay }} | {{ row.statusText }} |
A RAID plan fails early when raw drive labels are treated as the space users or applications can safely consume. Redundant Array of Independent Disks layouts combine multiple drives for performance, redundancy, or both, but every protection choice changes the capacity answer. Mirrors duplicate data. Parity reserves drive-equivalent space for recovery. Hot spares wait outside normal use. Filesystems, snapshots, fill limits, and operating reserve reduce the number again.
The useful capacity question is therefore staged. Installed raw capacity describes what is in the chassis. Usable RAID capacity describes what remains after the selected layout and smallest engaged disk size are applied. Planned usable capacity is more conservative because it also leaves room for overhead, growth, snapshots, and emergency recovery work.
| Planning choice | What changes | Common mistake |
|---|---|---|
| Drive count and size | Sets the raw pool and the smallest engaged member used for protected capacity. | Counting every advertised terabyte even when larger drives are paired with smaller ones. |
| RAID level | Controls mirror or parity cost and the guaranteed failed-disk tolerance. | Choosing the largest capacity result without checking rebuild exposure. |
| Hot spare | Removes a standby disk from normal usable space. | Including a spare in both protection and usable capacity. |
| Target fill and reserve | Keeps planned space below the mathematical maximum. | Promising 100% of usable space to workloads that need snapshots, growth, or recovery room. |
| Rebuild speed and failure rate | Estimate how long the array stays degraded and how much exposure remains during recovery. | Treating a capacity number as a reliability forecast. |
RAID capacity and RAID safety are related, but they are not the same promise. RAID 6 can tolerate more disk failures than RAID 5 before data is lost, while RAID 10 depends on which mirror members fail. A layout may have an attractive capacity result and still spend many hours in a degraded state during rebuild, especially with large drives or slow rebuild throughput.
Backups remain separate from RAID. RAID can keep a system running through some disk failures, but it does not protect against deletion, ransomware, filesystem corruption, controller faults, site loss, or application mistakes.
How to Use This Tool:
Enter the disk inventory first, then compare the selected layout with the capacity ledger, failure envelope, matchup views, and topology strip.
- Set Disk slots, Disk size, and the unit. Use decimal TB/GB for drive-label planning and binary TiB/GiB when your source capacity already comes from an operating system or storage report.
- Turn on Define each disk manually when the shelf mixes capacities. Blank manual slots are treated as empty bays, and the inventory summary shows installed count, empty slots, smallest disk, and largest disk.
- Choose RAID layout. For RAID 1 and RAID 10, set mirror width. For RAID 50 and RAID 60, set group count and disks per group.
Nested layouts only engage complete groups. Extra active disks can become idle when group count and disks per group do not divide cleanly.
- Enter Hot spares before reading capacity. In mixed-disk plans, the largest spare candidates are reserved first so standby space does not inflate usable capacity.
- Open Advanced when you need filesystem overhead, target fill, safety reserve, per-disk system reserve, rebuild throughput, or annual disk failure rate to match your planning policy.
- Fix any red Current layout is not buildable warning before trusting the selected layout.
Common causes are too few active disks after spares, every installed disk assigned as a spare, or RAID 50/60 group geometry that requires more active disks than the plan has.
- Confirm the topology strip, then read Capacity Ledger, Failure Envelope, RAID Matchup Chart, RAID Matchup Table, and Capacity Mix Chart. Save the assumptions with any result used for purchasing, migration, or workload commitments.
Interpreting Results:
Use Planned usable after reserve for commitments, not installed raw capacity. That figure already reflects the selected RAID layout, filesystem overhead, target fill, and safety reserve. Then check whether the failure envelope and rebuild posture match the risk you can accept.
| Result cue | What it means | What to verify |
|---|---|---|
| Planned usable after reserve | Conservative capacity after redundancy, overhead, target fill, and reserve. | Use this number when space is promised to shares, databases, virtual machines, or teams. |
| Mixed-size loss | Larger engaged drives are capped by the smallest engaged drive in the same protected set. | Check whether standardizing sizes or regrouping disks recovers enough space to matter. |
| Idle active disks | Installed disks remain outside the final layout because the geometry does not divide cleanly. | Adjust mirror width, group count, disks per group, or spare count before ordering hardware. |
| Guaranteed disk failures tolerated | The conservative failed-disk count the layout can survive without relying on favorable failure placement. | Treat this as the operational promise, not the best-case count. |
| Best-case disk failures tolerated | Additional failures may survive only when they land in different mirror or parity groups. | Do not use the best-case value as a backup or recovery guarantee. |
| Long rebuild window | Rebuild duration reaches 36 hours or the conservative rebuild-window risk reaches 0.5%. | Compare RAID 6, RAID 10, smaller groups, faster media, or a hot spare. |
A large capacity result can still be a poor plan when it has no redundancy, a wide single-parity group, many idle disks, or a rebuild estimate that keeps the array degraded for too long.
Technical Details:
RAID capacity math first decides which disks are installed, which are held as spares, and which active disks can participate in the selected geometry. Blank manual slots are ignored. RAID 50 and RAID 60 engage only complete RAID 5 or RAID 6 groups, so leftover active disks can be excluded from the usable layout.
Protected capacity is usually based on the smallest engaged disk. If a 16 TB disk joins a protected group sized by 12 TB members, the extra 4 TB does not increase that group's protected capacity. After equalization, the calculation subtracts per-disk system reserve, applies filesystem overhead, applies the RAID efficiency rule, then applies target fill and safety reserve to produce planned usable capacity.
Formula Core:
The core equations show how raw engaged capacity becomes planned usable capacity and how rebuild exposure is estimated from drive size, rebuild speed, and annual failure rate.
| Symbol | Meaning | Source in the calculation |
|---|---|---|
Nengaged | Disks that participate in the selected RAID geometry after spares and idle disks are excluded. | Disk inventory plus RAID layout settings. |
Ssmallest | Smallest engaged disk capacity after unit conversion. | Shared disk size or the smallest populated manual disk in the engaged set. |
Rsystem | Total per-disk system reserve removed before RAID efficiency is applied. | System reserve per active disk multiplied by engaged disks, capped at equalized capacity. |
Ofilesystem | Filesystem overhead fraction. | Custom overhead or the ext4/XFS, btrfs, or ZFS preset. |
Elayout | Capacity efficiency of the selected RAID level. | Mirror, parity, or nested group rule. |
Ftarget | Target fill fraction kept available for planned use. | Target fill slider. |
Rsafety | Explicit safety reserve removed after target fill. | Safety reserve percentage. |
AFR | Annual failure rate as a decimal fraction. | Annual disk failure rate divided by 100. |
| Layout | Capacity efficiency rule | Guaranteed tolerance rule |
|---|---|---|
| RAID 0 | All equalized engaged capacity is usable before overhead and reserves. | 0 disks. |
| RAID 1 | 1 / mirror width across complete mirror sets. | Mirror width minus 1. |
| RAID 5 | (N - 1) / N for one distributed parity member. | 1 disk. |
| RAID 6 | (N - 2) / N for two distributed parity members. | 2 disks. |
| RAID 10 | 1 / mirror width across striped mirror sets. | Mirror width minus 1. |
| RAID 50 | (disks per group - 1) / disks per group across complete RAID 5 groups. | 1 disk conservatively; more only if failures land in different groups. |
| RAID 60 | (disks per group - 2) / disks per group across complete RAID 6 groups. | 2 disks conservatively; more only if failures land in different groups. |
| Planning status | Trigger | Interpretation |
|---|---|---|
| Not buildable | The selected disk count, spare count, or group geometry cannot form the layout. | Fix the named condition before reading selected-layout capacity. |
| No redundancy | The layout has zero guaranteed disk-failure tolerance. | Use only for scratch or replicated data, not as resilient storage. |
| Long rebuild window | Rebuild time is at least 36 hours, or conservative rebuild-window risk is at least 0.5%. | Recovery exposure is the main concern even if capacity is high. |
| Recovery-focused | Guaranteed tolerance is at least 2 disks and target fill is 90% or lower. | The plan favors redundancy and leaves useful operating headroom. |
| Balanced | A valid protected layout without the higher-risk rebuild or recovery-focused conditions. | Compare nearby layouts before treating the selected one as final. |
For eight 12 TB disks in RAID 6 with 5% filesystem overhead, the equalized raw capacity is 96 TB. After 5% overhead, 91.2 TB remains before RAID efficiency. RAID 6 with eight engaged disks uses six disk-equivalents for data, so protected capacity is 68.4 TB. An 80% target fill and 10% safety reserve leave about 49.25 TB as Planned usable after reserve.
The rebuild-window risk is a conservative comparison signal based on annual failure rate, estimated rebuild duration, exposed disk count, and the guaranteed tolerance threshold. It is not a full reliability model because it does not include drive age, correlated failures, latent sector errors, scrubbing, controller behavior, workload, or vendor-specific rebuild algorithms.
Limitations:
RAID capacity estimates help compare layouts, but they do not certify that a platform can build, perform, or recover the exact array. Confirm the hardware and operating environment before using a result for production planning.
- Check controller, NAS, filesystem, and operating-system support for the selected RAID level and group geometry.
- Confirm drive qualification, firmware behavior, sector format, and sustained rebuild throughput for the actual hardware.
- Keep backup and restore plans separate from RAID tolerance because RAID is not protection from deletion, ransomware, corruption, or site loss.
- Evaluate performance separately; this capacity result does not estimate write penalty, latency, cache behavior, or workload contention.
Advanced Tips:
- Use Define each disk manually for migrations and mixed shelves. The smallest engaged disk and idle disk count often explain surprising capacity losses.
- Compare TB and TiB only when the source units match. Drive labels are usually decimal, while many operating-system reports are binary.
- Keep Target fill at 80% to 90% for plans that need snapshots, growth, or rebuild workspace. Values above 90% trigger a headroom recommendation.
- Use a sustained Rebuild throughput value, not a burst benchmark. Large drives at low rebuild rates can push the status into Long rebuild window.
- Review RAID Matchup Table when the selected layout is not buildable. It can show a protected layout that fits the same installed disks.
- Check disk health before trusting spare and rebuild assumptions. A protected layout is weaker when multiple drives already show media errors or worn flash.
Worked Examples:
Eight-Drive RAID 6 With Operating Headroom
Eight 12 TB disks in RAID 6 with no hot spare start with 96 TB installed raw capacity. RAID 6 reserves two disk-equivalents for parity, so protected capacity is about 68.4 TB after 5% filesystem overhead. With an 80% target fill and 10% safety reserve, Planned usable after reserve is about 49.25 TB.
Same Shelf With a Hot Spare
Keeping one of the eight 12 TB disks as a hot spare leaves seven active disks for RAID 6. The same overhead, target fill, and reserve produce about 41.04 TB planned usable. The spare reduces usable capacity, but it can let recovery begin sooner after a member fails.
Wide RAID 5 With Slow Rebuild
Eight 12 TB disks in RAID 5 with no filesystem overhead and the default 5% safety reserve produce about 79.80 TB planned usable. At 80 MB/s rebuild throughput, rebuilding a 12 TB member takes about 41.7 hours, so the planning status becomes Long rebuild window even though the capacity result is high.
RAID 60 Geometry That Does Not Fit
A RAID 60 plan with two groups of four disks needs eight active disks. If an eight-slot shelf also assigns one hot spare, only seven active disks remain and the selected layout is not buildable. Remove the spare, add another installed disk, or choose a layout such as RAID 6 before using the selected-layout capacity ledger.
FAQ:
Why is usable capacity lower than the drive labels add up to?
The calculation removes hot spares, idle disks, mixed-size loss, RAID redundancy, filesystem overhead, target-fill headroom, and safety reserve before reporting Planned usable after reserve.
Should I use TB or TiB?
Use TB, GB, MB, or PB for decimal drive-label planning. Use TiB, GiB, MiB, or PiB when the source numbers already come from binary operating-system or storage-platform reports.
Why does a larger disk not always add more usable capacity?
Protected RAID groups are sized from the smallest engaged disk in the set. Extra space on larger disks appears as Mixed-size loss unless the disk set or grouping changes.
Why does the selected layout say it is not buildable?
The warning names the failing condition, such as too few active disks after spare allocation, every disk assigned as a spare, or RAID 50/60 groups that need more active disks than the plan has.
Does RAID replace backup?
No. The failure envelope describes disk-failure tolerance for the selected layout, not protection from deletion, ransomware, controller faults, filesystem corruption, site loss, or application mistakes.
Glossary:
- Engaged disk
- A disk that participates in the selected RAID geometry after spares and idle active disks are excluded.
- Equalized capacity
- The engaged disk count multiplied by the smallest engaged disk capacity.
- Hot spare
- A standby disk held out of normal capacity so it can be used when a member fails.
- Planned usable capacity
- The conservative capacity left after RAID redundancy, overhead, target fill, and safety reserve.
- Rebuild window
- The estimated time needed to rebuild a failed member from the smallest engaged disk size and rebuild throughput.
- Guaranteed tolerance
- The failed-disk count the selected layout can survive without relying on failures landing in favorable groups.
References:
- Common RAID Disk Data Format (DDF), SNIA, March 27, 2009.
- Data Protection Best Practices, SNIA, January 27, 2025.
- Managing RAID, Red Hat Enterprise Linux 10 documentation.
- Re-Evaluating RAID-5 and RAID-6 for Slower Larger Drives, IBM.
- How to check disk health in Linux, Simplified Guide.