How to make an elevation profile online
- Drop a GPX, KML or KMZ file on the map, or choose it from your device. To plan a new route, click Draw a line, click points on the map, then click Finish line.
- If the file has more than one line, pick the one you want from the Line list.
- Read the chart below the map. Move the mouse or your finger along it to see the elevation, distance and grade at each point, and where that point is on the map.
- Click Download CSV for a table you can open in Excel, or Download PNG for an image of the chart.
What is an elevation profile?
An elevation profile is a chart of the height of the ground along a line. Distance along the line runs across the bottom and elevation runs up the side, so the chart looks like the line seen from the side. Hikers, runners and cyclists use it to see where the climbs are on a route. Surveyors and engineers draw the same kind of chart, often called a cross-section, along a planned road, pipe or power line.
The vertical scale of a profile is almost always stretched. A climb of 300 m over 10 km is a gentle 3% grade, but drawn at true scale it would be a nearly flat line. This chart fits the elevation range to its height, so hills look steeper than they are. Read the grade figures for the real steepness.
Where the elevation comes from
| Your line | Elevation used |
|---|---|
| GPX track recorded by a watch, phone or GPS device | The elevation stored at each point. You can switch to terrain data |
| KML or KMZ path saved from Google Earth | Usually terrain data, because Google Earth paths clamped to the ground are saved with an altitude of 0 |
| GPX route planned in an app, without elevation | Terrain data |
| A line you draw on the map | Terrain data |
Terrain data comes from Terrain Tiles on AWS, an open dataset that combines public elevation models such as USGS 3DEP in the United States, SRTM and GMTED2010. It describes bare ground heights, so bridges, tunnels, buildings and trees are not in it. The page samples the line at regular steps, up to 1,000 points, and reads the elevation at each one.
How the figures are calculated
- Distance: measured along the line on a sphere. It does not add the extra length from climbing.
- Elevation gain and loss: the sum of every rise and every drop between the points on the chart, with no smoothing. GPS elevation is noisy, so a recorded track usually shows more gain than the terrain data for the same route.
- Highest and lowest point: the largest and smallest elevation on the chart.
- Steepest climb and descent: the largest grade over any stretch of at least 100 m, as a percentage (rise divided by distance).
Elevation profile in Google Earth Pro
Google Earth Pro on the desktop can show a profile for a path. According to Google's help page, you draw or open a path, then click Edit and Show Elevation Profile. The profile appears in the lower half of the 3D viewer. If the elevation reads 0, Google says to make sure the terrain layer is turned on.
The help page does not describe a way to export the profile. To get the numbers into Excel, save the path as a KML or KMZ file in Google Earth Pro, open that file here and click Download CSV.
What this tool does not do
- It does not combine several lines into one profile. Pick one line at a time.
- It does not read FIT or TCX files. Export the activity as GPX from your app first.
- It does not show heart rate, speed or time on the chart.
- It does not draw contour lines. Our article What is a contour map explains where to get them.
To see every track, route and waypoint in a GPX file on a map, use the GPX viewer. For a Google Earth file, the KML and KMZ viewer shows placemarks and their descriptions.
Frequently asked questions
How do I make an elevation profile online?
Open a GPX, KML or KMZ file on this page, or click Draw a line and click points on the map. The chart, the elevation gain and loss, and the highest and lowest point appear below the map.
Where does the elevation come from?
If your file has an elevation for its points, the chart uses those values. If it does not, or if you draw a line, the elevation is read from Terrain Tiles, an open elevation dataset on AWS built from USGS, SRTM and other public sources. You can switch between the two when your file has both.
How accurate is the elevation?
Terrain data describes the bare ground on a grid, often about 30 m apart outside the United States, so small bumps are smoothed out. Bridges, tunnels and buildings are not in it: a road over a bridge follows the ground below. GPS elevation from a phone or watch can be off by tens of metres. Use the chart to see the shape of a route, not for engineering work.
Why is my elevation gain different from Strava, Garmin or my app?
Apps filter small ups and downs, use a barometer or correct with their own terrain model. This page adds up every rise between the points it shows, so its totals can be higher or lower than an app's.
Can I export a Google Earth elevation profile to Excel?
Google's help pages describe how to show the profile in Google Earth Pro but not how to export it. Save the path from Google Earth as a KML or KMZ file, open it here and click Download CSV. The CSV opens in Excel.
Is my file uploaded?
No. The file is read by your own browser and is not sent to our server. Our server only logs that the tool was used, never the file name or contents. To read terrain elevation, your browser downloads elevation tiles for the area of your line from AWS. The map background loads from OpenStreetMap or Esri. We use Microsoft Clarity to see how visitors use this page; text from your file is masked in its recordings.
More GaleriGIS tools
- KML to SHP converter
- SHP to KML converter
- KMZ to SHP converter
- SHP to KMZ converter
- KMZ to KML converter
- KML to CSV and Excel converter
- KMZ to CSV and Excel converter
- CSV and Excel to KML converter
- GeoJSON to SHP converter
- SHP to GeoJSON converter
- GeoJSON to KML converter
- KML to GeoJSON converter
- DWG to KML converter
- DWG to SHP converter
- DXF to KML converter
- DXF to SHP converter
- UTM zone detector
- UTM, lat long and DMS converter
- KML and KMZ viewer
- Shapefile viewer
- GPX viewer