Drone and UAV Optics Guide

Lenses for Drones: M12 Lens Selection for UAV Mapping, Inspection, and FPV Cameras

Weight, vibration, distortion, and ground sampling distance drive every lens decision on a UAV. Here is how to work through the tradeoffs.

By Max Henkart, Commonlands · Updated July 2026 · 10 min read

A quadcopter drone in flight carrying a gimbal camera with an M12 lens over farmland

M12 lenses are the standard optic for drone and UAV cameras because weight is usually the binding payload constraint, and C-mount lenses rarely meet it on small airframes: Commonlands M12 lenses weigh 3-15g versus 50-200g for a comparable C-mount lens. Beyond weight, the right lens depends on the mission: low-distortion optics for mapping, wide field of view for FPV and obstacle avoidance, and sealed all-glass construction for vibration and thermal stability.

Why M12 lenses are standard for drone cameras

M12 (S-mount) lenses dominate small drone and UAV cameras because weight is usually the binding design constraint. Flight time drops steeply as takeoff weight rises, and lens choice is one of the few components that maps that cleanly to flight performance.

Weight, integration, and cost

An all-glass M12 lens weighs 3-15g against 50-200g for a comparable C-mount lens. On a 250g drone, swapping a 100g C-mount lens for a 5g M12 is the difference between flying and not. On larger platforms, the saved mass becomes battery or compute payload.

M12 lenses thread directly into a holder on the camera PCB, with no adapter, flange-distance requirement, or secondary housing. Focus is set by threading the lens in or out, which compensates for sensor stack thickness without custom spacers. Pricing runs well below comparable C-mount optics, as the table below shows.

Commonlands M12 lens versus a C-mount industrial lens on the parameters that decide a drone build.
ParameterM12 (S-mount)C-mount industrial
Typical weight3-15g50-200g
Mount standardM12x0.5mm thread1"-32 UN thread, 17.526mm flange
Typical price range$6-$99 (qty-dependent)$200-$500+
Max sensor coverageMost models up to 1/1.8" (select models 1/1.7" to 1/1.6")Up to 1" and beyond
Iris controlFixed aperture (typically no adjustable iris)Manual or motorized iris available
IP-rated optionsIP67, IP69K widely availableSelect ruggedized models only

C-mount makes sense on a drone in narrow cases: large fixed-wing platforms with multi-kilogram payload budgets, or sensor formats larger than M12 can cover. See the M12 vs C-mount vs CS-mount guide for the full mount comparison.

M8 versus M12 for the smallest airframes

M8 lenses use an 8mm thread (commonly M8x0.5) for platforms where M12's front aperture and barrel volume are still too large. On drones under 100g, a few grams and millimeters of diameter can decide whether the airframe closes. Otherwise M12 stays the better default for its wider sensor coverage and larger parts ecosystem. The M8 vs M12 section of the mount guide covers thread adapters.

A lightweight drone camera board with an M12 lens resting beside a jeweler's scale
A Commonlands M12 lens runs 3-15g, a fraction of a 50-200g C-mount lens.

Ground sampling distance and focal length selection

Ground sampling distance (GSD) is the ground distance covered by one pixel at a given altitude. For a mapping or survey drone, choosing focal length is an exercise in hitting a GSD target.

GSD = (pixel_pitch × altitude) / focal_length All values in consistent units: convert pixel pitch from µm to meters before computing.

GSD is proportional to altitude and pixel pitch and inversely proportional to focal length, so flying twice as high doubles GSD, and doubling focal length halves it.

For example, take the Sony IMX577 (1.55µm pixel pitch) at 50m altitude: to hit 1cm GSD, focal length = (0.00000155 × 50) / 0.01 = 7.75mm. A lens in the 3-8mm range covers most mid-altitude mapping on this sensor. Use the field of view calculator or EFL calculator to work through combinations for your sensor.

