View Single Post
Old 05-07-2009, 08:06 PM   #10 (permalink)
tasdrouille
Master EcoModder
 
tasdrouille's Avatar
 
Join Date: Jan 2008
Location: Mirabel, QC
Posts: 1,672

The Guzzler - '08 Hyundai Elantra GL
90 day: 33.12 mpg (US)

Got Soul? - '11 Kia Soul 2U
Thanks: 35
Thanked 86 Times in 57 Posts
Quote:
How can I figure out average cost of gallon when I paid 1 gallon at a different rate? For example, 1 gallon at 4.39 and 10.25 gallons at 3.99.
A gal at $B and C gal at $D

(A*B+C*D)/(A+C) = Average cost per gallon

In your example (4.39+3.99*10.25)/11.25 = 4.03
__________________



www.HyperKilometreur.com - Quand chaque goutte compte...
  Reply With Quote