Drone camera lens selection guide

Ground Sampling Distance Calculator for Drone Camera Lenses

One formula connects altitude, pixel pitch, and focal length to what your drone can resolve and what it can detect on the ground. Work it with the calculator below, then pick the lens.

By the Commonlands engineering team · Updated July 2026 · 10 min read

A survey drone with a downward-facing M12 camera lens flying a mapping pattern

Ground sampling distance (GSD) drives lens selection for every downward-looking drone camera: GSD = (pixel_pitch × altitude) / focal_length. Mapping and photogrammetry missions pick a focal length that hits the target GSD with a low-distortion lens so orthomosaic geometry stays true. Object detection missions apply the Johnson criteria on top of the same formula: roughly 2 pixels across an object to detect it, 8 to recognize it, and 13 to identify it. That threshold converts any object size and altitude into a required focal length.

Ground sampling distance: the one formula that matters

GSD is the width of ground covered by a single pixel. It sets the smallest feature a mapping camera can resolve and the smallest object a detection camera can find, so almost every lens decision on a downward-looking drone camera reduces to hitting a GSD number at a given altitude.

GSD = (pixel_pitch × altitude) / focal_length GSD [cm/px] = (pitch [µm] × altitude [m]) / (EFL [mm] × 10) Exact for a rectilinear lens at nadir over flat terrain. The second line bakes in the unit conversions so you can plug values straight from a datasheet.

Worked example: a Sony IMX477 class sensor (1.55µm pixel pitch) behind an 8mm lens at 100m altitude gives GSD = (1.55 × 100) / (8 × 10) = 1.9cm per pixel. The relationship is linear in every direction: double the altitude and GSD doubles, double the focal length and GSD halves, and a sensor with twice the pixel pitch needs twice the focal length for the same GSD.

Two secondary quantities fall out of the same geometry. Ground swath is GSD times the sensor's pixel count, so the IMX477 example covers about 79m × 59m per frame (4056 × 3040 pixels). And solving the formula for focal length answers the procurement question directly: required EFL = (pitch × altitude) / GSD.

GSD is a ceiling, not a promise

The formula is exact geometry, and geometry is the best case. Vibration, motion blur, atmospheric haze, and lens MTF all degrade delivered resolution below the computed GSD. Off-nadir tilt also stretches GSD across the frame. Survey planners commonly budget 2× margin: if the deliverable needs 5cm features, plan the flight at roughly 2.5cm/px.

GSD and object detection calculator

Pick a sensor preset or enter pixel pitch directly, then set your lens and altitude. The calculator returns GSD, ground swath, the focal length required for a target GSD, and the Johnson-criteria detection levels for an object of the size you specify. Every figure assumes zero distortion; the section below the calculator covers how to account for it.

Ground sampling distance calculator

Assumes zero distortion: an ideal rectilinear lens at nadir over flat terrain. Real lens distortion is not modeled here, so all results are geometric best cases.

Ground sampling distance
Ground swath per frame
Focal length required for target GSD at this altitude

Johnson-criteria levels for this object

LevelPixels neededRequired GSDMax altitude with this lensMet at current altitude?

Johnson criteria are 50%-probability thresholds under good contrast, measured across the object's critical (smallest presented) dimension. Real deployments budget at least 2× margin for atmosphere, motion, lens MTF, and distortion. Default object size 0.5m approximates a standing person seen from above. Use 2.3m for a passenger vehicle.

These results assume a distortion-free lens

The calculator treats every pixel as covering the same ground area, which a real lens does not. On a low-distortion lens (under roughly 1% optical distortion) the error stays small enough to ignore for planning. On a standard wide-angle lens at 10% or more, size the flight from the frame edge rather than the center, or dewarp before measuring. The next section explains why.

For horizontal and vertical field of view on a specific Commonlands lens, including distortion, use the field of view calculator. For working-distance framing problems, use the EFL calculator.

Focal length selection by mission and altitude

There is no best focal length for a drone camera, only the focal length that hits your GSD target at the altitude you are allowed or able to fly. The table below runs the formula for common missions on sensors in the 3-4µm pixel pitch range. A fine-pixel sensor like the 1.55µm IMX577 needs roughly half these focal lengths for the same GSD.

