# How does Salesforce Field Service calculate travel time and routing between appointments, and what settings affect accuracy?

**Topic:** Field Service · **Difficulty:** Medium · **Asked at:** Capgemini, Infosys, Wipro · **Tags:** Travel Time, Routing, Geocoding, Scheduling

Read it on the site: https://www.forcechallenges.com/interview-questions/how-does-salesforce-field-service-calculate-travel-time-and-routing-between-appointments

## Answer

Travel time is calculated between consecutive appointments and from the technician's home base, so schedules stay realistic.

**Inputs**
- **Geocoded addresses** (latitude and longitude) for the technician's home base and for each appointment.
- The **travel speed** settings, with a default average speed that can be adjusted.
- The order of appointments in the day.

**Calculation**
- By default, the engine estimates distance from coordinates (a straight-line style estimate) and divides by the configured speed.
- For better accuracy, **street-level routing** can be enabled, which uses road data for time and distance.
- Travel before the first and after the last appointment depends on the home base.

**Why it matters**
- It drives the **Minimize Travel** objective and the Max Travel From Home rule.
- Bad coordinates or unrealistic speed settings cause late arrivals and overbooked days.

**Checklist:** verify geocoding, set realistic speeds by territory, and compare planned with actual travel time after go-live.

---
Source: ForceChallenges · last updated 2026-10-31
