Taxi calculation per km

Hi, I wanted to know if anyone could help me to integrate in my website a taxi calculator. The client will put his start address and end address and with the number of km, a price will come out, and then he can buy the fare from the website.
Here is an example:

Thank you