Take the mileage of the total distance of your trip and divide it by your miles per gallon to get the number of gallons of gas you will need on your trip. Then multiply that figure by the current price of gas, and the result is the estimated cost of gas for your road trip.