MissionTarget GSDTypical altitudeEFL range (3-4µm pitch)Lens priority
Wide-area mapping3-5cm50-80m4-6mmSwath per pass, moderate distortion acceptable
Survey / construction photogrammetry1-3cm30-80m6-12mmLow distortion (<1% optical)
Corridor and asset inspection0.5-1cm10-30m8-16mmResolution and short-range focus
Person detection (security, SAR)≤25cm detect, ≤6cm recognizeMission-dependent8-25mmGSD at standoff altitude. Run the calculator
Vehicle detection and tracking≤115cm detect, ≤29cm recognizeMission-dependent4-25mmSwath for search, EFL for confirmation

Detection GSD figures come from the Johnson criteria for a 0.5m person and a 2.3m vehicle at 50% probability. See the object detection section for derivation and caveats.

Wide versus long: the swath tradeoff

A shorter focal length covers more ground per pass, which cuts flight lines, flight time, and battery swaps on large sites. A longer focal length reaches the same GSD from higher altitude, which matters when regulations, terrain, or standoff requirements set a floor on how high you fly. Survey plans usually start from the maximum permitted altitude and solve backward for EFL, which is exactly the third output of the calculator above.

Pixel pitch changes everything

Focal length recommendations mean nothing without pixel pitch attached. The same 2cm GSD at 80m needs a 6.2mm lens on the 1.55µm IMX577 but a 13.8mm lens on the 3.45µm IMX264. Fine-pitch sensors buy shorter, lighter lenses at the cost of less light per pixel; that tradeoff is covered in image sensor selection for machine vision. Match image circle and chief ray angle to your sensor, or start from the sensor with the image sensor lens finder.

A mapping drone flying survey lines over crop rows with a downward-facing camera
Altitude, pixel pitch, and focal length set the ground sampling distance for every pass.

Distortion, shutter type, and photogrammetry accuracy

Hitting the GSD number gets you resolution. Two other lens-and-sensor decisions determine whether the orthomosaic geometry built from those pixels can be trusted.

Distortion is a geometry error, not a cosmetic one

Photogrammetry software reconstructs 3D geometry by matching features across overlapping frames under an assumed camera model. Barrel distortion bends straight lines and compresses the frame edges, so edge pixels cover more ground than center pixels and the effective GSD varies across the image.

Calibration in Pix4D, Agisoft Metashape, or OpenCV corrects much of it, but correction resamples the image and leaves residual error concentrated where the distortion was worst. A lens under roughly 1% optical distortion, such as the 5.2mm CIL052 at under 0.2%, keeps the camera model honest so correction is optional rather than load-bearing. The full background is in what is a low-distortion lens.

Shutter type interacts with flight speed

A rolling-shutter sensor exposes rows sequentially, so forward motion and vibration during readout skew the frame geometry itself, an error no lens can prevent and calibration cannot fully model. Global-shutter sensors expose every pixel at once and convert the same motion into uniform blur, which shortening exposure fixes.

Rolling shutter remains workable for mapping at moderate speed with short exposures and vibration isolation, and it gives more resolution per dollar. Fast, low flights and measurement-critical work favor global shutter instead. Vibration and shutter interaction is covered in depth in the companion guide, lenses for drones.

The photogrammetry lens spec, in one line

Low distortion first (<1% optical, lower for survey grade), then the focal length that hits your GSD at planned altitude, then sealed all-glass construction. Under 15g in the M12 format, so the accuracy features cost the airframe almost nothing.

Detecting objects on the ground: the Johnson criteria

Mapping asks how small a feature the camera resolves. Detection missions ask a different question: how many pixels must land on an object before an operator or an algorithm can act on it. These missions include security patrol, border and perimeter surveillance, search and rescue, and military ISR payloads. The standard engineering answer is the Johnson criteria, developed for military sensor performance modeling in the 1950s and still the baseline in electro-optical system design.

pixels_on_target = critical_dimension / GSD detect ≈ 2 px · recognize ≈ 8 px · identify ≈ 13 px Critical dimension is the object's smallest presented dimension. Thresholds are 50%-probability values under good contrast, converted from the original line-pair criteria (1.0, 4.0, and 6.4 line pairs at 2 pixels per line pair).

Detection means an observer can tell something is present. Recognition means telling a person from a vehicle. Identification means telling which type of vehicle. Each level converts directly into a GSD requirement, and through the GSD formula, into a focal length at a given altitude:

