The following formula is used to calculate your annual fuel cost of driving:
\[ C = \frac{M}{\text{mpg}} \times g \]
Where:
An annual fuel cost is defined as the total cost spent on fuel during a year.
Let's say you drive 12,000 miles in a year, your car gets 25 miles per gallon, and the average cost of gas is $3.00 per gallon. To calculate your annual fuel cost, you would use the formula:
\[ C = \frac{12,000}{25} \times 3 \]
Calculating this, you get:
\[ C = 480 \times 3 = 1,440 \]
Therefore, your annual fuel cost would be $1,440.