A CCTV storage calculator answers one question: How many terabytes do you need to keep footage for a set number of days? The math is simple, but the answer moves a lot with bitrate, codec and recording mode. This guide shows the formula, example from a VIGI cctv deployment, and a free calculator that also checks the limits of your NVR.
Short answer: One cam recording at 1 Mbps writes about 10.8 GB a day. Multiply that by the bitrate in Mbps, the number of camera and the days you want to keep, then add roughly 10 percent for overhead. A 4MP camera capped at 3584 Kbps writes about 38.7 GB a day.
How much storage does CCTV need per day?
Storage depends on how many bits per second each camera sends to the recorder. Convert that bitrate to bytes, multiply by the hours recorded, and you have the daily total. Every CCTV storage calculator uses this same formula under the hood.
GB per day = bitrate (Kbps) x hours per day x 0.00045
For one camera set to 3584 Kbps and recording 24 hours a day, that is 3584 x 24 x 0.00045, or about 38.7 GB a day. Over 30 days, one camera uses about 1.16 TB. These figures use decimal units (1 TB is 1,000 GB), which is how drive makers label capacity.
What changes the result?
Every CCTV storage calculator depends on a few inputs, and each one can move the answer by a large margin. An IPVM survey of technicians found that most use calculators, and IPVM warns that calculators cannot reflect every camera model and install condition, so treat any result as an estimate.
- Bitrate cap and mode. With VBR, the maximum bitrate is a ceiling. Quiet scenes use less, busy scenes use more, so real usage sits below the cap on average.
- Codec. TP-Link says H.265+ saves 57.5 percent of storage compared with H.264 and 15 percent compared with H.265 on VIGI cameras. That figure comes from lab testing with a 3MP camera, so real savings vary with the scene.
- Frame rate and resolution. More pixels and more frames per second raise the bitrate you need for the same image quality.
- Recording mode. Continuous 24 hour recording uses the most. Motion recording uses less but can miss the moments before an event.
- Sub-stream and audio. Some setups also record the low-resolution sub-stream or the audio track, which adds a little more.
A worked example: VIGI cameras on an NVR4064H
These are the settings I used on a recent deployment with VIGI cameras. The system has since been handed over to the owner after user acceptance testing, so I no longer have access to the recorder. The numbers below are calculated from those settings, not measured from live disk usage.
| Item | Setting |
|---|---|
| Cameras | VIGI C440, C340, C240 (2.8 mm lens) and InSight S345ZI, all 4MP |
| Main stream | 2560 x 1440, 30 fps, H.265+ (Smart Coding), VBR, max bitrate about 3584 Kbps |
| Sub-stream | 640 x 480, 20 fps, H.265, VBR, max bitrate 512 Kbps |
| Recording | Continuous, 24 hours a day |
| Recorder and storage | VIGI NVR4064H with 2 x 16 TB drives (32 TB) |
At the bitrate cap, each camera writes 38.7 GB a day to the main stream. Here is what the CCTV storage calculator math gives for 32 TB and for longer retention periods, with different camera counts.
| Cameras | Days that 32 TB lasts | TB needed for 30 days | TB needed for 90 days |
|---|---|---|---|
| 8 | 103 | 9.3 | 27.9 |
| 16 | 52 | 18.6 | 55.7 |
| 32 | 26 | 37.2 | 111.5 |
| 64 | 13 | 74.3 | 223.0 |
These are worst-case figures at the bitrate cap with no overhead, so real retention should be longer when scenes are quiet. The NVR4064H has four drive bays and accepts up to 16 TB per drive, which is 64 TB in total. A 90 day target with 32 cameras at this bitrate would not fit in the box at all.
Check the NVR limits before you buy drives
Storage is only one limit, and a good CCTV storage calculator should check the recorder too. The VIGI NVR4064H lists a default incoming bandwidth of 260 Mbps, or 320 Mbps in extended bandwidth mode. In my example, each camera sends 3.584 Mbps on the main stream and 0.512 Mbps on the sub-stream, which is about 4.1 Mbps. On bandwidth alone, roughly 63 cameras fit inside the 260 Mbps default.
The NVR also has a decoding limit for live view and playback. TP-Link lists 8 channels at 4MP and 30 fps, and 16 channels at 2MP and 25 fps. Using low-resolution sub-streams for multi-camera live view is a common way to stay inside that limit.
Free CCTV storage calculator for any NVR
The calculator below turns your settings into the TB you need, shows how many days your installed drives will hold, and checks the bandwidth against your NVR. It runs entirely in your browser, and nothing you type leaves the page. I preloaded the example from this post, so change the numbers to match your own cameras.
How to use it: enter each camera group with its quantity and the maximum bitrate you set on the camera and NVR, then set how many days you want to keep footage. The calculator multiplies by 0.00045 per Kbps per hour, adds your overhead, and compares the result with your installed storage and the NVR bandwidth limit. Because VBR bitrates are caps, treat the result as a safe minimum for how long footage lasts. It is a planning estimate, and the drive maker and NVR datasheet remain the final reference.
Devices used in this CCTV storage calculator example
Some links below are Shopee affiliate links. If you buy through them I may earn a small commission at no extra cost to you. Prices change often, so I do not list them here.
- VIGI C440 is a 4MP full-colour turret camera. I used the 2.8 mm lens version.
- VIGI C340 is a 4MP outdoor full-colour bullet camera, also with a 2.8 mm lens.
- VIGI C240 is a 4MP full-colour dome camera, again with a 2.8 mm lens.
- VIGI InSight S345ZI is a 4MP outdoor bullet camera with a motorized varifocal lens and a main stream bitrate range of 256 Kbps to 6 Mbps.
- VIGI NVR4064H is a 64 channel recorder with four SATA bays, up to 16 TB each, and 260 Mbps default incoming bandwidth.
If your cameras sit on a separate VLAN, my CCTV network isolation guide shows how I keep them off the main network. For the access points that cover the same site, see my EnGenius Fit vs Cloud comparison, which includes a free PoE planner.
Frequently asked questions
How much storage does one 4MP camera use per day?
It depends on the bitrate. A 4MP camera capped at 3584 Kbps and recording 24 hours a day writes about 38.7 GB a day, or about 1.16 TB over 30 days. A lower bitrate or motion recording reduces that.
How accurate is a CCTV storage calculator?
It is accurate for the inputs you give it and only as good as your bitrate figure. With VBR, the real average is usually below the maximum, so the result works best as a safe minimum for retention. Check the NVR’s storage page after a week to see real usage.
Why does my 32 TB of drives show less capacity?
Drive makers label capacity in decimal terabytes, while many operating systems and recorders show binary units. A 32 TB array is about 29.1 TiB, and formatting takes a little more.
Does H.265+ really save storage?
TP-Link states savings of 57.5 percent against H.264 and 15 percent against H.265 on VIGI cameras, based on lab tests with a 3MP camera. Your savings depend on how much movement the camera sees.
Can the VIGI NVR4064H handle 64 cameras?
On bandwidth, about 63 cameras at 4.1 Mbps each fit inside the 260 Mbps default. Storage is the tighter limit, since 64 cameras at this bitrate would fill 32 TB in about 13 days.
How long should I keep CCTV footage?
Keep it only as long as you need it for your stated purpose. Malaysia’s PDPA has a Retention Principle (Section 10) that says personal data should be kept only for the period necessary and deleted when no longer needed. Set a retention period, document it, and check the PDPA guidance or a legal adviser for your case. This is not legal advice.
Conclusion
A CCTV storage calculator turns three numbers into a purchase decision: bitrate, camera count and days of retention. In my VIGI example, 32 TB holds about 52 days for 16 cameras at the bitrate cap, but only about 13 days for 64 cameras, so camera count matters more than most people expect. Check the NVR’s bandwidth and drive bay limits too, and keep your retention period no longer than you need. Use the calculator above with your own settings before you buy drives.
Sources
- VIGI NVR4064H specifications (TP-Link)
- VIGI InSight S345ZI specifications (TP-Link)
- VIGI InSight S345 H.265+ storage savings (TP-Link)
- Estimating video surveillance storage (IPVM)
- Surveillance capacity calculator (Western Digital)
- Data Protection and Privacy 2026, Malaysia (Chambers)
Last checked: 30 November 2026.
