cctv lens calculator

Free CCTV Lens Calculator

Use this tool to size your surveillance lens, estimate field of view coverage, and choose a practical fixed lens option.

Used to calculate required focal length.
Used to estimate coverage and FOV.
Enter your values and click Calculate to see focal length and field-of-view results.

How this CCTV lens calculator helps you design better camera views

Picking the right CCTV lens is one of the most important parts of a surveillance system. If the lens is too wide, critical details disappear. If the lens is too narrow, the camera misses activity outside a tiny area. This calculator gives you a quick way to estimate both:

  • Required focal length to capture a specific scene width at a known distance.
  • Expected field of view (coverage width and height) for an existing lens.
  • Approximate pixel density to understand whether your image is suitable for detection or identification.

The core lens formulas (in plain English)

CCTV geometry is based on similar triangles. If your sensor size is known, lens focal length and scene coverage are directly related.

1) Required focal length

Focal length (mm) = (Sensor width in mm × Distance in m) ÷ Scene width in m

This tells you what lens you need when you know how wide the scene should be at a certain distance.

2) Scene coverage from a known lens

Scene width (m) = (Distance in m × Sensor width in mm) ÷ Focal length in mm

This is useful when you already have a 2.8mm, 4mm, 6mm, or 12mm lens and want to estimate what area it will see.

3) Horizontal field of view angle

HFOV = 2 × arctan(sensor width ÷ (2 × focal length))

Field-of-view angle helps compare cameras quickly, especially when evaluating varifocal lenses.

Step-by-step usage guide

  1. Choose your camera sensor format (or enter custom dimensions).
  2. Enter distance from camera to target area.
  3. Add desired scene width (and optional scene height).
  4. If you have an existing lens, enter focal length to check what it actually covers.
  5. Review suggested lens values and compare with standard market lens options.

Typical lens ranges and when they are used

Lens Typical Use Case View Character
2.8mm Small rooms, entrances, lobbies Wide, less detail at distance
4mm General indoor/outdoor overview Balanced wide view
6mm Driveways, short perimeter segments Narrower, better detail
8-12mm Gates, loading bays, mid-range targets Tighter framing
16mm+ Long corridors, distant vehicle/person detail Telephoto-style surveillance

Real-world example

Suppose your camera is 25 meters from a gate. You want to capture about 5 meters of width so vehicles fill much more of the image. On a 1/3" sensor (4.8mm wide), the required focal length is:

(4.8 × 25) ÷ 5 = 24mm

That means a 2.8mm lens would be far too wide for this goal. You would likely need a long focal length lens, or a varifocal camera that can zoom into that range.

Common mistakes people make

  • Ignoring sensor size: 4mm on a 1/2.8" sensor does not frame exactly like 4mm on every other sensor format.
  • Designing only for “coverage”: seeing the whole area is not the same as capturing usable detail.
  • Mounting too high: steep angles reduce face and plate readability.
  • No night test: performance can change dramatically in low light and with IR reflection.
  • Skipping pixel density checks: a camera may look sharp overall but still fail identification standards.

Practical planning tips for better CCTV outcomes

Start with your objective

Is the purpose detection, observation, recognition, or identification? Your objective determines required pixel density and therefore lens choice.

Use varifocal during commissioning

Even if a fixed lens could work on paper, site conditions vary. Varifocal adjustment can save a lot of rework during installation.

Plan for future changes

Landscaping growth, signage, parked vehicles, and lighting upgrades can alter your scene. Leave margin in your design where possible.

FAQ

Is this calculator accurate enough for installation?

It is excellent for planning and narrowing lens choices. Final confirmation should still be done with an on-site view test.

Why does my calculated focal length not match exact catalog options?

Lens products come in standard steps (2.8, 4, 6, 8, 12mm, etc.). Choose the nearest option and verify with live framing.

Can I use this for analog and IP cameras?

Yes. The lens math is the same. Resolution and compression differ, but framing geometry does not.

Final takeaway

A CCTV system is only as useful as the detail it captures where it matters most. Use this calculator before purchasing cameras or lenses, and you can avoid the two most expensive mistakes: buying lenses that are too wide and installing cameras that cannot produce actionable footage.

🔗 Related Calculators