You need total distance, vehicle fuel economy, fuel price and whether the trip is one way or return. Multiply distance by consumption per unit, then by price.
Enter those values in the Road Trip Fuel Cost Calculator to see total fuel, total cost and cost per mile.