General Vehicle Related Topics (Non Year Related) If topic doesn't apply to Toyotas whatsoever, it should be in Off Topic

Calculate your miles per gallon

Thread Tools
 
Search this Thread
 
Old 04-28-2006, 04:44 PM
  #1  
Co-Founder/Administrator
Staff
Thread Starter
iTrader: (1)
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 32,242
Received 19 Likes on 15 Posts
Calculate your miles per gallon

https://www.yotatech.com/mpg/mpg.htm

Found some code on the 'Net.
I check my mileage each @ fillup.
Been keeping records since November of 1998 with the 4Runner.

I write down the miles each fillup, see how far I drove between fillups, then devide it by the number of gallons, then I get my result.

This calculator does the same.
Old 04-28-2006, 04:57 PM
  #2  
Contributing Member
 
Tacoma Dude's Avatar
 
Join Date: Mar 2003
Location: Orange County, CA
Posts: 8,345
Likes: 0
Received 0 Likes on 0 Posts
What would be REALLY impressive is if you could code the differences from OEM tire size to the new tire size and then get the REAL mileage

Actually this is still a good link to keep around, thanks!
Old 05-02-2006, 12:37 PM
  #3  
Registered User
 
4RUNN!N's Avatar
 
Join Date: Dec 2005
Location: San Jose, CA
Posts: 175
Likes: 0
Received 0 Likes on 0 Posts
Thats a nice way to keep track of mileage, but I use gasbuddy.com to log my mileage. You can also keep track of gas prices on that site.
Old 05-02-2006, 02:18 PM
  #4  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by Tacoma Dude
What would be REALLY impressive is if you could code the differences from OEM tire size to the new tire size and then get the REAL mileage

Actually this is still a good link to keep around, thanks!
Still in progress...
http://midiwall.com/4Runner/mpg.html
Old 05-02-2006, 02:41 PM
  #5  
Sponsor
 
Tofer's Avatar
 
Join Date: Jul 2004
Location: Puyallup WA.
Posts: 9,173
Received 6 Likes on 5 Posts
midi: according to that i will get better gas milage by going to 33s.. is that right?
Old 05-02-2006, 02:59 PM
  #6  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by ToferUOP
midi: according to that i will get better gas milage by going to 33s.. is that right?
Wow... you have me re-thinking this Chris.


