Video Surveillance

How Much NVR Storage Do You Need?

Undersized storage is one of the most common problems in video surveillance. The system works fine on day one, then the owner discovers they only have 9 days of footage when they needed 30. Here is how to get it right before you order drives.

One number to remember

1 Mbps recorded for 24 hours fills 10.8 GB.

That comes from 1 megabit per second × 86,400 seconds in a day ÷ 8 bits per byte. Everything else is multiplication:

Storage = cameras × bitrate (Mbps) × 10.8 GB × hours recorded ÷ 24 × days

For motion recording, multiply by the share of time the camera actually records.

What bitrate should you use?

The best number is the actual bitrate from the camera's settings or the NVR's status page, ideally measured during a busy day and at night. For planning before you have cameras, these rough figures assume 15 frames per second and an average scene:

ResolutionH.264H.265
2 MP (1080p)4 Mbps2 Mbps
4 MP6 Mbps3 Mbps
8 MP (4K)12 to 16 Mbps6 to 8 Mbps

Worked example

A small warehouse wants 30 days of footage:

  • 6 exterior 4 MP cameras recording continuously at 6 Mbps
  • 10 interior 4 MP cameras recording on motion at 4 Mbps, active about 30% of the time

Exterior: 6 × 6 × 10.8 GB = 389 GB per day. Interior: 10 × 4 × 10.8 GB × 0.30 = 130 GB per day. Together that is about 518 GB per day, or about 15.6 TB for 30 days. Add 10% for growth and you need about 17 TB of usable space. With 8 TB drives in RAID 5, that is four drives.

What makes storage estimates go wrong

  • Night video. Grainy low-light images compress poorly. Many cameras double their bitrate at night, especially with IR.
  • Weather and trees. Rain, snow and branches moving in the wind look like motion. They raise bitrate and trigger motion recording.
  • Frame rate creep. Someone bumps cameras from 15 to 30 fps and storage use doubles.
  • Motion guesses. A "quiet" hallway might be busy all day. Check real recording hours after the first week.
  • Marketing terabytes. Drive makers count a TB as one trillion bytes. The NVR shows binary terabytes, so a "16 TB" array shows up as about 14.6 TB, before any RAID overhead.

Codecs and smart encoding

H.265 cuts storage roughly in half compared to H.264 for the same image quality. Most manufacturers also offer "smart" codecs that lower the bitrate when the scene is static. These can cut storage dramatically on quiet cameras, but plan for the peak bitrate, not the best case.

RAID and redundancy

RAID keeps the NVR recording when a drive fails:

  • RAID 5 survives one drive failure and costs one drive of capacity
  • RAID 6 survives two failures and costs two drives
  • RAID 10 mirrors drives and costs half the capacity

RAID is not a backup. It does not help if the NVR is stolen, burned or wiped. For critical cameras, consider cloud or off-site copies.

Do not forget bandwidth

Every camera streams its full bitrate to the NVR around the clock, even when the NVR only records on motion. The example above puts 76 Mbps on the network. Check that the switch uplinks and the NVR's rated recording bandwidth can handle it, and remember that remote viewing adds more. Our PoE budget calculator helps with the switch side.

Get your number

Our NVR storage calculator does this math for any mix of cameras, shows the bandwidth, and counts drives for each RAID level. If you are still picking cameras, check whether they will capture the detail you need with the field of view calculator.