CCTV Camera Bitrate Calculator: How to Estimate
- Daily storage
- GB
- Result
- Monthly storage (30 days)
- GB
- Result
- Resolution (megapixels)
- 4 MP
- You entered
A CCTV camera bitrate calculator estimates the data rate a security camera produces based on resolution, frame rate, compression, and scene complexity, and it returns the storage and bandwidth you need. You enter those four settings and the calculator gives you the bitrate in megabits per second (Mbps), plus daily and monthly storage in gigabytes. This article explains the formula, how to use it, and what to do when the estimate doesn’t match your recorder’s numbers.
Formula
The core formula for estimating CCTV bitrate is:
Bitrate (Mbps) = Resolution (MP) × Frame Rate (fps) × Compression Factor × Scene Complexity Factor × 0.1
Where:
- Resolution is the camera’s sensor resolution in megapixels (e.g., 2 MP for 1080p, 4 MP for 1440p, 8 MP for 4K).
- Frame rate is frames per second (typically 10–30 fps).
- Compression factor is roughly 1.0 for H.264 and 0.5 for H.265 (HEVC), reflecting the newer codec’s better efficiency at the same quality.
- Scene complexity factor is 0.7 for low motion (e.g., a quiet hallway), 1.0 for medium motion (a typical office), and 1.3 for high motion (a busy street or parking lot).
- 0.1 is an empirical constant that converts the product into a realistic bitrate in Mbps. It comes from observed bitrates of common camera settings—for example, a 4 MP camera at 15 fps with H.264 and medium complexity gives 4×15×1×1×0.1 = 6 Mbps, which is typical for such a camera.
This is a rule-of-thumb estimate, not an exact value. Actual bitrate depends on the encoder implementation, the specific scene, and the quality setting (constant bitrate vs. variable bitrate).
Worked Example
Using the default values from the calculator: a 4 MP camera at 15 fps, H.264 compression, medium scene complexity.
- Bitrate = 4 × 15 × 1 × 1 × 0.1 = 6.00 Mbps
- Daily storage = 6 Mbps × 3600 seconds/hour × 24 hours/day = 518,400 megabits per day. Divide by 8 to get megabytes: 64,800 MB. Divide by 1000 to get gigabytes: 64.8 GB/day.
- Monthly storage (30 days) = 64.8 × 30 = 1,944 GB (about 1.94 TB).
The calculator rounds the daily storage to 64.8 GB and monthly to 1,944 GB, matching this calculation.
Why Bitrate Matters
Bitrate is the single most important number for planning a CCTV system because it drives two costs: storage and network bandwidth. A camera that produces 6 Mbps will fill a 1 TB hard drive in about 15 days (1,000 GB ÷ 64.8 GB/day ≈ 15.4 days). If you need 30 days of retention, you need at least 2 TB per camera. On the network side, 10 such cameras at 6 Mbps each generate 60 Mbps of continuous traffic, which can saturate a 100 Mbps switch or a Wi-Fi link, causing dropped frames or lag.
Most IP cameras allow you to set a maximum bitrate (constant bitrate) or let it vary (variable bitrate). The calculator assumes a constant bitrate, which is what most recorders use for consistent quality. If your camera uses variable bitrate, the actual average may be lower for static scenes, but peaks can be higher.
How to Choose the Right Settings
Your choice of resolution, frame rate, and codec depends on what you need to see.
- Resolution: Higher resolution gives more detail for identifying faces or license plates, but it multiplies bitrate linearly. A 4K camera (8 MP) uses twice the bitrate of a 1080p (2 MP) camera at the same frame rate and codec.
- Frame rate: For most security footage, 10–15 fps is sufficient. Higher frame rates (25–30 fps) are only needed for fast-moving objects like vehicles or people running. Dropping from 30 to 15 fps halves the bitrate.
- Compression: H.265 is the modern standard and typically cuts bitrate by 40–50% compared to H.264 at the same quality. However, older recorders or viewers may not support H.265, and it requires more processing power.
- Scene complexity: A camera pointing at a busy road or a tree swaying in the wind will produce more motion, raising the bitrate. If your scene is static, you can use a lower complexity factor in the estimate.
When in doubt, start with a medium complexity factor and check the actual bitrate on the camera’s web interface or recorder’s status page after a few hours. Adjust the estimate based on real data.
Common Mistakes and Misconceptions
One frequent error is confusing megabits (Mb) with megabytes (MB). Bitrate is measured in megabits per second (Mbps), but storage is measured in megabytes (MB) or gigabytes (GB). There are 8 bits in a byte, so a 6 Mbps stream uses 0.75 MB per second, not 6 MB. The calculator handles this conversion, but when you calculate manually, remember to divide by 8.
Another mistake is using the camera’s
Related
Formula used
in res | Resolution (megapixels) | MP | 4 | 1 in fps | Frame rate | fps | 15 | 1 in codec | Compression | H.265=0.5, H.264=1 | 1 | 0 in complexity | Scene complexity | Low=0.7, Medium=1, High=1.3 | 1 | 0 out bitrate | Bitrate | Mbps | res * fps * codec * complexity * 0.1 | 2 out daily | Daily storage | GB | bitrate * 3600 * 24 / 8 / 1000 | 1 out monthly | Monthly storage (30 days) | GB | daily * 30 | 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.