From Phillip Thomas:
Want to keep track of your fuel economy? Driving on a long trip and refueling every few hours? Just take out your iPhone, open MPG Lite and enter how many gallons it took to fill up and your Trip reading. MPG Lite will calculate your fuel economy in miles per gallon or litres per hundred kilometers. You can also save the entry to a log so you can track your economy over time.