Autoexpert officially calculator to calculate distance and route. How to calculate the distance between cities and the best route by car online

27.09.2021

Calculation of the optimal route 2.0

What is this? —

Waypoints in text ()

Enter the waypoint addresses in the text box. One line - one address, addresses less than 6 characters will be ignored.
When all addresses are entered, click on the "Fill addresses from the list" link.

Entered? Now you need
Route points:

The first address in the list is the point of departure.
Address format: city, street, house, building.
Restriction - no more than 10 addresses.

Build a route

"As is" - a route will be built passing through the points in the specified order.
"Optimal" - will be calculated shortest route, through all points.


Questions? Offers? Write! —

How it works? —

Google.Maps provides a service for laying a route for given points.
When you enter multiple addresses, the script analyzes all suggested routes and chooses the way to avoid points in such a way that the total distance of the route is minimal.
Unfortunately, there is no way to influence the choice of a particular route from point A to point B.

Known Issues -

During the development and testing of this service, we encountered the following features of the Google.Maps API:

  • sometimes the Google.Maps service does not return a response, this is manifested in the stopped percentage of completion counter, this problem is solved by restarting the algorithm for calculating the optimal path;
  • although Google claims that its service can build routes that include up to 25 waypoints, in practice, building routes with no more than 8-10 waypoints works steadily;
  • unfortunately, in Russia, the map service is not able to build routes between cities;
  • some addresses are not validated - the map service returns neither success nor failure.

Development Plans -

The following functions will be added to the new editions of the optimal route calculation service:

  • building a route according to the "old" algorithm (successive selection of the next nearest point);
  • building the route "As is" for a larger number of waypoints (now the total limit is 10 waypoints);
  • visual formation of a list of intermediate points (the user marks with the mouse cursor the points that should be included in the route);
  • visual formation of the sequence of bypassing points;
  • saving the calculated route, displaying the previously calculated route by reference.
Do you have any suggestions for improving the service? We will be glad to get acquainted with them. Send them to the forum, the link to which you will find on this page, or by e-mail.

Please note that this web service only uses the capabilities of the Google.Maps API and is not a service of Integrated Programs LLC.
The proposed route is based on a Google service and may not take into account all factors affecting its length.
If you have any comments or suggestions regarding the operation of this web service, please write to us at

In addition to determining the distance between cities, the calculator shows the following travel parameters:

  • Route mileage from point A to point B (cities in Russia, CIS, Europe, Ukraine, Belarus);
  • Average travel time;
  • Intermediate points between the main stops;
  • Marks of hotels, hotels, cafes and gas stations on the map;
  • Fuel consumption depending on consumption per 100 km, gasoline costs;
  • Detailed route with display on the map;
  • List of intermediate stopping points;
  • Titles federal highways;
  • A complete list of driving directions on federal and regional highways.

Fuel consumption of a car and determining the distance between cities

In addition to the fact that the service accurately determines the distance between cities, it also plots a detailed route between cities on the map. To determine the above parameters, fill in the fields "From", "To", as well as fuel consumption per 100 km of travel and speed on the road (highways, regional, territorial), then click the "Calculate" button.

Also in the form, you can mark the cities and towns where you plan to stop or stop along the way (intermediate points). The route from one city to another will be built based on all the entered data. Additionally, by specifying the cost of fuel, the application also calculates the consumption of gasoline for the entire journey.

Online distance calculator

Results of calculating gasoline for a trip and plotting a route with distance

In addition to the results of calculating distances, the application will lay a route in the form of a blue line on the Yandex map and show the exact distance from one city (point) to another. Above the map you will see the following parameters: distance, travel time, as well as gasoline consumption. Below is a detailed list with directions of movement, taking into account federal highways. Using the buttons on the map, you can zoom in, as well as switch to satellite mode to determine your current location.

Use the "Intermediate points, speed" option to determine the route taking into account the required stops, as well as calculate the traffic parameters for each segment of the route and a separate city separately. On the right there are checkboxes for selecting hotels, hotels, cafes and gas stations to see their location on the map.

The form below allows you to make an online calculation of distances between settlements in Russia, the CIS countries and Europe, get a route by car and get a calculation of fuel consumption.

auto dispatcher

Distance and Fuel Calculator

Calculation of distances between cities and laying a route by car

