UniFi Camera Storage & Bandwidth Calculator
Plan your UniFi Protect deployment with confidence. This unifi camera calculator helps you estimate the required hard drive storage and network bandwidth based on your specific camera setup, resolution, and retention needs.
Total number of UniFi cameras in your deployment.
Select the average bitrate. This is the biggest factor in storage needs.
How many days of recordings you want to keep.
Recording 24/7 uses more storage than motion-activated recording.
Estimate the percentage of a 24-hour period that will contain motion events.
Total Storage Required
0 TB
Total Bandwidth
0 Mbps
Storage per Day
0 GB
Recommended Buffer (30%)
0 TB
Calculations are based on the formula: Storage (GB/Day) = (Bitrate (Mbps) * 3600 * 24) / (8 * 1024). A 30% buffer is recommended for real-world performance.
Chart illustrating the total storage required versus a recommended buffered amount.
| Metric | Value |
|---|
Summary of your UniFi Protect deployment inputs and calculated requirements.
What is a UniFi Camera Calculator?
A unifi camera calculator is a specialized tool designed to help network administrators, IT professionals, and homeowners accurately forecast the storage capacity and network bandwidth needed for a Ubiquiti UniFi Protect surveillance system. Unlike generic storage calculators, a unifi camera calculator uses specific data points relevant to UniFi cameras, such as typical bitrates for models like the G4 Pro or G5 Flex, to provide a realistic estimate. Proper planning is crucial; underestimating storage can lead to a shorter video retention history than desired, while overestimating can result in unnecessary hardware costs. This tool is essential for anyone designing or scaling a UniFi Protect deployment.
This tool is for anyone deploying UniFi cameras, from a small home setup with a few cameras to a large business with dozens. A common misconception is that resolution is the only factor. However, as our unifi camera calculator demonstrates, camera bitrate, frames per second (FPS), and recording mode (continuous vs. motion-only) are equally critical for accurate planning.
UniFi Camera Calculator Formula and Mathematical Explanation
The core of any video storage calculation revolves around converting a camera’s bitrate (data rate over time) into a total volume of data. The unifi camera calculator automates this process, but understanding the math is key to making informed decisions.
The fundamental formula is:
Storage per Day (in Gigabytes) = (Camera Bitrate (in Mbps) * 3600 seconds/hour * 24 hours/day) / (8 bits/byte * 1024 Megabytes/Gigabyte)
Let’s break it down:
- Bitrate * 3600 * 24: First, we convert the bitrate from Megabits per *second* to Megabits per *day*.
- Divide by 8: This converts the value from Megabits to Mega*bytes*, since there are 8 bits in a byte.
- Divide by 1024: This converts the value from Megabytes to Gigabytes.
Our unifi camera calculator then multiplies this daily storage figure by the total number of cameras and the desired retention period to find the total storage required. For a comprehensive UniFi Protect storage plan, it’s also wise to add a 20-30% buffer for unexpected motion or scene complexity.
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Camera Count | Total number of cameras being recorded | Integer | 1 – 100+ |
| Bitrate | Data rate produced by a single camera | Mbps (Megabits/sec) | 2 – 25 Mbps |
| Retention | Number of days to store footage | Days | 7 – 365 |
| Motion % | Percentage of the day with motion events | Percentage | 5% – 50% |
Practical Examples (Real-World Use Cases)
Example 1: Small Business Office
A small office wants to install 8 cameras for general security, with a legal requirement to keep footage for 60 days. They are using UniFi G5 Domes.
- Inputs for unifi camera calculator:
- Number of Cameras: 8
- Average Bitrate: 8 Mbps (G5 Dome)
- Retention Period: 60 Days
- Recording Mode: Continuous (24/7)
- Outputs:
- Storage per Day: approx. 675 GB
- Total Storage Required: approx. 40.5 TB
- Recommended with Buffer: approx. 52.7 TB
Interpretation: The business would need a UniFi Network Video Recorder Pro (UNVR-Pro) equipped with approximately 53 TB of usable storage to meet their 60-day retention goal. This highlights the importance of using a unifi camera calculator for accurate NVR and hard drive purchasing.
Example 2: Residential Home
A homeowner wants to cover the exterior of their property with 4 cameras and only record motion events to save space. They want to keep recordings for 14 days.
- Inputs for unifi camera calculator:
- Number of Cameras: 4
- Average Bitrate: 6 Mbps (G5 Bullet)
- Retention Period: 14 Days
- Recording Mode: Motion-Only
- Estimated Daily Motion: 15%
- Outputs:
- Storage per Day (adjusted for motion): approx. 40.5 GB
- Total Storage Required: approx. 0.57 TB (570 GB)
- Recommended with Buffer: approx. 0.74 TB (740 GB)
Interpretation: Thanks to motion-only recording, the storage needs are drastically lower. A 1 TB hard drive in a Cloud Key Gen2 Plus or UDM Pro would be more than sufficient. This shows how adjusting settings in the unifi camera calculator can lead to significant cost savings on hardware.
How to Use This UniFi Camera Calculator
This unifi camera calculator is designed for simplicity and accuracy. Follow these steps to plan your surveillance system’s storage and bandwidth requirements.
- Enter Camera Count: Input the total number of UniFi cameras you plan to deploy.
- Select Average Bitrate: Choose a camera model from the dropdown that represents the average for your system. Bitrate is a critical factor; 4K cameras use significantly more data than 1080p ones. This is a key part of any camera bandwidth calculation.
- Set Retention Period: Specify the number of days you need to store video footage. This is often dictated by personal preference or business/legal requirements.
- Choose Recording Mode: Select ‘Continuous’ for 24/7 recording or ‘Motion-Only’ to save space. If you choose motion, estimate the percentage of the day you expect motion to be detected.
- Review the Results: The calculator instantly displays the ‘Total Storage Required’ (your primary result), along with key metrics like ‘Total Bandwidth’ (for network planning), ‘Storage per Day’, and a ‘Recommended Buffer’ amount. The buffer is crucial for handling days with higher-than-average motion.
When making decisions, use the ‘Recommended Buffer’ value as your target for purchasing hard drives. This ensures you don’t run out of space unexpectedly. The ‘Total Bandwidth’ figure helps you ensure your network switch and infrastructure can handle the constant data stream from the cameras.
Key Factors That Affect UniFi Camera Calculator Results
Several variables can significantly impact the estimates provided by a unifi camera calculator. Understanding them is key to refining your storage plan.
- Camera Resolution & Bitrate: This is the most significant factor. A 4K camera (e.g., G4/G5 Pro at 16 Mbps) can consume four times the storage of a 1080p camera (e.g., G5 Flex at 4 Mbps). Always prioritize accurate bitrate selection.
- Frame Rate (FPS): While not a direct input in this simplified calculator, higher FPS settings increase the bitrate and thus storage. Most UniFi cameras balance this automatically, but custom settings can alter consumption.
- Scene Complexity: A camera pointed at a busy street with constant movement will use more data than one pointed at a static wall, even at the same settings, due to how video compression works. Our camera security guide explains this in more detail.
- Recording Mode: As shown in the calculator, switching from 24/7 continuous recording to motion-only can reduce storage needs by 70-90% or more, depending on the environment’s activity level.
- Video Retention Policy: Your required video retention policy is a direct multiplier. Doubling your retention period from 30 to 60 days will double your total storage requirement.
- RAID Configuration: If you use a multi-drive NVR like the UNVR or UNVR-Pro with RAID (e.g., RAID 5 or RAID 10), your total usable storage will be less than the sum of the raw drive capacities. For example, in a four-drive RAID 5 array, one drive’s capacity is used for redundancy. This must be factored into your purchasing decisions after using the unifi camera calculator.
Frequently Asked Questions (FAQ)
The estimates from any unifi camera calculator are based on typical conditions. Real-world factors like increased motion during holidays, changes in lighting, or even rain can cause the camera’s bitrate to spike. A buffer ensures you don’t fall short of your retention goal during these high-activity periods.
Yes. This calculator uses an ‘average’ bitrate. If you have a mix, you can either run the calculation for each camera type and sum the results, or choose a bitrate in the dropdown that represents a reasonable average for your entire deployment.
For storage calculation, the final bitrate is what matters most. Manufacturers bundle resolution, FPS, and compression quality into a single bitrate number. A high-resolution, low-FPS stream might use similar storage to a low-resolution, high-FPS stream. Use the bitrate as your primary guide.
It provides a very accurate mathematical baseline. However, as mentioned, real-world scene complexity and motion levels will cause minor variations. It is the best starting point for determining your NVR storage needs.
For multi-terabyte storage in NVRs like the UNVR, 3.5-inch Hard Disk Drives (HDDs) designed for surveillance (e.g., WD Purple, Seagate SkyHawk) offer the best cost-per-terabyte. SSDs are faster but prohibitively expensive for high-capacity, 24/7 recording.
UniFi Protect’s motion detection is quite advanced, but there’s always a small risk of missing an event if motion is too brief or subtle to trigger a recording. For critical areas, 24/7 recording is recommended if storage allows. Using the unifi camera calculator helps you understand the trade-offs.
This calculator determines the *usable* storage you need. When purchasing drives for a RAID array, you must buy *raw* capacity that results in the required usable capacity. For RAID 5 with four drives, you need to buy enough raw capacity so that after losing one drive’s worth to parity, you meet the calculator’s target.
The underlying mathematical formula is universal for any IP camera. However, the preset bitrate options are specifically tailored for UniFi models. You can still use it for other brands if you know their operational bitrate and enter it manually or choose the closest equivalent, similar to a surveillance system planning process.