Use this formula:
Look at your door sticker and find out what your stock tire size is. It'll probably be in metric so convert it to inches and find the diameter of your tire.
If they're 235 75 R15s, take (235 / 25.4) = 9.25" (tires are 9.25 inches wide)
Then 9.25 * .75 = 6.94" (tires sidewalls are 6.94")
The diameter would be 6.94 * 2 (since there are two sidewalls) + 15 for the rim.
Diameter = 28.88"
Now take a ruler and measure your current tire, don't believe what's written on it. My 30" x 9.5" tires are only 28" in diameter.
Take whatever that is, lets say it's 31.5"
Your speedometer is calibrated for 28.88"
If it says 70mph, you're really going 70 * (31.5 / 28.88) or ~76mph.
If your tripometer says you just traveled 30 miles, you really traveled 30 * (31.5 / 28.88) or ~33 miles.
If you went 400 miles on a tank with 32 gallons and you calculate 12.5 mpg, recalculate it with the above info. That means you really went 436 miles and got 13.6mpg.
Also, if you changed your rear end, factor that into the equation too the same way.
Like if you had a 3.5
stock and change it to a 4.1, just add that in.
400 miles on the tripometer on a tank of gas.
400 * (31.5 / 28.88) * (3.5 / 4.1) = 372.4 actual miles on a tank of gas, which would mean you'd be getting 11.6mpg when it reads 12.5.