NW-03Networking

CCTV / NVR Storage Calculator

What to calculate next

Tools commonly used alongside this calculation

Explanation

A CCTV storage calculator tells you how big an NVR hard drive needs to be to hold a set number of days of footage, and how much network bandwidth the cameras add up to. Storage is driven almost entirely by the recorded bitrate of each camera — the resolution, frame rate, and codec only matter because they set that bitrate. This tool is vendor-neutral: enter any camera’s configured bitrate, or start from a typical value by resolution and codec, and it sizes the drive in terabytes.

How storage is calculated

Storage scales linearly with bitrate, recording time, camera count, and retention. The key constant is that a 1 Mbps stream records about 0.45 GB per hour, so a camera running continuously uses roughly 10.8 GB per day per Mbps.

GB/hour per Mbps = 1,000,000 ÷ 8 × 3600 ÷ 10⁹ = 0.45
Storage (GB) = Σ [ bitrate × 0.45 × (hours/day × motion) × cameras ] × days
Bandwidth (Mbps) = Σ ( bitrate × cameras )
TermMeaning
bitrateRecorded stream rate per camera (Mbps)
hours/dayHours each camera records per day (max 24)
motionRecording-mode duty factor (1.0 continuous, less for motion)
daysRetention — days of footage kept

GB and TB here are decimal (1 TB = 1000 GB) to match how drives are labeled. The aggregate bandwidth is the peak recording throughput the NVR and switch must handle — useful when you also size the fiber uplink carrying the camera traffic back to the head end.

Typical bitrates and recording modes

These are starting points for medium quality at roughly 15–20 fps with H.265. H.264 needs about 1.8× the bitrate for the same picture, so switching to H.265/H.265+ nearly halves storage. Always confirm against the bitrate your camera is actually set to.

H.265 bitrate by resolution

ResolutionTypical H.265 bitrate
1 MP (720p)1 Mbps
2 MP (1080p)2 Mbps
3 MP3 Mbps
4 MP4 Mbps
5 MP5 Mbps
8 MP (4K)8 Mbps
12 MP10 Mbps

Recording modes

ModeDuty factor
Continuous1.00
Light motion (70%)0.70
Motion / event (40%)0.40

Motion-only recording savings vary widely with scene activity — a busy entrance saves little, a quiet storeroom saves a lot. Treat the duty factors as planning estimates, not guarantees.

Notes and limitations

This is a planning estimate. Real footage size swings with scene complexity, lighting, motion, and variable-bitrate encoding, so add margin and use surveillance-rated drives (WD Purple, Seagate SkyHawk) built for continuous multi-stream writes. Usable drive capacity is also a few percent below the label after formatting.

Storage and power are the two questions on every camera install. Once you know the cameras, the PoE power budget calculator checks that the switch can power them all per IEEE 802.3af/at/bt.

Frequently asked questions