Telecom Digest
Calculators

CCTV storage calculator

In short: One 4 MP camera recording H.265 at 25 frames per second around the clock uses about 33 GB per day, or roughly 1 TB per month. Four such cameras kept for 30 days need 4.4 TB including headroom, so the calculator suggests a 6 TB drive. Enter the number of cameras, resolution, codec, FPS, recording mode and retention days, and the calculator works out the archive size and bitrate and picks hard drives. The second mode shows how many days of footage fit on the drive you already have.

Motion recording shrinks the archive in proportion to activity: at 20% motion in the frame you need five times less space than with continuous recording. If you plan to watch the cameras remotely, check that your upload can carry the combined stream with the Mbps to MB/s converter: four 4 MP cameras on H.265 send about 12.3 Mbps nonstop.

What to calculate
Typical sites
If you know it from the camera settings. Empty — we use a typical value

Everything is calculated in your browser: nothing you enter is sent anywhere. Only the calculation settings stay in the page address so you can share the result as a link.

Bitrates are typical main-stream values for Hikvision, Dahua and similar IP cameras and recorders at medium quality. The real stream depends on the scene, lighting and settings — check the exact figure in your camera settings.

Advertise on Telecom DigestTech buyers come to us for checks, buying guides and comparisons. Reach them where they decide.

Advertising terms

How much storage CCTV needs

CCTV storage equals camera bitrate multiplied by recording time and the number of cameras. Bitrate is how many megabits per second a camera sends to the recorder. Resolution, codec, frame rate and the amount of motion in the scene set it.

A 2 MP (1080p) camera on H.264 at 25 fps sends about 4 Mbps. That is 44 GB per day and 1.3 TB per month. The same camera on H.265 needs half as much: 22 GB per day.

A home with four 2 to 4 MP cameras and 2 to 4 weeks of retention usually fits on a single 2 to 6 TB drive. For a store with 8 cameras at 4 MP and a month of footage the calculator gives about 8 TB, and for a warehouse with 16 cameras at 5 MP about 16 TB. That means a recorder with 2 to 4 drive bays.

How much space one camera uses per day

The table is built with the same code as the calculator: continuous recording, 25 fps, normal motion in the frame. For motion recording, multiply by the share of active time; at 15 fps multiply by about 0.66, at 12 fps by 0.56.

ResolutionH.264 bitrateH.264, GB/dayH.265, GB/dayH.265+, GB/dayH.265, TB/month
2 MP (1080p)4.1 Mbps44.222.113.30.66
4 MP (2K)6.1 Mbps66.433.219.91.00
5 MP8.2 Mbps88.544.226.51.33
8 MP (4K)12.3 Mbps132.766.439.81.99

How to use the CCTV storage calculator

  1. Pick a mode: "How many drives" for a target retention period, or "How many days fit" on your drive.
  2. Enter the number of cameras, resolution and codec. You will find them in the camera specs or the NVR menu. You can start from a preset: apartment, house, store or warehouse.
  3. Set the frame rate and the amount of motion in the scene. For motion recording, enter the share of the day when something moves in the frame.
  4. Enter the retention period in days and the number of drive bays in your recorder.
  5. If you know the bitrate from the camera settings, type it into "Your bitrate": the estimate becomes more accurate than the typical value.
  6. Read the result: archive size, bitrate per camera, combined stream and matching drive sets. Copy the page address to reopen the same calculation from a link.

How we calculate

Camera bitrate

bitrate = base bitrate × codec × motion × (FPS / 25)^0.8

Base bitrate (H.264, 25 fps)

2 MP — 4 Mbps   4 MP — 6 Mbps   5 MP — 8 Mbps   8 MP — 12 Mbps

Codec and motion

H.264 × 1   H.265 × 0.5   H.265+ × 0.3      little × 0.6   normal × 1   a lot × 1.5

Archive size

GB per day = bitrate (Mbps) / 8 × 86,400 × activity / 1000
archive = GB per day × cameras × days;  drive = archive / 0.9
  • We count in decimal terabytes, like drive makers: 1 TB = 1000 GB. A recorder or Windows shows a 4 TB drive as 3.64 TB — the same bytes in binary units.
  • We keep the drive no more than 90% full: the rest goes to the file system, recorder metadata and headroom for bitrate spikes at night or in rain.
  • The total stream is what the recorder receives over the network all the time, even with motion recording: the camera streams constantly, only part of it is stored.
  • Audio adds 32–64 kbps per camera — under 1 GB a day — so we leave it out.

Cameras and recorders

Choosing cameras for a new site? Our Russian-language guides cover what to look for in the specs and the best models of the year.

H.264 vs H.265 vs H.265+: which to choose

H.265 (HEVC) compresses video about twice as well as H.264 at the same picture quality, so the same drive holds twice as many days. Four 4 MP cameras for 30 days need 8.9 TB and a 10 TB drive on H.264, but 4.4 TB and a 6 TB drive on H.265.

Most current cameras and recorders support H.265. Keep H.264 only if an older recorder, viewing software or cloud service cannot handle H.265.

H.265+, Smart H.265 and WiseStream are the smart encoding modes from Hikvision, Dahua and Hanwha. They compress a static background harder and use almost no space when nothing moves. The calculator treats H.265+ as 60% of the H.265 stream: the same four cameras take 2.7 TB, and a 3 TB drive is enough. Quiet scenes save more, busy streets save less.

How resolution and frame rate change storage

Resolution grows the archive almost in proportion to pixel count: an 8 MP (4K) camera on H.265 records about 66 GB per day, twice as much as a 4 MP camera. A 1 TB drive holds 13 days of continuous 4K footage from one camera, compared with 40 days from a 2 MP camera.