ObjectCritical dimensionDetect (≈2 px)Recognize (≈8 px)Identify (≈13 px)
Person (top-down)~0.5mGSD ≤ 25cm/pxGSD ≤ 6.3cm/pxGSD ≤ 3.9cm/px
Passenger vehicle~2.3mGSD ≤ 115cm/pxGSD ≤ 29cm/pxGSD ≤ 18cm/px

50%-probability thresholds under good contrast. NIIRS-style interpretability tasks and automated detectors each impose their own, usually stricter, pixel budgets.

Worked example: an IMX477 (1.55µm) behind an 8mm lens recognizes a person (6.3cm/px needed) up to about 325m above ground and detects one up to about 1.3km, geometrically. Swap in the 25mm CIL250 telephoto and those altitudes triple, at the cost of a 20° field of view that must be pointed. That swath-versus-reach tension is the core payload design decision: search wide with a short lens at coarse GSD, then confirm with a telephoto, or fly two cameras and do both at once.

Geometric minimums, not operational guarantees

Johnson thresholds assume good target-to-background contrast and a sensor delivering its geometric resolution. Haze, low sun angles, motion blur, and lens MTF push real requirements finer. Object detection networks typically want more pixels than a trained human. Treat the table as the floor and validate detection range with flight testing against representative targets.

Lens construction matters more on detection payloads than on mapping payloads, because missions run at dawn, at night under NIR illumination, and in weather. An F/2.0 or faster aperture keeps exposure short enough to freeze motion in low light, IR-corrected designs hold focus when switching between visible and 850nm illumination, and IP67-sealed all-glass builds survive the thermal cycling of long patrols. The IR-corrected lens guide covers the day/night focus shift problem in detail.

Lenses for drone cameras

Match the lens to the mission the calculator just sized: low distortion when the output is measured, a longer focal length when detection has to happen from standoff altitude, and sealed construction for weather exposure. Verify field of view against your sensor before ordering.

Frequently asked questions

What GSD do I need to detect a person from a drone?

Using the Johnson criteria at 50% probability, detection of a person (critical dimension roughly 0.5m) needs about 2 pixels across that dimension, or 25cm/px GSD or finer. Recognizing a person versus a vehicle takes about 8 pixels (roughly 6cm/px), and identification takes about 13 pixels (roughly 4cm/px).

These are geometric minimums under good contrast. Haze, motion blur, and lens MTF push real requirements finer, so budget at least 2× margin and validate with flight testing.

What focal length is best for drone photogrammetry?

The one that hits your GSD target at your planned altitude: EFL = (pixel_pitch × altitude) / GSD. On 3-4µm pixel sensors at 50-80m, survey work at 1-3cm GSD lands in the 6-12mm range; the 1.55µm IMX577 needs roughly half that focal length for the same GSD.

Prioritize distortion over focal length precision: a low-distortion lens a millimeter off your ideal EFL beats a standard wide-angle lens at exactly the right EFL, because altitude can adjust and distortion cannot.

Does lens distortion change my GSD?

Locally, yes. Barrel distortion compresses the frame edges, so edge pixels cover more ground than center pixels and the effective GSD is not uniform. A low-distortion lens (under roughly 1% optical distortion) keeps GSD nearly constant across the frame, which is why survey specifications call for one.

Calibration corrects much of the variation, but resampling leaves residual error concentrated at the edges where the distortion was worst.

Is global shutter or rolling shutter better for drone mapping?

Global shutter is safer when the platform is fast or vibrates: every pixel exposes at once, so motion becomes uniform blur rather than row-by-row geometric skew. Rolling shutter gives more resolution per dollar and maps successfully at moderate speed with short exposures and vibration isolation.

For measurement-critical work or fast low-altitude flight, choose global shutter and pair it with a rigid all-metal lens. The sensor selection guide covers the tradeoff.

Can one drone camera handle both mapping and object detection?

Yes, when you budget GSD to the stricter mission. A camera mapping at 2cm/px recognizes people (roughly 6cm/px needed) with margin. The tension is swath: detection wants telephoto reach from standoff altitude while mapping wants width for coverage per pass.

Payloads that carry a wide mapping lens and a telephoto confirmation lens, such as a 4-6mm plus a 25mm on separate cameras, avoid compromising either mission for a few extra grams of M12 glass.

Designing a mapping or detection payload?

Send us your sensor, altitude, and GSD or detection requirement and our engineering team will recommend focal length, distortion class, and filter configuration from stock.