Fuel Cost Calculator
fuel_cost_calculatorRead-onlyIdempotent
250 miles at 30 mpg and $3.50 a gallon is $29.17 in gas. Price any one-way or round trip in mpg, L/100 km or km/L, and split the cost between passengers. Web page: https://calcbright.com/fuel-cost-calculator
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Fuel price | |
| people | No | Split cost between (people) | |
| economy | No | Fuel economy | |
| currency | No | Currency | USD |
| distUnit | No | Distance unit | miles |
| distance | No | Trip distance (one way) | |
| econUnit | No | Economy unit | mpg |
| priceUnit | No | Price per | gallons |
| roundTrip | No | Round trip? | no |