Tool

CCTV/NVR Recording Storage Calculator

Enter the number of cameras and the disk capacity to see how many GB pile up per day and how many days of footage you can keep. The bitrates are not guesses: they come from values we measured ourselves with x264 and x265, and the table shows which values were used. All processing happens only inside this browser.

1. Codec

We measured the software encoders x264 and x265 (preset medium). Hardware encoders in cameras and NVRs were not measured.

2. Quality (CRF, measured values only)

We don't estimate between measured points. The CRF scale differs between codecs, so the same number in H.264 and H.265 is not the same quality. Check quality with the mean VMAF in the table below.

3. Bitrate level for typical (quiet) scenes

4. Bitrate level for high-motion scenes

The 4 clips measured at the chosen CRF are ranked by bitrate, and one of those levels is used. The clips are not real CCTV footage, so you have to judge for yourself which level fits your camera.

The bitrate correction factor is a number you enter when your camera differs from what we measured (1080p, 25 fps). We did not measure how resolution or fps change bitrate, so the default is 1 and this tool does not suggest a value. Audio and the motion share are also numbers you enter, not measurements.

Loading…

All calculations happen inside this browser and nothing is sent.

Where do the values come from?

In our measurement of file size and quality by content type, we encoded four 10-second 1080p25 clips (blue_sky, pedestrian_area, riverbed, rush_hour) with x264 and x265 (preset medium) at eight CRF values each. The values here are the mean bitrate (kbps) and mean VMAF from those results. This tool only converts them into daily size: kbps × 1000 × 86400 ÷ 8 ÷ 10⁹ = GB/day.

The bitrate one camera uses over a day is calculated as quiet scene × (1 − motion share) + high-motion scene × motion share. For the quiet and high-motion scenes, you pick the minimum, middle or maximum from the bitrate ranking of the four clips measured at the chosen CRF. The motion share, audio, correction factor and reserve are numbers you enter, not measurements.

How to read it

  • Even at the same CRF, bitrate varies a lot with the scene. For example, at x264 CRF 22 the smallest clip (rush_hour) came out at 5,294.4 kbps (about 57.2 GB per day) and the largest clip (riverbed) at 23,396.4 kbps (about 252.7 GB per day). That is a difference of about 4.4x. These clips are not CCTV footage, so you need to record with your own camera to see which end it is closer to.
  • An example with the default values: x264 CRF 26, quiet scene = minimum (2,954.7 kbps), high-motion scene = maximum (14,654.1 kbps), 20% motion, 8 cameras, 4 TB and a 10% reserve gives an average of about 5,295 kbps, about 57.2 GB per day for one camera, about 457.4 GB per day in total, and about 7.9 days of retention. Of the 4 TB, 3.6 TB is usable.
  • Check quality in the mean VMAF column. Even at the same CRF, VMAF differs from clip to clip. H.264 and H.265 are not the same quality at the same CRF number, so when you compare size between codecs, compare points with similar VMAF, not the same CRF. For a codec comparison at equal VMAF, see the claim that HEVC is half the size of H.264.
  • The “reference range” is the two extremes. It is the number of days if you recorded around the clock at the smallest or the largest value among the 4 clips. The real figure will usually fall somewhere in between, but this data can’t guarantee that.

How to use it

First, check the bitrate your NVR actually uses. To turn the bitrate shown in the camera’s web interface or the NVR settings into the “bitrate correction factor”, divide it by the kbps of the level you picked in the table (for example, with a table value of 5,295 kbps and a camera set to 2,650 kbps, the factor is about 0.5). Or, if you already know your camera’s average bitrate, use the tool only to work backwards and check the disk capacity needed for your target number of days. Once the camera count and retention days are fixed, the disk you need is total GB per day × days ÷ (1 − reserve).

To decide the bitrate level you normally use, or to understand what CRF means, the CRF recommender and How to Pick a CRF Value can help. For target-size calculations of ordinary video, the video size and bitrate calculator fits better, and for screen recording, the OBS recording disk usage estimator.

Limitations worth knowing

  • We measured four 10-second ordinary video clips. Real CCTV footage (fixed cameras, night-time infrared video, lighting changes, noise) was not measured.
  • We measured only 1080p, 25 fps and 8-bit. Sizes at the lower frame rates common in CCTV (for example, 15 fps) or at 4MP and 4K resolutions can’t be known from this data, so we did not estimate them; if you need them, you have to enter a correction factor yourself.
  • These are CRF-encoded results. Cameras and NVRs sometimes use a fixed target bitrate or a hardware encoder, and we did not measure those methods. The numbers in this tool are not the right answer for such settings; they are a reference for how much the size can vary with the scene.
  • Don’t assume H.265 always saves a fixed percentage. Even in this data, the difference between the two codecs varies by clip and by quality range.
  • The motion share is a simple weighted average that you enter. Gaps in the video, recording only when there is motion (motion recording), and audio, metadata and file system overhead are not reflected, so you have to allow for them in the reserve.
  • This tool does not cover the usable capacity under a given RAID configuration, disk lifespan, or whether a product is suited to continuous recording.