CCTV Storage Calculator
Enter your camera groups and hard disk to see storage per day, total bitrate and recording days, or the disk size needed to keep footage for a set number of days.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Add camera groups
Count, resolution, frame rate and codec.
- 2Set recording
Hours a day and share of time on motion.
- 3Enter the disk
Size, number of disks and mode.
- 4Read the days
Recording days and storage per day.
- 5Set a target
Retention days and disk bays.
- 6Compare options
Add scenarios for other codecs or disks.
About this tool
When you install CCTV in a shop, office, home or warehouse, the first question after the cameras is how long the recorder will keep footage before it overwrites the oldest video. The answer depends on how many cameras there are, their resolution and frame rate, the video codec, the picture quality setting, how many hours a day they record and whether they record continuously or only on motion. This calculator estimates the bitrate of each camera group from those settings, turns it into gigabytes per day, and divides your usable disk space by it to give the number of recording days. It also works the other way: set the retention you want, such as 30 days for many businesses, and the number of disk bays in your NVR or DVR, and it gives the total terabytes needed and a standard disk size per bay. A total bitrate check compares the cameras with the recorder's incoming bandwidth limit. Charts show storage per day by camera group and recording days for common disk sizes. When you know the real bitrate from the recorder's encoding settings, type it in the override column for an exact figure.
How the estimate works
The model starts from about 2,000 kbps per megapixel for H.264 at 25 frames per second and medium quality, a figure in the range used by NVR makers' calculators. It scales linearly with megapixels and frame rate, multiplies by 0.55 for H.265 and 0.35 for smart codecs such as H.265+, and by 0.6 or 1.5 for low or high quality. Storage per day is bitrate × 1,000 ÷ 8 × 86,400 seconds × the share of time recorded, divided by 10⁹ for gigabytes.
Usable disk space
Disk makers count a terabyte as 1,000 GB, while recorders often show binary units, so a 4 TB disk appears as about 3.6 TiB. The reserve setting, 7% by default, covers that difference and the overwrite buffer. Mirror mode halves usable space in exchange for protection against a disk failure.
Choosing settings
Frame rate has a large effect: 15 fps is smooth enough for most surveillance and uses about 40% less space than 25 fps. H.265 roughly halves storage compared with H.264. Motion recording can save the most, but busy scenes trigger it most of the time.
Worked example
The default system has 4 outdoor 4 MP cameras and 4 indoor 1080p cameras, all at 15 fps with H.265 and medium quality, recording 24 hours a day. Each 4 MP camera needs about 2,435 kbps, or 26.30 GB a day, and each 1080p camera about 1,366 kbps, or 14.75 GB a day. Together they write 164.2 GB a day at 15.2 Mbps, so a 4 TB disk keeps about 22 days. Thirty days needs 5.30 TB, so a 6 TB disk is suggested. A shop with 4 × 2 MP cameras at 25 fps on H.264 fills a 1 TB disk in 5 days; switching to H.265 at 15 fps stretches that to 15 days.
Limits
Real bitrates vary with scene detail, lighting, night-time noise and each camera's encoder, so this is an estimate, not a guarantee. It does not model variable bitrate caps, dual streams, audio, or recorder overhead beyond the reserve you set. Check retention on the recorder after a week.
Worked example
4 × 4 MP + 4 × 1080p, H.265, 15 fps: 164.2 GB a day, 15.2 Mbps; 4 TB keeps 22 days; 30 days needs 5.30 TB (6 TB disk).
Quick facts
- Category: Security & Privacy
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: ITU-T H.265; bitrate guidance from NVR vendor storage calculators
Frequently asked questions
How many days will a 1 TB disk record?
It depends on the cameras. Four 1080p cameras at 25 fps on H.264 fill it in about 5 days; on H.265 at 15 fps, about 15 days.
How much does H.265 save?
Roughly 45% compared with H.264 for the same picture, and smart codecs can save more on quiet scenes.
What frame rate should I use?
15 fps suits most surveillance. Use 25 or 30 fps for cash counters, gates or number plates where fast motion matters.
Why does my 4 TB disk show less space?
Disk makers use decimal terabytes and recorders show binary units, and some space is kept for the overwrite buffer.
What is the bandwidth check?
It compares the total bitrate of all cameras with the recorder's incoming bandwidth limit from its spec sheet.
Can I enter the real bitrate?
Yes. Type the kbps from the recorder's encoding settings in the override column for that camera group.
