油费计算器公式

## How to Calculate Gas Cost

Divide the trip distance by your MPG to find gallons needed, then multiply by the gas price.

### Formula

**Gallons = Distance / MPG**

**Fuel Cost = Gallons x Price Per Gallon**

计算示例

300-mile trip in a car getting 28 MPG with gas at $3.50/gallon.

  1. Gallons needed = 300 / 28 = 10.71 gal
  2. Fuel cost = 10.71 x $3.50 = $37.50
  3. Cost per mile = $3.50 / 28 = $0.125