gives the estimated time to travel from loc1 to loc2, .

Details and Options

  • The locations loci can be geographic entities, GeoPosition objects, or strings specifying addresses.
  • Possible options include:
  • TravelMethod"Driving"method of transportation to assume
    UnitSystem$UnitSystemunit system to be used in output
  • TravelTime does not take traffic into account.
  • For the default setting TravelMethod->"Driving", TravelTime assumes travel at the speed limits for roads.
  • TravelTime[loc1,loc2] is equivalent to TravelTime[{loc1,loc2}].
  • TravelTime[loc2,loc1] is not necessarily the same as TravelTime[loc1,loc2] as a result of one-way streets and similar issues.


open allclose all

Basic Examples  (1)

Compute an estimation of the duration of a trip:

Scope  (4)

Time to travel between two geographic locations:

Use GeoPosition objects to define locations:

Compute time to travel through several locations:

Specify locations as addresses:

Options  (2)

TravelMethod  (1)

TravelTime uses "Driving" as the default method of transportation:

Use "Walking" instead:

UnitSystem  (1)

Specify the unit system of the result:

Properties & Relations  (1)

Compute the estimated travel time between two locations:

It can also be computed with TravelDirections:

Or as a property of a TravelDirectionsData object:

Wolfram Research (2015), TravelTime, Wolfram Language function,


Wolfram Research (2015), TravelTime, Wolfram Language function,


@misc{reference.wolfram_2020_traveltime, author="Wolfram Research", title="{TravelTime}", year="2015", howpublished="\url{}", note=[Accessed: 13-May-2021 ]}


@online{reference.wolfram_2020_traveltime, organization={Wolfram Research}, title={TravelTime}, year={2015}, url={}, note=[Accessed: 13-May-2021 ]}


Wolfram Language. 2015. "TravelTime." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2015). TravelTime. Wolfram Language & System Documentation Center. Retrieved from