Ummm... The ledgend is mis-worded (I'll figure out something better). The point is that "stock" is what the speedo/odometer is calibrated for.

lesse... if you're calibrated for 30.6 (265/70R16), and you're running 31.6 (265/75R16), then the odometer is 3% _low_. When you do the normal mileage math, you need to multiply the result by 1.03.

So the point isn't that you'll get better mileage by going to a larger tire, it's that the odometer is farther off as you go up.
Old 05-02-2006, 03:04 PM
  #7  
Banned
 
garrett1478's Avatar
 
Join Date: Jan 2005
Posts: 0
Likes: 0
Received 0 Likes on 0 Posts
you might want to put in some if thens or something so if the modified field is left blank, it will only use the stock tire size field (1:1 ratio), instead of having people put in 30.6 as the "modified tire size"

other than that, very cool.
Old 05-02-2006, 03:13 PM
  #8  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by garrett1478
you might want to put in some if thens or something so if the modified field is left blank, it will only use the stock tire size field (1:1 ratio), instead of having people put in 30.6 as the "modified tire size"

other than that, very cool.
Good one... done!
Old 05-02-2006, 03:17 PM
  #9  
Sponsor
 
Tofer's Avatar
 
Join Date: Jul 2004
Location: Puyallup WA.
Posts: 9,173
Received 6 Likes on 5 Posts
cool.. it still saying i will be getting 1 mpg better by going to 33s... is that right? i thought you got worst mileage wiht a bigger tire
Old 05-02-2006, 04:13 PM
  #10  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by ToferUOP
cool.. it still saying i will be getting 1 mpg better by going to 33s... is that right? i thought you got worst mileage wiht a bigger tire
I think you're looking at the tool a bit sideways..

This isn't predicting the mileage that you'll get with larger/smaller tires - it's correcting for the odometer not being calibrated to the tires that you're running.


Lemme try it from the mechanical side.

The odometer (and speedo) are tracking based on the number of turns the driveshaft makes (or depending on the vehicle, the wheel hub, or some object point in the transmission). It's calibrated at the factory to know what tire size you have, so it will show the right mileage/speed. The calibration is a ratio between the turns of the "thing" (driveshaft or otherwise) and the distance moved in one rotation of the tire. If you change the diameter of the tire, then you will affect this calibration.

Here's a random example...

Say your stock tire is 30.6" in diameter (265/70R16). That means that for each rotation of the tire, you will move 96.13". Since this is "stock" the odometer will be calibrated to that value.

Now, if you put on 31.6" tires (265/75R16), each rotation will move you 99.27", or appx 3" more. But, since the odometer still thinks you're moving 96", it'll be off by about 3%. So, it will read 100 miles when you've actually traveled 103 miles.

The amount of fuel required to rotate this new tire may or may not change - that depends on a lot of things like friction, which is a matter of tire compound, contact area, tread type, road conditions, etc.

So this calculator won't tell you about what mileage you'll get with a certain size tire, it will only correct for the mileage error induced by moving away from the stock tire size.
Old 05-03-2006, 07:51 AM
  #11  
Contributing Member
 
brandontrek's Avatar
 
Join Date: Apr 2005
Location: Miami FL
Posts: 1,240
Likes: 0
Received 0 Likes on 0 Posts
this is awsome...
Old 05-03-2006, 09:36 AM
  #12  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by brandontrek
this is awsome...
Mine? Corey's?

Either way, thank you to Corey for the base idea & code.

Anything else that you'd like to see in there? Is it worthwhile to allow metric tire sizes or are people comfortable with just jamming values in inches?
Old 06-01-2006, 03:22 PM
  #13  
Contributing Member
 
boogyman's Avatar
 
Join Date: Jul 2003
Location: Sacramento, CA
Posts: 662
Likes: 0
Received 0 Likes on 0 Posts
wouldn't you have to divide the miles driven by the ratio as well? because the miles from the odometer are not going to be correct due to the larger tire size. if you did that, you'd actually be travelling less miles with the same amount of gas which would account for the loss in gas milage with larger tires.
Russell

edit: i think you're only supposed to divide the miles by the ratio and not multiply the result by it.

Last edited by boogyman; 06-01-2006 at 03:23 PM.
Old 06-01-2006, 03:28 PM
  #14  
Contributing Member
 
boogyman's Avatar
 
Join Date: Jul 2003
Location: Sacramento, CA
Posts: 662
Likes: 0
Received 0 Likes on 0 Posts
yea.. that makes sense.

lets say you go 200 miles on 10 gallons of gas. on a oem tire size of 30.6". the unadjusted mpg is 20.

now you go to 32" tires. the ratio is 1.04

so now you divide the odometer reading (200 miles) by the ratio (1.04) which comes out to 192.3 miles.

the mpg now is 192.3/10 = 19.2 -- less than the original 20mpg you got with oem tires.
Russell
Old 06-01-2006, 03:57 PM
  #15  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by boogyman
yea.. that makes sense.

lets say you go 200 miles on 10 gallons of gas. on a oem tire size of 30.6". the unadjusted mpg is 20.

now you go to 32" tires. the ratio is 1.04

so now you divide the odometer reading (200 miles) by the ratio (1.04) which comes out to 192.3 miles.

the mpg now is 192.3/10 = 19.2 -- less than the original 20mpg you got with oem tires.
Russell
Ummm, hmmm...

Okay, let's start with more succinct numbers. We're going to compare 30.6" tires and 32" tires, which will measure 96.132654" and 100.53088" in circumfrence respectively. (C = PI * D)

The ODO is calibrated for 30.6" tires, thus when the trip says 200 miles, it really is 200 miles.

Keep in mind that the ODO works by counting "ticks" at some point of the drivetrain, not by really measuring distance. We can figure out how many ticks are in a mile by looking at the 30.6" tire:
(5280*12)/(30.6 * PI)
= 63360 / 96.132654
= 659.08926222
Call it 659... So every 659 ticks = 1 mile.

Now if you replace the 30.6" tires with 32" tires, and let the ODO continue to think 30.6", the "miles driven" will be incorrect.

If the ODO says "1 mile" then it thinks you've gone 63,360" (5280*12). After 659 ticks, the ODO will STILL say "1 mile". But, since the 32" tire is 100.53088" in circumference, you will have actually gone 1.04561001 miles:
100.53088 * 659
= 66249.84992
/ 5280
/ 12
= 1.04561001
...which is very close to the same number as:
32/30.6
= 1.04575163
So... to get the "actual miles driven", you need to multiply the miles shown by the ratio of the new tire to the old. If the ODO says 200 miles, then with 32" tires, you actually drove 208 miles. If you burned 10 gallons to do it, then you're looking at 20.8mpg, not "just" 20.
Old 06-04-2006, 07:49 AM
  #16  
Contributing Member
 
boogyman's Avatar
 
Join Date: Jul 2003
Location: Sacramento, CA
Posts: 662
Likes: 0
Received 0 Likes on 0 Posts
Talking

i stand corrected.. i was working off the assumption that mpg was lowered with larger tires instead of assuming larger tires travel further than smaller tires on each revolution.

i think the mpg may be still be lowered with larger tires though simply from the fact that your engine has to work harder to turn the larger tires 1 revolution compared to the smaller tires, even though you do travel slightly further.

Russell
Old 06-04-2006, 11:39 AM
  #17  
Registered User
 
TechWrench's Avatar
 
Join Date: Aug 2003
Location: Glenville, NY
Posts: 513
Likes: 0
Received 0 Likes on 0 Posts
Of course we could get realy 'anal' with the tire diameter issue. As your tires wear down, the overall diameter decreases with the increase in tread wear. Therefore, if you have a deep tread model tire, you would see a 'decrease' in real MPG as the tires wear down.
Old 06-04-2006, 01:58 PM
  #18  
Registered User
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,048
Likes: 0
Received 2 Likes on 2 Posts
Originally Posted by boogyman
i think the mpg may be still be lowered with larger tires though simply from the fact that your engine has to work harder to turn the larger tires 1 revolution compared to the smaller tires, even though you do travel slightly further.
Definitely true, but the only purpose of this calculator was to adjust for the odometer error - nothing else.


Originally Posted by TechWrench
Of course we could get realy 'anal' with the tire diameter issue. As your tires wear down, the overall diameter decreases with the increase in tread wear. Therefore, if you have a deep tread model tire, you would see a 'decrease' in real MPG as the tires wear down.
Yeup, very true.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
shisha1999
84-85 Trucks & 4Runners
12
09-21-2015 08:22 PM
Poncho0206
95.5-2004 Tacomas & 96-2002 4Runners
3
07-10-2015 06:21 PM
skoti89
Offroad Tech
3
07-08-2015 12:05 AM
Vargntucson
95.5-2004 Tacomas & 96-2002 4Runners
0
07-04-2015 12:15 PM



Quick Reply: Calculate your miles per gallon



All times are GMT -8. The time now is 03:17 AM.