Skip to content
Calculator

Security camera storage calculator

Updated

Enter your cameras, resolution, codec, recording mode and days of history to see how many gigabytes or terabytes you need, and what microSD card or NVR drive size to buy.

cameras recording
check your camera’s spec sheet
H.265 usually needs a lower bitrate
fps, 1 to 30
in the camera’s video settings
megabits per second (Mbps)
events: only clips are saved
hours per camera (events mode)
days, 1 to 365
shared disk or one card per camera

Next steps

How the calculation works

Video storage is bitrate multiplied by time. A camera that streams at 1 megabit per second (Mbps) writes 1,000,000 bits each second, which is 0.125 megabytes. The calculator uses these steps:

Where the estimated bitrate comes from

If you pick “Estimate it for me”, the tool starts from typical H.264 bitrates at 15 frames per second: about 1.5 Mbps at 1 MP, 2.5 Mbps at 2 MP, 4 Mbps at 4 MP, 5 Mbps at 5 MP and 8 Mbps at 8 MP. H.265 (HEVC) is a newer codec that is commonly reported to need about a quarter to a half less data at similar quality, so the tool uses 60% of the H.264 figure. Bitrate is then scaled gently with frame rate: lower than 15 fps lowers it, higher than 15 fps raises it. These are planning numbers. Cameras vary, many let you pick a fixed or variable bitrate, and busy scenes produce more data. If your camera’s video settings or app show the bitrate, choose “I know my camera’s bitrate” and type it in.

Worked examples

Example 1: four 4 MP cameras on an NVR. The defaults: H.265 at 15 fps gives an estimated 2.4 Mbps, which is 25.9 GB per camera per day if recorded continuously. Four cameras write about 104 GB a day, so 14 days is about 1.45 TB. Adding 15% headroom gives 1.67 TB, and the next standard drive is 2 TB.

Example 2: two 1080p cameras on microSD cards, motion clips only. Choose 2 MP, H.264, 15 fps (2.5 Mbps estimate), events mode with 3 hours a day, 30 days, and microSD. One camera writes 3.4 GB a day, or 101 GB over 30 days. With 15% headroom that is 116 GB, so a 128 GB card in each camera is enough.

Common mistakes

Local storage is also how you avoid a monthly plan: see security cameras with no monthly fee for the full cost comparison.

Frequently asked questions

How much storage do I need for one security camera?

A 1080p camera recording continuously at about 2.5 Mbps writes roughly 27 GB a day, so a 128 GB card holds under 5 days and a 512 GB card about 19 days. Motion-only recording stretches that to weeks or months, depending on how often the camera triggers.

Is continuous or motion recording better for storage?

Motion recording uses far less space, though how much depends on how often the camera triggers, but it can miss the seconds before an event and anything the camera fails to detect. Continuous recording keeps everything, at the cost of a much larger disk or card.

Does H.265 really save space?

Usually yes: H.265 (HEVC) is commonly reported to need about 25% to 50% less data than H.264 at similar quality. Your camera, recorder and app must all support it, and some phones or older software cannot play it back.

What size microSD card should I buy for a security camera?

Work out one camera’s total for the days you want, add about 15%, and round up to 64, 128, 256 or 512 GB, never above your camera’s stated maximum. Choose a high endurance card if the camera records continuously.

Sources

  1. Wikipedia — High Efficiency Video Coding (compression compared with H.264)
  2. ITU-T — Recommendation H.265, High efficiency video coding
  3. Federal Trade Commission — Using IP cameras safely