Camera Field of View and Pixel Density Calculator

Find out whether a camera will show enough detail at the distance you need. Enter the resolution, the horizontal field of view from the data sheet, and the distance to the target.

Camera

Only used when Resolution is set to Custom.

degrees

From the data sheet. For varifocal lenses, use the value at your zoom setting.

Target
ft

Straight-line distance. For high mounts, include the height.

Results

Enter your values to see results.

Estimate for planning only. Check results against the code edition your AHJ enforces and the manufacturer's documentation before you install.

How this calculator works

The camera's view spreads out like a cone. At any distance, the width of the scene is:

Scene width = 2 × distance × tan(horizontal field of view ÷ 2)

Pixel density is the camera's horizontal resolution spread across that width:

Pixels per foot (PPF) = horizontal pixels ÷ scene width in feet

The calculator also turns each DORI target around to show the farthest distance where this camera still meets it.

DORI levels

IEC 62676-4 defines four levels of detail, measured in pixels per meter at the target:

LevelPixels per meterAbout pixels per footWhat you can do
Detection258Tell that a person or vehicle is there
Observation62.519See clothing colors and what someone is doing
Recognition12538Recognize someone you already know
Identification25076Identify a stranger beyond reasonable doubt

Worked example

A 4 MP camera (2560 pixels wide) with an 85° horizontal field of view, looking at a door 30 ft away:

  • Scene width: 2 × 30 × tan(42.5°) = 55.0 ft
  • Pixel density: 2560 ÷ 55.0 = 46.6 PPF, about 153 pixels per meter
  • That meets Recognition but not Identification

For Identification at the door, the same camera has to be within about 18 ft, or you need a narrower lens. Zooming a varifocal lens in to about 58° gets you there at 30 ft.

Tips

  • Wide lenses trade detail for coverage. Use a wide camera for overview and a narrow one at the choke point where faces matter.
  • Measure the slant distance. A camera mounted 16 ft up, aimed at a face about 5 ft off the floor and 20 ft out, is really about 23 ft away.
  • License plates need more. Plate capture depends on angle, shutter speed and IR glare, not only pixel density. Use a camera built for it.

Assumptions and limits

  • Pixel density is calculated across the horizontal view at the target, with the target square to the camera.
  • Compression, poor light, motion blur, IR at night and dirty domes all reduce real detail. Treat the DORI levels as the best case.
  • Lens distortion near the edges of very wide lenses is not included.

References

  • IEC 62676-4: video surveillance systems for use in security applications, application guidelines
  • The camera's data sheet for resolution and field of view