DTM vs DSM: What's the difference and when should you use each?

Written by
Brooke Hahn
Last updated:
November 13, 2026

A digital surface model (DSM) captures the elevation of everything on the Earth's surface, including buildings, trees, and terrain. A digital terrain model (DTM) shows only the ground surface, with all above-ground features removed. Both are types of digital elevation models (DEMs), but each serves a different purpose depending on whether you want to analyze surface features or underlying terrain.

‍

Key takeaways

‍

  • A DSM records the top of everything a sensor sees, such as roofs and tree canopy, while a DTM records the bare ground with those features removed.
  • DEM is usually the umbrella term, but according to the USGS, a DEM is the bare-earth surface, so check which one a dataset means.
  • A DTM is made by classifying ground points and filling the gaps between them, so under dense vegetation it is partly an estimate.
  • Subtracting the DTM from the DSM gives the height of whatever stands on the ground. According to NEON, for trees this is called a canopy height model.
  • Use a DTM for drainage, slope and cut and fill, and a DSM for line of sight, solar studies and visuals. Many projects need both.

‍

What is the difference between a DTM and a DSM?

‍

The difference is what each model keeps. A DSM records the height of the highest surface at every point, including roofs, trees and machinery. A DTM removes those features and records only the bare ground beneath them. As a result, the two models match in open areas and differ wherever something stands on the ground.

‍

If you work with drone data or remote sensing outputs, you've probably seen the terms DSM, DTM, and DEM pop up regularly. They all relate to elevation models, but they don't describe the same thing, and understanding the difference is key to choosing the right one for your project.

‍

A Digital Elevation Model (DEM) is the broad, catch-all term for any dataset that represents the Earth's surface in 3D. Within this category, you'll find more specific types of elevation models.

‍

A Digital Surface Model (DSM) captures everything that sits on top of the ground: buildings, trees, structures, and the terrain itself. It gives you a "top of surface" view.

‍

A Digital Terrain Model (DTM), on the other hand, strips all of that away to reveal only the bare-earth surface. Vegetation, buildings, and other above-ground features are removed to show you the true underlying terrain.

‍

Both DSMs and DTMs fall under the DEM umbrella. The right choice simply depends on the questions you're trying to answer.

‍

DSM vs DTM at a glance:

‍

DSM (digital surface model)DTM (digital terrain model)
What it showsThe top of everything: roofs, tree canopy, machinery, stockpiles, and the ground where nothing covers itThe bare ground, with buildings and vegetation removed
How it is madeFrom every point the survey captured, or from lidar first returnsFrom the same points, by classifying the ground and filling the gaps between ground points
Best forLine of sight, shadow and solar studies, building and canopy heights, visuals for stakeholdersDrainage and flood modeling, slope, cut and fill, terrain change over time
Watch out forTrees and buildings block flow paths in water modelingUnder dense vegetation, the ground is partly estimated
Common formatGeoTIFF rasterGeoTIFF raster

‍

DSM: what is a digital surface model used for?

‍

A digital surface model is used wherever the things standing on the ground matter. Because it records rooftops, tree canopy and structures, a DSM suits line-of-sight and shadow studies, solar planning, building and canopy heights, and visuals that show stakeholders how a site really looks from above.

‍

A DSM output processed and visualized in Birdi
A DSM output

‍

A DSM includes all the visible features in the landscape. It represents the elevation of the first thing the sensor hits, like treetops and rooftops. This makes it useful for:

‍

  • Visualizing how a site looks in reality, especially for presentations or stakeholder review
  • Assessing tree canopy heights or building elevations
  • Performing line-of-sight analysis, shadow modeling, or solar planning
  • Urban planning tasks where the interaction between natural and built features matters

‍

If you want to capture how a site appears from above, including man-made structures and vegetation, start with a DSM.

‍

Thin features are the exception. According to a 2015 Ohio State University study, airborne lidar is "the ideal mapping technology" for power lines. Drone photos, by contrast, needed images captured for the purpose, and even then the wires came out as a partial, sparse set of points. So a DSM from a photo survey may show power lines only in part.

