Route between addresses
What this tool does
This tool calculates the driving route details between two addresses. It provides the travel time, distance, estimated fuel usage, and estimated fuel cost.
Please note that the results use a fixed driving model. The fuel consumption is assumed to be 5 liters per 100 kilometers, and the fuel price is based on the value you provide. Tolls are not included in the cost.
Common uses
- Estimating travel time and distance for a planned drive between two locations.
- Calculating the estimated fuel cost for a trip based on your vehicle's consumption and current fuel prices.
- Comparing the distance between different starting or ending points.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
address1 | Yes | Mallorca 120, 08036, Barcelona | Enter the starting address as plain text (e.g. 'Mallorca 120, 08036, Barcelona'). This field is required. |
address2 | Yes | Mallorca 70, 08036, Barcelona | Enter the destination address as plain text (e.g. 'Paris'). This field is required. |
fuel_consumption | Yes | 5 | Enter the fuel consumption rate in liters per 100 kilometers (e.g. '5' or '4'). This field is required. |
price_liter | Yes | 1.2 | Enter the price of fuel per liter in euros (e.g. '1.2'). This field is required. |
Output data
| Field | Description |
|---|---|
cost | The estimated fuel cost in euros, calculated based on the distance and the price you provided (e.g. '12.50'). |
destination | The normalized destination address as recognized by the platform (e.g. 'Paris, France'). |
distance | The driving distance in kilometers (e.g. '680.00'). |
duration | The estimated driving time in minutes (e.g. '450'). |
fuel | The estimated fuel consumption in liters for the trip, based on the fixed rate you entered (e.g. '34.00'). |
source | The normalized starting address as recognized by the platform (e.g. 'Carrer de Mallorca, 120, 08036 Barcelona, Spain'). |