CCTV Storage Calculator

Calculate the exact storage capacity required for your IP CCTV system — including RAID overhead, file system allocation, and hard drive count.

Advanced: Mixed Camera Types Enable ▸

When enabled, this overrides the standard inputs above. Enter each camera group separately.

📊 Storage Calculation Results

Total cameras
Weighted average bitrate
Daily storage per camera
Total daily storage (all cameras)
Raw storage for retention period
After RAID overhead
+ 10% file system overhead
Total Disk Capacity Required
× 16 TB HDDs
(+ 1 hot spare)
× 20 TB HDDs
(+ 1 hot spare)
× 24 TB HDDs
(+ 1 hot spare)

How to Calculate CCTV Storage Requirements

A practical, step-by-step guide to sizing storage for IP video surveillance systems — with formulas, bitrate references, RAID explanations, and four fully worked examples covering installations from 16 cameras to 256 cameras.

1. Why Storage Calculation Matters

Storage is typically the most expensive infrastructure component of a CCTV system after cameras themselves. A single 4MP camera recording 24 hours a day at H.265 compression generates approximately 43 GB of data daily. Multiply that across dozens or hundreds of cameras over weeks or months of retention, and the numbers quickly reach tens or hundreds of terabytes.

Under-estimating storage means footage is overwritten before the required retention period expires — a serious compliance issue for banks (RBI mandates 90+ days), PSU offices (typically 60 days), and commercial buildings (30 days typical). Over-estimating wastes budget on unnecessary hard drives. The solution is a simple, repeatable calculation that anyone can verify.

2. The Storage Calculation Formula

CCTV storage calculation involves five variables and three sequential steps:

Step 1: Daily storage per camera
Daily GB = Bitrate (Mbps) × 10.8

Step 2: Total raw storage
Raw TB = (Daily GB × Number of Cameras × Retention Days) ÷ 1,000

Step 3: Physical disk capacity
Total TB = (Raw TB ÷ RAID Efficiency) × 1.10
The 1.10 multiplier adds 10% for file system overhead

Where does the 10.8 factor come from? It converts megabits per second into gigabytes per day:

1 Mbps × 3,600 sec/hr × 24 hrs ÷ 8 bits/byte ÷ 1,000 MB/GB = 10.8 GB/day

3. The Five Key Variables

Variable 1: Number of Cameras

The total count of cameras recording to the storage system. In mixed installations (different resolutions, different areas), group cameras by type and calculate each group separately, then add the totals.

Variable 2: Bitrate (Mbps)

The average data rate of each camera's video stream. This depends on resolution, frame rate, and compression codec. Higher resolution and higher frame rates produce more data. Better compression (H.265 vs H.264) reduces the bitrate significantly.

ResolutionH.264 @ 15 fpsH.265 @ 15 fpsH.265+ / Smart @ 15 fps
2MP (1080p)3–4 Mbps1.5–2.5 Mbps0.5–1.5 Mbps
4MP (2K)5–8 Mbps3–5 Mbps1–3 Mbps
5MP6–10 Mbps4–6 Mbps1.5–3.5 Mbps
4K (8MP)12–20 Mbps8–12 Mbps3–6 Mbps
⚠️ Design Rule: Always use the higher end of the bitrate range for storage calculations. Real-world bitrates exceed datasheet values in complex scenes (busy lobbies, parking areas in rain, mixed indoor/outdoor lighting). This safety margin prevents under-provisioning.

Variable 3: Retention Period

The number of days video must be stored before the system overwrites the oldest footage.

Building TypeTypical RetentionRegulatory Driver
Small offices, retail shops15–30 daysNo specific mandate; insurance best practice
Corporate offices30–60 daysInternal security policy
PSU / Government buildings60–90 daysCVC guidelines, departmental policies
Banks & financial institutions90–180 daysRBI guidelines on CCTV retention
Critical infrastructure90–365 daysSector-specific regulations

Variable 4: RAID Configuration

RAID (Redundant Array of Independent Disks) protects against hard drive failures by distributing data and parity across multiple drives. The trade-off: RAID consumes a percentage of total disk capacity for redundancy, reducing the usable space.

RAID 5

75%

Usable capacity
Tolerates 1 drive failure

RAID 10

50%

Usable capacity
Best write performance

💡 Recommendation: RAID 6 is the standard choice for CCTV archive storage because it survives two simultaneous drive failures — critical when large-capacity drives can take 12–24 hours to rebuild, during which a second failure would otherwise destroy all data. RAID 10 is preferred for Tier 1 live recording where write speed is paramount.

Variable 5: Recording Mode

Continuous 24/7 recording uses the most storage but ensures no gaps. Motion-triggered recording saves approximately 30–50% of storage in low-activity areas but risks missing events in the brief seconds before motion is detected. For critical areas, always use continuous recording.

4. Worked Examples

Example 1 — Small Office (16 Cameras)

