NAS and RAID Capacity Calculator
Enter your drives and a RAID level to see usable space in TB and TiB, fault tolerance, rebuild hours, read-error risk and how many years until the array is full.
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1List your drives
Size as sold and price for each bay.
- 2Choose a RAID level
Or compare all levels in the table.
- 3Add your data
Size now and yearly growth.
- 4Set rebuild figures
Speed, error rate and failure rate.
- 5Compare scenarios
RAID 5, RAID 6 and RAID 10 side by side.
- 6Export
Download the comparison as CSV.
เกี่ยวกับเครื่องมือนี้
Buying drives for a home NAS raises the same three questions every time: how much space will I really get, how many drives can die before I lose anything, and how risky is the wait while a replacement drive rebuilds. This calculator answers all three side by side. List each drive bay with its size as sold and its price, then choose a level: RAID 0, RAID 1, RAID 5, RAID 6, RAID 10, Synology Hybrid RAID with one or two drives of protection, ZFS RAID-Z1, Z2 or Z3, or plain separate disks. The tool applies the standard capacity rule for each level, so parity levels lose one, two or three drives' worth of space and mirrors lose half. Mixed drive sizes are handled the way each system really treats them: classic RAID counts every drive as the smallest one, while SHR uses the extra space on bigger drives. Usable space is shown in terabytes as printed on the box and in tebibytes, which is what Windows, macOS and most NAS dashboards display, so the smaller number on screen is no longer a surprise. Rebuild time is the largest drive's size divided by a sustained rebuild speed you can change. During that rebuild the other drives are read in full, so the tool also estimates the chance of an unrecoverable read error from the rate on the drive's spec sheet, the chance of another drive failing from an annual failure rate, and the combined chance of losing data. Add the data you hold now and how fast it grows to see the space left after a free-space reserve and the years before the array is full.
How the capacity rules work
RAID 0 stripes data across every drive with no protection, so usable space is the drive count times the smallest drive. RAID 1 mirrors, giving the size of one drive. RAID 5 and RAID-Z1 keep one drive's worth of parity, RAID 6 and RAID-Z2 keep two, and RAID-Z3 keeps three. RAID 10 needs an even number of at least four drives and stores everything twice. SHR with one-drive protection gives the total of all drives minus the largest; SHR-2 removes the two largest. For ZFS pools the tool also sets aside about one thirty-second of the pool, the reserve ZFS keeps for itself.
Why rebuilds are the risky part
When a drive fails, a parity array must read every sector on the surviving drives to rebuild the replacement. A spec sheet rate of one unrecoverable error in 10^14 bits means roughly one error per 12.5 TB read as a worst case. With single-drive protection there is nothing left to correct that error, so files or the whole volume can be lost. Double parity can still repair it, which is why the chance of loss drops so sharply between RAID 5 and RAID 6. The failure-during-rebuild figure uses the exponential model with your annual failure rate spread over the rebuild hours.
Worked example
Four 8 TB drives at $180 each in RAID 5 give 24.0 TB usable out of 32.0 TB raw, which is 75% efficiency and about 21.8 TiB on screen. One drive can fail. Rebuilding an 8 TB drive at 150 MB/s takes 14.8 hours and reads 24 TB from the other three. With a rated error rate of one in 10^15 bits, the chance of a read error is 17.5% and the chance of another drive failing is under 0.01%, so the chance of losing data in one rebuild is about 17.5%. Keeping 20% free leaves 19.2 TB, so 9 TB of data growing by 2 TB a year fills it in 5.1 years. The drives cost $30 per usable TB. The same drives in RAID 6 give 16.0 TB, survive two failures and cut the rebuild loss risk to about 0.001%, at $45 per usable TB and 1.9 years before the space runs out. RAID 10 also gives 16.0 TB with a loss risk of 6.2%. With mixed 4, 4, 8 and 8 TB drives, SHR gives 16.0 TB where RAID 5 gives only 12.0 TB.
Limits
Read-error rates on spec sheets are upper bounds and real drives usually do far better, so treat the percentages as a comparison between levels, not a forecast. The tool does not model controller faults, SSD caches, hot spares or ZFS record-size padding. RAID is not a backup: it does not protect against deletion, ransomware, theft or fire.
ตัวอย่างพร้อมวิธีทำ
4 x 8 TB in RAID 5: 24 TB usable (21.8 TiB), 14.8 h rebuild, 17.5% loss risk; RAID 6: 16 TB, 0.001% risk.
สรุปสั้น ๆ
- หมวดหมู่: นักพัฒนาและข้อมูล
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีภาษาอังกฤษ
- ตรวจสอบเนื้อหาล่าสุด:
- แหล่งข้อมูลทางการ: SNIA Dictionary (RAID levels), Synology SHR and OpenZFS documentation
คำถามที่พบบ่อย
Why does my NAS show less space than the calculator's TB figure?
Drives are sold in decimal terabytes (10^12 bytes) but most systems display binary tebibytes (2^40 bytes). The tool shows both; 24 TB is about 21.8 TiB.
Is RAID 5 still safe with large drives?
It survives one failure, but a read error during a long rebuild cannot be corrected. Many people choose RAID 6, SHR-2 or RAID-Z2 for drives of 8 TB and above.
Can I mix drive sizes?
Yes, but classic RAID treats each drive as the smallest. SHR and similar hybrid systems use the extra space on larger drives when there are at least two of them.
How long does a rebuild take?
Roughly the drive size divided by the sustained rebuild speed. An 8 TB drive at 150 MB/s takes about 15 hours; a busy NAS can take much longer.
Does RAID replace backups?
No. RAID keeps the NAS running when a drive dies. Deleted or encrypted files are gone from every drive at once, so keep a separate backup copy.
Which failure rate should I enter?
Large public drive-reliability reports show most models between about 0.5% and 2.5% a year. Use 1.5% if you do not know your model's figure.
