Illustration of disks arranged into a RAID array with usable capacity and redundancy broken out

RAID Calculator

14 RAID levels — RAID 0/1/5/6/10/0+1/50/60, RAID-Z1/Z2/Z3, JBOD, and SHR/SHR-2 — with mixed disk sizes, hot spares, filesystem overhead, a side-by-side comparison mode, and a click-to-fail disk simulator. Runs entirely in your browser.

ℹ️ Mixing disk sizes? Most RAID levels (everything except SHR/SHR-2/JBOD) use the smallest disk's size for every member. Example: a 4TB disk + a 1TB disk in a mirror/parity array — the 4TB disk is effectively treated as 1TB too, wasting 3TB. SHR/SHR-2 use mixed sizes more efficiently; JBOD uses full capacity of every disk.

💻 Show API usage examples (cURL)
curl -sS -X POST https://devops.majbase.com/raid-calculator/api -H "Content-Type: application/json" -d '{
  "action": "calculate", "raid_type": "raid6", "hot_spares": 0,
  "disks": [{"value":4,"unit":"TB"},{"value":4,"unit":"TB"},{"value":4,"unit":"TB"},{"value":4,"unit":"TB"},{"value":4,"unit":"TB"},{"value":4,"unit":"TB"}]
}'
curl -sS -X POST https://devops.majbase.com/raid-calculator/api -H "Content-Type: application/json" -d '{
  "action": "compare", "disk_count": 8, "disk_size": {"value":8,"unit":"TB"}, "raid_types": ["raid5","raid6","raid10"]
}'
curl -sS -X POST https://devops.majbase.com/raid-calculator/api -H "Content-Type: application/json" -d '{
  "action": "simulate", "disk_count": 4, "raid_type": "raid10", "failed_indices": [0,2]
}'

See each mode's fields above. calculate returns the full breakdown, compare returns {"results": [...]}, simulate returns {"status", "explanation"}.