Ground sampling distance targets and EFL ranges by drone mapping mission, assuming a 3-4µm pixel sensor. Halve the EFL for a fine-pixel 1.55µm sensor such as the IMX577.
ApplicationTarget GSDAltitude rangeRecommended EFLNotes
Wide-area mapping3-5cm50-80m4-6mmMaximum area per pass, regulatory ceiling permitting
Precision mapping / survey1-3cm30-80m6-12mmConstruction, survey, agriculture; use a low-distortion lens
Close inspection0.5-1cm10-30m8-16mmTower, bridge, blade, and solar panel inspection
Long-range inspection0.5-2cm30-80m16-25mmStandoff distance; telephoto tradeoff
FPV / obstacle avoidanceNot GSD-drivenAny1.9-4mm wide/fisheyeField of view and reaction time matter more than resolution

The table assumes 3-4µm pixel pitch. A fine-pixel 1.55µm sensor like the IMX577 needs about half the focal length for the same GSD. GSD is a theoretical maximum. Vibration, haze, motion blur, and lens MTF all degrade useful resolution below it. Treat the number as a best case.

Distortion, mapping, and FPV lenses

Barrel distortion is the primary optical error that undermines aerial measurement accuracy. A few percent is tolerable in ground-based machine vision; in aerial photogrammetry it corrupts the geometry of orthomosaic maps and 3D reconstructions. Match the lens type to the mission, not the airframe.

For mapping and survey, prioritize low distortion

Photogrammetry software (Pix4D, Agisoft Metashape, OpenCV) assumes a consistent projection model that barrel distortion breaks. A standard wide-angle M12 lens often shows 10% or more optical distortion at the corners. Calibration corrects much of it but adds processing time and leaves residual edge error. For a rectilinear mapping lens, target under 1% optical distortion. Commonlands low-distortion lenses such as the CIL052 (5.2mm, <0.2% optical distortion) and CIL034 (3.25mm, IP67, under 1%) sit well under that bar.

For FPV and navigation, prioritize field of view

Obstacle avoidance and situational-awareness cameras benefit from wide or fisheye lenses (up to 180-200° field of view), because a larger visible scene gives more reaction time before an obstacle enters frame. Measurement accuracy is not the goal, so heavy barrel distortion is acceptable. Against a rectilinear reference that distortion runs to tens of percent and approaches -100% at the edge of a 180° field, though datasheets often quote a smaller f-theta or TV figure, so check which reference a spec uses.

Reusing a fisheye lens for mapping

A fisheye lens can be reused for mapping after calibration and dewarping: the fisheye models in OpenCV, Pix4D, and Agisoft Metashape rectify its equidistant projection. Dewarping resamples and stretches the edges, lowering effective edge resolution, so a low-distortion rectilinear lens still gives cleaner survey-grade measurements. See wide-angle and fisheye lens distortion and what is a low-distortion lens for the background.

Vibration and rolling-shutter interaction

Motor and frame vibration reaches the camera through the airframe, and how badly it shows depends on whether the sensor is global or rolling shutter.

Why rolling shutter makes vibration worse

A rolling-shutter sensor exposes rows sequentially, so a vibrating camera captures each row from a slightly different position during readout. The result is skew, wobble, or jello rather than simple blur. Skew scales with angular rate times readout time, so shorter readout, a global shutter, or better isolation all reduce it. A global-shutter sensor exposes the whole frame at once, giving uniform blur instead of geometric skew. See image sensor selection for machine vision for the full tradeoff.

What the lens can and cannot fix

Lens construction cannot eliminate vibration, but it changes how much reaches the elements. Rigid, all-metal barrels, including the Commonlands M12 line, are stiffer than plastic housings and help the lens and sensor hold alignment. Vibration-damping mounts between camera and frame are the first-line fix. Treat lens rigidity as one input alongside them.

Thermal stability and sealed construction

Drone cameras face diurnal cycles plus rapid altitude-driven temperature swings and landing shock, and the lens must hold focus.

Thermal defocus at altitude

At 30-120m the atmospheric lapse rate accounts for only a fraction of a degree of cooling; the larger effect is convective, as a sun-soaked housing sheds heat into faster airflow within minutes of takeoff.