‍

DTM: what is a digital terrain model used for?

‍

A digital terrain model is used wherever the shape of the ground itself matters. Because buildings and vegetation are removed, a DTM suits drainage and flood modeling, slope analysis, cut and fill, and tracking terrain movement or erosion over time. That is why it is the usual surface for engineering and earthworks.

‍

A DTM output processed and visualized in Birdi
A DTM output

‍

A DTM strips away all surface features and shows just the underlying terrain. It's your go-to when the shape of the earth matters most. Use a DTM when you need to:

‍

  • Model water flow, drainage, or flood risk
  • Perform slope analysis for grading, stability, or construction planning
  • Conduct cut-and-fill or volumetric calculations
  • Understand terrain movement or erosion in mining and infrastructure projects

‍

Because DTMs give you a clean representation of the ground, they're especially important in environmental and engineering contexts where accuracy is key.

‍

For catchment and flow work, mapping agencies often go one step further than a plain terrain model. According to Geoscience Australia, its national DEM-H is a hydrologically enforced version of its smoothed 1 second elevation model. It captures flow paths from the elevations and mapped stream lines, so catchments can be traced from it.

‍

How are a DEM, a DSM and a DTM different?

‍

DEM, or digital elevation model, is usually the umbrella term for any grid of heights, and DSM and DTM are its two main kinds. However, usage is not consistent. Some agencies, including the USGS, use DEM to mean the bare-earth surface, which is what this article calls a DTM.

‍

The umbrella reading comes from the specialists. In 2021, 14 elevation researchers, including a USGS scientist, published a review of DEM terminology. According to that review, "DEM is a general term, and more specific terms such as digital surface model (DSM) or digital terrain model (DTM) record the treatment of the intermediate surfaces."

‍

Many data providers, however, use DEM on its own for the ground. According to the USGS, a DEM is "a representation of the bare ground (bare earth) topographic surface of the Earth excluding trees, buildings, and any other surface objects." Similarly, Esri's lidar documentation says the bare-earth surface "is frequently called a digital elevation model (DEM)."

‍

The same agencies sometimes use all three names side by side. For example, the USGS 3D Elevation Program publishes a 5 meter DSM and a DTM for Alaska, made from airborne radar, alongside bare-earth DEMs made from lidar.

‍

So when a file is labeled DEM, check its metadata, or ask the supplier, whether it includes buildings and vegetation. Our guide to digital elevation models covers DEMs in more depth.

‍

How is a DTM made from a DSM or point cloud?

‍

A DTM is made by separating ground points from everything else, then building a surface from the ground points alone. Software classifies each point in a lidar or photogrammetry point cloud as ground or not ground, removes the rest, and fills the gaps left under buildings and trees by interpolation.

‍

Lidar files record that decision in a standard way. According to the classification codes ASPRS defines for LAS files, ground points are class 2, while classes 3, 4 and 5 are low, medium and high vegetation and class 6 is buildings. A DSM, by contrast, can be built from the first returns: the first thing each laser pulse hit.

‍

Lidar and photogrammetry under trees:

‍

Lidar has an advantage under trees, because a single pulse can return several times. According to a 2000 USDA Forest Service evaluation, scanners could record up to 5 returns from each pulse, and many points reached the ground through the canopy. However, the same report found that dense leaves in low-light forest "are difficult for LIDAR to penetrate."

‍

A camera, on the other hand, sees only the top of the canopy. A 2017 study, co-authored by USGS scientists, tested this in dense deciduous forest in Virginia. It found that a model made from stereo satellite images "is best termed a digital surface model (DSM) because it includes heights of surface features." Filtering improved it, but the leaf-on version still kept some artifacts of the canopy. In contrast, the model from leaf-off imagery was comparable in most areas to the lidar bare-earth model. Our comparison of lidar and photogrammetry covers the wider trade-offs.

‍

Why a DTM is partly an estimate:

‍

