Tools / CCTV storage calculator
CCTV storage calculator
1. How long to keep recordings
2. Cameras
Add one group for cameras that share the same settings, or several groups for different brands, resolutions or codecs. Each group has its own settings.
3. Hard drives
4. Internet bandwidth for live viewing
Watching cameras from a phone or PC away from the site uses the internet upload speed of the place where the recorder is. Set how people will watch.
Bitrate: estimated or entered
The most accurate input is the real bitrate from your camera or NVR settings. If you do not know it, choose Estimate from resolution. The estimate starts from a typical H.264 bitrate at 25 FPS, then adjusts for your codec, video quality setting, frame rate and how busy the scene is.
| Resolution | Typical H.264 at 25 FPS | Same with H.265 |
|---|---|---|
| 720p (1 MP) | 1,024 kbps | about 560 kbps |
| 1080p (2 MP) | 2,048 kbps | about 1,130 kbps |
| 4 MP | 4,096 kbps | about 2,250 kbps |
| 5 MP | 5,120 kbps | about 2,820 kbps |
| 4K (8 MP) | 8,192 kbps | about 4,500 kbps |
These are planning values. Real streams change with the scene, lighting and camera settings. Night scenes with noise and busy streets raise the bitrate. Cameras set to variable bitrate use less when nothing moves.
Encoding type
- H.264 is the widely supported baseline.
- H.265 (HEVC) needs roughly 40 to 50 percent less storage for similar quality, but the NVR must support it.
- H.264+ and H.265+ are brand names for smart codecs that cut the bitrate further in quiet scenes. Savings depend on how much the scene changes.
- MJPEG stores each frame as a picture and needs several times more storage.
Continuous, motion or scheduled recording
Continuous recording stores 24 hours a day. Motion recording only stores when something moves, so the real share depends on the place. A quiet office may be 10 to 20 percent, a busy shop much more. Scheduled recording stores only the hours you choose, such as 12 hours overnight.
RAID and drive choice
RAID 1 keeps a copy on a second drive, so you get the space of one drive. RAID 5 gives you all drives but one, RAID 6 all but two, and RAID 10 half. RAID protects against a drive failing but is not a backup. Use drives made for continuous recording, such as surveillance-rated models.
Common questions
Why does my NVR show less space than the drive label?
Drive makers count 1 TB as 1,000,000,000,000 bytes. Many operating systems and recorders show binary units, where a 4 TB drive appears as about 3.6 TB. This calculator uses the label size for drives, and the overhead field covers formatting and indexes.
Does the sub-stream use storage?
Usually not. Most recorders store the main stream and use the sub-stream only for live view on phones and small screens. If you record both, add the sub-stream bitrate as extra cameras.
How many cameras can my NVR handle?
Check the maximum incoming bandwidth in your recorder's specification. The result above shows your total bitrate, so you can compare the two. To check your own network, use the speed test, and see the Mbps to MB/s converter for unit conversions.
How much internet upload does remote viewing need?
Each person watching uses the stream bitrate multiplied by the number of cameras on their screen. Four cameras on a sub-stream of 512 kbps need about 2 Mbps of upload at the recorder's site for one viewer. Watching the main stream is much heavier, so phones should use the sub-stream. Add headroom for other traffic, and remember that upload speed is usually lower than the download speed on a home plan.