RAID calculator

Usable capacity, fault tolerance, speed and rebuild time for RAID 0, 1, 5, 6, 10, 50 and 60 from the number and size of your drives.

loading RAID calculator
About this tool

What does a RAID calculator do?

RAID combines several drives into one volume so that you get more capacity, more speed, protection against a failed drive, or a mix of these. Before you buy disks you need to know how much space you will really have. A RAID 5 of four 4 TB drives is not 16 TB: one drive's worth goes to parity. A mirror of two drives holds the capacity of one. The answer depends on the level and on the number of drives.

This calculator takes the level, the number of drives and their size, and shows the usable capacity, the raw capacity, the space efficiency, how many drives can fail, the sequential speed against one drive, the write penalty, the time to rebuild a drive and the number of drives to buy. It covers RAID 0, 1, 5, 6, 10, 50, 60 and JBOD.

The capacity formulas are the standard ones: RAID 5 keeps n-1 drives of data, RAID 6 keeps n-2, RAID 10 keeps half (or a third with three-way mirrors), and RAID 50 and 60 are striped sets of RAID 5 or RAID 6 groups. Capacity is shown in powers of 1000, which is what the label on a drive uses, and in powers of 1024, which is what most operating systems display. That is why a 4 TB drive shows up as about 3.64 TiB. To convert between the two on your own, use the data size converter. The calculation runs in your browser and nothing is uploaded.

How to calculate RAID capacity

  1. Choose the "RAID level". The default is RAID 5 (single parity). The list also has RAID 0 (stripe), RAID 1 (mirror), RAID 6 (double parity), RAID 10 (striped mirrors), RAID 50, RAID 60 and JBOD.
  2. Type the number of drives under "Drives in the array". Do not count hot spares here. Each level has a minimum: 2 for RAID 0 and 1, 3 for RAID 5, 4 for RAID 6 and 10, 6 for RAID 50 and 8 for RAID 60.
  3. Enter the "Size of each drive" and pick the unit: GB, TB, PB, GiB or TiB. Drive makers use GB and TB.
  4. For RAID 10 the field "Drives per mirror (2 or 3)" appears. For RAID 50 and 60 it is "Number of groups". Leave it alone for the other levels.
  5. Add "Hot spares (extra)" if you plan to keep spare drives. They count as drives to buy but add no capacity.
  6. Set the "Rebuild speed (MB/s)". The default is 150; the hint says a busy array rebuilds at 50 to 150 MB/s per drive. A lower number gives a longer rebuild time.
  7. Read the result. The first line is the usable capacity, and the notes under each line explain what the number means.

To see how much a drive costs you in capacity terms, the HDD capacity calculator is a good companion. If you plan a ZFS pool instead of a classic controller array, use the ZFS pool calculator, which also accounts for padding and reserved space.

Examples

Four 4 TB drives in RAID 5

The default values. Usable capacity is 12 TB (about 10.91 TiB) out of 16 TB raw, so the efficiency is 75.0 %. One drive can fail. Sequential speed is about three times one drive for both reading and writing, the write penalty is 4, and rebuilding a drive at 150 MB/s takes about 7.4 hours.

RAID 5, 4 x 4 TB
usable 12 TB, raw 16 TB, efficiency 75 %
survives 1 failed drive
read x3, write x3, write penalty 4
rebuild 7.4 h

Six 4 TB drives in RAID 6

Usable capacity is 16 TB out of 24 TB raw, an efficiency of 66.7 %. Any two drives can fail. Sequential speed is four times one drive, the write penalty is 6.

Eight 4 TB drives in RAID 10

With two drives per mirror, usable capacity is 16 TB, half of the raw 32 TB. The tool shows "1 drive, up to 4 if they are in different groups or mirrors": one failure is always survived, and up to four if each lands in a different mirror. Reads can be eight times one drive, writes four times, and the write penalty is 2.

Twelve 4 TB drives in RAID 50 with three groups

Each group of four drives gives up one drive to parity, so usable capacity is 36 TB out of 48 TB raw, 75.0 %. One failure is guaranteed, and up to three if they hit different groups.

Large drives take a long time to rebuild

Eight 16 TB drives in RAID 5 give 112 TB usable. At 100 MB/s, rebuilding one drive takes about 44.4 hours, and the array is exposed to a second failure the whole time. This is the usual argument for RAID 6 with big drives.

Common errors and how to fix them

MessageWhat to do
This level needs at least N drives.Add drives, or choose a level with a lower minimum.
The number of drives must divide evenly into mirrors or groups.For RAID 10, use a multiple of the drives per mirror; for RAID 50 or 60, a multiple of the number of groups.
Check the groups: RAID 10 uses 2 or 3 drives per mirror; RAID 50 needs 2 or more groups of at least 3 drives, RAID 60 groups of at least 4.Lower the number of groups or add drives so that each group is big enough.
Enter the size of each drive.Type a size greater than zero.
The number of spares must be 0 or more.Use zero if you have none.
The rebuild speed must be more than 0.Type a speed in MB/s, such as 100.

The numbers assume all drives have the same size. With mixed sizes, every drive counts as the smallest one, so the bigger drives waste space. The speed figures are the theoretical best case with a good controller. Real speed depends on the controller, the file system and the load.

FAQ

Is RAID a backup?

No. RAID keeps the volume running when a drive fails. It does not help if you delete a file by mistake, if ransomware encrypts the volume, or if the controller or the building is lost. Keep separate backups.

Why is the usable capacity smaller than the drives I bought?

Two reasons. Parity or mirroring takes part of the space, as in the efficiency line. And drive makers count in powers of 1000 while many systems show powers of 1024, so 12 TB is shown as about 10.91 TiB. The tool shows both.

What is the write penalty?

It is the number of disk operations the controller does for one small random write. RAID 5 does 4 (read data, read parity, write data, write parity), RAID 6 does 6, and a two-way mirror does 2. It matters for databases and virtual machines more than for large files.

Report a problem