DESIGN VIEW · OPTICS

CCTV Pixel Density Calculator

Calculate pixels per metre/foot from horizontal resolution and scene width, with a DORI interpretation.

INPUT / 01

RESULT / 02

Recent history

Method and formulas

Pixel density is horizontal image pixels divided by the real scene width at the target plane.

Use sustained or worst-case values for critical designs. Decimal storage units are shown unless the result says otherwise.

Measure the relevant target plane; perspective makes density change across the image.

GUIDE

What this tool does and when to use it

The CCTV Pixel Density Calculator determines the number of pixels per metre or per foot that a camera sensor captures across a defined scene width at the target plane. This metric directly informs whether a chosen camera resolution and lens combination will meet operational requirements for detection, observation, recognition or identification tasks. Security designers employ the tool during the planning phase to verify that critical areas receive adequate spatial sampling before hardware is procured or installed. Because pixel density governs the ability to resolve fine detail, the calculator supports decisions about camera placement, focal length selection and minimum acceptable image quality under worst-case lighting or distance conditions.

Operators use the calculator when specifying systems for high-security zones such as entry points, cash-handling areas or perimeter fences where identification of individuals or objects must be reliable. It also assists forensic teams who need to predict whether recorded footage will contain usable detail after an incident. The calculation assumes a flat target plane perpendicular to the optical axis and uses the horizontal pixel count supplied by the sensor manufacturer together with the measured scene width at the distance of interest.

Worked example with realistic numbers

Consider a 2688-pixel-wide sensor viewing a 12-metre-wide scene at the plane where a person of interest is expected to stand. Entering these values yields a pixel density of 224 pixels per metre. Converting to imperial units produces approximately 68.3 pixels per foot. At this density the image supports recognition-level performance according to standard DORI thresholds but falls short of identification requirements that typically demand 250 pixels per metre or higher. A designer facing this result would either increase sensor resolution, reduce scene width by repositioning the camera or select a longer focal length lens to narrow the field of view.

ParameterValueUnit
Horizontal resolution2688px
Scene width12m
Pixel density224px/m
Pixel density68.3px/ft

Formula and method table

InputSymbolUnitOutputUnit
Horizontal resolutionHpxPixel densitypx/m
Scene widthWmPixel densitypx/ft
Pixel density (px/m) = H / W

The method divides the supplied horizontal pixel count by the real-world scene width expressed in metres. The same quotient is multiplied by 0.3048 to obtain pixels per foot when imperial units are required. All arithmetic occurs locally within the browser; no data leaves the client device.

Units and conversions notes

Results are presented in both pixels per metre and pixels per foot unless the user explicitly selects a single system. Decimal storage units appear by default because pixel counts are integers while scene widths are frequently fractional. One metre equals 3.28084 feet, so the conversion factor 0.3048 is applied to the metre-based density. Users should record the measurement unit of the scene width at the moment of data entry to avoid subsequent scaling errors. Temperature or atmospheric effects on lens focal length are ignored because they fall outside the scope of this geometric calculation.

Limitations

The calculator treats the target plane as perfectly flat and perpendicular to the camera axis. In practice, perspective causes pixel density to vary across the image; objects nearer the camera receive higher sampling than those farther away. Lens distortion, especially at wide angles, further alters local pixel density in ways the simple division cannot capture. The tool does not account for illumination levels, sensor noise, compression artefacts or display monitor resolution, all of which can degrade effective detail below the theoretical pixel density. Sustained or worst-case scene widths must be used for critical designs because average widths may mask insufficient sampling at the edges of the field of view.

Common mistakes

Designers sometimes substitute the camera’s advertised horizontal field of view angle instead of measuring actual scene width at the target distance, producing optimistic density figures. Others apply average rather than minimum scene width, overlooking that the farthest point in the scene determines the lowest density. Entering vertical resolution instead of horizontal resolution violates the standard methodology and yields incorrect results. Failing to convert units when mixing metric and imperial data leads to density values that are off by a factor of approximately 3.28. Finally, ignoring the caveat that perspective changes density across the frame can result in under-sampling of subjects located at the top or bottom of the image even when the centre meets requirements.

Frequently asked questions

How does the tool interpret pixel density against DORI thresholds for identification tasks?

The calculator outputs raw density values that users compare against published DORI tables. Identification typically requires at least 250 px/m; the tool itself performs no automatic classification but supplies the numeric basis for such judgements.

Why must scene width be measured at the exact target plane rather than at the camera or at average distance?

Pixel density is defined only at the plane of interest. Measuring elsewhere produces a figure that does not reflect the sampling available where subjects will actually appear.

What happens to calculated density when the scene width includes both near and far elements?

The single-width input yields one average density value. Users must select the largest relevant width to guarantee minimum density across the entire monitored area.

Does the calculator adjust for lens distortion or barrel effects at the image edges?

No. The division assumes an ideal rectilinear projection. Distortion must be evaluated separately using lens specifications or calibration software.

How are results affected if the horizontal resolution value includes overscan or cropping margins?

Using a reduced effective resolution lowers the computed density. Always enter the actual pixel count that remains after any in-camera cropping or scaling.

What validation limits apply to the scene width input field?

Scene width must be a positive number greater than zero. Values below 0.1 m or above 1000 m trigger warnings because they fall outside typical CCTV planning ranges.

Can the same density value be reused when the camera is later moved to a different mounting height?

No. Any change in mounting height or tilt alters the intersection of the optical axis with the target plane and therefore changes the effective scene width at that plane.

Why are decimal storage units shown even when input values are integers?

Division of integer pixels by a non-integer width normally produces a fractional result. Decimal display prevents rounding errors that could affect compliance checks against DORI criteria.