CCTV Storage Calculator

CCTV Storage Calculator

Popular AI Skill PRO

Enter Calculation

Results

Total Storage Required
5,062.5
GB
Total storage 4.944 TB
Storage per day (all cameras) 168.75 GB/day

Formula

Storage (TB)=Bitrate (Mbps)×3600×Hours/Day×Cameras×Retention Days8×1024×1024\text{Storage (TB)} = \frac{\text{Bitrate (Mbps)} \times 3600 \times \text{Hours/Day} \times \text{Cameras} \times \text{Retention Days}}{8 \times 1024 \times 1024}

Example

Storage (TB)=4×3600×24×4×308×1024×1024≈4.944\text{Storage (TB)} = \frac{4 \times 3600 \times 24 \times 4 \times 30}{8 \times 1024 \times 1024} \approx 4.944
Usage stats

Advertisement

Report an error on this page

What is the CCTV Storage Calculator?

This tool estimates how much hard-drive space an IP camera or NVR/DVR system needs to store recorded video. By entering the video bitrate, daily recording hours, number of cameras and how many days you want to keep footage, you instantly see the total storage in both gigabytes (GB) and terabytes (TB). It works for any brand of camera or recorder anywhere in the world — the math is universal.

How to use it

Enter four values: the number of cameras, the average bitrate per camera in megabits per second (Mbps), how many hours per day each camera records (use 24 for continuous recording or fewer for motion-only), and the retention period in days. The calculator multiplies these out and converts the bits to bytes to give you a realistic disk-space figure.

The formula explained

Storage in GB equals bitrate (Mbps) × 3600 seconds per hour × hours per day × number of cameras × days, then divided by 8 to convert megabits to megabytes, and divided by 1024 to convert megabytes to gigabytes. A higher bitrate or resolution means sharper video but a larger file, so balancing image quality and storage cost is the key planning decision.

$$\text{GB} = \dfrac{\text{bitrate}_{Mbps} \times 3600 \times \text{hours} \times \text{cameras} \times \text{days}}{8 \times 1024}$$

$$\text{TB} = \dfrac{\text{GB}}{1024}$$

Advertisement
Diagram of camera bitrate flowing over time into hard disk storage
Bitrate, recording hours, camera count and retention days combine to fill disk storage.

Worked example

Suppose you have 4 cameras, each at 4 Mbps, recording 24 hours a day, kept for 30 days. The calculation is

$$\frac{4 \times 3600 \times 24 \times 4 \times 30}{8 \times 1024} = \frac{41{,}472{,}000}{8 \times 1024} \approx 5{,}062.5 \text{ GB}$$

or about \(4.94\) TB. You would size your NVR drives accordingly, leaving some headroom.

Typical Bitrates by Resolution and Codec

The table lists typical per-camera bitrates for continuous recording. These are typical estimates: real bitrates vary by manufacturer, frame rate (about 15–25 fps assumed), compression settings and scene. A busy scene with lots of motion, noise or low light can sit well above the high end, and a quiet scene can sit below the low end. H.265 usually needs roughly 30–50% less bitrate than H.264 for similar quality.

Daily storage per camera at 24 hours uses the same formula as the calculator: \(\text{GB/day} = \frac{ \text{Mbps} \times 3600 \times 24}{8 \times 1024}\), which is about 10.55 GB per day for each 1 Mbps. Capacities here are binary (1 GB = 1024 MB).

Resolution H.264 typical (low–high motion), Mbps H.264 value used H.264 GB/day (24 h) H.265 typical (low–high motion), Mbps H.265 value used H.265 GB/day (24 h)
720p (1 MP) 1–2 1.5 Mbps 15.82 0.5–1.2 0.8 Mbps 8.44
1080p (2 MP) 2–6 4 Mbps 42.19 1.5–4 2.5 Mbps 26.37
4 MP 4–8 6 Mbps 63.28 2–5 3.5 Mbps 36.91
5 MP 5–10 8 Mbps 84.38 3–6 4.5 Mbps 47.46
8 MP / 4K 8–16 12 Mbps 126.56 4–10 7 Mbps 73.83

Example: a 1080p camera at 4 Mbps uses \(\frac{4 \times 3600 \times 24}{8 \times 1024} = 42.19\) GB per day. Always check the actual bitrate in your camera or NVR settings, because these values are only starting points.

Advertisement

Practical Tips for Sizing Your CCTV Storage

  • Add headroom. Increase the calculated figure by 15–25% to cover bitrate spikes, extra cameras, pre/post-event recording and file-system overhead. For the 10,125 GB example, +20% gives 12,150 GB.
  • Account for RAID overhead. RAID 5 gives up the capacity of one drive (usable = (N − 1) × drive size); RAID 1 mirroring halves the raw capacity; RAID 6 loses two drives. Size the raw disk capacity so the usable space still meets your target.
  • Use surveillance-rated drives. Drives such as WD Purple or Seagate SkyHawk are designed for continuous 24/7 writing from many streams, unlike standard desktop drives.
  • Mind decimal vs binary capacity. This calculator uses 1024-based units, while drive makers label capacity in decimal (1 TB = 1,000,000,000,000 bytes). A 1 TB drive is about 0.91 TiB, so 10,125 GiB is about 10.87 TB in drive-label terms, and with 20% headroom about 13 TB.
  • Understand VBR vs CBR. With constant bitrate (CBR) the figure is predictable. With variable bitrate (VBR) the bitrate rises with motion and falls in quiet scenes. For VBR, use the average measured over a typical week for an estimate, but use the peak or maximum bitrate cap if you must guarantee the retention period.
  • Cut storage deliberately. Lower the frame rate (for example from 25 to 12–15 fps), use H.265 instead of H.264 (often 30–50% less), lower the bitrate cap, record on motion or schedule, or record a lower-resolution substream for some cameras.
  • Round up. After headroom and RAID, round up to the next available drive size or bay configuration. For instance, 13 TB needed usable with RAID 5 on 4 bays means 4 × 6 TB drives (18 TB usable) rather than a tight fit.

This is general planning information, not professional advice. Check your own legal retention requirements and your NVR manufacturer's specifications before finalizing a design.

FAQ

What bitrate should I use? Typical values: 1080p ≈ 2–4 Mbps, 4MP ≈ 4–6 Mbps, 4K ≈ 8–12 Mbps depending on H.264 vs H.265 and scene motion.

Does motion-only recording save space? Yes — set "Recording hours per day" to your estimated active time (e.g. 6–8 hours) instead of 24 to model event-based recording.

Are these GB binary or decimal? This uses binary GB (÷1024) matching how operating systems report drive capacity. Marketed drive sizes use decimal GB, so a "5 TB" drive shows slightly less usable space.

Last updated:

Most popular in Industry-Specific

View all Industry-Specific calculators