CCTV Disk Calculator

Enter your cameras, resolution, codec and retention days — get the total disk storage in TB, the bandwidth, and the surveillance drive you need, in real time.

Free Instant No sign-up

Your system

Resolution per camera
Codec
Frames/s
Hours/day recording
Recording mode
Total storage needed
0TB
—
0GB / day
0Mbps bandwidth
0Mbps / camera
0number of cameras
Retention per drive
Quick scenarios
0TB
0

How CCTV storage is calculated

Total storage is the data rate of all cameras multiplied by how long you record:

GB = Mbps/camera × cameras × hours × 3600 × days × % recorded8 × 1000

The per-camera bitrate is based on Hikvision's recommended bitrate tables for H.264 and H.265: at 30 fps in H.265, 2 MP (1080p) = 2048 kbps, 4 MP = 4096, 5 MP = 4608 and 8 MP (4K) = 8192; in H.264, double. It does not scale linearly with FPS: Hikvision recommends the same bitrate at 25 as at 30 fps, 75% at 20 fps and half at 15 and 12.5 fps (we also use that half for 12 fps). That is the figure for a normal scene; Hikvision advises raising it by 20-30% for more complex scenes.

Multiply it by the number of cameras, the daily recording hours, the retention days and the share of time actually recorded (100% for continuous; 60, 35 or 20% in the motion modes, our own estimate); divide by 8 (bits→bytes) and 1000 (MB→GB) for the total GB. Then we recommend the smallest surveillance drive that holds it, counting 98% of its capacity as usable. If your recorder shows 3.64 TB on a 4 TB drive, no space is missing: it is the same capacity in TiB.

Example: storage for 4 cameras over 30 days

4 cameras at 4 MP in H.265, 15 fps, recording continuously 24 h/day for 30 days:

  • Per-camera bitrate = 4.096 Mbps × 0.5 (15 fps) ≈ 2.05 Mbps.
  • 4 cameras → 8.2 Mbps total bandwidth.
  • Per day: 8.192 × 86,400 ÷ 8 ÷ 1000 ≈ 88.5 GB/day.
  • × 30 days ≈ 2.65 TB → a 4 TB surveillance drive covers it.

Step up to 8 MP (4K) and the system reaches 5.31 TB over the same period: you need a 6 TB drive.

Methodology & sources

Every result is computed in your browser with the formula shown above — nothing is sent to a server. The numeric model is based on this data and these references:

Formula reviewed and verified against real-world cases.

CCTV storage FAQ

How much storage do I need for my cameras?
It depends on the number of cameras, their resolution, the codec, frame rate, recording hours per day, retention days and whether you record continuously or on motion. Enter your figures and the calculator gives an estimate in TB and a recommended drive.
Does H.265 really cut storage versus H.264?
Yes, roughly in half for the same quality. Almost all modern NVRs and cameras support H.265 (or H.265+), so it is the recommended choice to save space.
Continuous or motion-triggered recording?
Both: under "Recording mode" you pick continuous (records 100% of the hours/day you set) or motion, where the calculator assumes 60%, 35% or 20% of that time is recorded for a busy, moderate or quiet scene. Those percentages are our own estimate, not a manufacturer figure: the real share depends on your scene and the detection sensitivity.
Which hard drive should I use for surveillance?
Surveillance-rated 24/7 drives (WD Purple, Seagate SkyHawk, Toshiba S300), not desktop drives: they are built for constant writes and many simultaneous streams.
Do I need RAID?
With many cameras or critical footage, yes: RAID adds fault tolerance so you do not lose recordings if a drive fails. The calculator reminds you from 8 cameras on.