Skip to content
Calixo

CCTV Storage Calculator

Estimate how much storage an NVR/DVR needs for a given camera count, bitrate and retention period — the core sizing calculation behind every CCTV storage purchase decision.

Inputs

Typical 1080p H.264 CCTV streams run around 2000-4000 Kbps.

Paste this into any page — the widget stays live and updates automatically as this calculator improves. Using WordPress or Notion? See the embed guide.

Saved Scenarios

— select 2+ to compare
Inputs updated · Results recalculated · Just now

Storage Needed (TB)

4.83

Storage Needed (GB)

4,943.8

Spark says

How it's calculated
From below of modern camera for recording audio and video in building for security and protection
Photo by Atypeek Dgn on Pexels
Modern security control room with a diverse team monitoring live surveillance feeds.
Photo by AMORIE SAM on Pexels

Formula

StorageGB=Bitratekbps×1000×3600×Hours×Days×Cameras8×10243Storage_{GB} = \dfrac{Bitrate_{kbps} \times 1000 \times 3600 \times Hours \times Days \times Cameras}{8 \times 1024^3}
Bitrate_{kbps}
— Per-camera video bitrate in kilobits per second

What is the CCTV Storage Calculator?

CCTV storage sizing multiplies each camera's bitrate by recording time and retention period, then converts from bits to bytes to get a practical drive-size estimate for an NVR or DVR.

Use this when sizing storage for a new CCTV installation before purchasing an NVR or DVR, checking whether an existing storage array can support a desired retention period at a specific resolution, or comparing storage cost implications of different camera resolution or retention choices.

How to use it

  1. 1 Enter the number of cameras.
  2. 2 Enter each camera's video bitrate (check your camera's spec sheet or NVR settings).
  3. 3 Enter recording hours per day and how many days of footage you need to retain.

Understanding CCTV Storage Calculator

CCTV storage sizing is fundamentally a unit-conversion exercise dressed up as a specialized calculation — the underlying math is just multiplying a data rate by a duration to get a total data volume, the same principle behind estimating file download time or data plan usage, but the specific units involved (bitrate in kilobits per second, storage in gigabytes, time split across hours-per-day and days-of-retention) create enough conversion steps that manual calculation is a common source of errors, usually by an order of magnitude from a missed unit conversion.

The calculation chain works through several unit transitions worth understanding explicitly: bitrate is conventionally specified in kilobits per second, but storage is conventionally measured in bytes (specifically gigabytes or terabytes), and there are 8 bits in a byte — a conversion step that's easy to forget and that alone introduces an 8x error if missed. From there, the calculation multiplies by seconds-per-hour, hours-per-day, and days-of-retention to get total bits, divides by 8 to get bytes, and then divides by the appropriate power of 1,024 (not 1,000, since storage capacity conventionally uses binary prefixes) to convert from bytes into gigabytes and terabytes. Getting any one of these conversion steps wrong — using 1,000 instead of 1,024, forgetting the bits-to-bytes division, or mixing up which quantity is per-second versus per-hour — produces a result that's wrong by a clean, deceptively plausible-looking multiplying factor, which is exactly what makes this kind of error hard to catch without an independent calculator to check against.

Beyond the arithmetic itself, the more consequential planning decision is what bitrate figure to actually use, since real-world bitrate isn't as fixed as this calculator's constant-bitrate (CBR) assumption implies. Modern cameras commonly support variable bitrate (VBR) encoding, where the actual data rate fluctuates based on scene complexity — a static scene with little motion compresses to a much lower bitrate than a busy scene with lots of movement, meaning real-world average bitrate for a VBR-configured camera can run meaningfully below its nominal or peak rating. Motion-triggered recording takes this further, only recording (and therefore only consuming storage) when the camera detects meaningful activity, which for many low-traffic areas can cut actual storage consumption dramatically compared to 24/7 continuous CBR recording. The tradeoff, of course, is that motion-triggered recording risks missing footage if the motion-detection sensitivity is misconfigured, which is why continuous CBR recording remains the more common choice for genuinely security-critical areas despite its higher storage cost.

