IP Camera NVR Storage Capacity (TB) & Ingress Bandwidth Calculator
Interactive IP Camera NVR Storage & Bandwidth Calculator (H.265+)
?
Number of IP cameras recording to this NVR. Count every camera stream written to the array. Range: 1 to 512 (cameras).?
Average bitrate of one camera's main stream in Mbps before the codec saving below, from the encoder settings (for example 4K at 6 Mbps). Measure it with the camera's stream statistics. If you measured it on a stream already encoded with H.265 or a smart codec, set the codec saving to 0 % so the saving is not counted twice. Range: 0.5 to 32.0 Mbps.?
Retention window: how many days of video the NVR must keep, set by policy or by the legal requirement. Range: 1 to 365 days.?
Hours per day the cameras record. Use 24 for 24/7 recording, or the scheduled hours for motion-only recording. Range: 1 to 24 h.?
Codec saving versus H.264 at the same quality, applied to the base bitrate above. H.265 (HEVC) saves 25% to 50%; 0% is the H.264 baseline. Choose 0% when the base bitrate was already measured on an H.265 or smart-codec stream: otherwise the saving is counted twice. The 35% and 50% smart-codec profiles are model assumptions for vendor codecs; check the camera's own specification.?
Validated engineering input parameter for IP Camera NVR Storage & Bandwidth Calculator (H.265+).?
Validated engineering input parameter for IP Camera NVR Storage & Bandwidth Calculator (H.265+).Use the IP Camera NVR Storage & Bandwidth Calculator (H.265+) to evaluate TiB_usable = (N_cam · B_eff · 3600 · h_day · D_ret · 10⁶) / (8 · 2⁴⁰) for enterprise IP video surveillance NVRs, retail loss-prevention VMS clusters. The default case returns Effective stream & total ingress: 3.9 Mbps/cam · Total = 93.6 Mbps (main streams) · with substreams about 107.6 to 112.3 Mbps (assumed +15 to +20 %) · peak with no codec saving 144 Mbps.
Governing equationTiB_usable = (N_cam · B_eff · 3600 · h_day · D_ret · 10⁶) / (8 · 2⁴⁰) (Engineering estimate: binary TiB (2^40 B); RAID 5 single parity; codec savings are model assumptions)
Model assumptions
The 15 to 20 % substream allowance is a planning assumption, not a measured value. The drive count keeps 15 % of each data drive free (a planning assumption of 10 to 15 %), and the notice on more than 6 drives in one RAID 5 group is one too. The saving applies to the base bitrate you type: if that bitrate was measured on an H.265 or smart-codec stream, set 0 % or the saving is counted twice.
Why IP Surveillance NVRs Drop Frames or Overwrite Evidence Ahead of Compliance Mandates
Sizing a Network Video Recorder (NVR) or Video Management System (VMS) storage array for 30, 60, or 90 days of regulatory retention frequently fails when engineers multiply a single camera's bitrate without accounting for the codec profile, the recording schedule and RAID parity. An IP camera's stream bitrate in Mbps scales with pixel count (2 MP 1080p, 4 MP 1440p, 8 MP 4K UHD), frame rate and the group-of-pictures structure of the encoder. Moving from H.264 (AVC) to H.265 (HEVC) lowers the bitrate at the same quality, and vendor adaptive schemes (H.265+, Zipstream, WiseStream) lower it further on static scenes. The calculator treats that saving as an input: 0% for H.264, 25% for standard H.265, 35% for smart H.265+ profiles and 50% for the strongest adaptive profile. Enter the saving your camera's own statistics show, because vendor figures vary with the scene. If the base bitrate was already measured on an H.265 or smart-codec stream, set the saving to 0% or it is counted twice.
Converting aggregate ingress bandwidth into daily disk writes follows exact byte-time integration: each 1 Mbps of sustained stream writes 86,400 Megabits per 24-hour day, which equals 86,400 / 8 = 10,800 MB (10.8 GB decimal) per day at 100% duty cycle. The calculator multiplies the cameras by the effective bitrate and the recording hours, converts the result to binary units (GiB per day = bits / (8 × 2^30)), and multiplies by the retention window to give the net usable storage in TiB.
| Camera Count | Total Bandwidth | Daily Volume (GiB) | 30-Day Net Storage (TiB) | Net + Parity (TiB) | 8TB Drives (N × 7.27 TiB purchased) |
|---|---|---|---|---|---|
| 8 Cameras | 31.2 Mbps | 314 GiB/day | 9.19 TiB | 13.79 TiB | 3 drives (21.81 TiB) |
| 16 Cameras | 62.4 Mbps | 628 GiB/day | 18.39 TiB | 24.52 TiB | 4 drives (29.08 TiB) |
| 24 Cameras | 93.6 Mbps | 942 GiB/day | 27.58 TiB | 33.10 TiB | 6 drives (43.62 TiB) |
| 32 Cameras | 124.8 Mbps | 1255 GiB/day | 36.78 TiB | 42.90 TiB | 7 drives (50.89 TiB) |
| 48 Cameras | 187.2 Mbps | 1883 GiB/day | 55.16 TiB | 61.29 TiB | 10 drives (72.70 TiB) |
| 64 Cameras | 249.6 Mbps | 2510 GiB/day | 73.55 TiB | 79.68 TiB | 13 drives (94.51 TiB) |
| 128 Cameras | 499.2 Mbps | 5021 GiB/day | 147.10 TiB | 153.23 TiB | 25 drives (181.75 TiB) |
How to Evaluate NVR Ingress Ceiling, Smart Codec Scene Activity, and RAID 5 Parity Overhead?
Two hidden limits cause NVR frame loss even when drive capacity looks sufficient. First, embedded NVR SoCs have a hard incoming network ceiling (for example 160, 256 or 320 Mbps, depending on the model). If 64 4K cameras hit a night-vision snowstorm that defeats H.265+ static-background optimization, every camera returns to its full VBR ceiling and the burst saturates the NVR's network buffer and drops keyframes.
Second, raw disk purchase capacity must account for RAID parity. A single-parity RAID 5 array of N drives keeps N − 1 drives of usable capacity, so net plus parity is N / (N − 1) times the net: 1.25 for 5 drives and 1.11 for 10. RAID 6 keeps N − 2. The calculator sizes the array from 8 TB drives of 7.27 TiB each. It needs ceil(usable TiB / (7.27 × 0.85)) data drives, so each keeps 15 % free, plus the parity drives (one for RAID 5, two for RAID 6; minimum three or four drives). Filesystem formatting reserves are not modelled.
| Retention Window | Codec Saving | Net Usable (TiB) | Net + Parity (TiB) | 8TB Drives (N × 7.27 TiB purchased) |
|---|---|---|---|---|
| 14 Days | 35% | 12.87 TiB | 17.16 TiB | 4 HDDs (29.08 TiB) |
| 30 Days | 0% | 42.43 TiB | 48.50 TiB | 8 HDDs (58.16 TiB) |
| 30 Days | 35% | 27.58 TiB | 33.10 TiB | 6 HDDs (43.62 TiB) |
| 60 Days | 35% | 55.16 TiB | 61.29 TiB | 10 HDDs (72.70 TiB) |
| 90 Days | 35% | 82.75 TiB | 88.66 TiB | 15 HDDs (109.05 TiB) |
| 180 Days | 50% | 127.30 TiB | 133.36 TiB | 22 HDDs (159.94 TiB) |
Worked Examples: Two Presets Calculated with TiB_usable = (N_cam · B_eff · 3600 · h_day · D_ret · 10⁶) / (8 · 2⁴⁰)
Worked Example 1 (8 cameras at 4 Mbps, 14 days, 10 h/day recording): This preset sets Total IP Cameras on NVR = 8, Base Camera Stream Bitrate = 4 Mbps, Required Video Retention = 14 Days, Recording Hours per Day = 10 h, Smart Codec Compression Saving = AI Motion-Adaptive H.265+. Evaluating TiB_usable = (N_cam · B_eff · 3600 · h_day · D_ret · 10⁶) / (8 · 2⁴⁰) gives: effective bitrate per camera = 2.0 Mbps, total ingress = 16.0 Mbps, daily archive = 67.1 GiB/day, net usable storage = 0.92 TiB, net plus parity = 1.38 TiB, 8 TB drives = 3, parity share = 33.3 %, fill per data drive = 6.3 %, purchased capacity = 21.81 TiB. Related in the Network, Fiber, PoE & Rack Hub: RAID & ZFS Usable Capacity, IOPS & Rebuild Time Calculator and WAN Bandwidth-Delay Product (BDP) & TCP Window Calculator.
Worked Example 2 (64 cameras at 8 Mbps, 60 days, 24/7 recording): This preset shifts the operating inputs to Total IP Cameras on NVR = 64, Base Camera Stream Bitrate = 8 Mbps, Required Video Retention = 60 Days, Recording Hours per Day = 24 h, Smart Codec Compression Saving = Smart H.265+ / Zipstream to show a large array: 64 cameras at 8 Mbps for 60 days need 33 drives in one RAID 5 group, with the data drives 84.3 % full. The calculator warns about the group size: RAID 6 or RAIDZ2 in smaller groups is the safer design. The calculator returns: effective bitrate per camera = 5.2 Mbps, total ingress = 332.8 Mbps, daily archive = 3347.4 GiB/day, net usable storage = 196.14 TiB, net plus parity = 202.27 TiB, 8 TB drives = 33, parity share = 3.0 %, fill per data drive = 84.3 %, purchased capacity = 239.91 TiB. You can compare these limits with other calculators in the Engineering Studio.
How to Evaluate Commissioning Workflow for Multi-Site VMS Retention and Bitrate Verification?
To validate your surveillance storage architecture, enter your camera count, stream bitrate at target resolution and frame rate, codec profile, recording hours and retention mandate into the calculator above. Compare the total ingress bandwidth with your NVR's rated incoming ceiling. Allow about 15% to 20% on top of primary ingress for secondary substreams and bitrate spikes; that headroom is a planning assumption of this model, not a measured figure; the calculator shows the total with it as a range.
Sources
- Wikipedia · High Efficiency Video Coding General definitionHEVC gives 25% to 50% better data compression than H.264/AVC at the same video quality. Basis of the 25% and 50% codec profiles.
- ITU-T H.265 · High efficiency video coding (itu.int)Recommendation title; in-force edition H.265 (01/26). It names the codec and gives no storage sizing rule.
- Wikipedia · Binary prefix General definition1 TiB = 2^40 bytes (1,099,511,627,776 B); 1 TB = 10^12 bytes. Basis of the TiB output and of the 8 TB drive = about 7.27 TiB.
- Wikipedia · Standard RAID levels General definitionRAID 5 uses the equivalent of one drive for distributed parity, so usable capacity is (N-1)/N of raw. Basis of the raw RAID 5 and drive-count outputs (single parity, minimum three drives).
- NIST · Prefixes for binary multiplesIEC binary prefixes: 1 MiB = 2^20 B = 1,048,576 B and tebi (Ti) = 2^40. Basis of the TiB unit; the page is a unit reference, not a storage-sizing standard.
Method and test suite: Calculation Methodology.
Frequently Asked Questions: IP Camera NVR Storage & Bandwidth Calculator (H.265+)
Why do heavy rain, snow, or IR reflections raise my H.265+ NVR storage use overnight?
Smart codecs save the most when the background stays still. Raindrops, snow, or insects lit by IR LEDs add high-frequency noise to many macroblocks in every frame, so the encoder moves toward its maximum bitrate cap and the saving falls. Model that case by lowering the codec saving input toward 0%, or size with your camera's peak bitrate instead of its average.
Why should I never use SMR (Shingled Magnetic Recording) hard drives in an NVR?
SMR drives overlap magnetic tracks like roof shingles, requiring the drive controller to read, buffer, and rewrite adjacent tracks whenever old video is overwritten. Under continuous 24/7 multi-camera writes, the SMR cache fills up and write throughput collapses, so the NVR drops video segments and can drop the drive out of the RAID array.
How much extra bandwidth should I budget for secondary substreams and remote live viewing?
Each camera typically encodes a primary high-resolution stream (for example, 4K at 6 Mbps) for recording and a secondary lower-resolution substream for multi-camera grid views and mobile apps. A planning assumption of 15% to 20% on top of primary ingress covers substreams and RTSP overhead; measure your own substream bitrate to replace it.
When should a surveillance array use RAID 6 instead of RAID 5?
A common planning rule is RAID 6 (dual parity) or ZFS RAIDZ2 when individual drives reach 8 TB or larger and the array exceeds 6 drives. A rebuild of a large drive takes many hours while the cameras keep writing, and a second drive failure or an Unrecoverable Read Error (URE) during a RAID 5 rebuild is the risk that dual parity removes.