Hi Senavi
Do you already have access to a tool, like MapInfo Pro or Spectrum Spatial Analyst?
Do you have access to a road network?
Typically, youu would use a Routing Tool for this. That could be MapInfo RouteFinder or the Enterprise Routing Module for Spectrum Spatial.
You could also use our GeoAPI's. We have a service called GeoRoute that can do this: https://locate.pitneybowes.com/georoute
The GeoAPIs are intended to be built into a existing or new tool, a web site or even an enterprise system.