Calculator
CCTV lens calculator: field of view and pixels per metre
Enter the resolution and either the lens and sensor or the datasheet angle. Returns the field of view, the scene width and pixels per metre at your target, how far each detail level reaches, and the focal length each level needs.
Everything runs in your browser. Nothing is sent anywhere, and no figure is saved or put into a link.
Your camera and target
The first number of the resolution, e.g. 2560 for a 2560 × 1440 (4 MP) camera.
For a varifocal lens, try each end of its range.
About 1.6 m for a face, 0.5 m for a car number plate.
At your target
Pixels per metre = pixels across the image ÷ the width the camera sees at the target. The 250, 125, 62.5 and 25 px/m bands are human image-review planning guidelines, not proof of identification or AI performance. This is an ideal-lens geometric estimate; lighting, motion, focus and compression affect actual detail. Check representative recorded views.
How far this camera reaches
The calculated distance to each pixel-density planning threshold with these inputs; actual recorded detail needs a site check.
| Detail level | px/m | Line of sight | On the floor plan |
|---|---|---|---|
| Identify | 250 | 5.1 m | 4.9 m |
| Recognise | 125 | 10.2 m | 10.1 m |
| Observe | 62.5 | 20.5 m | 20.4 m |
| Detect | 25 | 51.2 m | 51.2 m |
The lens each detail level needs here
For 2,560 pixels across and a 5.6 mm wide sensor, at 10.1 m line of sight.
| Detail level | Focal length, at least | Angle, at most | Scene width, at most |
|---|---|---|---|
| Identify | 5.5 mm | 53.8° | 10.24 m |
| Recognise | 2.8 mm | 90.8° | 20.48 m |
| Observe | Calculated below 2 mm | — | 40.96 m |
| Detect | Calculated below 2 mm | — | 102.4 m |
For the same sensor, a longer focal length gives a narrower view and more pixels across the target. Whether a view is wide depends on both focal length and sensor size. Check the camera's stated angle and representative recorded detail, including the image edges.
How it is calculated
Angle of view = 2 × arctan(sensor width ÷ (2 × focal length)). Line of sight = √(distance² + height difference²). Scene width = 2 × line of sight × tan(angle ÷ 2). Pixels per metre = pixels across ÷ scene width. Reach for a level = pixels across ÷ (2 × tan(angle ÷ 2) × px/m). Lens needed = sensor width × line of sight ÷ (pixels across ÷ px/m).
Worked example
A 4 MP camera (2560 pixels across) with a 2.8 mm lens on a sensor about 5.6 mm wide, which is a 90° view, looking at a target 10 m away at the camera's own height.
The scene is 20 m wide, giving 128 px/m in the Recognise planning band. The calculated threshold distances are 5.1 m for Identify, 10.2 m for Recognise, 20.5 m for Observe and 51.2 m for Detect. Reaching the 250 px/m planning threshold at 10 m requires about a 5.5 mm lens (54°) in this example. Verify the intended detail on representative recorded footage.
Formula version 1.0.0. Reviewed 30 November 2026.
What this does not tell you
Geometry for an ideal lens: the best case, not a promise of image quality. Compression, low light and infrared, motion blur, focus, a dirty dome and the distortion of wide-angle lenses all take detail away, and a steep downward angle hides faces. Sensor widths are typical values; the angle on a camera's datasheet is more accurate. Check critical views on site.
Published because buyers need the number. It is not a claim that PGAK sells a product for it.
Questions
How do I calculate a CCTV camera's field of view?
Horizontal angle of view = 2 × arctan(sensor width ÷ (2 × focal length)). A 2.8 mm lens on a sensor about 5.6 mm wide gives 2 × arctan(1) = 90°. The scene width at a distance is then 2 × distance × tan(angle ÷ 2): 20 m wide at 10 m for a 90° view. If the camera's datasheet gives the horizontal angle, use that instead, because real lenses are not ideal.
What does pixels per metre mean for CCTV?
It is how many pixels of the image fall across one metre of the scene at the target: the pixels across the image divided by the width the camera sees there. A 2560-pixel-wide camera seeing a 20 m wide scene gives 128 pixels per metre. More pixels per metre means more detail on a face or a number plate.
How many pixels per metre do I need to identify a person?
Commonly cited human image-review planning values are about 250 px/m for Identify, 125 for Recognise, 62.5 for Observe and 25 for Detect. These are pixel-density guidelines, not a guarantee of identification, number-plate reading or AI detection. Lighting, angle, motion, focus and compression still matter; check representative recorded footage for the intended task.
Which lens do I need to identify people at 10 metres?
To reach the 250 px/m planning threshold with a 4 MP camera (2560 pixels across) on a sensor about 5.6 mm wide, the calculation gives about 5.5 mm, a view of about 54° and a scene 10.24 m wide. This does not establish that a person can be identified in the recorded image. A 2 MP camera (1920 pixels across) on the same sensor needs about 7.3 mm (42°). The calculator works this out for your camera, distance and mounting height.
Does mounting height change the detail?
Yes. The camera sees along the line of sight, so a camera 4.6 m high looking at a face 1.6 m high, 4 m away on the plan, is really 5 m from it. A steep downward angle also shows the top of the head rather than the face, so identification views are usually set lower or further back.
Why is the real picture worse than the calculator says?
The calculator gives the geometric best case for an ideal lens. Video compression, low light and infrared, motion blur, focus, a dirty or scratched dome and the distortion at the edges of wide-angle lenses all reduce what you can see. Treat the result as a planning figure and check critical views with the camera on site.
Planning a whole building?
One camera is a calculation; a building is a layout. Our ELV design service works from your PDF drawings and returns a camera layout, a coverage and blind-spot report, a camera schedule in Excel and a 3D model, with the same detail levels used here. It works remotely, with site visits on request, and is priced by floor area after a scope review.
See sample deliverables →Book a call about your ELV design
The calculator stays free whether or not you get in touch.