A hybrid lens with plastic elements might shift focus 10-30µm per 10°C, against a depth of focus near 8-15µm at F/2 on a 1/2" sensor, enough for a single swing to defocus it. All-glass, all-metal construction cuts that to a few µm per 10°C. Set fixed-focus cameras at the midpoint of the operating temperature range, and verify against the datasheet.

Sealed construction for outdoor durability

IP67-sealed lenses reduce moisture ingress during thermal cycling. An unsealed lens cooling at altitude can draw in humid air that condenses on internal glass, and the haze degrades contrast and rarely cleans without disassembly. IP69K covers high-pressure jet washing, a separate test from IP67 immersion rather than a higher grade, so a lens must be marked for both to claim both. See ruggedized machine vision lenses for the sealing picture.

IR filters, NDVI, and multispectral imaging

The filter configuration of an M12 lens has to match the application, or images come out color-shifted or missing the needed spectral band.

The standard 650nm IR cut filter

The default for visible-light drone cameras. It blocks wavelengths above roughly 650nm, including the near-infrared that shifts color balance in RGB images, particularly in foliage. Use it for RGB mapping, aerial photography, and inspection where color matters.

No-filter (NIR pass) lenses for NDVI and crop monitoring

Vegetation-health metrics need near-infrared reflectance: NDVI = (NIR − Red) / (NIR + Red). Healthy vegetation reflects NIR strongly while absorbing red, and a standard IR cut filter attenuates NIR too heavily to measure it. For agriculture and forestry work, specify an M12ANIR (no IR cut) variant and pair it with a filter that separates the red and NIR bands; without that separation an unfiltered Bayer sensor mixes NIR into the red channel and the index is not calibrated NDVI.

850nm and 940nm bandpass filters for active IR

Night surveillance drones with an onboard 850nm or 940nm LED array benefit from a bandpass filter matched to the illuminator, rejecting ambient daylight and improving contrast. 850nm gives more sensor sensitivity; 940nm is invisible to the eye, which matters for covert work.

Multispectral note

Calibrated multispectral imaging (RGB, red-edge, NIR) typically uses dedicated multi-sensor systems, not a single M12 lens. M12 lenses suit single-band NIR, NDVI-proxy setups, and active-IR night surveillance. Browse optical filters for bandpass options and bandpass filter selection for pairing guidance.

Top M12 lenses for drones by mission

The best M12 lens depends on the mission: a low-distortion lens for mapping and photogrammetry, wide field of view for FPV and obstacle avoidance, a telephoto for standoff inspection, and a no-IR-cut (NIR) variant for NDVI. Every pick below comes in under 15g. Each figure is a published product-page spec, so size your choice against your sensor with the field of view calculator.

Commonlands M12 lens picks for drones by mission, every model under 15g.
MissionLensEFLDistortionWeightWhy this pick
Precision mapping / photogrammetryCIL0525.2mm<0.2% optical<15gLowest distortion keeps orthomosaic geometry true, so software correction is optional.
High-resolution mappingCIL0393.9mm<0.2% TV<15gResolves fine detail on 8MP and larger sensors at survey altitude.
Wide-area, weather-exposed mappingCIL0343.25mm<1% optical5.7g102° covers more ground per pass, and IP67 sealing handles rain and humidity.
FPV / obstacle avoidanceCIL3373.6mmWide-angle, uncorrected~5g133° FoV at F/1.6 gives the most reaction time before an obstacle enters frame; IP69K sealed.
Forward navigation / general imagingCIL3555.5mmStandard wide-angle~5.1g89° balances coverage and detail for a forward flight camera; IP69K sealed.
Standoff inspectionCIL25025mmTelephoto, IR corrected<15g20° telephoto holds working distance from towers, bridges, and wind blades.
NDVI / crop monitoringCIL052 or CIL034 (M12ANIR)5.2mm / 3.25mm<0.2% / <1% optical<15gThe no-IR-cut variant passes the near-infrared band NDVI needs, and low distortion keeps canopy-area measurements accurate at the edges.

Weights shown with ~ are measured. Entries marked <15g are all-glass models under the 15g set ceiling (confirm exact mass on the product page). Optical and TV distortion are measured against different references and are not directly comparable.

