CCTV, NVR and DVR Surveillance Storage Calculator—How Long Can a 1TB, 2TB and 8TB Hard Drive Store Recordings?

CCTV NVR and DVR Storage Calculator

“How long can my hard drive store security camera footage?”

This is one of the most common questions I hear from customers who are planning to install a security camera system. However, some customers aren’t yet familiar with how CCTV storage works. Security camera systems typically use a hard drive (HDD) to store recordings, and hard drives are available in various capacities, such as 500GB, 1TB, 2TB, 4TB, and more.

In this article, I’ll explain how long your security camera system can store recordings based on the capacity of the hard drive you’re using.

What Determines the Hard Drive Capacity You Need for a Security Camera System?

In my experience, there are four factors that determine how much hard drive capacity a security camera consumes:

  • Number of cameras
  • Resolution and bitrate. Higher resolutions generally require higher bitrates, resulting in larger video files. A 2 MP (1080p) camera typically runs at 2–4 Mbps, while an 8 MP (4K) camera typically runs at 4–8 Mbps or higher.
  • Recording mode: Continuous recording or recording only when motion or an event is detected.
  • Video compression: H.265 and smart codecs use much less storage space than older H.264.

Bitrate is the key factor in determining how much hard drive space your camera uses each day to store recordings. Both recorders and cameras allow you to adjust the bitrate, and the setting is displayed in the recording settings.

How Much Storage Space does a Security Camera Use Per Day?

The basic formula is simpler than most online calculators make it look. A bitrate of 1 Mbps means one million bits per second. There are 86,400 seconds in a day, and one byte equals eight bits. This factor of 10.8 is worth remembering: multiply your camera’s average bitrate in Mbps by 10.8 to estimate how much storage it uses per day when recording continuously (24/7).

So, 1 Mbps × 86,400 ÷ 8 = 10.8 billion bytes, or approximately 10.8 GB per day.

If your camera doesn’t record around the clock, use the recording hours instead: multiply the bitrate in Mbps by the number of recording hours, then multiply the result by 0.45 to get the storage usage in GB. The 0.45 factor comes from dividing 10.8 by 24. In this context, GB and TB refer to decimal units, meaning 1 TB equals 1,000 GB, following the standard used by storage manufacturers.

The table below shows how much storage space typical bitrates use per day. The calculations are based on the following assumptions: continuous 24-hour recording, only the main stream is stored, audio is not included, and every camera maintains the same average bitrate.

Average Bitrate per Camera1 Camera (GB/Day)4 Cameras (GB/Day)8 Cameras (GB/Day)
1 Mbps10.843.286.4
2 Mbps21.686.4172.8
3 Mbps32.4129.6259.2
4 Mbps43.2172.8345.6
6 Mbps64.8259.2518.4
8 Mbps86.4345.6691.2

Treat this table as a rough estimate rather than a precise measurement. To find the right row for your setup, check your camera’s settings or, better yet, monitor the actual bitrate while the system is running. As a general starting point, a 4 MP camera using H.265 compression at 25 frames per second (fps) typically produces a bitrate of 2–4 Mbps, while an 8 MP (4K) camera usually falls within the 4–8 Mbps range.

Factors such as image noise at night, rain, and trees moving in the wind can significantly increase these figures.

Real-World Examples of How Long a 1TB Hard Drive Can Store Security Camera Footage

I’ll show you how long recordings can be stored based on real-world examples.

I recently performed a routine inspection to make sure the customer’s security camera system was working properly. One important part of this inspection was checking the storage to ensure the hard drive was functioning correctly and recording video footage. At this customer’s shop, the system uses eight Dahua cameras with 2 MP resolution and a 1TB hard drive for storage.

DVR Model and System Information:

  • Model: DHI-XVR4108HS-S2
  • Channels: 8
  • Hardware Version: V1.0
  • System Version: 3.218.0000001.4
  • Build Date: 30-09-2017
  • Web Version: 3.2.7.86714
  • Serial Number: 3L005D7PAP*****
  • ONVIF Server Version: 2.42 (V1.1.2.444854)

With a 1TB hard drive, this Dahua DVR can store up to 9 days of continuous 24/7 video recordings. The system uses a bitrate of 1 Mbps per camera.

The white color on the timeline indicates that footage was recorded on that day.

H.265 vs. H.264: How Much Storage Space Can You Save?

Technically, the H.265 video codec can reduce storage requirements by 30–50% compared to H.264. Using the same calculation, a 4 Mbps bitrate with H.264 could drop to around 2–2.8 Mbps with H.265. This means your storage can last longer before the hard drive fills up.

Unfortunately, the Dahua DVR mentioned above does not support the H.265 codec.

Dahua DHI-XVR4108HS-S2 DVR Recording:

Recording
CompressionH.264
Resolution1080N, 720P, 960H, D1, HD1, BCIF, CIF, QCIF
Record RateMain Stream:4CH:1080N/720P/960H/D1/HD1/BCIF/CIF/QCIF (1~25/30fps)8/16CH:1080N(1~12fps)/720P(1~15fps)/960H/D1/HD1/BCIF/CIF/QCIF (1~25/30fps)Sub steram:4CH:CIF/QCIF(1~15fps)8/16CH:CIF/QCIF(1~7fps)
Bit Rate1Kbps ~ 6144Kbps Per Channel
Record ModeManual, Schedule (Regular, Continuous), MD (Video detection: Motion Detection, Video Loss, Tampering), Alarm, Stop
Record Interval1 ~ 60 min (default: 60 min), Pre-record: 1 ~ 30 sec, Post-record: 10 ~ 300 sec

What About Wi-Fi Cameras? Is the Storage Calculation the Same?

Yes, the calculation is the same.

The main difference is that Wi-Fi cameras typically use a memory card in each camera rather than a single hard drive shared by multiple cameras through a DVR or NVR. For example, let’s look at the storage performance of an EZVIZ camera using a 64GB SD card.

24-Hour Recording Mode:

  • Stores up to 10 days of footage
  • 2 Mbps bitrate

Event Recording Mode:

  • Stores up to 25 days of footage
  • 2 Mbps bitrate

Of course, with event recording, the actual storage duration can be longer or shorter depending on how much activity occurs in the monitored area. For example, in a busy location like a shopping mall, where there is a lot of movement, an EZVIZ camera may store less than 20 days of footage.

Conclusion

There is no fixed formula for calculating the storage capacity needed for a security camera system. All calculations are estimates.

However, my estimates should be reasonably close to the actual storage requirements. They can help you determine how much storage capacity you need to keep your security camera recordings for the desired length of time. You can also ask your CCTV technician or camera supplier for an estimate of how long your recordings will be stored. Another option is to use a security camera storage calculator to estimate your storage requirements.

I hope you find this information helpful!

Leave a Comment