ChinaDroneRequest a quote →

Ground Sample Distance (GSD) Explained, With Formula

Updated · 11 min read

Ground sample distance (GSD) tells you how much ground each pixel in a drone photo represents. What is GSD in drone mapping, and why does it matter? Here is how to calculate GSD, use the formula as a simple GSD calculator and choose the right level of detail for a job.

A ground image grid with one highlighted pixel covering a 5 cm by 5 cm square on the ground
At a GSD of 5 cm per pixel, each pixel represents a square of ground 5 cm on each side.

What GSD means

Ground sample distance is the actual distance on the ground between the centers of neighboring image pixels. It is usually expressed in centimeters per pixel (cm/px) or meters per pixel (m/px). Think of the pixels in a downward-facing photo as a grid laid over the ground.

A GSD of 5 cm/px means each pixel covers a 5 cm by 5 cm square of flat ground. That is 25 square centimeters. GSD describes the length of a side of that square, not its area.

For users of survey drones, GSD is a useful way to describe the level of detail in an aerial survey.

  • Smaller GSD. Each pixel covers less ground, so the image can show finer detail. Each photo covers a smaller area for the same camera.
  • Larger GSD. Each pixel represents more ground. Small features are harder to distinguish, but each photo covers a larger area.

GSD is not the same as the size of the image file or the number of pixels in it. Photos of the same pixel dimensions can have different GSD values if they are taken from different heights. Nor does a small GSD guarantee a sharp image. Blur and the optical quality of the image also affect the detail you can see.

What affects GSD

When comparing drone cameras for mapping, look at the sensor, lens and image dimensions together. Then consider how high the drone will fly above the area being photographed.

FactorWhat it meansEffect on GSD
Sensor widthPhysical width of the sensor in millimetersA wider sensor with the same image width and focal length gives a larger GSD
Pixel pitchPhysical size of a sensor pixelA smaller pixel pitch gives a smaller GSD at the same height and focal length
Focal lengthActual optical focal length of the lensA longer focal length gives a smaller GSD at the same height and pixel pitch
Flight heightHeight above the ground being photographedA higher flight gives a larger GSD with the same camera settings
Image widthNumber of pixels across the photoMore pixels across the same sensor width give a smaller GSD at the same height and focal length

These comparisons assume the other variables stay the same. A larger sensor does not necessarily mean a larger GSD. It may also capture more pixels. What matters is the physical sensor width in relation to the image width.

With zoom cameras, the focal length used to capture the image matters. Use the actual focal length in millimeters, not the 35 mm equivalent focal length found in some camera specifications.

The GSD formula

Similar triangles showing camera sensor width, image width in pixels, focal length, flight height, ground footprint and GSD
The geometry of the camera connects the size of the sensor to the width of its image on the ground.

The formula comes from similar triangles. When the camera points straight down over flat ground, the ratio of sensor width to focal length equals the ratio of ground footprint width to flight height. Dividing the footprint width by the number of pixels across the photo gives the GSD.

GSD (cm/px) = (H × Sw × 100) / (f × imW)

  • H: flight height above ground, in meters.
  • Sw: physical sensor width, in millimeters.
  • f: actual focal length, in millimeters.
  • imW: image width, in pixels.

The millimeters in the sensor width and focal length cancel out. The factor of 100 converts the ground distance from meters into centimeters.

Worked example. Suppose you calculate GSD for a downward-facing camera with these settings:

  • Flight height: 162.07 m above ground.
  • Sensor width: 6.17 mm.
  • Actual focal length: 5 mm.
  • Image width: 4,000 pixels.

Substitute these values into the GSD formula:

GSD = (162.07 × 6.17 × 100) / (5 × 4,000) ≈ 5 cm/px.

The result means each image pixel represents about 5 cm across on the ground. It is a calculation of image scale, rather than a recommended flight altitude.

You can also calculate GSD from pixel pitch, which is the sensor width divided by the image width when the full sensor width is used.

GSD = H × p / f

Here, p is the pixel pitch. Use matching length units for p and f. If H is in meters, this version of the formula gives GSD in meters per pixel. Multiply by 100 to get centimeters per pixel.

GSD vs flight altitude

The same downward-facing camera at lower and higher flight heights, with smaller and larger ground footprints and pixels
With the same camera, higher flights cover more ground per image but capture less fine detail.

With the same camera and focal length, GSD changes in direct proportion to flight height. Double the height above flat ground and you double the GSD. Halve the height and you halve the GSD.

Flight height above groundGSD compared with the reference flightGround area per photo
Half the reference heightHalf the GSDOne-quarter of the area
Reference heightReference GSDReference area
Double the reference heightDouble the GSDFour times the area

At the same overlap, halving GSD can mean about four times as many photos of the same site. That adds to storage and processing work. A lower flight is not always the more efficient choice.

Height above the takeoff point is not necessarily height above ground level (AGL). Over a hill, the ground gets closer to a drone flying at a constant altitude. Over a depression, the ground gets farther away. The GSD changes in both cases.

Camera angle also matters. When setting the angle of a drone gimbal, remember that nadir photography means the camera points straight down. In an oblique photo (a photo taken at an angle), the ground closer to the camera generally has a smaller GSD than the ground farther away. There is no single uniform GSD across that photo.

Choosing a target GSD for the job

Start with what the images need to show. An overview map of a field does not need the same GSD as close-up photos of roof defects.

