I came up with my idea and wrote it in as a comment. I will attempt to write a little formula to calculate how many gallons of gas you will need to get where you are going and how much it will cost you.