Calculation sheet

RAID capacity calculator

Enter how many drives you plan to use and the size of each one, then pick a RAID level. The calculator shows the usable space, the raw total, and how many drive failures the array survives. Press a drive in the map to mark it failed and see whether your data would still be readable.

01 Drives

Calculator limits: 1 to 16 drives, all the same size. The starting value of 4 is only an example.

Calculator limits: 0.1 to 100 TB. Decimal terabytes, as printed on the drive label. The starting value of 8 is only an example.

02 RAID level

03 Result (estimate)

RAID 5 with 4 drives of 8 TB: about 24 TB usable. It survives any 1 drive failure.

Usable space
24 TBabout 21.83 TiB
Raw capacity
32 TB
Space efficiency
75%
Failures survived
Any 1 drive

Drive map: first four stripes. Press a drive to mark it failed.

All drives healthy.

The formulas

N is the number of drives and S is the size of one drive. These are the usual definitions of each level. Linear JBOD, RAID 0, 5, 6 and paired RAID 10 follow the RAID Types table in the QNAP QTS 4.3.x documentation, and full-copy mirroring (RAID 1) follows What is Mirroring? from SNIA. The minimum drive counts describe the layouts modeled here; what a particular device supports can differ.

LevelUsable spaceDrive failures survivedMinimum drives
JBOD (linear spanning)N × SNone. A failed drive can make the whole pool inaccessible.1
RAID 0 (striping)N × SNone. One failed drive loses the array.2
RAID 1 (mirroring)SN − 1 drives2
RAID 5 (single parity)(N − 1) × S1 drive3
RAID 6 (double parity)(N − 2) × S2 drives4
RAID 10 (striped mirrors)(N ÷ 2) × S1 for certain; up to N ÷ 2 if each failure is in a different mirror pair4, even

Space efficiency is usable space divided by raw space (N × S). Drive makers sell capacity in decimal terabytes (1 TB = 1012 bytes), while many operating systems report binary tebibytes (1 TiB = 240 bytes), so the calculator also shows TB × 1012 ÷ 240, about TB × 0.909 (Definitions of the SI units: The binary prefixes, NIST).

Read the result as an estimate

  • The formulas assume every drive is the same size. Mixed sizes are outside this calculator, and what a NAS does with them depends on the product and the level.
  • The calculator accepts 1 to 16 drives of 0.1 to 100 TB each. These are limits of the tool, not of any product. The starting values of 4 drives, 8 TB each and RAID 5 are only an example.
  • The real figure your NAS shows will be lower: the file system, its metadata, system partitions and any space the operating system reserves all take a share.
  • "Survives" means the data stays readable. The array then runs degraded until the failed drive is replaced and rebuilt, and another failure during the rebuild can exceed what the level tolerates.
  • The drive map shows the first four stripes in a simple textbook layout. Real systems may place parity and mirror pairs differently; RAID 10 here pairs drives 1 and 2, 3 and 4, and so on.
  • RAID 1, 5, 6 and 10 can keep a volume available through drive failures, within the limits in the table. JBOD and RAID 0 have no redundancy at all. No level is a backup: deleted files, ransomware and a failed enclosure affect every drive at once.
  • For general background on RAID types and on replacing a failing drive, UGREEN publishes What Is RAID? UGREEN NAS RAID Types Explained and a guide to replacing a failing NAS drive. They are the maker's own pages.