JobTypical GSD (cm/px)Used for
Topographic surveying1.5–3Contour maps and terrain models
Stockpile surveys1–2.5Volume measurements and pile edges
Construction progress2–5Tracking changes across an earthworks site
Crop scouting with multispectral cameras5–10Mapping crop vigor across fields
Agricultural drainage surveys2–5Modeling field slopes and drainage
Roof and building inspections0.5–1.5Examining roof defects and measuring roof features
Solar panel thermal inspections2–5Finding abnormal heat patterns in panels; standard-compliant outdoor infrared inspections require 3 cm/px or finer

These are common working ranges, not fixed requirements for every job. With agricultural drones, crop vigor maps can use a larger GSD than images for counting individual seedlings. The guide to multispectral and hyperspectral cameras explains the different sensor types.

For inspection drones, consider the size of the feature you need to examine. A small feature generally needs to span at least 2–3 pixels for reliable identification and measurement. Visible-light photos and images from thermal cameras also serve different inspection needs. Use the dimensions of the sensor and images from the camera doing the work.

Sourcing mapping or inspection equipment for your business? Ask our team.

GSD vs accuracy

GSD describes the size of the pixels on the ground. Accuracy describes how closely a measurement or position agrees with its true value. A detailed map is not necessarily an accurate map.

TermWhat it tells you
GSDHow much ground each pixel represents
Spatial resolutionHow small a feature the image can actually distinguish
Relative accuracyHow well distances and dimensions within the map agree with the real site
Absolute accuracyHow closely positions on the map agree with their real-world coordinates

A map can show the outline of a stockpile clearly and have good internal measurements, yet be shifted from its true geographic location. An ordinary drone GPS may leave a global position error even when the GSD is small.

Ground control points (GCPs) and positioning techniques such as real-time kinematic (RTK) or post-processed kinematic (PPK) positioning help improve absolute accuracy. Drones equipped with RTK modules are one option. Read the guide to ground control points in drone mapping for more on how points on the ground relate to the finished map.

Image overlap and the quality of image matching also affect relative accuracy. Making GSD smaller alone does not correct errors in the map.

How to plan a flight for a target GSD

Planning workflow from choosing a target GSD and checking camera specifications to calculating height, checking terrain, overlap and exposure
Work from the required image detail to the height and image capture settings for the survey.

Step 1. Choose the target GSD. Decide which details the finished images or map need to show. Use the table above to compare typical targets for similar types of jobs.

Step 2. Collect the camera specifications. You need the physical sensor width, the actual focal length and the pixel width of your chosen photo format. Make sure the units match those in the formula.

Step 3. Calculate the flight height. Rearrange the GSD formula so that you can enter the target GSD instead of the height:

H (m) = (imW × GSD × f) / (Sw × 100)

Use GSD in cm/px and the same camera units as in the earlier formula. The answer gives you the target height above ground.

Step 4. Check the height reference. Check whether the planning software measures height from the takeoff point or the ground under the drone. Terrain following helps maintain a more consistent GSD over uneven terrain.

Step 5. Review image capture settings. Plan for enough overlap between photos and between parallel flight lines. Lower flight heights reduce the ground footprint. Review the capture intervals along with overlap instead of treating GSD as the only flight setting.

Step 6. Check the image quality. Motion during exposure can blur details even when the calculated GSD is small. Review the flight speed and shutter settings together so that the image detail is not lost to motion blur.

Common mistakes

  • Treating GSD as accuracy. A small ground sample distance does not guarantee accurate map coordinates or measurements.
  • Using the wrong focal length. The 35 mm equivalent value is not the actual focal length required by the formula.
  • Mixing meters and centimeters. Check the units of the GSD calculator inputs and the resulting value. Do not read a value in m/px as though it were in cm/px.
  • Using height above takeoff as AGL. The two heights may differ over hills, pits and stockpiles.
  • Ignoring camera angle. The standard formula assumes a downward-facing camera over flat ground. Oblique images have uneven ground scale.
  • Ignoring motion blur. Good theoretical GSD does not mean sharp images if the drone moves too far during exposure.
  • Specifying more detail than the job needs. Smaller GSD increases the number of photos and the processing workload. Choose a target that fits the features you need to map.

Frequently asked questions

What is GSD in drone mapping?

GSD stands for ground sample distance. It is the distance on the ground between the centers of neighboring image pixels, usually expressed in centimeters per pixel.

How do you calculate GSD for a drone camera?

Multiply the flight height in meters by the sensor width in millimeters and by 100. Divide that result by the actual focal length in millimeters times the image width in pixels to get GSD in cm/px.

Is a lower GSD better?

A lower GSD can show finer ground detail, but each photo covers less ground with the same camera. Choose a GSD that gives you enough detail without unnecessary extra images.

What is a good GSD for drone surveying?

A typical GSD for topographic surveys is 1.5–3 cm/px. Detailed roof inspections commonly use 0.5–1.5 cm/px, while crop scouting with multispectral cameras commonly uses 5–10 cm/px.

Is ground sample distance the same as accuracy?

No. GSD describes the ground size of an image pixel, while accuracy describes how close a measurement or position is to its true value. Ground control points or RTK/PPK positioning can help improve absolute accuracy.

How does flight altitude affect GSD?

GSD increases in direct proportion to height above ground when the camera and focal length stay the same. Doubling the height doubles the GSD over flat ground.

Why does GSD vary within a drone mapping project?

Changes in terrain elevation can change the distance between the camera and the ground. Oblique photos also have different GSD values for nearer and more distant parts of the scene.

How our team can help

Request a quote →