The choice of video compression standard also has an outsized effect on storage requirements that's worth factoring into any sizing decision. H.265 (also called HEVC), the newer of the two dominant CCTV compression standards, typically achieves roughly half the bitrate of H.264 at comparable visual quality, through more sophisticated compression algorithms — meaning an installation using H.265-capable cameras and NVR can often achieve the same retention period with roughly half the storage of an equivalent H.264 system, or double the retention period for the same storage budget. Given how directly this choice affects the final number this calculator produces, checking whether a planned camera and NVR combination supports H.265 is one of the highest-leverage decisions in CCTV storage planning, well before fine-tuning any of the other input parameters.

Worked examples

Advantages

  • Handles the full bits-to-bytes and time-unit conversion chain correctly, a common source of manual calculation error.
  • Scales cleanly for any camera count, bitrate, and retention period combination.
  • Useful for both new installation planning and evaluating whether existing storage meets a retention requirement.
  • Reports results in both GB and TB for practical purchasing decisions.

Limitations

  • Assumes constant bitrate (CBR) — cameras using variable bitrate (VBR) or motion-triggered recording will use meaningfully less storage in practice.
  • Doesn't include the 10-20% headroom most installers add for bitrate spikes and to avoid running storage at full capacity, which needs to be added on top of the raw calculated figure.

Common mistakes

  • ⚠️ Using peak bitrate instead of average/typical bitrate for planning, which can meaningfully overestimate storage needs for cameras with significant bitrate variability.
  • ⚠️ Forgetting to add headroom beyond the raw calculated figure, then discovering the NVR runs out of space slightly before the intended retention period due to bitrate spikes or drive overhead.
  • ⚠️ Not accounting for the significant storage savings available from motion-triggered or VBR recording when a fixed CBR assumption produces an uncomfortably large storage requirement.

Tips

  • 💡 Add 10-20% headroom beyond this calculator's raw result, since most installers plan for that buffer to handle bitrate spikes and avoid running storage at 100% capacity.
  • 💡 If storage cost is a concern, check whether switching from continuous CBR recording to motion-triggered or VBR recording could meaningfully reduce actual storage needs for lower-activity areas.
  • 💡 Use each camera's actual configured bitrate from the NVR settings or camera datasheet, not a generic assumption, since bitrate varies significantly by resolution, compression standard (H.264 vs. H.265), and scene complexity.
  • 💡 H.265 (HEVC) compression typically cuts bitrate roughly in half compared to H.264 at similar quality, which can substantially reduce storage requirements if your cameras and NVR both support it.

Real-life uses

  • Sizing storage for a new CCTV installation before purchasing an NVR or DVR
  • Checking whether existing storage supports a desired retention period at current settings
  • Comparing storage cost implications of different camera resolution or retention choices
  • Justifying a storage upgrade budget with a concrete calculated requirement

Frequently asked questions

Should I add extra storage beyond this estimate?

Yes — most installers add 10-20% headroom for bitrate spikes, motion events, and to avoid running the drive at 100% capacity.

Why does this calculation involve dividing by 8?

Bitrate is conventionally measured in bits per second, while storage capacity is measured in bytes — there are 8 bits per byte, so converting from a bit-based rate to a byte-based storage figure requires this division.

How much storage can H.265 save compared to H.264?

H.265 (HEVC) typically achieves roughly half the bitrate of H.264 at comparable visual quality, which can roughly halve storage requirements or double retention period for the same storage budget, if your cameras and NVR both support it.

Does motion-triggered recording really save significant storage?

Yes, often substantially, for lower-activity areas — since storage is only consumed during detected motion events rather than continuously, though this trades off against the risk of missing footage if motion sensitivity is misconfigured.

Why use gigabytes based on 1,024 instead of 1,000?

Storage capacity conventionally uses binary prefixes (1,024-based) rather than decimal (1,000-based) prefixes — using the wrong base introduces a small but compounding error across a large calculation.