GSD Calculator
Compute the ground sample distance (GSD) of a camera at a known distance, or map it across a photo.
Camera and scene
Estimated GSD and coverage
- Focal length
- --
- Scene covered
- --
- Field of view
- --
- Pixel pitch
- --
Log in to IRIS to save this calculation to your library.
The GSD is the size on the ground of one image pixel. The field of view is the angle the image covers, across and high.
These GSD values are typical for each kind of work:
- 1 to 5 mm: cracks and structural inspection
- 5 to 20 mm: slope monitoring and rockfall
- 20 to 50 mm: large site surveys
How the GSD map works
The GSD map gives the GSD of every pixel of one photo, for a scene where the distance from the camera is not the same everywhere, such as a slope. A neural network estimates the relative distance of every pixel from the photo alone (monocular depth estimation). A scale reference then turns those distances into metres, and IRIS turns each distance into a GSD with the focal length and the sensor width of the camera.
You choose the scale reference in step 2, and each one needs different data before you run the analysis:
- Terrain elevation model: the focal length and the sensor width (or the field of view set against the terrain), the camera position, its view direction and the loaded terrain. IRIS also gets the slope of the ground from the terrain, and it saves a 3D point cloud in metres to your workspace.
- A flat surface in view: the focal length, the sensor width, the outline of the surface in the photo and one known distance to it.
- Known distances: the focal length, the sensor width and at least one point or segment in the photo with its distance or size.
- Depth model only: the photo. The result shows relative distances, not metres.
The list beside the Run button shows which of these data are set and which are still missing.
Strength: one photo is enough, and the map shows how the detail falls off across a slope.
Limit: the result is only as good as the scale reference. Sky, water and very uniform surfaces give unreliable distances.
GSD Requirements by Application
Selecting the right GSD depends on what you need to detect. Higher resolution (lower GSD) lets you see smaller details but requires more powerful optics or closer positioning.
| Application | Recommended GSD | Detectable Features |
|---|---|---|
| Crack Detection | 1 to 3 mm/pixel | Hairline cracks, surface defects, concrete spalling |
| Structural Inspection | 3 to 5 mm/pixel | Corrosion, joint separation, anchor bolt condition |
| Rockfall Detection | 5 to 15 mm/pixel | Individual rocks, debris accumulation, slope failures |
| Slope Deformation | 10 to 20 mm/pixel | Surface displacement, tension cracks, bulging |
| Coastal Erosion | 15 to 30 mm/pixel | Cliff recession, beach changes, vegetation loss |
| Site Surveys | 20 to 50 mm/pixel | Terrain features, stockpile volumes, general monitoring |
Worked Examples
Real-world camera setup scenarios to help you plan your monitoring system.
Rockfall Monitoring
Scenario: Monitoring an unstable slope for falling rocks
- Distance: 200 m
- Target GSD: 15 mm/pixel
- Sensor: Full Frame (36×24 mm), 61 MP
Dam Crack Inspection
Scenario: Detecting hairline cracks on a concrete dam face
- Distance: 100 m
- Target GSD: 3 mm/pixel
- Sensor: Full Frame (36×24 mm), 45 MP
Coastal Cliff Erosion
Scenario: Tracking cliff recession over time
- Distance: 1,000 m
- Target GSD: 25 mm/pixel
- Sensor: APS-C (23.5×15.6 mm), 26 MP
Frequently asked questions
Common questions about Ground Sample Distance, camera setup, and monitoring applications.
Ground Sample Distance (GSD) is the real-world size that each pixel in an image represents. For example, a GSD of 10 mm/pixel means each pixel covers a 10×10 mm area on the target surface.
Lower GSD values provide higher detail but cover a narrower field of view. GSD is critical for determining whether your camera system can detect the features you need to monitor, such as cracks, displacement, or erosion.
GSD is calculated using the formula:
GSD = (Sensor Width × Distance) / (Focal Length × Image Width in pixels)
You need to know your camera's sensor dimensions (width and height in mm), the focal length of your lens (in mm), the distance to your target (in meters), and your camera's resolution (in pixels).
Our calculator handles all the math automatically. Just enter your parameters in Calculator 1 above and get instant results.
The required GSD depends on what you're trying to detect:
- 1 to 5 mm GSD: For crack detection and structural inspection where small details matter
- 5 to 20 mm GSD: For rockfall detection and slope deformation monitoring
- 20 to 50 mm GSD: For large-scale site surveys and general terrain monitoring
The right GSD depends on the smallest feature you need to reliably detect. As a rule of thumb, your GSD should be at least 3 to 5 times smaller than the smallest feature of interest.
GSD (Ground Sample Distance) measures the size each pixel represents on the ground. It determines the image detail and resolution you can achieve.
FOV (Field of View) measures the total area or angle your camera can capture in a single image.
They have an inverse relationship: a narrower FOV (achieved with longer focal length lenses) gives you better GSD (more detail per pixel) but covers less area. Use GSD when planning for detail requirements, and FOV when planning coverage area.
Focal length and GSD have an inverse relationship:
- Longer focal lengths (more zoom) reduce GSD, giving you more detail per pixel but a narrower field of view
- Shorter focal lengths increase GSD, capturing more area but with less detail per pixel
For example, doubling your focal length from 50mm to 100mm will halve your GSD (improving detail) but also halve your field of view coverage. This is the fundamental trade-off in camera system design.
Yes, this calculator works for both drone-mounted cameras and fixed monitoring cameras. For drone surveys:
- The "distance to target" is your flight altitude above ground level (AGL)
- Use Calculator 2 to determine the required flight height for a target GSD
- Our sensor presets include common drone cameras like DJI Mavic and Phantom series
The same GSD principles apply whether your camera is on a drone, tripod, or permanently mounted for infrastructure monitoring. IRIS specializes in fixed camera monitoring for geotechnical applications, but the calculator is universal.