Quick Answer
For usable space, multiply the smallest drive’s size by the number of drives that hold data. That’s 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 in RAID 5 give 3 × 8 = 24 TB, or 21.83 TiB, and any one drive can fail.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- RAID Calculator
- Quick Answer
- Related Calculators
- How This RAID Calculator Works
- How to Use the RAID Calculator
- Core Formulas
- Key Terms
- Worked Example
- Real-Life Examples
- RAID 5 vs RAID 6
- RAID Levels Compared
- Why RAID Isn’t a Backup
- What to Check Before You Choose
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This RAID Calculator Works
RAID combines two or more drives into one array. Some levels split data across the drives, which is called striping. Others keep extra copies, called mirroring, or store parity, which is extra data used to rebuild a failed drive. Copies and parity protect you if a drive fails, but use some of the space you bought. Choose a level, then enter the number of drives and the size of the smallest one to see what’s left for your files.
The second table shows every level for the same drives, so you can compare their space and protection. For RAID 50 and 60, it uses two groups unless you choose one of those levels and change the number. Add hot spares and a price to see the total cost and cost per usable TB. Spares are ready to replace a failed drive but don’t add space. Save each server or storage box so you can compare possible upgrades later.
Quick explanation:
- RAID 5: one drive’s worth of space is used for parity.
- RAID 6: two drives’ worth of space is used for parity.
- RAID 10: half the space is used for a second copy.
How to Use the RAID Calculator
- Choose the RAID level.
- Enter the number of active drives and the size of the smallest one.
- For RAID 50 or 60, enter the number of groups.
- Add spare drives and a price if you want them.
- Press Calculate, then compare the levels or save the result.
Core Formulas
n is the number of active drives, s is the size of the smallest drive, and g is the number of groups.
- RAID 0: n × s
- RAID 1: s
- RAID 5: (n − 1) × s
- RAID 6: (n − 2) × s
- RAID 10: n ÷ 2 × s
- RAID 50: (n − g) × s
- RAID 60: (n − 2g) × s
- TB to TiB: TB × 1,000,000,000,000 ÷ 1,099,511,627,776
Key Terms
- Array: a group of drives that work together.
- Striping: splitting data across several drives.
- Mirroring: keeping the same data on two or more drives.
- Parity: extra data used to rebuild what was on a failed drive.
- Hot spare: an unused drive that’s ready to replace a failed one.
Worked Example
You have eight 8 TB drives. Compare RAID 6, RAID 10 and RAID 50 with two groups.
- Raw space: 8 × 8 = 64 TB
- RAID 6: (8 − 2) × 8 = 48 TB, or 43.66 TiB. Any two drives can fail
- RAID 10: 8 ÷ 2 × 8 = 32 TB, or 29.10 TiB. Any one drive can fail, or up to four if each is from a different pair
- RAID 50: (8 − 2) × 8 = 48 TB, or 43.66 TiB. Any one drive can fail, or two if they’re in different groups
- RAID 6 and RAID 50 give the same space here, but only RAID 6 can handle any two drives failing
Real-Life Examples
- Home storage: two 4 TB drives in RAID 1 give 4 TB (3.64 TiB).
- Small server: six 12 TB drives in RAID 6 give 48 TB (43.66 TiB).
- Database server: eight 2 TB drives in RAID 10 give 8 TB (7.28 TiB).
- Large array: sixteen 10 TB drives in RAID 60 with two groups give 120 TB.
RAID 5 vs RAID 6
- Space: RAID 6 uses one more drive’s worth of space for parity.
- Protection: RAID 5 can handle one failed drive. RAID 6 can handle any two.
- Minimum: RAID 5 needs three drives, and RAID 6 needs four.
RAID Levels Compared
The last two columns show the number of failed drives. RAID 1 here keeps the same data on all eight drives.
| Level | Minimum drives | Eight 8 TB drives | Always safe | Most possible |
|---|---|---|---|---|
| RAID 0 | 2 | 64 TB | 0 | 0 |
| RAID 1 | 2 | 8 TB | 7 | 7 |
| RAID 5 | 3 | 56 TB | 1 | 1 |
| RAID 6 | 4 | 48 TB | 2 | 2 |
| RAID 10 | 4 | 32 TB | 1 | 4 |
| RAID 50 (2 groups) | 6 | 48 TB | 1 | 2 |
| RAID 60 (2 groups) | 8 | 32 TB | 2 | 4 |
Why RAID Isn’t a Backup
RAID can keep an array working after a drive fails, but it can’t undo every kind of data loss. If you delete or overwrite a file, that change is made to the whole array. A fire, flood, theft or controller failure can affect all the drives at once. A RAID 1 mirror copies your changes straight away, so it won’t keep an old version of a file either.
Keep a separate backup of anything you can’t afford to lose, with at least one copy somewhere else. Test that you can restore files from it. When a drive fails, the array has less protection, or none, until a replacement has been added and rebuilt. Before you replace a drive, rebuild an array or change its level, check your backup and follow the instructions for your system. Removing the wrong drive can make things worse.
What to Check Before You Choose
- Different sizes: in this calculator, every drive counts as the smallest one. Linux RAID 0 can use some of the extra space.
- How many failures you can handle: use the “always” figure, not the “most” one.
- Speed: this depends on the drives, controller and work you do, so it isn’t estimated here.
- Small writes: in RAID 5 and 6, these can be slower because parity also has to be updated.
- Your system: check which levels, drive types and group sizes it supports.
Common Mistakes to Avoid
- Using RAID instead of a backup. Keep a separate copy as well.
- Counting spares as space. They hold no data until they’re used.
- Mixing up TB and TiB. 8 TB is about 7.28 TiB.
- Counting on the “most” figure. It only applies if the right drives fail.
- Forgetting that sizes are mixed. Base the plan on the smallest drive.
Frequently Asked Questions
Subtract 1 from the number of drives, then multiply by the size of the smallest drive.
24 TB, or 21.83 TiB, before file system and RAID data.
At least four. Any two can fail.
Half of it. With two copies, the other half is usable.
Any one. More can fail if no mirrored pair loses both its drives.
Six drives for RAID 50 and eight for RAID 60.
No. It helps when a drive fails, but not if you delete files or something affects the whole array.
It may show TiB instead of TB. File system and RAID data also use some space.
Often, but many setups use only as much of each drive as the smallest one has. Check what your system supports.
It depends on the space, protection, speed and cost you need. Compare the levels, then check what your system supports.
Yes, for these standard levels. A NAS that mixes drive sizes or uses its own layout may give a different amount of space.
Yes. Save each set by name in this browser.
Yes. Use Compare: keep as A.
Yes. Use Share link or Print.
References & Sources
| Source | Used For | Link |
|---|---|---|
| Wikipedia, Standard RAID levels | Minimum drives, space efficiency and how many drives can fail for RAID 0, 1, 5 and 6. | https://en.wikipedia.org/wiki/Standard_RAID_levels |
| Wikipedia, Nested RAID levels | How RAID 10, 50 and 60 combine smaller arrays, with their minimum drives and failure limits. | https://en.wikipedia.org/wiki/Nested_RAID_levels |
| Linux manual pages, md(4) | How Linux software RAID works with drives of different sizes, and why RAID 6 needs two extra drives. | https://man7.org/linux/man-pages/man4/md.4.html |
| Linux manual pages, mdadm(8) | Spare drives are counted separately from the active drives in an array. | https://man7.org/linux/man-pages/man8/mdadm.8.html |
| Wikipedia, RAID | Why fire, controller failure and other events can affect a whole array, and why to keep backups off site. | https://en.wikipedia.org/wiki/RAID |
| NIST, Prefixes for binary multiples | 1 byte = 8 bits, 1 GB = 1,000,000,000 bytes and 1 GiB = 1,073,741,824 bytes. | https://physics.nist.gov/cuu/Units/binary.html |