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

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

Got Soul? - '011 Soul 2U
Thanks: 35
Thanked 65 Times in 40 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