Security Camera Storage Calculator
Why surveillance storage sizing gets missed
A security camera system is only as useful as the footage it can still pull up when someone finally goes looking for an incident. That is exactly where CCTV and NVR projects tend to slip: the live picture looks crisp on install day, but two weeks later the recorder is already overwriting the clip you needed because the drive was sized from a hunch instead of a calculation. This tool converts the handful of settings that actually drive disk usage into a concrete capacity figure, so you can spec hard drives, cloud retention, or recorder bays before the purchase order goes out.
Everything hinges on bitrate, because bitrate is the one number that ties camera configuration directly to bytes written. Resolution, frame rate, codec, scene motion, and compression quality all collapse into the average megabits per second each camera produces. A camera watching a quiet hallway can average a fraction of what a camera aimed at a busy parking lot burns through, even with identical resolution. If you do not know the real figure, start from the stream bitrate set in the camera's config page or grab a short test recording off the NVR, then leave overhead so the plan is not sized to the bone.
Filling in the recording profile
- Enter the number of cameras that will record to the same storage pool.
- Enter the average bitrate per camera in Mbps. Use the main recording stream, not the low-resolution preview stream.
- Set the hours recorded per day. Use 24 for continuous recording, business hours for scheduled recording, or an expected active time for motion-only recording.
- Choose the retention target in days. This is how long clips should remain before normal overwrite begins.
- Add overhead for file system reserve, exports, drive formatting loss, and future camera growth.
- Use the redundancy factor for mirroring, RAID reserve, or another storage multiplier. Leave it at 1 for a raw single-copy estimate.
- Enter the nominal drive size you plan to buy so the calculator can estimate how many drives are needed.
From bitrate to bytes on disk
The raw footage estimate is:
Formula: Storage bytes = (Cameras * Mbps * 1000000 * Hours/day * 3600 * Days) / 8
The displayed raw total is converted to binary GiB and TiB, because operating systems and many NVR interfaces report capacity in powers of 1024. The protected planning target then multiplies the raw footage by the overhead percentage and the redundancy factor. For example, a 20% overhead setting multiplies by 1.20, and a mirror-style redundancy factor of 2 doubles the required provisioned capacity.
Reading bitrate as an average, not a peak
Bitrate is the amount of data produced each second by the video stream. It is usually configured in megabits per second. Higher bitrate can preserve more detail, but it also consumes storage faster. H.265 can often deliver similar visual quality at a lower bitrate than H.264, while a camera aimed at moving traffic may need more bitrate than one watching a quiet stockroom. Treat the bitrate field as an average over the recording period, not the maximum shown on a spec sheet.
Motion-triggered recording changes the storage question from "how many hours is the site open" to "how many hours does the camera actually write usable footage." If a camera records only when motion is detected and you expect six active hours per day, entering six hours gives a better planning baseline than using 24 hours. For high-risk locations, size storage with a more conservative active-hour estimate so busy days do not erase important footage early.
A four-camera two-week example
Suppose four cameras record at 4 Mbps each for 12 hours per day and the site needs 14 days of retention. One camera creates about 20.1 GiB per day. Across four cameras and 14 days, the raw retention pool is about 1.10 TiB. With a 20% overhead reserve, the planning target becomes about 1.32 TiB. If the installation uses a mirror or another redundancy plan that effectively requires two copies, the provisioned target is about 2.64 TiB.
This corrected estimate is much larger than a simple megabit multiplication that forgets seconds per hour or counts the retention period twice. The seconds-per-hour and bits-to-bytes conversions are what turn a bitrate setting into a realistic disk requirement.
How the four big inputs pull together
These scenarios show why camera count, bitrate, recording hours, and retention days must be considered together. Doubling any single one roughly doubles the pool; stacking increases on several at once is how a "small" system quietly grows into a multi-drive NVR.
| Cameras | Bitrate | Hours/Day | Retention | Raw Storage |
|---|---|---|---|---|
| 2 | 2 Mbps | 8 | 7 days | About 94 GiB |
| 4 | 4 Mbps | 12 | 14 days | About 1.10 TiB |
| 8 | 8 Mbps | 24 | 30 days | About 18.86 TiB |
Turning the estimate into real drives
After estimating raw footage, add capacity for the real storage environment. Hard drive labels use decimal terabytes, while operating systems often display binary TiB, so a "4 TB" drive appears as roughly 3.64 TiB before recorder overhead. NVRs also need free space to manage indexes, thumbnails, file rotation, exports, and firmware operations. Running a recorder at the edge of full capacity can shorten the practical retention window and increase operational friction.
For small installations, one larger surveillance-rated drive may be enough. Larger systems often need multiple bays, RAID, hot spares, or a separate archival policy. If you must retain footage for compliance, insurance, or workplace policy, use the calculator's protected target rather than the raw target. For cloud storage, the same raw footage estimate helps you compare upload bandwidth, storage tiers, and monthly cost caps.
Where this estimate stops
The calculator assumes all cameras use the same average bitrate and recording schedule. Real camera streams vary by scene, codec settings, night vision noise, frame rate, and motion level. It does not model separate main and substreams, event bookmarks, audio tracks, metadata indexes, or vendor-specific file packing. The drive recommendation is a planning approximation that converts nominal decimal TB drives into binary TiB before rounding up.
Use the result as a capacity baseline, then validate with an actual NVR test when the system is installed. Record for a representative day, check how much disk was consumed, and adjust bitrate or retention settings before the recorder is left unattended.
Retention Run
Keep the NVR from filling up by collecting compression, schedule, and drive-bay boosts while dodging bitrate spikes.
