Works on this device
Storage Capacity Calculator
Plan disk space with exact arithmetic. Find the usable capacity of a RAID array, see why a 1 TB drive shows as about 931 GB, and work out how much fits, how long a copy or a rebuild takes, and when your storage will be full. Every size, speed and rate is a figure you type.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out. The first choice is Usable capacity of a RAID array.
- Choose the RAID level. Type how many drives you have and the size of one drive. If some drives have another size, add a row.
- Choose Calculate. Read the usable capacity, the fault tolerance and the table that shows every RAID level for the same drives.
- Each size has a unit menu. Choose GB or TB for decimal units, and GiB or TiB for binary units. You can also change the unit of a result.
RAID formulas
Here n is the number of drives in the array and s is the size of the smallest drive.
| RAID level | Fewest drives | Usable capacity | Drives that can fail |
|---|---|---|---|
| RAID 0 | 2 | n × s | None |
| RAID 1 | 2 | s | n − 1 |
| RAID 5 | 3 | (n − 1) × s | Any 1 |
| RAID 6 | 4 | (n − 2) × s | Any 2 |
| RAID 10 | 4, an even number | (n ÷ 2) × s | Any 1, and up to n ÷ 2 if each is in a different mirror pair |
| RAID 50 with g groups | 3 in each group | (n − g) × s | Any 1, and up to g if each is in a different group |
| RAID 60 with g groups | 4 in each group | (n − 2g) × s | Any 2, and up to 2g if no group loses more than 2 |
| RAID-Z1 | 2 | (n − 1) × s | Any 1 |
| RAID-Z2 | 3 | (n − 2) × s | Any 2 |
| RAID-Z3 | 4 | (n − 3) × s | Any 3 |
Decimal and binary units
- For separate disks or a linear span, choose JBOD capacity with mixed drive sizes. Enter one row per size to see its contribution to the total.
- Decimal units use powers of 1000: 1 kB = 1000 bytes, 1 MB = 1000 kB, 1 GB = 1000 MB, 1 TB = 1000 GB.
- Binary units use powers of 1024: 1 KiB = 1024 bytes, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB, 1 TiB = 1024 GiB.
- Drive makers print decimal units. Many operating systems count in binary units and still write GB or TB. So a drive sold as 1 TB shows as about 931 GB. No space is missing.
- Bits and bytes: 1 byte = 8 bits. Network speeds are mostly in bits per second (Mbit/s). Drive speeds are mostly in bytes per second (MB/s). 1 MB/s = 8 Mbit/s.
Worked examples
RAID 5 with 4 drives of 4 TB: usable capacity = (4 − 1) × 4 TB = 12 TB, which is 10.9139 TiB. The usable share is 75%, and any 1 drive can fail.
A 1 TB drive holds 1,000,000,000,000 bytes. In binary units that is 1,000,000,000,000 ÷ 1024³ = 931.32257 GiB. The binary figure is 6.87% below the decimal figure of 1000 GB.
Files: 1 TB ÷ 5 MB for each file = 200,000 files. Video: 1 TB at 8 Mbit/s holds 8,000,000,000,000 bits ÷ 8,000,000 = 1,000,000 seconds, which is 11 days 13 hours 46 minutes 40 seconds.
Camera recordings: 4 cameras at 4 Mbit/s for 24 hours a day make 172.8 GB each day. Kept for 30 days, that is 5.184 TB.
Rebuild time: writing one 4 TB drive at 150 MB/s takes 4,000,000 MB ÷ 150 = 26,667 seconds, or 7 hours 24 minutes 27 seconds.
Growth: 600 GB used on 2 TB, growing by 5% each month, is full after log(2000 ÷ 600) ÷ log(1.05) = 24.7 months, so during month 25.
Limits you should know
- The capacity is the figure before the file system. Formatting, reserves, snapshots and the records of ZFS take some space, so the real figure is lower.
- With drives of different sizes, every drive counts as the smallest one. A maker's own scheme that uses the rest (such as a hybrid RAID) is not worked out here.
- The tool has no data about any drive, NAS, controller, camera or file type. Sizes, bitrates, speeds, growth and error rates are the figures you type. The starting values are examples.
- A copy or a rebuild at a steady speed is a simple model. Real speeds change during the job.
- The read error model is rough and cautious: it uses the upper limit from the data sheet and treats every bit as independent.
- RAID is not a backup. Keep a copy of important data somewhere else.