Calculate Your NVR Storage

Bitrate per camera–
Total bandwidth–
Storage per day–
Total storage needed–
Days that fit on your storage–

Estimates only. Real bitrate depends on scene complexity, motion, lighting, night noise, and camera settings. Total bandwidth assumes all cameras stream at once. To size the switch that powers those cameras, use the PoE budget calculator. To choose the lens for each camera, check the lens distance chart and calculator. To keep recording during a power cut, size a battery for the NVR and switch with the UPS runtime calculator. If the internet drops but the recorder still has power, a local NVR can often keep writing video; see whether security cameras record without internet.

How the Calculator Works

Storage is bitrate multiplied by recording time. The formula is:

storage (bytes) = bitrate (bits/s) × seconds recorded ÷ 8

Seconds recorded = hours per day × 3,600 × retention days × activity share (100% for continuous recording). The result is multiplied by the number of cameras. Terabytes use the decimal definition (1 TB = 1,000,000,000,000 bytes), which is how drive makers label capacity. Days that fit = available storage ÷ storage per day.

Key formula

Storage = bitrate × seconds recorded ÷ 8, multiplied by the number of cameras.

Default Bitrate Assumptions

Default H.264 and H.265 values come from the published IC Realtime resolution, bitrate, and frame rate reference guide, which lists recommended maximum bitrates per resolution and FPS. Because these are maximums, continuous estimates lean conservative. Not sure which resolution to select? See how many megapixels a security camera needs for your scene width.

ResolutionH.264 at 15 / 30 FPSH.265 at 15 / 30 FPS
2MP2,048 / 4,096 kbps1,024 / 2,048 kbps
4MP2,048 / 4,096 kbps1,024 / 2,048 kbps
5MP2,048 / 4,096 kbps1,024 / 2,048 kbps
8MP / 4K4,096 / 8,192 kbps2,048 / 4,096 kbps
12MP6,144 / 12,288 kbps3,072 / 6,144 kbps

Smart codec options apply a 50% reduction to the base codec. That figure comes from a Hikvision technical bulletin, which states that its H.264+ smart codec saves 50 percent bandwidth and storage on average compared with H.264, and up to 75 percent in static scenes. Other manufacturers’ smart codecs may perform differently. If you know your camera’s real bitrate, enter it in the custom bitrate field. For Mbps per camera by resolution, codec, and frame rate, and a check of your switch uplink, see the IP camera bandwidth chart and calculator.

FAQ

How much storage does a 4MP camera need per day?

Using the default H.265 value at 15 FPS (1,024 kbps), one 4MP camera recording continuously uses about 11 GB per day. At H.264 and 30 FPS (4,096 kbps), it is about 44 GB per day.

Does H.265 really cut storage in half?

The reference tables above list H.265 at half the H.264 bitrate. Measured savings vary by scene. In Axis comparisons, H.265 bitrates were roughly 18–29% lower than H.264 across four scenes, so the 50% assumption can be optimistic. Both codecs are ITU-T standards: H.264 and H.265.

Why is my real storage use different?

Bitrate changes with motion, detail, lighting, and night-time noise. Variable bitrate cameras use less in quiet scenes and more when the scene is busy. Treat the result as a planning estimate and leave headroom.

Is motion recording always smaller?

Usually, but the saving depends on how often motion occurs. Busy entrances or scenes with trees, rain, or traffic can trigger recording most of the day.

Sources

Continue with practical recording and camera guides.

Learn how NVRs record, search, and store video, and how resolution affects detail and storage.

Read the NVR System Guide