We recently released a new elevation look-up service powered by data from the Strava community. You can learn more about it here.
Strava uses a variety of methods to calculate elevation. This article goes over frequently asked questions and outlines how we calculate elevation in different scenarios.
- How elevation is calculated on segments, activities, and routes
- The details
How Elevation is calculated
It is important to remember that elevation data from all sources (barometric altimeters, GPS signals, and databases) is subject to error and that the elevation gain for an activity is an estimate. We are always working on improving our elevation data sets and algorithms.
Elevation on a segment
Segments are always created from a Strava activity and as a result, they inherit some of that activity's characteristics.
- If the original activity was recorded by a GPS device with a barometric altimeter, the segment will use the barometric data recorded by that device.
- If the original activity was not recorded by a barometric device, or if a Strava admin has rebuilt the elevation for that segment, then we will cross-reference the GPS data to Strava's elevation basemap in order to find the elevation.
Elevation on an activity
Elevation on activity pages will be calculated in one of two ways: cross-referencing the GPS data to a database or by using the barometric data in the original file.
- Device with barometric altimeter: If the GPS device used to record your activity has a barometric altimeter, Strava will use the elevation data in the original file. We do some smoothing to the data, which includes discarding outliers to reduce noise. The amount of smoothing is less on activities with barometric data than it is for activities without barometric data. If your device has a barometric altimeter, but your elevation is being recalculated, please refer to this FAQ.
- Device without a barometric altimeter and the Strava mobile app: If your activity was recorded with the mobile app or with a GPS device that does not have a barometric altimeter, Strava will use your activity's GPS data to "look up" the elevation for each point you record. We do some smoothing to the data, which includes discarding outliers to reduce noise. The amount of smoothing is more on activities without barometric data than it is for activities with barometric data. While we attempt to match the path of your activity with the actual trails and roads in the area, elevation calculation is still somewhat dependent on your GPS data and accuracy of the database for that region.
Elevation on a route
Our Strava Route Builder uses our own personal database to calculate elevation data. The GPS data of the route gets cross-referenced to this database when Route elevation is calculated.
Why is my activity's elevation different than my friend's?
Even though you may have done the exact same ride as your friend, each GPS devices will record its own unique set of data. This GPS data will always be different because of the inherent variables involved in recording GPS data: recording interval (the time between GPS points), signal strength, GPS hardware, etc. The differences in the GPS data may cause differences in the calculated elevation data.
Another source of confusion is comparing elevation data from an activity with barometric data to that of an activity that has gone through our correction process. Both are accurate ways of totaling elevation for GPS data, but the 'corrected' data is getting cross-referenced to the elevation basemap whereas the barometric elevation is being pulled from the data the barometric altimeter recorded into the file.
Why is my activity's elevation different than the route I created?
You may see differences when comparing a route to an activity using barometric data. Routes and activities recorded without a barometric altimeter will both reference Strava's Elevation Basemap but the elevation calculations will only be as good as the GPS data recorded. For more information, see this section of our elevation article.
My device has a barometric altimeter, why is Strava recalculating the elevation?
If you recorded your activity with a GPS device that has a barometric altimeter, but Strava isn't using that data, it's possible that device is not yet in our database or that the file you uploaded is missing a Device ID. We occasionally see this when activities get synced through 3rd parties so if you know the device is in our database, please try uploading the original file from the device. If you still have questions, please submit a support ticket and include a link to the Strava activity.
How do you calculate elevation gain?
Elevation data on Strava is smoothed to take out noise— we have a 'threshold' where climbing needs to occur consistently for more than 10 meters for activities without strong barometric data or two meters for an activity with barometric data before it is added to the total elevation gain. If we did not have this threshold, the elevation numbers would be inflated for longer activities. This gain threshold applies for both rides and runs.
My friend and I are using the same GPS device, but our elevation is different for the same ride—why?
Please refer to this section of our elevation article.
Why does Strava recalculate my elevation data? My device records its own data.
Because elevation data derived from a GPS signal is fairly inaccurate, Strava automatically corrects elevation derived from a GPS source by consulting elevation databases to determine the elevation at each point in the activity. Our thresholds and smoothing process may differ from that of the other platform or GPS device.
The data recorded by my barometric altimeter is wrong, can I correct this?
If you suspect that your elevation data is incorrect, you can request an elevation lookup. Click on the "Elevation?" text under the elevation statistic in the overview (shown below). A dialogue pops up with a button to "Correct Elevation." This button will only appear for data collected with a barometric altimeter (or in rare cases where a previous automatic elevation correction failed.) After a short while, the "Calculating" text will change to "Updated," and if you click on "Updated" your page will refresh with the new elevation data. While it is possible to revert back to the barometric data, this will require your activity to be reuploaded and you will lose any kudos/comments on that activity.
I don't see an option to correct my elevation.
This means that your activity has already been corrected by cross-referencing your GPS data to an elevation database.
Can I edit the elevation on my activity?
No, it's not currently possible to make a manual edit to the elevation on an activity.
Can I input elevation for manual activities?
Yes, you can now input elevation for manual activities.
What does the Elevation Difference statistic mean on the segment page and on my activity page?
This is the difference between the highest and lowest point of that segment.
In the past, we consulted public elevation databases to determine the elevation at each point in the activity. The resolution of these databases varied based on location and we were not able to control for the many errors in these databases. We now have an elevation look-up service powered by data from the Strava community. Each activity that is uploaded from a device with a barometric altimeter is used to build the new Strava elevation basemap.
To account for inherent variability in GPS data, we use an algorithm to ensure that we are "looking up" the elevation for the road or trail you were actually on. The red line in the image below is an example of GPS data that is drifting off the actual trail (represented in blue). Our algorithm has recognized this and will use the elevation data represented by the blue line instead of the actual, and slightly "off," GPS data.
Limitations of the Strava elevation basemap
There may not be basemap data available for all or part of your activity. In this case, we will use a public database to look up your elevation data. A dense road network or poor quality GPS data could also prevent us from choosing the correct reference points in the basemap or public database.
Please refer to our official announcement here.
Barometric altimeters determine altitude by measuring atmospheric pressure. Measurements can be affected by changes in the weather or the sensor holes getting blocked by water or other debris. Device manufacturers may provide basic calibration procedures. For example, Garmin devices with barometric altimeters allow a certain number of manual elevation points to be set; starting an activity near an elevation point causes the device to use the known elevation as the starting point. Consult the manual for your device to learn about calibration procedures. We generally consider the data from barometric altimeters to be of higher quality than the data derived from GPS signals and prefer that when processing activities.
Typical problems with barometric devices:
The elevation profile looks like it is drifting over time. This can happen with barometric altimeters as the weather changes (eg. the atmospheric pressure rises or drops, causing the altimeter to measure as though it is at a lower or higher altitude).
Other Known Issues and Problematic Terrain:
- The activity has areas where the elevation is zero or is very linear. This can happen when crossing bridges or through areas that don’t we don’t have coverage for. Coast lines can be particularly problematic. We attempt to fill in the data by interpolating data; the interpolation depends on where the missing data begins and ends.
- The elevation profile has climbs, but the elevation gain is very small. We smooth the data before calculating gain and depending on the resulting data, elevation changes may not be enough to pass a threshold that we use for determining whether or not you have gained elevation.
- The elevation profile has climbs, but the elevation gain is very large. This often happens with activities recorded in mountainous areas outside of the US. The resolution of the data sets can be coarse and the profile may be bumpier than it should be even with interpolation and smoothing. Sometimes they are so coarse it's like trying to find a smooth elevation profile over a lego block model of your area. These bumps may pass the threshold in gain calculations and the total gain from the bumps may add up to more than the gain that was perceived on the ride.
Strava hosts a variety of athletic challenges for our athletes, some of which have elevation/climbing goals. Due to the high visibility of these challenge leaderboards, elevation based errors will surface more easily than they would normally. As mentioned above, there are many uncontrollable variables involved in calculating elevation gain. These variables can lead to exaggerated elevation totals, particularly if the activity takes place in an international, mountainous or coastal region. If you notice activities with inaccurate elevation gain, please do not flag them. Most of the time this is a result of poor database resolution, which is out of the athlete's control. If you have a question about a specific activity, or feel you've found an activity that is far too distorted, please submit a support ticket so we can take a look.