This calculation assumes that you are driving a car that gets 25 miles per gallon and the average cost of gas is $4 per gallon. If your car gets better gas mileage or the cost of gas is lower in your area, the cost of the drive will be lower. Similarly, if your car gets worse gas mileage or the cost of gas is higher in your area, the cost of the drive will be higher.