T09CCTV lens calculator
Which lens, and what will the camera actually see?
Sensor, resolution and lens in: field of view and pixels per metre at your distance.
Lens and field of view
Default: 4 MP camera, 1/2.8" sensor, 4 mm lens, target at 10 m.
This calculator needs JavaScript. Tell us what each camera must see and we will choose the lenses: request an SLA review or message us on WhatsApp.
More about this tool
01How it's calculated: Geometry first, then pixels
The lens and sensor set the angle; the angle and distance set the scene width; the resolution spread across that width sets the detail.
-
01
Sensor width
A 1/2.8" sensor has a diagonal of about 6.46 mm. Its width depends on the image shape: 87% of the diagonal for 16:9, 80% for 4:3.
w = diagonal × W ÷ √(W² + H²)
-
02
Field of view and scene width
The horizontal angle follows from sensor width and focal length. At a distance D, the scene is as wide as the wedge that angle makes. A 2.8 mm lens on a 1/2.8" 16:9 sensor gives about 90°; 4 mm gives about 70°.
HFOV = 2 × atan( w ÷ 2f ) · width = D × w ÷ f
-
03
Pixels per metre and DORI
Horizontal pixels divided by scene width gives pixel density. IEC 62676-4 sets 25 px/m to detect, 62.5 to observe, 125 to recognise and 250 to identify. Reverse mode solves the same formula for f.
px/m = horizontal pixels ÷ width · f = w × D ÷ width
DORI thresholds from IEC 62676-4:2014. Pinhole lens model; datasheet angles of wide lenses include barrel distortion and can be wider, so enter them when you have them.
Questions
01What is the field of view of a 2.8 mm and a 4 mm CCTV lens?
On a common 1/2.8-inch 16:9 sensor, a 2.8 mm lens covers about 90 degrees horizontally and a 4 mm lens about 70 degrees by geometry. Datasheets often list 100 degrees or more for 2.8 mm because wide lenses bend the edges of the image.
02How many pixels per metre do I need to recognise a face?
IEC 62676-4 sets 125 pixels per metre to recognise a known person and 250 to identify a stranger with confidence. For number plates and cash counters plan on 250 or more, at the actual target distance.
03Is a higher resolution camera better than a longer lens?
Not always. Doubling the resolution from 2 MP to 8 MP only doubles the horizontal pixels, so the identify distance doubles too. A longer lens narrows the view instead. Use wide cameras for overview and a narrow lens at doors, gates and tills.
Need every camera to see what it should?
We plan camera positions and lenses on site, install them, and keep the system recording under an SLA.