Skip to content
GEEKnodes

Computing

RAID Calculator: Usable Capacity of RAID 0, 1, 5, 6 and 10

Work out the usable capacity of RAID 0, 1, 5, 6 or 10, how many drives can fail and why a 4 TB drive shows up as 3.63 TB in Windows. Includes rebuild times.

You set up a NAS with four 4 TB drives and the system offers you much less than 16 TB. Part of the space goes to redundancy and another part “disappears” because of how terabytes are counted. With this calculator you’ll know in advance how much space you’ll have, how many drives can fail and what to expect when it’s time to rebuild.

In short

  • Usable capacity depends on the level: RAID 5 loses one drive, RAID 6 loses two and RAID 1 and 10 lose half or more.
  • A 4 TB drive shows up as 3.63 TB because the manufacturer counts in powers of 10 and Windows in powers of 2.
  • RAID is not a backup: it protects against a drive failure, not against deletions, ransomware or fires.

Calculator

Usable capacity
—
What Windows shows
—
Redundancy space
—
Drives that can fail
—

If you’re not yet clear on what each level does, start with RAID 0, 1, 5, 6 and 10 explained and come back here with the numbers.

How usable capacity is calculated

With n identical drives of size T, the formula for each level is simple: how many “data” drives remain after setting aside the redundancy.

Four 4 TB drives split between data and redundancy in RAID 0, 1, 5, 6 and 10
With four 4 TB drives: RAID 5 loses one, RAID 6 two, and RAID 1 and 10 half or more
RAID 0   usable = n × T          redundancy = 0            minimum 2 drives
RAID 1   usable = T              redundancy = (n − 1) × T  minimum 2 drives
RAID 5   usable = (n − 1) × T    redundancy = T            minimum 3 drives
RAID 6   usable = (n − 2) × T    redundancy = 2 × T        minimum 4 drives
RAID 10  usable = (n / 2) × T    redundancy = (n / 2) × T  even, minimum 4

TiB shown by Windows = usable in TB × 10^12 / 2^40

Example 1: four 4 TB drives in RAID 5

usable      = (4 − 1) × 4 TB = 12 TB
redundancy  = 4 TB
in Windows  = 12 × 10^12 / 1,099,511,627,776 = 10.91 TiB
can fail: 1 drive

Example 2: six 8 TB drives in RAID 6

usable      = (6 − 2) × 8 TB = 32 TB
redundancy  = 16 TB
in Windows  = 32 × 10^12 / 1,099,511,627,776 = 29.10 TiB
can fail: any 2 drives

If you enter those same values in the calculator, you’ll get exactly those figures.

Reference table

Usable capacity with 4 TB drives, by number of drives and level:

DrivesRAID 0RAID 1RAID 5RAID 6RAID 10
28 TB4 TBnot validnot validnot valid
312 TB4 TB8 TBnot validnot valid
416 TB4 TB12 TB8 TB8 TB
624 TB4 TB20 TB16 TB12 TB
832 TB4 TB28 TB24 TB16 TB

Notice two things. With four drives, RAID 6 and RAID 10 give the same capacity, but RAID 6 survives any two failures and RAID 10 only one guaranteed. And the more drives you have, the more efficient parity becomes: RAID 5 with eight drives uses 87.5% of the space, with three only 66.7%.

Why a 4 TB drive shows up as 3.63 TB

You haven’t been ripped off. It’s a units problem:

  • The manufacturer uses the decimal terabyte: 1 TB = 10^12 bytes = 1,000,000,000,000 bytes.
  • Windows counts in powers of 2: 1 TiB = 2^40 bytes = 1,099,511,627,776 bytes, even though it says “TB” on screen.
The same 4-trillion-byte drive measured in decimal TB by the manufacturer and in binary TiB by Windows
The same bytes: the manufacturer counts in powers of 10 and Windows in powers of 2
4 TB = 4,000,000,000,000 bytes
4,000,000,000,000 / 1,099,511,627,776 = 3.638 TiB