Even a good DTM is an estimate wherever the ground was hidden. Esri's documentation notes that bare-earth point density varies with the vegetation and buildings covering the ground, and that gaps are filled by interpolating across them. Geoscience Australia says the same of its national 1 second DEM. Removing the vegetation automatically gave a ground surface that "is not free from artefacts", and urban areas and power line towers were not treated at all.

‍

Why does using the right model matter?

‍

Choosing the wrong elevation model can easily steer your analysis in the wrong direction. For instance, if you're modeling water runoff with a DSM, the presence of trees and buildings can block natural flow paths and give you a distorted result.

‍

On the other hand, if you rely only on a DTM to calculate tree height, you're missing half the picture: the elevation of the canopy itself.

‍

In many workflows, the best approach is to use both models together. By subtracting the DTM from the DSM, you can isolate the height of surface features, which is especially useful when estimating the height of vegetation or buildings.

‍

This difference has its own name in forestry. NEON is the US National Science Foundation's ecological observatory. According to NEON, a canopy height model "represents the difference between a Digital Terrain Model and a Digital Surface Model." In other words, DSM minus DTM equals CHM, and the same subtraction works for buildings or anything else standing on the ground.

‍

Mixing the two types also causes a quieter error when you compare surveys. A DSM from one month against a DTM from the next measures the vegetation and structures, not any movement of the ground. Our guide to comparing two drone surveys explains how to match surfaces between dates.

‍

Can you generate both from drone data?

‍

Yes. Most modern geospatial platforms, including Birdi (birdi.io), allow you to generate both DTMs and DSMs from a single drone capture. That means you can choose the best output for your workflow, or combine them for deeper insights, as long as you know which surface each analysis needs.

‍

For example:

‍

  • Use a DTM to measure cut and fill across bare ground
  • To calculate stockpile volumes, use a DSM measured down to a base surface
  • Use a DSM to assess vegetation encroachment or roofline views

‍

You can also visualize them side by side, layer them with basemaps, and export them for further analysis. Both are usually exported as GeoTIFF rasters, which open in almost any GIS.

‍

Contours are another common output. They can be generated from either surface, although contours from a DTM follow the ground, while contours from a DSM climb over every roof and tree. Our guide to contour lines explains how to read them.

‍

Accuracy depends on the capture as much as the model. Ground control points and RTK positioning tighten both surfaces, whereas dense vegetation loosens the DTM, because the ground under it is estimated rather than seen.

‍

Which one should you use?

‍

If your focus is on the natural shape of the land, use a DTM. If you need to see the full surface environment, including vegetation and structures, go with a DSM. And if a task depends on both, such as tree or building heights, use them together.

‍

Still unsure? Ask yourself:

‍

  • Are you measuring terrain or surface features?
  • Do you need accuracy for modeling or clarity for communication?
  • Will this data be used by technical teams, or shared more broadly?

‍

If you're ever in doubt, starting with both can give you flexibility and a clearer picture of the site.

‍

If your project managers, engineers and clients need to see both surfaces in one shared map, Birdi is a sensible option for construction and mining teams whose stakeholders are not GIS specialists. However, a surveyor who wants hands-on control of photogrammetry processing, or a GIS analyst who needs full terrain analysis, will still want desktop tools such as QGIS or ArcGIS Pro alongside it.

‍

Frequently asked questions

‍

What does DTM stand for?

‍

In mapping, surveying and GIS, DTM stands for digital terrain model. A DTM is an elevation model of the bare ground, with buildings, trees and other above-ground features removed. Outside mapping, the same three letters can mean other things, so if you meet DTM in a contract or meeting notes, check the context.

‍

What does DTM mean in construction?

‍

On construction and earthworks projects, DTM means digital terrain model: a surface of the bare ground. Engineers use it to set design levels, calculate cut and fill, plan drainage and track earthworks over time. A drone or lidar survey can produce one, and so can a ground survey of spot heights and breaklines.

‍

Is a DEM the same as a DTM?

‍

