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.

identical disks of Replaces the list below. Edit individual rows afterwards for a mixed-size array.
ℹ️ 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.

The whole configuration travels in the link itself — nothing is stored on the server. Opening it restores this tab, the disks, RAID level and options exactly as they are now. The address bar updates as you change things, so you can copy from there too.


💻 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"}.

🤖 Use this API as a Claude Skill

Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:

⬇️ Download SKILL.md · View raw