The calculated MPG of a vehicle is done by the MAF. Not entirely accurate and is never spot on. It also varies from car to car as fuel trims are different. It also doesn't take into account enrichment during PE or AE.

Just do it by hand instead of watching an inaccurate gauge float all over the place.

My car thought I got 31MPG on my trip Wednesday. By hand I got 33MPG.