Sometimes. In the usual definitions, DEM is the umbrella term and a DTM is one kind of DEM, the bare-earth kind. However, the USGS and many other data providers use DEM to mean the bare-earth surface itself, so in their products a DEM and a DTM describe the same thing.

‍

What is the difference between a DEM and a DSM?

‍

A DSM includes everything on the ground, such as buildings and trees. A DEM is either the general term for any elevation grid, which makes a DSM one type of DEM, or, as the USGS uses it, the bare-earth surface. In the second sense, a DEM is the DSM with those features removed.

‍

How do you get a DTM from a DSM?

‍

You filter it. Software classifies the points behind the DSM as ground or not ground, removes buildings, vegetation and machinery, then interpolates a surface across the gaps. Lidar gives better results under trees because some pulses reach the ground. Under dense canopy, a photo-based DTM is partly an estimate, so check it against known ground points.

‍

Related reading

‍

‍

Sources

‍

Agencies, standards and research:

‍

  1. U.S. Geological Survey. "What is a digital elevation model (DEM)?" USGS FAQ, updated August 3, 2026. https://www.usgs.gov/faqs/what-a-digital-elevation-model-dem
  2. U.S. Geological Survey. "About 3DEP Products & Services." 3D Elevation Program, read November 2026. https://www.usgs.gov/3d-elevation-program/about-3dep-products-services
  3. Guth, P.L. et al. "Digital Elevation Models: Terminology and Definitions." Remote Sensing 13 (18), 3581, September 2021. https://doi.org/10.3390/rs13183581
  4. DeWitt, J.D. et al. "Creating high-resolution bare-earth digital elevation models (DEMs) from stereo imagery in an area of densely vegetated deciduous forest." GIScience and Remote Sensing 54 (4), 2017. https://pubs.usgs.gov/publication/70190090
  5. Geoscience Australia. "SRTM-derived 1 Second Digital Elevation Models Version 1.0." data.gov.au, updated October 2025. https://data.gov.au/data/dataset/6ca321ce-8c74-49bb-8103-107c07fdf53f
  6. National Ecological Observatory Network (NEON). "What is a CHM, DSM and DTM? About Gridded, Raster LiDAR Data." Read November 2026. https://www.neonscience.org/resources/learning-hub/tutorials/chm-dsm-dtm-gridded-lidar-data
  7. Renslow, M. et al. "Evaluation of Multi-Return LIDAR for Forestry Applications." USDA Forest Service Remote Sensing Applications Center, November 2000. https://www.fs.usda.gov/t-d/programs/im/fy00/lidar/report.pdf
  8. Jóźków, G. et al. "Experiments with UAS Imagery for Automatic Modeling of Power Line 3D Geometry." ISPRS Archives XL-1/W4, 2015. https://isprs-archives.copernicus.org/articles/XL-1-W4/403/2015/

‍

Software documentation:

‍

  1. Esri. "Lidar point classification." ArcMap documentation (ASPRS LAS codes), read November 2026. https://desktop.arcgis.com/en/arcmap/latest/manage-data/las-dataset/lidar-point-classification.htm
  2. Esri. "Creating raster DEMs and DSMs from large lidar point collections." ArcMap documentation, read November 2026. https://desktop.arcgis.com/en/arcmap/latest/manage-data/las-dataset/lidar-solutions-creating-raster-dems-and-dsms-from-large-lidar-point-collections.htm
  3. Esri. "How Does the Calculate Volume Tool in Drone2Map for ArcGIS Work?" Esri Support, last published October 1, 2025. https://support.esri.com/en-us/knowledge-base/how-the-calculate-volume-tool-in-the-drone2map-for-arcg-000015851
  4. Birdi. "What outputs are available for photogrammetry processing?" Birdi help centre, updated August 14, 2026. https://help.birdi.io/en/articles/10409970

‍

Brooke Hahn
Brooke has been involved in SaaS startups for the past 10 years. From marketing to leadership to customer success, she has worked across the breadth of teams and been pivotal in every company's strategy and success.