How close can a fixed-lens security camera focus?
Manufacturers rarely publish how close a fixed-lens camera can focus, but you can work it out from focal length, aperture and sensor size. The formula, what it means on site, and a free calculator.

#Key takeaways
- A fixed lens has a closest sharp distance, and manufacturers rarely publish it. You can work it out from focal length, aperture and sensor size.
- The answer is a range, because the factory focus setting is not published either. A 6 mm lens at f/1.0 on a 1/1.8" sensor is sharp from about 3.5–7.0 m.
- Longer lenses suffer quickly. Doubling the focal length makes the distance four times longer.
- Measure the real distance from the lens to the subject, including the mounting height.
- Our free calculator does the sums and needs no account. Pick a camera from the catalog or enter the lens yourself.
A customer complains that faces at the door are soft, even though the camera has plenty of pixels and a sensible field of view. Often the camera is fine. The subject is simply closer than that lens can show sharply, and nothing in the web interface can change that on a fixed lens.
#Why doesn't the datasheet tell me?
Varifocal and zoom datasheets often state a minimum focus distance. Fixed-lens datasheets usually don't. In our catalog, only about one in eight fixed-lens cameras has a published figure.
The lens is focused at the factory, so the installer can't adjust it. That makes the number more important, not less, because the time to find out is before you order.
#How do you calculate it?
It starts with the hyperfocal distance:
H = f² / (N × c)
- f is the focal length in mm.
- N is the aperture's f-number.
- c is the circle of confusion, the largest blur that still looks like a sharp point. We use the sensor diagonal divided by 1730, which gives about 0.005 mm for a 1/1.8" sensor.
For a 2.8 mm f/1.0 lens on that sensor, H = 2.8² / (1.0 × 0.0051) ≈ 1,530 mm, or about 1.5 m.
#Why is the answer a range?
What H means depends on where the lens is focused, and manufacturers don't publish that:
- Set at the hyperfocal distance: sharp from H / 2 to infinity.
- Set at infinity: sharp from H to infinity.
You will often see H / 2 quoted for a lens focused at infinity. That mixes the two cases, and it can make a lens look twice as capable up close as it is. Without knowing the factory setting, the honest answer is the range between them.
Plan for the high end if the near distance matters. The low end is the best case.
#What does this look like for common lenses?
These examples use two of the most common sensor formats in our catalog:
| Lens | 1/1.8" at f/1.0 | 1/2.8" at f/1.6 |
|---|---|---|
| 2.8 mm | 0.8–1.5 m | 0.7–1.3 m |
| 4 mm | 1.6–3.1 m | 1.3–2.7 m |
| 6 mm | 3.5–7.0 m | 3.0–6.1 m |
| 8 mm | 6.2–12 m | 5.4–11 m |
| 12 mm | 14–28 m | 12–24 m |
Two patterns are worth remembering:
- Focal length matters most. Double it and the distance becomes four times longer.
- A wider aperture costs you here. Going from f/2.0 to f/1.0 doubles the distance. A camera that is excellent in low light has less depth of field to work with.
#How does it change what I install?
Take a 6 mm camera mounted at 3 m, aimed at people coming through a door 2 m in front of it. A face at 1.6 m height is 1.4 m below the camera, so the real distance is about 2.4 m (√(1.4² + 2²)). That is closer than the 3.5 m low end, so expect the face to be soft.
You have three ways out:
- Pick a shorter lens. At f/1.0, a 4 mm lens is sharp from about 1.6–3.1 m, and 2.8 mm from about 0.8–1.5 m. Check that it still gives you enough pixels on the face.
- Pick a varifocal you can focus. You can set it for the distance that matters on that site.
- Move the camera back. Sometimes a metre further along the wall solves it, and gives a better angle too.
#How far can I trust the number?
Treat it as a planning estimate, not a measurement.
- Sharpness is a judgment. The formula uses a fixed blur limit. On a high-resolution sensor, the softness may show earlier than the number suggests.
- It assumes the published maximum aperture. A lens that stops down in daylight has more depth of field, so the estimate is the demanding case.
- Lenses vary. Tolerances and factory setup differ between models and units.
- It only applies to fixed lenses. Varifocal and zoom lenses can be focused, and thermal sensors don't use these formats.
If the distance is critical, test the camera on site or ask the manufacturer. Where a manufacturer does publish a figure, use that one. Awernica always shows it first.
#Try it on your camera
The focus distance calculator is free for everyone, with no account needed. Search for a camera and it fills in the lens, aperture and sensor, including each lens option a model is sold with. You can also enter the values from a datasheet, and it shows what other focal lengths would give with the same sensor and aperture.
For example, here is the Hikvision DS-2CD3327G2-LS(U) in the calculator. It comes with a 2.8, 4 or 6 mm lens.
Choosing between lenses or models? Camera Compare puts them side by side, and shows the distance in the field-of-view drawing.
Written by Kristoffer Sunde Grovan
Related products
Related posts

From device list to system diagram
See how Awernica turns registered equipment into a system diagram, from platforms and servers to door controllers, readers and alarm devices.
· 1 min

Genetec Security Center: A Compatibility-First Guide
What Security Center is, how Omnicast and Synergis are licensed, and why every camera on a site must be checked against Genetec's Supported Device List – per model and firmware – before you quote.
· 9 min

Will the infrared reach 30 m? IR reach check for any camera
Pick a camera and a distance. The free tool compares it with the datasheet IR range and tells you if you're in range, marginal or out – with the margin you should keep.
· 1 min

