What are the key differences between DEM, DSM, and DTM?

A DSM (digital surface model) shows the tops of buildings, trees and other features above the ground. A DEM (digital elevation model) usually means bare-earth elevations on a regular grid. A DTM (digital terrain model) varies: in some countries it is a bare-earth grid like a DEM; in US usage it is breaklines and mass points, not a grid.

DEM vs DSM vs DTM compared

USGS notes that DEM is also used as a generic term for elevation data in all its forms, and that grid spacing, datum, coordinate systems and formats vary widely. Read the metadata rather than relying on the label.

TermWhat it representsTypical structure
DEMBare-earth ground, without vegetation or buildings, unless a source calls it a DSMElevations at regularly spaced intervals (a raster grid)
DSMTop surfaces of buildings, trees, towers and other raised featuresSimilar to a DEM
DTMBare-earth terrainSome countries: a raster grid like a DEM. US usage: vector 3D breaklines and regularly spaced 3D mass points

TIN vs raster grid for DEM and DTM data

A raster stores one value per cell in an array of cells. A TIN (triangulated irregular network) is a vector structure that divides the area into contiguous, nonoverlapping triangles connecting irregularly spaced points. USGS DEMs were historically derived from topographic maps and are being replaced with DEMs from high-resolution lidar, and IfSAR in Alaska.

When you request a file, name what you need: bare earth or surface, grid or TIN, plus units, datum and coordinate reference.

Checked 2026-11-02.