Any trip by car requires you to first measure the distance between cities and plot a car route on the map. To do this quickly, simply and conveniently allows a special online service "Calculation of distances between cities".

The distance calculation service is designed to determine the route and distance between settlements, as well as the duration of the journey and fuel consumption. With it, you can calculate the distance between the cities of Russia, Ukraine, Belarus, Kazakhstan and other CIS countries, as well as Europe.

The calculation of the optimal route is performed in accordance with road maps and consists in finding the shortest, in terms of time or distance, path between two points.

Using the appropriate settings, you can build a car route according to your wishes and needs. The service allows you to exclude specific settlements and sections of the road from the calculation, as well as list intermediate points through which it is necessary to lay a route on the map. You can specify the driving speed for each type of road to get a more accurate timing.

What is good about this service?

To calculate distances between cities online, you only need access to the Internet, without installing programs, without being tied to a specific computer, anywhere where there is access to the network.

calculates international distances

You can calculate the distance on the roads not only within a certain country, but also find out the distance between cities different countries if you are planning an overseas trip.

gives accurate calculation of distances

provides additional calculation settings

You can set additional parameters for the calculation (bypassing countries, cities and highways, including certain settlements in the route, indicating the speed on different roads), and as a result, create the best route taking into account all the criteria.

Laying routes and calculating distances by road will help when planning a trip on vacation or on a business trip. If you are going on a trip abroad using your own transport, then in the service you can calculate the distance between countries.

Distance and Fuel Calculation is a useful travel cost calculation tool, with which you can easily calculate the route cost. Specify fuel consumption and price to calculate the amount of fuel needed for the entire route and its cost.

Going on vacation in your car, you get an excellent opportunity to drive around the nearby attractions. Here again, online calculation of distances and routes is useful, you can lay out in advance detailed itinerary travel and plan (in terms of time and financial costs) trips to interesting objects and cities near your holiday destination.

Using the calculation of the route between cities will also be useful when sending cargo using a transport company. With the help of the distance calculator, you can determine the mileage to your destination and estimate the cost of delivery in accordance with the tariffs of the carrier. If you yourself carry out cargo transportation, the calculation of distances is simply necessary for you.

So, what does the distance calculation service offer:

You can build an optimal route, look at the map on the map and, if necessary, print the result of the calculations. You can find the distance between two points directly or change the direct route by specifying waypoints that you need to bypass or, conversely, add and create a route with waypoints.

Find out the distance between settlements

The distance calculator between cities allows you to determine the distance between the starting point and the end point, taking into account the laid route.

Calculate vehicle fuel consumption

Get directions with timing

How to calculate the route between cities

To calculate the distance between settlements, start typing the name of the starting point of your route in the "City from" field. From the drop down list select desired city. In the same way, fill in the "City where" field and click on the "Calculate" button.

The word "city" is used only as the name of the form fields, here you can specify any settlement and, for example, calculate the distance between villages or towns, etc.

As a result, you will get the shortest distance between the two settlements that you specified. The route will be displayed on the map and in the table. The table lists the sections of the route (tracks) and indicates the distance between cities along the roads on each segment of the laid route, as well as the time and total length of the path.

Laying a route on the map

Calculation of distance and fuel

As mentioned above, the service allows you not only to determine the distance between two points directly, but also to plot a route with intermediate points and exceptions specified by you. To calculate the route of movement by car according to your parameters, open the "Advanced settings for calculating distances" window.

Calculation of car distances with additional parameters

Fill in the fields of additional settings you need.

Here you can specify the countries and cities that you want to bypass, then they will be excluded from the final route. And also list through which settlements you need to pass so that they are added to the calculation of the road route. Leave these fields blank if you only need to know the distance between two cities, just enter your departure and arrival points in the appropriate form fields.


Calculation of road distance between cities

In the advanced options window, you can change the driving speed for different types of roads to get more exact time on my way.


How to calculate the fuel consumption of a car? Fill in the form fields with your data, indicate in them the average fuel consumption of your car and the price of fuel. The service will calculate the volume and cost of fuel needed for this route and display in the table the calculation of the consumption of gasoline or diesel fuel in liters and rubles.

Online fuel consumption calculation

Well, the last setting, it allows you to calculate the optimal route by time or length. Set the value you need: "Fastest route" to get a road with the minimum travel time or "Shortest route" to calculate the shortest route by distance.

Route calculation

