Vision Detection Systems
TECHNOLOGY LIBRARY

Security Camera Lenses and Field of View

A security camera lens focuses light onto the image sensor, and its focal length sets the field of view. A short focal length gives a wide view with less detail on distant subjects, while a long focal length gives a narrow view with more detail. Choosing a lens means balancing coverage against the number of pixels that land on the target.

What does a security camera lens do?

A lens collects light from the scene and bends it so that a sharp image forms on the sensor. Without a lens, every point on the sensor would receive light from every direction and the result would be a blur. The lens determines how much of the scene is captured, how bright the image is, how sharp it appears across the frame, and how far into the distance useful detail can be recorded.

Most security lenses are made from several glass or plastic elements working together to cancel distortions and color fringing. Their quality varies widely and is not shown by resolution figures alone. A great sensor behind a mediocre lens produces soft pictures, while a well matched lens lets the sensor reach its potential. For this reason the lens deserves as much attention as the camera body. Many soft or disappointing images that get blamed on resolution actually trace back to a lens that cannot resolve the detail the sensor offers.

How does focal length change the field of view?

Focal length, measured in millimeters, is the distance from the lens's optical center to the sensor when focused on a distant scene. A short focal length gives a wide angle of view. A longer focal length magnifies the scene and narrows the angle. For a given sensor, the horizontal angle of view follows from simple geometry: it depends on the sensor width divided by the focal length. This is why a wide lens and a narrow lens on the very same camera body can show such different amounts of the scene.

That relationship means focal length alone does not tell you the field of view. A given lens on a larger sensor sees a wider scene than the same lens on a smaller sensor. So specify the angle of view directly, in degrees, for the camera model in question. Datasheets that list the horizontal field of view are far more useful than those that list only millimeters. With the angle in hand, you can sketch the coverage on a site plan and confirm the cameras overlap where they should.

Wide angle versus narrow angle: the detail trade-off

Every camera has a fixed number of pixels across its width. A wide lens spreads those pixels across a broad scene, so a person far away may occupy only a few of them. A narrow lens concentrates the same pixels on a smaller slice of the world, so the same person is rendered with much more detail. Coverage and detail pull in opposite directions, and no lens gives both at once.

This is why wide angle cameras are good for noticing that something happened across a large area, while narrower lenses are better for recognizing faces or reading plates at a distance. Wide lenses also tend to show barrel distortion, where straight lines bow outward near the edges. Narrow lenses are more sensitive to vibration and wind because small shakes move the image more. The right choice depends on what the camera is meant to accomplish.

How do you calculate pixels per foot and DORI?

Pixel density is how many pixels fall across each foot of the scene at the target distance. Divide the horizontal resolution by the width of the scene covered at that distance, and you have pixels per foot. The scene width grows as you move away from the lens, so density falls with distance. This is a formula you can apply to any camera, which makes it more reliable than a quoted range.

DORI describes four levels of tasks: detect that something is present, observe its general activity, recognize a known person or vehicle, and identify a specific detail. Each level asks for more pixel density than the one before. Work backward from the task: decide which DORI level a zone needs, find the density that supports it, and calculate the farthest distance at which your chosen lens and resolution can supply it. Then confirm with test footage.

Fixed focal, varifocal, and zoom lenses compared

A fixed focal lens has one angle of view, set when it was manufactured. It is simple and often the sharpest and brightest for its cost. A varifocal lens lets the installer adjust the angle of view and focus within a range, so one model can be tuned to many positions on site. A motorized version allows that adjustment from a computer, saving a trip up a ladder. Varifocal designs are popular with installers because they forgive small errors in estimating distance during planning and let the view be corrected on site.

A true optical zoom lens, usually on PTZ cameras, changes focal length continuously while keeping the image in focus, so an operator can go from a wide scene to a close detail. Digital zoom is different: it crops and enlarges the image, adding no information. When comparing cameras, ask whether zoom claims are optical or digital, and what the field of view is at the widest and narrowest settings. Some products quote only a combined figure, which hides how much of the claimed reach is simple enlargement of existing pixels.

What do aperture and depth of field change?

The aperture is the adjustable opening inside the lens, described by the f-number. A smaller f-number is a wider opening and admits more light, which helps at night. But wide openings have a shallower depth of field, meaning less of the scene, near to far, is in sharp focus at once. At close range or with long lenses, focus becomes more critical. Keeping the main subject area at a consistent distance from the camera helps, because it keeps that subject inside the zone of sharp focus.

Focus can also shift when a camera switches between daytime and infrared night modes, because infrared light focuses at a slightly different point than visible light. Lenses designed to correct for this are called IR corrected, and they hold focus around the clock. A low f-number is valuable when light is limited, but check that the lens stays sharp across the whole frame at that opening. The aperture and the focus design work together, so evaluate them on test footage and not by reading one number on a datasheet.

Key terms

Focal length
The distance, in millimeters, from the lens to the sensor when focused at infinity. Shorter values give wider views and longer values give narrower ones.
Angle of view
The angle, usually horizontal, that a camera sees. It depends on the focal length and the sensor width.
Varifocal lens
A lens whose focal length and focus can be adjusted within a range, letting one camera model be tuned to each installation.
Optical zoom
Zoom performed by moving lens elements to change focal length, which keeps real detail, unlike digital zoom's simple enlargement.
Pixels per foot
The number of image pixels that cover each foot of the scene at the target distance; it measures usable detail.
DORI
A framework of four tasks, detect, observe, recognize, identify, each requiring higher pixel density on the subject.
Depth of field
The range of distances in front of the lens that appear acceptably sharp at one time. Wider apertures reduce it.
IN THE FIELD

On a Gen 9 trailer the head layout puts one PTZ camera facing the front and three fixed cameras looking left, right, and rear, so each direction can use a lens suited to its job: a view matched to the area on the sides and rear, and optical zoom for closer detail ahead. The head sits on a 22 ft telescopic mast, and camera height changes both the viewing angle and the area covered, so check pixel density on the zones that matter most before deployment.

Common questions

What field of view is best for a security camera?

There is no single best value. A wide view suits spotting activity across a lot, and a narrow one suits reading plates or faces at a gate. Decide the task for each zone, then pick the angle that gives the pixel density that task needs at the working distance.

Is digital zoom useful on a security camera?

It can help an operator look at a region on screen, but it only enlarges the pixels already captured and adds no new detail. Optical zoom changes the lens itself, so detail improves. Recorded evidence is limited by what the sensor and lens captured, whatever zoom is applied later.

Why does my camera go out of focus at night?

Infrared light focuses at a slightly different point than visible light. A lens not corrected for infrared can be sharp by day and soft in night mode. IR corrected lenses are designed to hold focus in both, and some cameras can refocus after switching modes.

SITE SECURITY DESIGNER

See it on your site.

Type your address, and the designer opens on a live map of your property — place trailers, draw the perimeter, and get a coverage plan in minutes. No call required.

FREE · NO ACCOUNT · SATELLITE VIEW OF YOUR ACTUAL SITE