ThisCalculator

Everyday

Bitrate Calculator CCTV: How to Estimate

Updated · Standard formula, shown below

Bitrate 4.20 Mbps
Storage needed
1,328.9 GB
Result
Resolution
4 MP
You entered
Frame rate
15 fps
You entered

A CCTV bitrate calculator works out the amount of data your security cameras produce per second, based on resolution, frame rate, compression, and recording hours. You enter those settings, and it returns the bitrate (in Mbps), plus the storage needed for a day, week, or month. This lets you size a hard drive or SD card before you buy it, instead of discovering too late that your system overwrites footage every few days.

Formula

The calculator uses a simplified bitrate model that is common in CCTV planning:

Bitrate (Mbps) = Resolution (MP) × Frame Rate (fps) × Compression Factor × 0.07

Where:

  • Resolution – the camera’s sensor output in megapixels (e.g., 2 MP for 1080p, 4 MP for 1440p, 8 MP for 4K).
  • Frame rate – frames per second recorded (typically 15 or 25).
  • Compression factor – a rough multiplier: H.264 ≈ 1, H.265/HEVC ≈ 0.5, MJPEG ≈ 4. These are averages; actual values vary with scene complexity.
  • 0.07 – an empirical constant that converts megapixels, fps, and codec into a typical bitrate in Mbps for surveillance scenes.

Storage is then:

Storage (GB) = Bitrate (Mbps) × 3600 (s/h) × Hours per day × Days ÷ 8 (bits to bytes) ÷ 1024 (MB to GB)

For example, with the default values (4 MP, 15 fps, H.264, 24 h/day, 30 days):

  • Bitrate = 4 × 15 × 1 × 0.07 = 4.20 Mbps
  • Storage = 4.20 × 3600 × 24 × 30 ÷ 8 ÷ 1024 = 1,330.5 GB ≈ 1.33 TB

That matches the calculator’s output for the defaults.

Why Bitrate Matters for CCTV

Bitrate directly determines two things: video quality and storage consumption. Higher bitrate means more detail and smoother motion, but it fills drives faster. Lower bitrate saves space but can introduce blocky artifacts, especially when there is motion or fine detail like leaves or rain.

Most IP cameras let you set a constant bitrate (CBR) or variable bitrate (VBR). CBR keeps the bitrate fixed, making storage calculations predictable. VBR adjusts to scene activity – low when nothing moves, high when there is motion – so actual storage can be lower than a CBR estimate. For planning, using CBR or an average bitrate is safer.

Also note that resolution and frame rate are not the only factors. The codec, the camera’s encoder efficiency, and the scene’s complexity (a busy street vs. an empty corridor) all affect the real bitrate. The calculator gives a planning number, not a guarantee.

How to Choose the Right Settings

To use the calculator effectively, you need to decide on three things:

  • Resolution – Higher resolution captures more detail (faces, license plates) but requires more bandwidth and storage. 2 MP is common for small businesses; 4 MP or 8 MP for areas where identification is critical.
  • Frame rate – 15 fps is usually enough for general surveillance; 25 fps for fast-moving objects. Higher fps increases bitrate roughly linearly.
  • Compression – H.265 (HEVC) is the modern standard, offering about half the bitrate of H.264 for similar quality. MJPEG is rarely used now due to high bitrate.

Once you have those, decide how many days you want to keep footage. Many users choose 7, 14, or 30 days. Then multiply the storage per camera by the number of cameras to get the total drive size.

Common Mistakes and Misconceptions

A frequent error is mixing up megabits and megabytes. Internet speeds and bitrates are in megabits per second (Mbps), but storage is in megabytes (MB) or gigabytes (GB). There are 8 bits in a byte, so 10 Mbps equals 1.25 MB/s. The calculator handles this, but when you read camera specs, be careful.