16 × 2MP cameras, H.265, 30-day retention, RAID 5
1
Bitrate per camera (2MP H.265)2 Mbps
2
Daily per camera: 2 × 10.821.6 GB/day
3
Daily total: 21.6 × 16346 GB/day
4
30-day raw: 346 × 30 ÷ 1,00010.4 TB
5
RAID 5 (÷ 0.75): 10.4 ÷ 0.7513.8 TB
6
+ 10% overhead: 13.8 × 1.1015.2 TB
Total Disk Capacity Required≈ 16 TB (2 × 8TB drives in RAID 5 + hot spare)

Example 2 — PSU Office Building (64 Cameras)

64 × 4MP cameras, H.265, 60-day retention, RAID 6
1
Bitrate per camera (4MP H.265)4 Mbps
2
Daily per camera: 4 × 10.843.2 GB/day
3
Daily total: 43.2 × 642,765 GB/day
4
60-day raw: 2,765 × 60 ÷ 1,000166.1 TB
5
RAID 6 (÷ 0.67): 166.1 ÷ 0.67247.9 TB
6
+ 10% overhead: 247.9 × 1.10272.7 TB
Total Disk Capacity Required≈ 273 TB (17 × 16TB HDDs + 1 hot spare)

Example 3 — Bank Branch (32 Cameras, Mixed Types)

Mixed 2MP/4MP/4K cameras, 90-day retention, RAID 6

Camera mix: 20 × 4MP fixed at 4 Mbps + 8 × 2MP corridor at 2 Mbps + 4 × 4K entrance face-capture at 10 Mbps

1
Group A daily: 20 × 4 × 10.8864 GB/day
2
Group B daily: 8 × 2 × 10.8173 GB/day
3
Group C daily: 4 × 10 × 10.8432 GB/day
4
Total daily: 864 + 173 + 4321,469 GB/day
5
90-day raw: 1,469 × 90 ÷ 1,000132.2 TB
6
RAID 6 + overhead: (132.2 ÷ 0.67) × 1.10217.0 TB
Total Disk Capacity Required≈ 217 TB (14 × 16TB or 11 × 20TB + hot spares)

Example 4 — Enterprise Campus (256 Cameras)

Mixed resolution, 90-day retention, RAID 6, two-tier storage

200 × 4MP fixed (4 Mbps) + 32 × 4K entrance (10 Mbps) + 16 × PTZ (6 Mbps) + 8 × ANPR (3 Mbps)

1
Total daily bandwidth: (200×4 + 32×10 + 16×6 + 8×3)1,240 Mbps
2
Daily storage: 1,240 × 10.813,392 GB/day
3
90-day raw: 13,392 × 90 ÷ 1,0001,205.3 TB
4
RAID 6 + overhead: (1,205.3 ÷ 0.67) × 1.101,978 TB
Total Disk Capacity Required≈ 1,978 TB (~2 PB) across multiple SAN shelves

At this scale, a two-tier storage strategy is essential: Tier 1 (live recording, RAID 10, SAS drives, 12–24 hours) + Tier 2 (archive, RAID 6, large SATA drives, 90-day retention). This requires approximately 100 × 20TB surveillance-grade HDDs plus hot spares, distributed across 4–5 SAN storage shelves connected to 4 recording servers.

5. Quick Reference — Storage by Building Type

Building TypeCamerasRetentionApprox. Storage (RAID 6)
Small office / Retail8–1630 days4–15 TB
Housing society16–3215–30 days8–25 TB
Corporate office32–6430–60 days40–140 TB
Hospital48–9630–60 days60–210 TB
PSU / Government64–12860–90 days140–420 TB
Bank headquarters128–25690–180 days420–1,600 TB
💡 Tip: These are estimates based on 4MP H.265 cameras at 15 fps as the baseline. Actual requirements vary based on your specific camera mix, compression settings, and scene complexity. Use the CCTV Storage Calculator tool for precise calculations tailored to your installation.

6. Common Storage Sizing Mistakes

  • Using datasheet bitrates instead of real-world values. Camera datasheets show bitrates under ideal lab conditions. Real scenes — moving people, changing light, rain — generate 30–50% more data. Always use the higher end of the bitrate range.
  • Forgetting RAID overhead. 100 TB of raw storage in RAID 6 provides only 67 TB of usable space. Many vendor proposals quote raw capacity without disclosing the RAID penalty.
  • Ignoring file system overhead. The operating system and file system consume approximately 10% of disk capacity. A 16 TB drive provides roughly 14.5 TB of usable formatted space.
  • Using desktop hard drives. Consumer drives rated for 55 TB/year will fail within 6–18 months under the 180+ TB/year workload of continuous CCTV recording. Always specify surveillance-grade drives.
  • Not planning for hot spares. A RAID array without a hot spare requires manual intervention to begin rebuilding after a drive failure. During the hours or days it takes to source and install a replacement drive, the array operates in a degraded state — vulnerable to a second failure that would cause total data loss.
  • Buying all drives from the same batch. Drives from the same manufacturing batch have similar lifespans. Stagger purchases or mix production dates to avoid multiple simultaneous failures at year 3–4.