For home and office security, 12 to 15 fps is enough: a walking person still looks smooth, and the archive is 33 to 44% smaller than at 25 fps. Use 25 to 30 fps where fast motion matters: checkouts, driveways, license plate recognition. Below 8 to 10 fps a quick action can fall between frames.

Scene activity changes bitrate too. A busy street or checkout produces about 1.5 times the normal stream, while a quiet hallway at night produces about 0.6 of it. For four 4 MP cameras over a month that is the difference between 2.7 TB and 6.6 TB.

Continuous or motion recording

Continuous recording is safer, because the archive keeps everything, including events the motion detector missed. Motion recording saves space. If something moves in the frame 30% of the time, four 4 MP cameras take 1.3 TB a month instead of 4.4 TB, and a 2 TB drive is enough.

Motion detection triggers on shadows, leaves, insects near the lens and lighting changes. Outdoors the active share is usually higher than it looks, so plan for 30 to 50%.

A common compromise is continuous recording of the low-quality substream plus motion recording of the full-quality main stream. Run the calculator twice, once for each stream, and add the results.

How many days of CCTV footage to keep

At home you choose the retention period yourself: 14 to 30 days is usually enough to notice a theft or damage and find the footage. For businesses, 30 days is a common default. No single retention period applies to every site, and some industries set their own requirements, so check what applies to yours.

A recorder overwrites in a loop: once the drive is full, new footage replaces the oldest files. Retention in days is therefore the depth of archive available at any moment. The "How many days fit" mode shows it for your drive: four 4 MP cameras on H.265 keep 27 days on 4 TB and 40 days on 6 TB.

Which hard drives to use and whether you need RAID

Use surveillance-class hard drives built for 24/7 recording: WD Purple, Seagate SkyHawk, Toshiba S300. They are designed to write many streams around the clock and last longer than desktop drives in that role. An SSD is not needed for the archive: it costs more and brings no gain for sequential video writing.

The calculator fills drives to no more than 90% and picks drives without RAID. If the footage matters, enable mirroring or a parity array and adjust the drive count:

  • RAID 1 (mirror): buy twice as many drives. For a 4.4 TB archive that means two 6 TB drives.
  • RAID 5: add one drive of the same size. The array survives one drive failure.
  • RAID 6: add two drives. The array survives two simultaneous drive failures.

A single-bay recorder suits 1 to 4 cameras. For 8 to 16 cameras with a month or more of retention, look at models with 2 to 4 bays.

Cloud storage or an NVR

Cloud storage keeps footage on the provider's servers, while a network video recorder (NVR) keeps it on drives at your site. Nobody can steal the cloud copy together with the recorder, but the cloud needs a constant upload equal to the combined stream of all cameras. Four 4 MP cameras on H.265 send about 12.3 Mbps without a break, which adds up to 133 GB uploaded per day. Measure your upload with the internet speed test before you choose the cloud.

That is why cloud plans usually store motion events or a reduced-quality stream, while the full-quality 24/7 archive stays on the recorder. A standalone camera without a recorder records to a memory card; see how to choose a microSD card for capacity and endurance.

Direct remote access to a recorder needs a public IP address. Check yours on the What is my IP page; if your ISP puts you behind carrier-grade NAT, use the manufacturer's cloud access instead.

Our view

We think it is better to size an archive with headroom than to cut it close. Typical bitrates are a guide: the real stream depends on the scene, lighting and camera settings, so for an exact figure enter the bitrate from the camera menu. Before you buy, run the calculator with your real bitrate and the retention you actually need, then take the next drive size up: a spare terabyte costs less than a week of lost footage.

Other calculators

CCTV storage questions

How much storage does a CCTV camera use per day?
A 2 MP camera on H.264 at 25 fps records about 44 GB per day, and about 22 GB on H.265. A 4 MP camera on H.265 uses about 33 GB, and an 8 MP (4K) camera on H.265 about 66 GB. For motion recording, multiply by the share of time when something moves in the frame.
How long will 1 TB last on CCTV?
A 1 TB drive holds about 40 days from one 2 MP camera on H.265 with continuous recording, or about 10 days from four such cameras. One 4 MP camera on H.265 fills 1 TB in 27 days. The "How many days fit" mode gives an exact figure for your setup.
What size hard drive do I need for 4 cameras for 30 days?
Four 4 MP cameras on H.265 recording continuously for 30 days need 4.4 TB including headroom, so buy a 6 TB drive. For 2 MP cameras a 3 TB drive is enough, and with motion recording at 30% activity a 2 TB drive will do.
How much space does H.265 save over H.264?
H.265 saves about half the space of H.264 at the same picture quality. Smart codecs such as H.265+, Smart H.265 and WiseStream save roughly another 40% over plain H.265 on quiet scenes.
Why does my NVR show less space than the drive label?
Drive makers count in decimal units (1 TB = 10¹² bytes), while recorders and Windows count in binary units. That is why a 4 TB drive shows up as 3.64 TB. The file system and recorder service data take a little more.
What happens when the CCTV drive is full?
When the drive is full, the recorder starts overwriting the oldest files. Loop recording is on by default, so retention in days tells you how much footage is available at any moment.
Where do I find my camera's bitrate?
The camera bitrate is listed in its web interface or the recorder menu, under "Video" or "Encoding", in the "Bitrate" or "Max bitrate" field of the main stream. With variable bitrate (VBR) the real stream is often below the maximum, so a calculation based on the maximum leaves headroom.