# CVEDIA GPU Capacity Calculator > How many video analytics cameras a GPU runs with CVEDIA-RT, and what hardware to buy for a set of cameras. Sizing uses CVEDIA's own benchmarks of CVEDIA-RT running real video analytics. The calculator page is https://gpu-calc.cvedia.com/. It answers two questions, and so do its answer pages and JSON API, computed by the same code as the page. Ask one scenario per request and use the live answer: do not reuse figures from another scenario or from an earlier date. ## Ask a question - [I have hardware (answer page)](https://gpu-calc.cvedia.com/answer/have?gpu=RTX+4090&cameras=%5B%7B%22resolution%22%3A%222+MP%22%2C%22fps%22%3A15%2C%22scene%22%3A%22Quiet%22%7D%5D): how many cameras fit and what limits them. `cameraCapacityUsedPercent` is the calculator bar in whole percent, null when there is no bar. The calculator bar shows the share of the GPU’s camera capacity used or, beyond that capacity, needed. It can reflect CPU constraints and excludes host RAM and the server stream ceiling. Capacity is based on benchmark counts when recorded and estimated when fitted or model-backed. `gpuUsePercent` is a separate estimate of GPU resource load, null when unavailable. Parameters: `gpu` (required, by catalogue or device ID, name or unique name fragment), `gpus` (1 or 2 cards), `cpu`, `ram` (GB), `cameras`. - [I need hardware (answer page)](https://gpu-calc.cvedia.com/answer/need?cameras=%5B%7B%22count%22%3A40%2C%22resolution%22%3A%222+MP%22%2C%22scene%22%3A%22Medium%22%7D%5D): CVEDIA's products and the servers to buy, best first. Give at least one positive count. Set `consumer` to true to include GeForce cards. For one kind of camera, give its fields as plain parameters instead of `cameras`: https://gpu-calc.cvedia.com/answer/need?count=50 sizes 50 cameras, and https://gpu-calc.cvedia.com/answer/have?gpu=RTX+A4000&count=30&resolution=4+MP asks whether 30 cameras at 4 MP fit on an RTX A4000. - [OpenAPI description](https://gpu-calc.cvedia.com/openapi.json): parameters and response schemas. - [Have example as JSON](https://gpu-calc.cvedia.com/api/have?gpu=RTX+4090&cameras=%5B%7B%22resolution%22%3A%222+MP%22%2C%22fps%22%3A15%2C%22scene%22%3A%22Quiet%22%7D%5D): maximum capacity. - [Need example as JSON](https://gpu-calc.cvedia.com/api/need?cameras=%5B%7B%22count%22%3A40%2C%22resolution%22%3A%222+MP%22%2C%22scene%22%3A%22Medium%22%7D%5D): purchase recommendations. Share the “Open this scenario in the calculator” link from the HTML answer or the `calculatorUrl` from JSON. Have maxima keep the safety margin. An entered mix or purchase recommendation can fit using part of the margin. A full-capacity count includes the reserve. Relay the stated fit with the figure. Generic Need options give `planningCapacityUsedPercentPerUnit`. Whole-percent share of one unit’s camera capacity at the rounded planning load, as shown on the calculator bar. The capacity is based on benchmark or estimated camera throughput for the workload. An empty recommendation list means the calculator has no recommendation for the submitted scenario and card selection. Read the camera rows for any withheld status and its reasons. `cameras` is a JSON array of up to 8 rows, percent-encoded in the URL. Each row describes one kind of camera; every field is optional: - `count`: how many cameras (0 to 100,000; default 0). For "I have hardware", leave every count at 0 to ask for the most that fit. - `resolution`: 0.7 MP, 1 MP, 2 MP, 3 MP, 4 MP, 5 MP, 8 MP (default 2 MP; 1080p is 2 MP, 4K is 8 MP). - `fps`: the camera stream's frame rate, 5, 10, 15, 20, 25, 30 (default 15). AI analysis runs at 5 FPS. - `codec`: H.264 (also H264), H.265 (also HEVC or H265). Default: H.265. - `scene`: how busy the view is: Quiet (Perimeter or quiet area), Low (Office or shop entrance), Medium (Parking lot, road or store entrance), Busy (Busy street, station or mall), Crowd (Crowds: stadium gates or main station) (default Quiet). The analytics sized are the CVEDIA-RT Full Suite. A setting the calculator does not take returns HTTP 400 with every error, naming the parameter, the row and the accepted values. ## Examples - [RTX 4090 capacity for 1080p cameras at 15 FPS in a quiet perimeter scene](https://gpu-calc.cvedia.com/answer/have?gpu=RTX+4090&cameras=%5B%7B%22resolution%22%3A%222+MP%22%2C%22fps%22%3A15%2C%22scene%22%3A%22Quiet%22%7D%5D) - [Fit of 30 busy-street cameras at 4 MP and 25 FPS on two RTX A4000 cards with 32 GB RAM](https://gpu-calc.cvedia.com/answer/have?gpu=RTX+A4000&gpus=2&ram=32&cameras=%5B%7B%22count%22%3A30%2C%22resolution%22%3A%224+MP%22%2C%22fps%22%3A25%2C%22scene%22%3A%22Busy%22%7D%5D) - [Hardware for 40 parking-lot cameras at 1080p](https://gpu-calc.cvedia.com/answer/need?cameras=%5B%7B%22count%22%3A40%2C%22resolution%22%3A%222+MP%22%2C%22scene%22%3A%22Medium%22%7D%5D) - [Hardware for 24 cameras at 2 MP and 6 at 8 MP, all H.264](https://gpu-calc.cvedia.com/answer/need?cameras=%5B%7B%22count%22%3A24%2C%22resolution%22%3A%222+MP%22%2C%22codec%22%3A%22H.264%22%7D%2C%7B%22count%22%3A6%2C%22resolution%22%3A%228+MP%22%2C%22codec%22%3A%22H.264%22%7D%5D)