Windows truncates instead of rounding, so it shows 3.63 TB. The difference grows with size: 9% less in terabytes, compared with 7% in gigabytes.

Advertised driveWhat Windows showsWhat macOS shows
1 TB931 GB1 TB
4 TB3.63 TB4 TB
8 TB7.27 TB8 TB
12 TB10.9 TB12 TB
16 TB14.5 TB16 TB

macOS has used decimal units for years, which is why it matches the box. On Linux it depends on the tool: df -h shows powers of 2 and df -H, powers of 10.

df -h /mnt/raid
df -H /mnt/raid

On top of this, the file system takes up a small amount (tables, journal, metadata), so the real free space on a freshly created volume is always a bit less than the calculator’s figure.

Drives of different sizes

In a classic RAID, every drive counts as the smallest one in the set. If you mix three 4 TB drives with one 8 TB drive in RAID 5:

usable = (4 − 1) × 4 TB = 12 TB
the extra 4 TB on the large drive go unused

There are alternatives:

  1. Replace the drives one by one with larger ones. When the last one finishes rebuilding, many controllers and NAS devices let you expand the volume.
  2. Hybrid RAID on some NAS devices (like SHR): splits the space into chunks and makes better use of mixed sizes.
  3. Systems like ZFS or Btrfs, which manage drives in their own way. Each has its own rules for mixing sizes; check their documentation before planning.

If you’re buying, the simplest option is still identical drives, ideally from different batches so they don’t fail at the same time.

RAID is not a backup

RAID keeps the volume running when a drive breaks. That’s all. Anything you do to the data is replicated instantly across all drives:

  • You delete a folder by mistake: it’s deleted on all of them.
  • Ransomware encrypts the files: it encrypts them on all of them.
  • The file system gets corrupted, the controller fails, the NAS is stolen or there’s a fire: you lose the whole set.
3-2-1 rule: three copies of the data on two different media and one off-site, with the RAID as a single copy
3-2-1 rule: the RAID counts as a single copy

The practical rule is 3-2-1: three copies of the data, on two different media, with one off-site. The RAID counts as a single copy. On a Mac, for example, you can round out the plan with Time Machine.

Rebuild times

When you replace a failed drive, the RAID has to regenerate its entire contents from the others. While that’s happening, the set is degraded: in RAID 5, a second failure means losing everything.

A minimum estimate:

time ≈ drive capacity / rebuild speed

8 TB at 150 MB/s:
8,000,000 MB / 150 MB/s = 53,333 s ≈ 14.8 hours
DriveAt a sustained 150 MB/s
4 TBabout 7.4 hours
8 TBabout 14.8 hours
16 TBabout 29.6 hours

That’s the best case. If the NAS is still in use, the controller splits the work and the process can stretch to days. That’s why:

  • With large drives, RAID 6 is safer than RAID 5: during the rebuild it can still survive another failure.
  • The rebuild reads every other drive from start to finish. That’s exactly when unreadable sectors that haven’t been read in a long time show up. Data sheets give an unrecoverable read error rate (for example, 1 per 10^14 bits on many consumer drives and 10^15 on NAS or server drives); the more data you have to read, the more it matters.
  • Schedule a periodic RAID check (scrubbing) to find those sectors before you need to rebuild.

To get an idea of how long it takes to copy the contents somewhere else, use the file transfer time calculator.

Common mistakes

  • Counting on raw capacity: four 4 TB drives in RAID 5 aren’t 16 TB, they’re 12 TB, and Windows will show 10.9.
  • Choosing RAID 0 for important data: if one drive fails, the whole volume is lost. It’s only for temporary data or data you have a copy of.
  • Setting up RAID 5 with fewer than 3 drives or RAID 10 with an odd number: most controllers won’t even allow it.
  • Mixing a large drive with smaller ones expecting to use the extra space: in a classic RAID that extra space is lost.
  • Ignoring the NAS warnings: a degraded RAID keeps working, and it’s easy not to notice until the second drive fails.
  • Thinking RAID replaces backups: it doesn’t protect against deletions, ransomware or physical disasters.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor