The Real Cost

2026 Hyundai Elantra

12.4 gal tank · 31 MPG · manufacturer spec

$64–$75

typical fill → full tank · 12.4 gal

At $6.07/gal, this tank gets you about 384 miles.

Source: EIA · Updated September 21, 2026

12-week state trend

+$0.83 over 12 wk

Local context

San Francisco runs at $6.07/gal this week — about 35.6% above the U.S. average of $4.48. At this price the 2026 Hyundai Elantra's 31 MPG returns roughly 5.1 miles per dollar (32.3 gallons per 1,000 miles).

At a typical 12,000 miles a year — the U.S. driving average — a San Francisco driver spends about $2,350 on gas in this car (use the calculator for your own mileage). For the same car, $2,324 in California (priciest reporting state at $6.00/gal) vs. $1,521 in Texas ($3.93/gal). $803 swing.

By the numbers

Fill cost

$64–$75

typical → full · 384 mi/tank

Per gallon

$6.07

EIA weekly — San Francisco

Monthly · 12k mi/yr

$195.84

32.3 gal

Annual · 12k mi/yr

$2350

387 gal

The math

Why it costs what it costs.

  • Fill cost = 12.4 gal × $6.07/gal = $75.28
  • Miles per tank = 12.4 × 31 = 384
  • Annual @ 12,000 mi (typical) = 12,000 ÷ 31 × $6.07 = $2350

Want to customize miles per year or override the pump price you saw? Use the full calculator.