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