75mm M12 Lens

75mm M12 Lens IR Corrected

$129.00

Download .STPView Product
Advanced Driver Assistance System Camera Lens 6mm M12 Lens S-Mount lens

Automotive 5.9mm M12 Lens

$39.00

Download .STPView Product
No Distortion 6mm M12 Lens

No Distortion 6mm M12 Lens

$19.00

Download .STPView Product
IR Corrected 12mm M12 Lens

IR Corrected 12mm M12 Lens

$59.00

Download .STPView Product
190°@5.7mm Fisheye M12 Lens

190°@5.7mm Fisheye M12 Lens

$29.00

Download .STPView Product
IR Corrected Day Night Fisheye Lens S-Mount

186°@5.2mm IR Corrected Fisheye M12 Lens

$59.00

Download .STPView Product
M8x0.35 Lenses for IMX415

Small 2.8mm Lens

$29.00

Download .STPView Product
Doorbell Camera Miniature M8 Fisheye Lens D

195°@5.2mm Fisheye Lens

$29.00

Download .STPView Product

Browse Lenses for Drones

When an integrated camera or another vendor fits better

For hobby FPV, an all-in-one like a GoPro or an M12 lens bundled with an Arducam or Sunex module is often the faster path. Optics, sensor, and tuning ship matched, and absolute distortion accuracy does not matter when the footage is only watched. Spec-controlled lenses earn their place when the output is measured: orthomosaics, point clouds, GIS layers, or NDVI maps. These need a known focal length, a published distortion figure, and consistent unit-to-unit optics so the camera model in Pix4D or OpenCV stays valid across a fleet.

A mapping drone over crop rows with a downward-facing M12 survey camera
Focal length, altitude, and pixel pitch set ground sampling distance: a 7.75mm lens gives about 1cm GSD at 50m on a 1.55µm sensor.

Frequently asked questions

What focal length M12 lens is best for drone mapping?

For general aerial mapping at 30-120m altitude, a 4-6mm focal length covers most sensors with 3-4µm pixel pitch, and the 3.6mm CIL337 gives 133° field of view for wide-area coverage. For precision photogrammetry under 1% optical distortion, the 5.2mm CIL052 (<0.2% optical distortion) is the better choice, even at a lower altitude.

What is the lightest M12 lens for a drone camera?

The CIL337 (3.6mm) and CIL355 (5.5mm), both IP69K, weigh approximately 5g, against 50-200g for a comparable C-mount lens. On a 100-200g payload budget, that frees mass for battery, compute, or extra sensors. Across a forward, downward, and aft camera set, three M12 lenses total about 15g versus 150-600g for three C-mount lenses.

Should I use an IR filter on my drone camera lens?

It depends on the application. For visible-light mapping, inspection, and photography, use a standard 650nm IR cut filter to keep color balance accurate. For NDVI and vegetation monitoring, specify a no-filter or NIR-pass variant. For active IR surveillance at night, match an 850nm or 940nm bandpass lens to your illuminator.

What M12 lens works for drone-based NDVI and crop monitoring?

Use a low-distortion M12 lens without an IR cut filter (the M12ANIR variants of the CIL052 and CIL034 are good starting points), paired with a filter that separates the red and NIR bands. NDVI = (NIR − Red) / (NIR + Red). Without that separation, an unfiltered Bayer sensor mixes NIR into the red channel and the index is not calibrated NDVI.

Do M12 lenses work with Raspberry Pi and Jetson cameras on drones?

Yes. Most small-format embedded camera modules use M12 (S-mount) lens holders: the Raspberry Pi HQ Camera M12 variant (the standard HQ Camera is CS-mount, with a C-mount adapter in the box), Jetson-compatible MIPI modules, and custom PCB cameras all use M12×0.5mm thread. With no fixed flange distance, you set back focus with the lens thread.

Need help selecting a drone camera lens?

Contact Commonlands engineering for focal length, filter, and mounting recommendations based on your sensor, airframe, and flight profile.