Hands-on tutorial
Tutorials · Video Surveillance
How to Calculate NVR Storage and Bandwidth for IP Cameras
Work out bitrate per camera, total recording bandwidth, disk capacity for the retention you need, and the uplink bandwidth for live viewing.
Before you start
- Camera resolution, frame rate and codec (H.264, H.265 or H.265+)
- Recording mode: continuous, motion or schedule
- The required retention in days
Step by step
Estimate the bitrate per camera
Use the camera's bitrate setting or typical values: a 4 MP camera at 25 fps uses roughly 4–6 Mbit/s in H.265, and 2–3 Mbit/s with smart codecs on quiet scenes. Busy scenes and night noise raise the bitrate.
Add up the recording bandwidth
Multiply the bitrate by the number of cameras. The NVR's incoming bandwidth (on its datasheet) must be higher than this total.
total Mbit/s = cameras × bitrateCalculate storage per day
One Mbit/s recorded for 24 hours is about 10.8 GB. Multiply by the total bitrate and by the share of time recorded (100% continuous, often 30–50% with motion recording).
GB per day = total Mbit/s × 10.8 × recording shareMultiply by retention
Multiply by the retention days and add 10–15% for file system overhead. Choose disks with that capacity, plus RAID if the NVR supports it.
TB needed = GB per day × days × 1.15 / 1000Check the network
Each camera's stream crosses its access switch and the uplink to the NVR. Remote viewing uses the sub-stream, which is much smaller. Put cameras in their own VLAN.
Validate after installation
After a week, compare the real disk use per day with your estimate and adjust bitrate, frame rate or retention.
Commands are generic, industry-standard examples. Exact syntax and menu names vary by model and firmware; check your device's manual on the Documentation page.
Pro tips
- Use surveillance-rated hard disks, not desktop disks.
- Record the main stream, view remotely with the sub-stream.
- Check local law: some sectors require a minimum retention period.
FAQ
Frequently asked questions
Example: 16 cameras at 4 Mbit/s, continuous, 30 days?
16 × 4 = 64 Mbit/s. 64 × 10.8 ≈ 691 GB per day. 691 × 30 × 1.15 ≈ 23.8 TB. Three 10 TB disks in RAID 5 give about 20 TB usable, so plan four disks.
Does H.265 really halve the storage?
Often close to that compared with H.264 at the same quality, more on static scenes and less on busy ones.
Keep learning
Related guides
NVR storage, RAID and retention
Read more →DVR vs NVR
Read more →Set up IP cameras with a PoE switch and NVR
Read more →How to Set Up IP Cameras With a PoE Switch and NVR
From unboxing to recording: plan IP addresses, power cameras with PoE, add them to the NVR and set recording and retention.
Read more →How to Access CCTV Remotely Without Port Forwarding
Port-forwarding an NVR to the Internet invites attacks. Use a VPN instead and keep cameras invisible from outside.
Read more →How to Configure NVR Storage, RAID and Retention
Install surveillance drives, choose RAID, set recording quotas and confirm you keep footage for the required number of days.
Read more →Stuck on a step?
Ask Navijin technical support or an authorised partner for help with your configuration.