This calculator determines the total video storage required for an IP camera system across multiple camera groups with different resolutions, codecs, frame rates, and recording modes. It is the primary tool for specifying NVR disk capacity, with outputs including total bandwidth, raw storage, and a recommended NVR size with headroom.
Storage is calculated per camera group: base bitrate (from the resolution table at 15 fps reference) is scaled by the actual fps/15 ratio, multiplied by the codec compression factor (H.265 = 0.5×, H.265+ = 0.35×), and multiplied by the scene activity factor (Low 0.6×, Medium 1.0×, High 1.5×). The recording mode duty cycle is then applied (Continuous 100%, Motion 40%, Schedule 37.5%). Storage per camera per day in GB = bitrate (Mbps) × recording_factor × 86,400 / 8 / 1,024. Total group storage = per-camera-day × cameras × retention days.
Aggregating across camera groups gives total bandwidth (Mbps) and total storage (TB). A 20% NVR headroom factor is added to cover metadata, system files, RAID overhead, and future growth. The recommended NVR size in TB is rounded up to the next tenth TB.
The multi-group architecture allows engineers to handle mixed camera fleets — for example, 16 × 1080p H.265 interior cameras at motion-triggered recording combined with 4 × 4K H.264 entrance cameras at continuous recording — in a single calculation.
Video retention requirements are project-specific, set by the AHJ, owner security policy, and applicable regulations. IPVM (IP Video Market) industry guidelines recommend a minimum of 30 days for general commercial applications and 90+ days for high-security zones. Healthcare facilities may have HIPAA-driven retention policies. Airport TSA security programs specify their own retention requirements. The NVR switch uplink must meet or exceed the total aggregate bandwidth calculated here, per network engineering best practices.
Scene activity factor is the most significant variable in real-world storage versus calculated storage. A camera in a parking garage (Low, 0.6×) will consume 60% of the expected continuous bitrate; an entrance camera (High, 1.5×) during peak hours may actually produce 1.5× the reference bitrate. Commissioning measurement of actual bitrates over a representative week is essential for confirming storage adequacy.
H.265 and H.265+ deliver significant storage reductions (50% and 60–70% respectively) and should be specified for any NVR or VMS purchase. Confirm that the VMS server CPU can decode H.265 streams from the full camera count simultaneously — H.265 decoding is approximately 1.5–2× more CPU-intensive per stream than H.264 at equivalent resolution.
Start with Camera Group 1 and set the resolution, codec, frame rate, scene activity, recording mode, number of cameras, and retention period. The group storage result appears immediately. Add additional camera groups for different camera specifications within the same system. The summary bar at the top shows total cameras, aggregate bandwidth, raw storage in TB, and recommended NVR size with 20% headroom. Use the Results Breakdown table to document the storage allocation per group for the design package.
H.265 is the default choice for new installations — it halves storage and bandwidth vs H.264 with no quality loss, and is supported by all modern NVRs and cameras. H.265+ provides additional savings (60–70%) on static scenes but requires cameras and NVR from the same manufacturer. Use H.264 only when legacy NVR compatibility is required.
Scene activity factor adjusts the base bitrate for how much motion and detail change occurs in the scene. Low (0.6×): parking garages, stairwells, empty corridors. Medium (1.0×): retail aisles, office areas with normal activity. High (1.5×): building entrances, lobbies, intersections with continuous pedestrian traffic. When in doubt, use Medium and add 20% NVR headroom.
The NVR NIC and the switch uplink port carrying camera traffic must handle the total aggregate bandwidth shown in the summary bar. A 1 GbE link supports up to approximately 700–800 Mbps sustained write throughput. Specify 10 GbE for systems with aggregate bandwidth above 500 Mbps to allow headroom for NVR management traffic.
NVR capacity depends on the model — entry-level NVRs typically handle 8–16 cameras; enterprise NVRs handle 64–256 cameras or more. Capacity is governed by both the number of channels and the total recording bandwidth the NVR can sustain. Match the NVR recording bandwidth spec (in Mbps) to the total aggregate bandwidth from this calculator.
Yes, in these situations: when the system uses RAID 5 or RAID 6 (parity drives are not usable capacity), when cameras have wide dynamic range or high-bitrate special modes (starlight, thermal), when the retention policy may be extended in the future, or when actual bitrates during commissioning exceed estimates. 25–30% headroom is more conservative for production systems.
Try our Physical Security Studio
More calculators, simulators, and guides for this discipline.