# Average speed calculation for different periods of time

**URL:** <https://ask.openrouteservice.org/t/average-speed-calculation-for-different-periods-of-time/4652>\
**Category:** openrouteservice\
**Created:** [March 13, 2023, 6:33pm UTC](https://ask.openrouteservice.org/t/average-speed-calculation-for-different-periods-of-time/4652 "2023-03-13T18:33:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenanmenguc](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/kenanmenguc/32/2168_2.png) [@kenanmenguc](https://ask.openrouteservice.org/u/kenanmenguc)\
**Post date:** [March 13, 2023, 6:33pm UTC](https://ask.openrouteservice.org/t/average-speed-calculation-for-different-periods-of-time/4652/1 "2023-03-13T18:33:30Z")

</div>

I need a reference for calculating average speed, specifically for determining the average speed of a route over different time periods such as monthly, weekly, yearly, or hourly intervals. Can you recommend any resources? And how you calculate avr\_speed ?

---

<div class="post-metadata">

**Author:** ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)\
**Post date:** [March 14, 2023, 9:51am UTC](https://ask.openrouteservice.org/t/average-speed-calculation-for-different-periods-of-time/4652/2 "2023-03-14T09:51:56Z")

</div>

Hey,

I couldn’t see any relatin to the topic this was posted in, so I moved it to a new topic 🙂  
In general, the average speed of a route should be easily calculable from the distance and duration.

What do you mean by calculating the average speed

> over different time periods

Is this asking for the same average speed, just for a different time of request, so e.g. the same start and end points, but calculated once in summer and once in winter?

Best regards

---

<div class="post-metadata">

**Author:** ![kenanmenguc](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/kenanmenguc/32/2168_2.png) [@kenanmenguc](https://ask.openrouteservice.org/u/kenanmenguc)\
**Post date:** [March 14, 2023, 2:12pm UTC](https://ask.openrouteservice.org/t/average-speed-calculation-for-different-periods-of-time/4652/3 "2023-03-14T14:12:04Z")

</div>

I thank you for your interest.

My question is as follows: You measure different speeds for different sections of the same road.

I understand that you have historical data for this measurement.

This historical data is used except for the type of road and its location for prediction.

There is no real-time data for measurements outside of Germany. So, how long does this historical data include? I would like to learn this.

Best kenan
