Last reviewed: by Sarwar Islam
Work out how many hard drives an NVR needs, and how much bandwidth the cameras put on the network, before you order anything. Enter your camera groups, retention period and RAID choice; the worked example and the notes on real-world bitrates below show how to read the result.
CCTV Storage & Bandwidth Calculator
Tell us your cameras and how long to keep footage. We'll show how many hard drives your NVR needs. Results update as you type.
Make one group for each camera type. Most projects need just one group.
Many sites keep 30 days. Banks and malls often need 60–90.
Pick the drive size you plan to buy. Leave the rest as is if you're not sure.
Estimates use typical bitrates for daytime scenes. Night IR, rain, trees and crowds raise bitrate. Drive capacity is shown as usable (about 0.91 TB per marketed TB). If you know your camera's real bitrate, enter it under "More options". Always confirm final designs with your NVR maker's calculator. Calculator by Techubox.com.
To download and print this tool without a watermark, please log in and request approval.
Sizing NVR storage without guesswork
Storage is the line on a CCTV quotation that most often turns out wrong, usually because the bitrate assumed at tender stage is not the bitrate the cameras send at night with IR on. This calculator gives you a defensible figure: it estimates the bitrate for each camera group, converts it to gigabytes per day, adds your retention period and margin, and then fits the result onto real drives with RAID protection. It is aimed at installers quoting a system, consultants writing a storage clause and end users checking whether a proposal is realistic.
Using the calculator
- Add one camera group per camera type: quantity, resolution and recording mode. Open “More options” to set the codec, frame rate and scene activity, or type the camera’s real bitrate if you know it.
- Enter the retention in days and the recording hours per day.
- Choose the drive size you intend to buy, the RAID level, the safety margin and whether you want a hot spare.
- Read the result panel: drives needed, usable capacity, bandwidth, data per day, total storage and how many days the drives will actually hold.
Worked example: 16 cameras, 30 days, RAID 5
A warehouse office has 16 cameras at 4 MP, H.265, 25 fps, normal scene activity, recording 24 hours a day. The client wants 30 days of footage and some protection against a disk failure, so we choose 8 TB drives in RAID 5 with the recommended 20 % margin.
| Result | Value |
|---|---|
| Estimated bitrate per camera | 3.07 Mbps |
| Total bandwidth into the NVR | 49.2 Mbps |
| Data per day | 530.8 GB |
| Storage needed (30 days + 20 %) | 19.11 TB |
| Drives | 4 × 8 TB, RAID 5, 21.84 TB usable |
| Fill and real retention | 88 % full, about 41 days |
You can check the arithmetic by hand: 49.2 Mbps × 86,400 s ÷ 8 = about 531 GB per day; × 30 days = 15.9 TB; + 20 % = 19.1 TB. Each 8 TB drive is counted as 7.28 TB usable, and RAID 5 gives up one drive for parity, so three drives’ worth (21.84 TB) is available. Change the codec to H.264 and the same design needs roughly twice the storage, which is often the quickest way to show a client why the codec matters.
How the bitrate is estimated
Without a custom value, the tool starts from a base bitrate for each resolution, multiplies it by a codec factor (H.264 × 2, H.265 × 1, smart codec × 0.6), scales it by frame rate using (fps ÷ 25)0.85 and applies a scene factor (quiet 0.7, normal 1, busy 1.5). Motion recording is modelled as about 50 % or 30 % of continuous. Then:
- GB per day = total Mbps × 3,600 × recording hours ÷ 8 ÷ 1,000
- Storage needed = GB per day × days × (1 + margin)
- Usable per drive = marketed TB × 0.91, the tool’s allowance for formatting and binary units
Tips and mistakes to avoid
- Measure, then design. Where cameras are already installed, read the real average bitrate from the NVR over 24 hours and type it in. Night scenes with IR, rain, trees moving or traffic can double the daytime figure.
- Check the NVR, not only the drives. The bandwidth figure must sit inside the NVR’s incoming bandwidth rating, with room for playback and remote viewing. The NVR guide explains the ratings.
- Do not count on motion recording for compliance. If a contract states 30 days, size for continuous recording or agree in writing what “30 days” means.
- Use surveillance-rated drives and leave the margin in. A full array overwrites the oldest footage sooner than the client expects.
- Pick RAID with eyes open. RAID 5 protects against one failed drive; with large drives, a second failure during the rebuild loses the array. Read RAID levels for CCTV before choosing.
Limits of the estimate
Typical bitrates describe daytime scenes and average cameras. Manufacturers’ smart codecs, variable bitrate settings, dual streams, event-based retention and edge recording on SD cards are not modelled. Drive sizes are fitted with simple RAID rules; NVRs with their own storage pools or cloud tiers may differ. Always confirm a final design with the NVR maker’s own calculator and the camera’s measured bitrate.
Standards and specifications
Retention periods are usually set by the client, insurer or local regulator rather than by a CCTV standard. The IEC/EN 62676 series gives guidance on CCTV system and image performance; check the edition your specification refers to and any sector rules that apply to your site, such as banking or retail.
Frequently asked questions
How much storage do I need for 16 cameras for 30 days?
It depends mainly on bitrate. At 4 Mbps per camera (typical 4MP H.265), 16 cameras need about 20.7 TB for 30 days of continuous recording. Motion recording can cut this by half or more.
Does H.265 really save storage?
Yes. H.265 usually needs 30 to 50% less bitrate than H.264 for the same picture quality, so storage drops by about the same amount. Smart codecs (H.265+) can save more on quiet scenes.
Should I add a safety margin?
Yes. Add 10 to 20% for bitrate spikes at night and in busy scenes, and remember RAID 5 or RAID 6 takes one or two disks for parity.
Is the result in TB or TiB?
The calculator uses decimal terabytes (1 TB = 1000 GB), the same way disk makers label drives.
For the full method with more examples, see how to calculate CCTV storage, and for the network side, how to calculate network bandwidth.
Up next in CCTV: Zero to Designer
Watch the tutorial

CCTV Storage Calculator: step-by-step tutorial · More on YouTube @techubox

