Skip to main content
KalkuNet

CCTV Lens Calculator: Focal Length & Field of View

Focal length for a scene width at a distance, or a lens's field of view and covered width.

Calculated in your browserCCTV & Security
Units
m
m
Focal length needed
8.95 mm
Horizontal field of view
33.4 °
Sensor width used
5.37 mm
Scene width at 20 m
12 m

Formula and sources

Focal length = sensor width × distance ÷ scene width (distance much larger than the focal length) Scene width = distance × sensor width ÷ focal length Horizontal field of view = 2 × arctan(sensor width ÷ (2 × focal length))

When to use the CCTV Lens (Focal Length)

  • Choosing a focal length

    Want to see a 6-metre-wide area at 10 metres with a 1/2.7" sensor? You need a focal length of about 9 mm. The farther or narrower the area, the longer the focal length.

  • Wide or telephoto

    A 2.8 mm lens sees a wide area at once, good for rooms, but people far away are small. A 6–12 mm lens sees a narrow area in more detail, good for entrances or gates.

  • The sensor size matters too

    The same focal length gives a different angle on a different sensor. A 4 mm lens is narrower on a 1/3" sensor than on a 1/1.8" one. Pick the sensor format from the camera's specification, or enter its width.

  • From angle to detail

    The field of view and scene width decide how many pixels land on each metre. Put the angle from here into the DORI calculator to see whether faces can be recognised or identified.

Frequently asked questions

Is this accurate for fisheye lenses?

No. The formula is for ordinary rectilinear lenses. Fisheye and very wide lenses use other projections, so use the maker's stated angle.

What about varifocal lenses?

Work out the focal length you need, then choose a varifocal lens whose range includes it, for example 2.8–12 mm.

Why the scene width at 20 metres?

As a quick comparison: it shows how wide the same lens sees at a longer distance, such as across a yard or car park.

Related calculators