A ground sample distance calculator tells you how big one pixel of an aerial photo is on the ground. Enter the height of the camera above the ground, the width of the sensor, the focal length of the lens and the width of the picture in pixels, and you get the ground sample distance in centimetres or inches, and the area that each picture covers. Turn it around to find the height that you must fly at to reach a wanted sharpness. It is made for drone mapping, surveying and aerial photography. It runs in your browser.
How to use the ground sample distance calculator
- Choose US or Metric, and what you want to find.
- Enter the sensor width and the focal length in millimetres, and the image width in pixels.
- Enter the flying height, or the wanted ground sample distance.
- Add the sensor height if you want the area of one image. Press Calculate.
What ground sample distance is
The Wikipedia article on ground sample distance defines it as the distance between pixel centres measured on the ground, in a digital aerial or space photograph. It is also called the ground-projected sample interval.[1] A smaller value means that each pixel covers less ground and the picture shows more detail. A ground sample distance of 2 centimetres means that two neighbouring pixels are centred 2 centimetres apart on the ground. The page stresses that this is only one limit on spatial resolution, the one that comes from sampling, so a sharp lens and steady flight matter as well.[1]
The formula
For a camera that looks straight down, the page gives GSD = h × p ÷ f. Here h is the height above the ground, f is the focal length and p is the size of one pixel on the sensor, found by dividing the sensor width or height, P, by the number of pixels, N, in the same direction.[1] The units must agree, so the pixel size and the focal length are both in millimetres, and the result has the same unit as the height. For a sensor that is 13.2 millimetres wide, with 5,472 pixels across and a focal length of 8.8 millimetres, the pixel size is 2.41 micrometres. At a height of 100 metres, the ground sample distance is 100 × 0.002412 ÷ 8.8, which is 0.0274 metres, or 2.74 centimetres per pixel.
Finding the flying height
The formula can be turned around: h = GSD × f ÷ p. If you want 3 centimetres per pixel with the same camera, the height is 0.03 × 8.8 ÷ 0.002412, which is about 109 metres. Use this when you plan a mapping flight, because the height sets how much ground you cover as well as the sharpness. A higher flight covers more ground in less time, and a lower one gives more detail. The calculator shows the height in feet and in metres.
The footprint of one picture
By similar triangles, the width of the ground that one picture covers is the sensor width times the height divided by the focal length, and the height of the picture's footprint is found in the same way from the sensor height. With the camera above, the footprint is 150 metres wide at a height of 100 metres, and 100 metres tall for a sensor 8.8 millimetres tall. That is an area of 1.5 hectares. These steps are our own working from the geometry, and not a formula from the page. Use them to plan the overlap between pictures, and the number of pictures that you need to cover a field.
Limits of the formula
The page also describes the case where the camera is not pointing straight down. The slant makes the ground size of each pixel larger, by a factor that depends on the angle, so it increases the effective footprint of each pixel. The page notes that, for a fixed coverage limit, the best geometry is at 45 degrees off the vertical.[1] The calculator does not model the slanted case. It gives the ground sample distance at the point directly under the camera, which is the best value in the picture, and the value gets larger toward the edges.
Typical uses
Surveyors and farmers use drone maps to measure fields, roofs and stockpiles. Mapping to 2 or 3 centimetres per pixel is common for such work, and finer detail is used for inspections. The flying height and the camera set the value, so the same drone can reach different values by flying higher or lower. Check the sensor width and the focal length in the specification of your camera. Use the real focal length, not the equivalent focal length that is given for comparison with full frame.
Common mistakes
- Using the equivalent focal length. Use the real focal length of the lens.
- Mixing up width and height. Use the sensor width with the image width in pixels.
- Measuring the height from take-off. Use the height above the ground that you map.
- Ignoring slopes. On a hill, the height above the ground changes.
What next
Use this often? Add Ground Sampl to your Home screen.
Frequently asked questions
What is a ground sample distance calculator?
A tool that finds the size of a pixel on the ground, the distance between pixel centres, from the camera height, sensor and lens.
What is the GSD formula?
For a camera pointing straight down, GSD = h × p ÷ f, where p is the sensor width divided by the pixels across.
How do I find the flying height for a wanted GSD?
h = GSD × f ÷ p. For 3 cm per pixel with a 13.2 mm sensor, 5,472 pixels and an 8.8 mm lens, it is about 109 m.
Does a lower GSD mean more detail?
Yes. A smaller value means each pixel covers less ground, so the picture shows more detail.
Does the calculator handle a tilted camera?
No. It gives the value for a camera pointing straight down, which is the best value in the picture.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.