After the additional parameters are set, click the "Calculate" button again to calculate the distance and time for the new route.

If you want to remove specific sections of the route from your route, check the box next to them in the route calculation table and click the "Exclude marked" button. The online program for calculating distances between cities will create a route around the specified routes.


Distance in kilometers between cities

The online service "Calculation of distance between cities" offers the calculation of distances between cities by highways RF, Europe and CIS. It allows you to calculate the distance and fuel consumption in seconds, plot the shortest route and, if necessary, print the result.

Search and create public transport routes that are optimal for you FROM your location and TO the desired street or house, as well as car, bicycle and walking routes for walking.

Choose transport:

Public transport By car Bicycle On foot

Show route on the map

Route on the map of the city.

Asking how you can get there or how to get to a certain street or house in Moscow? We answer - it's very simple, find your best route around the city using the trip planner on our website. Our service will find for you up to 3 options for getting around the city of Moscow FROM your address and TO your destination. On the map with routes, click the details button (the start icon) and go to detailed description travel options. For all routes, travel time will be shown, taking into account traffic jams, numbers of buses, minibuses and other public transport.

Popular routes:

  • FROM: Moscow, Rodnikovaya street 14 - TO: Moscow, Kaluga highway, 21st kilometer;
  • FROM: Moscow, Malygina 3 - TO: Moscow, Kantemirovskaya street;
  • FROM: Moscow, Varshavskaya metro station - TO: Moscow, Kashirsky proezd, 19s1;
  • FROM: Paveletsky direction of the Moscow railway, platform Biryulyovo-Passenger - TO: Moscow, Kashirskoye highway;
  • FROM: Moscow, metro station vdnkh - TO: Moscow, Kibalchicha 9;

Users of our site often ask, for example: "How to get from the bus station to the hospital?" and so on. We decided to facilitate the search for the best route for everyone in need.

Driving along a pre-planned route is a way to eliminate the problems that may arise in unfamiliar terrain and get over the desired section of the road as quickly as possible. Do not miss the details, specify in advance on the map the direction of movement along the road and turns.

With the help of the trip planning service, you just need to enter the beginning and end of the route, then click the "Show route on the map" button and you will receive several route options. Choose the one that suits you best and start moving. There are four modes of drawing up a route - on a city public transport(including fixed-route taxis), by car, by bicycle or on foot.

The distance calculation for autotravel routes is based on Dijkstra's Algorithm. This is an algorithm that calculates the shortest path by exact coordinates. settlements and the highways laid between them received from satellites. It breaks the entire path into segments with the same type of roads, measures the sum of the lengths of the road segments of each class. And sums up the average speed on each of the existing road classes.

All calculations are done by computer. The algorithm models its own road based on the received data, but then you yourself understand that such modeling cannot be perfect. Because extraneous factors always intervene - changes in roads as a result of man-made and natural interventions, repair of highways, extraneous circumstances.

Therefore, my advice to you - when laying a route and calculating distances, calculating the required amount of fuel and preparing a travel budget - always lay in additional reserve resources - money, fuel. time and strength

How else can you get a route and calculate the distance

Those who do not like such computer calculations and do not trust such services will probably wonder what can replace the Distance Calculation Service?

What can I advise them - only three options.

1. Buy a road atlas, find out the length of the route from it and calculate the travel time, amount of fuel and the budget of the road trip manually. Here you need to look at the year of issue of the atlas. and think about what has changed on the track lately. Not an option))))

2. Lay your route on the map manually and measure its length with a thread (each bend) or with a curvimeter. Can be a line. but you know, it's more difficult. time will be spent much more. Also not an option

3. Find distances between cities and countries in the Web or reference literature and, based on these data, calculate the cost of fuel and its cost on your own or on a calculator. Travel time cannot be calculated. therefore, as a rule, the class of roads is not given in such collections. I personally don't like this option at all.

4. To go just at random, not knowing where there are gas stations, motels, roadside cafes and, most importantly, gas stations. Well ...... I sing glory to the madness of the brave))))) Especially if such madness is done when a family or a child is in the car.

Therefore, think for yourself, decide for yourself - to use the distance calculation service or not to use it. Ideal options to calculate the whole path simply do not exist!

and I'm just offering you the simplest, most time-consuming and more or less reliable way to make it easier to calculate the path of your auto trip.

Have a good road trip and easy roads!