Key points
- Storage per day in GB = bitrate in Mb/s × 10.8. Multiply by days and cameras.
- Bitrate depends on resolution, frame rate, codec and how busy the scene is. Measure it on site, at night as well as by day.
- H.265 and smart codecs cut storage substantially, but only if the recorder and cameras both support them.
- Add headroom and RAID overhead. A recorder that runs short of space silently cuts your retention.
Recorder storage is where many camera quotes quietly cut corners. The spec sheet promises 30 days, but nobody calculated it, and three months after install the recorder is keeping eleven. This guide gives the method we use so you can check any proposal, or size a system yourself.
The core formula
Cameras send a stream measured in megabits per second (Mb/s). To turn that into storage:
GB per day = Mb/s × 86,400 seconds ÷ 8 bits per byte ÷ 1,000 = Mb/s × 10.8
Total TB = GB per day × retention days × cameras ÷ 1,000
So a camera averaging 4 Mb/s writes about 43 GB a day, or about 1.3 TB for 30 days. Twenty such cameras need about 26 TB before headroom and RAID.
Getting a realistic bitrate
Bitrate is the number everything hangs on, and it is the one most often guessed. It depends on:
- Resolution. More pixels need more bits, though not in direct proportion.
- Frame rate. 10 to 15 frames per second is enough for most security views. 25 to 30 is worth it at cash counters or where fast action matters. Halving frame rate cuts storage substantially.
- Scene activity. A busy lobby, trees moving in wind, rain and snow, or a parking lot full of headlights all raise the bitrate. A quiet corridor barely registers.
- Night noise. At high gain, sensor noise looks like motion to the encoder, and night bitrates can exceed daytime. See low light, IR and WDR.
- Codec and settings. H.264, H.265, smart codecs, quality level and GOP length, the interval between full reference frames.
The reliable way is to measure. Set up the camera, or a sample camera in a similar scene, and read the average bitrate from the camera or VMS over a full day including the night. Manufacturer bandwidth calculators are a good starting point when that is not possible, but feed them honest scene activity levels.
Codecs: H.264, H.265 and smart codecs
H.265 (HEVC) typically delivers similar image quality to H.264 at a substantially lower bitrate, often in the range of 30 to 50 percent less, with the biggest savings on static scenes. Most manufacturers also offer smart codec modes that lengthen the GOP and reduce quality in unchanging background areas, which can cut storage further on quiet cameras. Check three things before counting on the savings: the recorder and VMS support the codec, the client software and mobile app can decode it smoothly, and exported clips will play for the people you give them to.
Continuous or motion recording
| Mode | Storage | Trade-off |
|---|---|---|
| Continuous | Highest, predictable | Nothing missed, simplest to search by time |
| Motion or event only | Lower, varies with activity | Can miss slow or subtle events; misconfigured zones lose evidence |
| Continuous low rate, high rate on motion | Middle | Good balance; needs a VMS that supports it |
If you size for motion recording, use a conservative activity estimate. A busy period, a snowstorm or a moved shelf can triple recording time without warning, and the recorder will simply keep fewer days.
RAID and drives
Recorders with more than a couple of drives should protect video with RAID. The choice affects both usable space and what happens when a drive fails.
- Use drives designed for continuous surveillance or NAS workloads, not desktop drives.
- Prefer RAID 6, or RAID 5 with a hot spare, once arrays reach several large drives.
- Keep the operating system and VMS database on separate drives from the video array on server-based systems.
- Set up alerts for drive health and recording failures, and send them to someone who reads them.
- Enable SD card edge recording on critical cameras, so a network outage does not leave a gap.
Checking a proposal
- Ask for the bitrate assumption. A storage figure without a per-camera bitrate, frame rate and codec is a guess.
- Check the recording mode. If the calculation assumes motion recording, ask what activity percentage was used.
- Check usable, not raw. Confirm whether the quoted terabytes are before or after RAID.
- Look for headroom. Around 20 percent leaves room for busy periods and a few more cameras.
- Verify after install. After two weeks, check the recorder's actual oldest recording date against your target. Our maintenance checklist includes this check.
The retention target itself should come from your privacy policy, not just the budget. See retention, signage and privacy.