CCTV storage and bandwidth calculator
Work out how much recorder storage and network bandwidth your camera system needs before you buy. Enter your cameras and how long you want to keep recordings, and the calculator shows storage per day, total storage, bandwidth and drive options.
About this tool
How it works. Each camera produces video at a certain bitrate. Total bandwidth is the bitrate times the number of cameras. Storage per day is bandwidth x 86,400 seconds, converted to gigabytes. Total storage is storage per day x retention days x the share of time recorded, plus a safety margin.
Planning bitrates. The calculator assumes roughly 1 Mbps per megapixel for H.264 at 25 fps (a little more for 5 MP), about half that for H.265 and about a third for H.265+ smart codecs. Real bitrates vary with the scene, lighting, motion and camera settings, so enter your camera's real bitrate if you know it.
Drive sizes. Drive makers count 1 TB as 1,000 GB, and so does this calculator. Windows may show a slightly smaller number for the same drive.
Worked example. 16 cameras of 4 MP using H.265 at 25 fps need about 2 Mbps each, 32 Mbps in total, and about 346 GB per day. Keeping 30 days of continuous recordings needs about 10.4 TB before any safety margin.
Also called. People look for this as a CCTV calculator, IP camera storage calculator, surveillance storage calculator, video storage calculator, CCTV HDD calculator, or NVR and DVR disk space calculator. They all mean the same thing: how many terabytes you need for a number of cameras and days of recording.
Quick rule. At about 1 Mbps per camera, one camera recording all day uses roughly 10.8 GB. Multiply by the number of cameras and days, then add a margin.
Frequently asked questions
Is this exact?
No. It gives planning estimates. Real storage use depends on scene activity, lighting, camera settings and brand. Add a margin, and use the real bitrate from your cameras if you have it.
Should I use RAID?
If recordings are critical, consider a recorder that supports RAID or redundant storage, and use drives rated for surveillance. That needs extra capacity on top of the figure shown here.
Does the calculator store my numbers?
No. Everything runs in your browser and nothing is sent to us.
How much storage does one 2 MP CCTV camera need?
About 10.8 GB a day when it records all day at about 1 Mbps (H.264). That is about 324 GB for 30 days. H.265 needs roughly half of that.
How long will a 4 TB hard disk record 8 cameras?
With 8 cameras of 2 MP at about 1 Mbps each, continuous recording uses about 86 GB a day, so 4 TB lasts about 46 days before any margin. Higher resolution or bitrate shortens that.
How do I calculate the hard disk size for CCTV?
Hard disk size = bitrate x number of cameras x 86,400 seconds x days to keep, divided by 8 to get bytes, plus a safety margin. The calculator above does these steps for you.
What bandwidth does a CCTV system need?
Add up the bitrate of all cameras. For example 16 cameras at 2 Mbps need about 32 Mbps into the recorder. Leave headroom on the network and recorder.
More free tools
Need help with CCTV & Security Consulting?
Want a real design? We can plan camera positions, storage and network for you.
Request a quote