Open the app

How RideAnimator calculates curvy roads: curve value, road types and riding time

In short: For every road in Europe, the US, Canada, Alaska, Mexico, Argentina, Chile, South Africa, Morocco, Japan, Australia and New Zealand, RideAnimator measures how tight and how frequent its bends are. That gives a curve value. The planner prefers roads with a high value, and each ride’s profile shows its share of curvy miles.

The data

The basis is OpenStreetMap. From the Geofabrik extracts we built our own road network for Europe, the contiguous US, Canada, Alaska, Mexico, Argentina, Chile, South Africa, Morocco, Japan, Australia and New Zealand, split into about 62,000 tiles. Besides length and road class, every road has three values of its own: curve value, share inside towns, and surface. Alaska, Hawaii and the Canary Islands are not covered yet.

How the curve value is calculated

  1. We sample every road every 15 m (49 ft).
  2. At each point we calculate the curve radius from the points 30 m before and after.
  3. Each radius gets a weight: under 30 m counts 2.0, up to 60 m 1.6, up to 100 m 1.3, up to 175 m 1.0. From 175 m the road counts as straight and scores 0.
  4. We average these weights over a 600 m window, so a single hairpin counts less than a string of bends.
  5. Motorways, ramps and roundabouts get no curve value.

A value of 0 means straight. From about 0.5 a road is very curvy, from 0.75 extreme. Mountain passes usually score between 0.5 and 0.8.

Curvy share in the ride profile

Every ride shows what percentage of its distance is curvy. Curvy here starts at a curve value of 0.15, so sweeping country roads count too, not only tight hairpins. Some measured roads for comparison:

RoadCurvy share
B 10 and B 27 (lowland federal roads)0 to 1 %
Black Forest High Road B 50022 %
Highway 1 at Big Sur41 %
Kesselberg (Kochel am See)61 %
Grossglockner High Alpine Road74 %
Stelvio Pass79 %
Tail of the Dragon (US 129)85 %

Road types in the planner

  • Fast: the quickest way, motorways allowed.
  • Country roads: the default, no motorways.
  • Curvy: the planner calculates several variants and picks the one with the highest curve value, few town crossings and a limited detour. A road counts as curvy here from a curve value of 0.56, meaning tight bends.
  • Extra curvy: like Curvy, with a larger allowed detour.
  • Avoid towns: we know each road’s share inside towns and route around 30 km/h zones and traffic lights where possible.
  • Avoid gravel: unpaved roads are left out.

For recorded community rides the road type is assigned automatically: from 60 % curvy share Extra curvy, from 35 % Curvy, with more than 30 % motorway Fast.

How we estimate riding time

Riding time uses average speeds from experience: 55 km/h (34 mph) on country roads with up to 10 % curvy share, dropping to 40 km/h (25 mph) from 80 %, 100 km/h (62 mph) on motorways and 30 km/h (19 mph) in towns. Add 5 minutes per 1,000 m (3,280 ft) of climbing. Breaks, photo stops and traffic are not included.

Limits of the method

  • OpenStreetMap is only as good as its contributors. If a road is missing or wrongly mapped there, it is missing for us too.
  • The curve value measures the shape of the road, not its condition. It knows nothing about potholes, loose gravel or roadworks.
  • Motorcycle bans and winter closures are on our route pages, but not all of them are in the planner yet. Check the current situation before you ride.