Another mistake is assuming the camera’s “max bitrate” is what you will actually use. Many cameras default to a lower bitrate, or use VBR. If you plan for the maximum, you will overestimate storage – which is safe, but may lead to buying a larger drive than needed.

Some users also forget that recording is often continuous, not motion-only. If you set the camera to record only on motion, the average bitrate can be much lower, but the calculator assumes continuous recording. For motion-only, you could reduce the “hours per day” to the average active time.

Real-World Example: 4K Camera System

Suppose you install eight 4K (8 MP) cameras at 20 fps, using H.265, recording 24/7 for 14 days. Using the formula:

  • Bitrate per camera = 8 × 20 × 0.5 × 0.07 = 5.60 Mbps
  • Storage per camera = 5.60 × 3600 × 24 × 14 ÷ 8 ÷ 1024 = 826.9 GB
  • Total for 8 cameras = 826.9 × 8 = 6,615 GB ≈ 6.46 TB

So you would need a 6 TB or 8 TB drive (depending on RAID overhead). If you switch to H.264, the bitrate doubles to 11.2 Mbps, and storage doubles to about 12.9 TB – a significant difference. This shows why codec choice is so important.

Limitations of the Formula

The 0.07 constant is a rough average. Actual bitrates can be 50% higher or lower depending on:

  • Scene complexity – A static office with no movement compresses far better than a busy parking lot.
  • Encoder quality – Some camera brands have more efficient encoders than others.
  • Bitrate control – VBR may average lower than CBR.
  • Audio – If the camera records audio, add about 64–128 kbps (0.064–0.128 Mbps).

For critical installations, check the camera’s datasheet for typical bitrate ranges at your settings, or run a test recording and measure the file size. The calculator is a starting point.

Frequently Asked Questions

How many cameras can I put on a 1 TB drive?
That depends on bitrate. For example, at 4 Mbps per camera, 1 TB holds about 1,000,000 MB ÷ (4 Mbps ÷ 8 × 3600) ≈ 555 hours of footage. If you record 24/7, that’s about 23 days for one camera, or 3 days for 8 cameras. Use the calculator with your specific settings.

What is the difference between CBR and VBR in CCTV?
CBR (constant bitrate) keeps the bitrate fixed, making storage predictable but sometimes wasteful. VBR (variable bitrate) changes with scene activity, saving space when nothing happens but using more during motion. For storage planning, use CBR or an average VBR value.

Does higher resolution always mean better security?
Not necessarily. Higher resolution gives more detail, but only if the lens and sensor are good and the camera is positioned well. A 2 MP camera with a wide field of view may show a face less clearly than a 2 MP camera zoomed in. Bitrate also matters – a 4K camera with a very low bitrate can look worse than a 1080p camera with a high bitrate.

How do I know the actual bitrate of my camera?
Log into the camera’s web interface or use the manufacturer’s app. Most IP cameras show the current bitrate in the live view or in the recording settings. You can also record a short clip and check the file size to calculate the average bitrate.

Can I reduce storage without losing quality?
Yes, by using H.265 instead of H.264, lowering the frame rate to 15 fps, and setting a reasonable bitrate. Also, enable motion detection so the camera records only when there is activity. However, be careful with motion-only recording – you might miss events if the detection misses them.

What is the best bitrate for 1080p?
For H.264, a common recommendation is 4–8 Mbps for 1080p at 15–25 fps. For H.265, 2–4 Mbps is typical. The exact value depends on scene complexity. Start with 6 Mbps for H.264 and adjust based on quality.

Related

Formula used
in res | Resolution | MP | 4 | 1
in fps | Frame rate | fps | 15 | 1
in codec | Compression | H.264=1, H.265=0.5, MJPEG=4 | 1 | 0
in hours | Record hours/day | h | 24 | 1
in days | Days to store | days | 30 | 1
out bitrate | Bitrate | Mbps | res * fps * codec * 0.07 | 2
out storage | Storage needed | GB | bitrate * 3600 * hours * days / 8 / 1024 | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.