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.
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.
What else to calculate
Telecom Digest in your inbox
Once a day: the latest gadget and tech news. No spam, one-click unsubscribe.
By subscribing you agree to receive Telecom Digest emails and to our privacy policy. One-click unsubscribe.
Advertise on Telecom DigestTech buyers come to us for checks, buying guides and comparisons. Reach them where they decide.
Advertising termsHow 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.
| Resolution | H.264 bitrate | H.264, GB/day | H.265, GB/day | H.265+, GB/day | H.265, TB/month |
|---|---|---|---|---|---|
| 2 MP (1080p) | 4.1 Mbps | 44.2 | 22.1 | 13.3 | 0.66 |
| 4 MP (2K) | 6.1 Mbps | 66.4 | 33.2 | 19.9 | 1.00 |
| 5 MP | 8.2 Mbps | 88.5 | 44.2 | 26.5 | 1.33 |
| 8 MP (4K) | 12.3 Mbps | 132.7 | 66.4 | 39.8 | 1.99 |
How to use the CCTV storage calculator
- Pick a mode: "How many drives" for a target retention period, or "How many days fit" on your drive.
- 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.
- 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.
- Enter the retention period in days and the number of drive bays in your recorder.
- If you know the bitrate from the camera settings, type it into "Your bitrate": the estimate becomes more accurate than the typical value.
- 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.