Showing posts with label Math. Show all posts
Showing posts with label Math. Show all posts

How to Do Ternary or Trinary, Base 3 Numbering System Conversions Tutorial and Examples

Latest update: August 8, 2023

If you understand the everyday decimal (base 10) number system, then you already understand the ternary, base 3 counting and numbering system. You just don’t know you know yet. The complete lesson immediately follows the short semantics note about "ternary" versus "trinary".

Base 3 Conversion - Base 3 to Base 10 and Back - 0 1 2

How to Learn the Ternary Base 3 Numbering System

A complete lesson and examples.

Semantics Note

Ternary is the primary descriptor used to identify base 3 (using the digits 0 1 2) in mathematics as relates to numbering systems. Trinary is the primary descriptor used to identify base three as relates to logic (using the digits -1 0 +1); but the term has also been used in place of ternary. This page does not address the logic definition of trinary. This page is about and explains the base 3 number system; usually called ternary, but sometimes referred to as trinary.

A Quick Review of Base 10 Structure...


Base 10 Decimal Orders of Magnitude

1 · 10 · 100 · 1,000 · 10,000 · 100,000

Positional

100,000 · 10,000 · 1,000 · 100 · 10 · 1

We use the base 10 numbering/counting system in our day-to-day living. Base 10 has ten numbers (0-9) and orders of magnitude that are times ten.
  • The lowest order number represents itself times one.
  • The next order number represents itself times 10.
  • The next order number represents itself times 10 x 10, or itself times 100.
  • The next order of magnitude would be 10 x 10 x 10, or 1000.
And so on. A base 10 example would be the number 3528. This number means that there are:
  • Eight 1’s,
  • two 10’s,
  • five 100’s,
  • and three 1000's.
Which represents 8 + 20 + 500 + 3000 for a total of 3528.

The Ternary or Base 3 Numbering System...

...uses the same structure, the only difference being the orders of magnitude. Base 3 or ternary has three numbers: 0, 1, and 2.

The orders of magnitude are times three.
  • The lowest order number represents itself times one.
  • The next order number represents itself times 3.
  • The next order number represents itself times 3 x 3, or itself times 9.
  • The next order of magnitude would be 3 x 3 x 3, or itself times 27.
  • The next order of magnitude would be 3 x 3 x 3 x 3, or itself times 81.
And so on.

Orders of Magnitude in Base 3

  • 1 · 3 · 9 · 27 · 81 · 243 · 729 · 2,187 · 6,561

Positional

  • 6,561 · 2,187 · 729 · 243 · 81 · 27 · · 3 · 1

A basic, first example of a ternary number would be the base 3 number 11111. This would mean there are:
  • one 1,
  • one 3,
  • one 9,
  • one 27,
  • and one 81.
Which represents 1 + 3 + 9 + 27 + 81 for a total of 121 in Base 10 decimal.

Another base 3 example would be the number 1120. This number means that there are:
  • No 1’s,
  • two 3’s,
  • one 9,
  • and one 27.
Which represents 0 + 6 + 9 + 27 for a total of 42 in base 10 decimal.

Another base 3 example would be the number 2101. This number means there are:
  • One 1,
  • No 3's,
  • One 9,
  • And two 27’s.
Which represents 1 + 0 + 9 + 54 for a total of 64 in base 10 decimal.

More Ternary (Base 3) to Base 10 Conversion Examples

9 · 3 · 1
9 · 3 · 1
27 · 9 · 3 · 1
0=0
110=12
220=24
1=1
111=13
221=25
2=2
112=14
222=26
10=3
120=15
1000=27
11=4
121=16
1001=28
12=5
122=17
1002=29
20=6
200=18
1010=30
21=7
201=19
1011=31
22=8
202=20
1012=32
100=9
210=21
1020=33
101=10
211=22
1021=34
102=11
212=23
1022=35

(Convenience relist)

Orders of Magnitude in Base 3

  • 1 · 3 · 9 · 27 · 81 · 243 · 729 · 2,187 · 6,561

Positional

  • 6,561 · 2,187 · 729 · 243 · 81 · 27 · · 3 · 1

- End of Article -

Re: Using Mobile?
Home: site intro and featured articles/resources.
View Web Version: displays Main Menu article categories (will be located below), 
additional site info (below and side), search function, translation function.

I first published this article at another website on 09/19/10. However, to keep the information current, relocating to websitewithnoname.com was best. This copyrighted article has served people well for years.

MPH to FPS: Mental Math Calculation Conversion Formula for Miles per Hour to Feet per Second

Latest update: January 10, 2023. Page URL indicates original publication date; meanwhile, times change and the updates continue.

How to Instantly Convert MPH to FPS While Driving

- The Quick and Easy Math Trick Formula Equation -

Simply divide miles-per-hour by 2, then multiply the result by 3 to find feet-per-second.

This is the easy, quick math formula or equation to use and gives a usable, fairly accurate answer. Your answer will be accurate within 5%. As an example, 100 mph converts to 150 fps. If one does the more complicated method of math calculation (detailed further down the page), the resulting answer would be 147 fps.

"How many feet per second..." 
is a math question usually relating to cars and driving.

Easy Table Conversion from MPH to FPS Examples Chart

Divide by 2, then multiply by 3.
MPH
FPS
10
15
15
22.5
20
30
25
37.5
30
45
35
52.5
40
60
45
67.5
50
75
55
82.5
60
90
65
97.5
70
105
75
112.5
80
120
90
135
100
150
120
180
140
210
160
240


The More Difficult (and More Accurate) Answer

To prove the quick math shortcut conversion calculation works:
  1. First. convert MPH (miles-per-hour) to MPM (miles-per-minute) by dividing MPH by 60.
  2. Then convert miles to feet. There are 5,280 feet in one mile, so multiply MPM by 5,280 to get FPM (feet-per-minute).
  3. Lastly, convert FPM to FPS (feet-per-second) by dividing by 60.

Examples of the Longhand Math Converting Miles-per-Hour (MPH) to Feet-per-Second (FPS)


MPH to FPS Math Conversion Example One

You're going 25 mph. How many feet is that per second?
  1. Conversion from mph to fps is as follows: If we divide by 60, we get miles-per-minute (mpm): 25/60 = .416667.
  2. For accuracy's sake, now is a good time to convert miles to feet. There are 5,280 feet in a mile so we multiply mpm times 5,280 to get feet-per-minute: 416667 x 5280 = ~2199.99 feet-per-minute [note: "~" means approximate].
  3. To convert from feet-per-minute to feet-per-second (fps), we divide the answer by 60: 2199.99/60 = ~36.667 feet-per second.
  4. This answer is within 5% of the one you get doing the mental easy math way, which says 25 mph divided by 2 and then multiplied by 3 equals 37.5 fps.

MPH to FPS Math Conversion Example Two

65 mph. How many feet per second?
  1. Conversion from mph to fps is as follows: If we divide by 60, we get miles-per-minute: 65/60 = 1.0843333333333.This makes sense. After all, 60 miles an hour is the well-known mile-a-minute.
  2. For accuracy's sake, now is a good time to convert miles to feet. There are 5,280 feet in a mile, so we multiply the miles-per-minute times 5,280 to get feet-per-minute: 1.0843333333333 x 5280 = ~5725.28 feet-per-minute.
  3. To convert from feet-per-minute to feet-per-second, we divide the answer by 60: 5725.28/60 = ~95.421 feet-per second, which is the answer.
  4. This coincides within 5% of the table above, which says 65 mph equals 97.5 fps. 

MPH to FPS Math Conversion Example Three

120 mph is how many feet per second? Conversion from mph to fps is as follows.
  1. If we divide by 60, we get miles-per-minute: 120/60 = 2.000. This again makes sense; 60 miles an hour is the usual mile-a-minute. So 120 mph would be 2-miles-a-minute.
  2. To convert miles to feet. There are 5,280 feet in a mile, so we multiply the miles-per-minute times 5,280 to get feet-per-minute: 2 x 5280 = ~10560 feet-per-minute.
  3. To convert from feet-per-minute to feet-per-second, we divide the answer by 60: 10560/60 = ~176 feet-per second.
  4. This number is within 5% of the table above which says 120 mph equals 180 fps.

The Reverse FPS to MPH Math Conversion Examples

Quick way to find reverse, i.e., convert from feet-per-second to miles-per hour: divide fps by 3 and then multiply by 2 for mph.

Easy Table Conversion from FPS to MPH Examples Chart

FPS
MPH
10
6.67
20
13.33
25
16.67
40
26.68
50
33.33
75
50
100
66.67
150
100
200
133.33
500
333.33
1000
666.67

Doing 20 miles-per-hour? That is 30 feet-per-second.

The laws of physics seldom take a vacation.
Most of these cars would not be able to stop in time.

- End of Article -

Re: Using Mobile?
Home: site intro and featured articles/resources.
View Web Version: displays Main Menu article categories (will be located below), additional site info (below and side), search function, translation function.

How Much Does a Pint / Quart / Gallon Weigh in Pounds?

Latest update: March 7, 2023. Page URL indicates original publication date; meanwhile, times change and the updates continue.

How Many and How to Calculate Pints, Quarts, Gallons to and from Pounds


Alternate Titles or Questions

  • How to Convert Pints to Quarts to Gallons to and from Pounds?
  • Volume to Weight Conversions or Weight to Volume Conversions – 8:4:1:8.
  • How many pounds in X pints, quarts, or gallons?
  • How much does X gallons, quarts, or pints weigh?
A list of most-searched-for questions and answers is included. There is also a specific section relating to the calculating of the size/volume/weight of home water heaters.

Volume to Weight Conversions. Weight to Volume Conversions.
Simple math to convert or calculate pints, quarts, gallons, and pounds.

Be advised that this page is US-centric. As an example, this does not work in the UK where a pint is 1.25 pounds as opposed to US 1.043 pounds at room temperature (RT). There are also issues of temperature and density, both of which are addressed further down the page. The purpose of this page is for practical, everyday business-of-living uses only. For that it will serve you well.

First – The Quick Answers to Volume Amounts and Ratios


Volume Definitions

  • 2 pints equals 1 quart.
  • 4 quarts equals 1 gallon.
  • 8 pints equals 1 gallon.

Or to Put It Another Way...

  • 1 quart equals 2 pints.
  • 1 gallon equals 8 pints.
  • 1 gallon equals 4 quarts.

Converting Volume to Weight

Converting volume to weight has everything to do with the density of the liquid. Fortunately, this question usually has to do with:
  • How much does the gasoline in your gas tank or a gas can weigh?
  • How much does a specific container of water or other mostly-water grocery items weigh?
  • Questions relating to home water heater size, calculated water volume and the resulting weight.
The rule of thumb, and the expression to remember is: "A pint's a pound the world around." The resulting estimates and extrapolations from this rule will serve you well for most everyday purposes. For scientific and industrial purposes where greater accuracy is required, a pint weighs a little bit more than a pound (1.043 lb.).

Basic Formulas

  • A pint weighs a pound.
  • There are two pints in a quart, so a quart weighs 2 pounds.
  • There are four quarts in a gallon, so a gallon weighs 8 pounds. 
  • And the eight pints in a gallon, also weighing 8 pounds.
This pretty much answers the question. Here are some other typical examples:

Some Household Examples

  • A 1-quart bottle of Gatorade weighs 2 pounds. Note: there are 2 pints in a quart and 4 quarts in a gallon. As a side note: there are 16 fluid ounces in a pint, 32 fluid ounces in a quart; 1 and 2 pounds respectively.
  • A 2-liter bottle of Pepsi would convert to a weight of a little over 4 pounds. Note: A liter is slightly more volume than a quart.

Some gallon examples

  • A 1-gallon container would convert to a weight of 8 pounds.
  • A 5-gallon container weighs 40 pounds.
  • A 10-gallon container weighs 80 pounds.
  • A full, 25-gallon SUV gas tank means you are hauling around 200 pounds of fuel.
  • A typical city water tower can hold anywhere from 300,00 to 600,000 gallons of water, which converts to a weight of 2,400,000 to 4,800,000 pounds of water sitting on those "stilts".

The Density of the Liquid Significantly Affects the Rules Concerning Volume Conversion Calculations to Weight


A major component of converting fluid volume to a weight measurement is the density of the fluid. For gasoline, water, and most grocery items; the rule of a-pint's-a-pound will serve you just fine. However, as an example, the rule probably wouldn't work too well with any significant volume of engine oil. As an extreme example, the liquid metal/element mercury would totally throw the pint's-a-pound rule out the window. So of course would any molten metal or alloy.

Fluid density is also affected by temperature. This is why many people fill their gas tank first thing in the morning. There is more gas per gallon at 50 degrees Fahrenheit than at 90 degrees Fahrenheit. It should be noted the percentage difference is in the low single-digits.

Here is a worthwhile page from NASA about Density, Mass (weight), Volume for both solids and liquids.

List of Frequent Volume-to-Weight Conversion Q&A


The Most-Searched-for Questions and Answers for How Many Pounds

  • How much does 1.5 quarts weigh? Answer is 3 pounds.
  • How much does 2 quarts weigh? Answer is 4 pounds.
  • How much does 3 quarts weigh? Answer is 6 pounds.
  • How much does 5 quarts weigh? Answer is 10 pounds.
  • How much does 6 quarts weigh? Answer is 12 pounds.
  • How much does 10 quarts weigh? Answer is 20 pounds.
  • How much does 16 quarts weigh? Answer is 32 pounds.
  • How much does 5 gallons weigh? Answer is 40 pounds.
  • How much does 10 gallons weigh? Answer is 80 pounds.
  • How much does 15 gallons weigh? Answer is 120 pounds.
  • How much does 20 gallons weigh? Answer is 160 pounds.
  • How much does 50 gallons weigh? Answer is 400 pounds.
  • How much does 55 gallons weigh? Answer is 440 pounds.
  • How many pints is a pound? Answer is 1.0 pint.
  • How many quarts is a pound? Answer is 0.5 quarts.
  • How many gallons is a pound? Answer is 0.125 gallons.

The formulas for the volume of a sphere, the volume of a cube,
the volume of a cylinder, the volume of a rectangular prism.


Here is a possibly serendipitous ad note. For folks who are interested, there is a beginner's algebra tutorial at MathSchool.etsy.com. This lesson is specifically designed for people who are perfectly smart enough to learn algebra, but think they can't. Yes you can.


More Water and Gasoline Volume-to-Weight Examples

Depending on what unit of measurement you use, volume will equal cubic English or cubic Metric; examples being cubic inches or cubic centimeters.

Side note: the tilde (~) is the mathematical symbol for approximate.

English

  • 29 cubic inches equals ~1 pint, which equals ~1 pound.
  • 58 cubic inches equals ~2 pints, which equals ~1 quart, which equals ~1/4 of a gallon, which equals ~2 pounds.
  • 231 cubic inches equals ~4 quarts, which equals 1 gallon, which equals 8 pounds.

Metric

Most of the world uses metric. There is a reason for that. As an example, 1000 cubic centimeters equals one liter, 1000 grams equals one kilogram, etc.; all nice, neat, and tidy. The United States and others are trying to get with the program; metric is already included with English measurement on most U.S. consumer items. It's only a matter of time.

How Much Does the Water Weigh in a Full Water Heater?
– Water Tank Size Volume Formula and Answers –

Serendipitous energy.gov page on everything about water heaters, including how to buy one.

How to Calculate the Weight of the Water in a Home Water Heater

How much does the total amount of water in a water heater weigh, volume to weight conversion.

From the above NASA chart we see the volume formula for a cylinder is V = (πd2h)/4.

Water tank heaters come in all sizes. For the purposes of this example, we will say the water tank heater has a measured height of approximately 54 inches; what with this, that, and the other, the water part is probably around 48". The diameter measured as 18"; what with insulation, etc., 16 probably works.

So,
d = 16
h = 48

Thus (" * " meaning to multiply),
V = (3.14 * 16 * 16 * 48) divided by 4.

Since all numbers are inches, the answer will be in cubic inches. We reduce the formula as follows:
  1. V = (3.14 * 256 * 48) divided by 4.
  2. V = (3.14 * 12288)/4
  3. V = 38514/4
  4. V = 9646 cubic inches
231 cubic inches is equal to a gallon, so we divide 9646 by 231.
9646/231 = 41.76 gallons.

What with the inner measurements being estimates, looks like it is a 40 gallon water heater.
  1. A gallon weighs 8 pounds.
  2. So multiplying 40 times 8 gives 320.
  3. A 40-gallon water heater contains 320 pounds of cold water.
Knowing the volume and weight of a 40-gallon water tank heater makes it easy to extrapolate the volume and approximate weight of other water heaters. Do remember that as volume increases, the discrepancy totals of the  "pints-a pound". designation versus the more accurate 1.043 lb. designation also increases. As an example: multiplying the 320 lb. calculation for a 40 gallon water heater by 1.043 gives a result of 333.76 lb. at RT versus the original approximation of 320 lb. at RT. When the water temperature is at hot water heater level, the actual weight will fall between the 320 lb. calculation and the 333.76 lb. calculation.
  • 10 gallon water heater is 2310 cubic inches and the water weighs 80 pounds.
  • 20 gallon water heater is 4620 cubic inches and the water weighs 160 pounds.
  • 30 gallon water heater is 6930 cubic inches and the water weighs 240 pounds.
  • 40 gallon water heater is 9240 cubic inches and the water weighs 320 pounds.
  • 50 gallon water heater is 11550 cubic inches and the water weighs 400 pounds.
  • 80 gallon water heater is 18480 cubic inches and the water weighs 640 pounds.
  • 100 gallon water heater is 23100 cubic inches and the water weighs 800 pounds.
Do keep in mind the temperature versus density considerations and the expansion of water when heated, i.e., a fully hot water heater tank weighs slightly less than a cold or warm water tank heater that's been freshly refilled after usage. The difference between hot and cold water density versus volume is significant enough that most water heaters have a temperature pressure relief valve and a drainage tube or pipe to compensate for this.

Converting Cubic Inches to Cubic Feet...

...and the corresponding volume and weight ratios. It is surprising how much just one cubic foot of water weighs.

With the pint-equals-pound rule, one cubic foot of water weighs 60 pounds for approximation purposes.

A cubic foot is 12 inches times 12 inches times 12 inches. So 1728 cubic inches equals 1 cubic foot. To convert cubic inches to cubic feet, simply divide the cubic inches by 1728. So using the above examples, we would have:
  • 2310 cubic inches equals 1.34 cubic feet equaling 10 gallons equaling 80 lb.
  • 4620 cubic inches equals 2.68 cubic feet equaling 20 gallons equaling 160 lb.
  • 6930 cubic inches equals 4.02 cubic feet equaling 30 gallons equaling 240 lb.
  • 9240 cubic inches equals 5.36 cubic feet equaling 40 gallons equaling 320 lb.
  • 11550 cubic inches equals 6.70 cubic feet equaling 50 gallons equaling 400 lb.
  • 18480 cubic inches equals 10.72 cubic feet equaling 80 gallons equaling 640 lb.
  • 23100 cubic inches equals 13.40 cubic feet equaling 100 gallons equaling 800 lb.
* A side note. I happened to stumble across this on Wikipedia: "Pound (mass), a unit of mass often abbreviated incorrectly as 'lbs' in the plural. Abbreviations of units of measure do not use an 's' on the end for plural."

May all your calculations be prosperous ones.

- End of Article -

Re: Using Mobile?
Home: site intro and featured articles/resources.
View Web Version: displays Main Menu article categories (will be located below), additional site info (below and side), search function, translation function.

Sales Tax Overcharges: How to Not Overpay and Report Store

Latest update: April 17, 2022. Page URL indicates original publication date; meanwhile, times change and the updates continue.

Have you been overcharged on sales tax? Here is a way on how to mentally calculate state sales taxes on the spot and stop being cheated, catch errors, and prevent fraudulent attempts.

Sales Tax - Regressive Taxation of the Poor

Business, Vendor, or Store Overcharging on State Sales Tax?

When it comes to sales taxes, fraud is not that rare of an occurrence. Many times, smaller stores do deliberately overcharge state sales tax. In fact, I’ve seen news reports where even the larger, national chain stores have been caught overcharging sales taxes. And employees in all stores have also been known to make price and thus state sales tax mistakes as well.

Mentally calculating state sales tax to prevent being overcharged is easy. It all has to do with rounding, no degree in rocket surgery required. You are simply doing a quick approximation to prevent yourself from being a victim of sales tax fraud or simply to prevent being mistakenly overcharged.

[Be advised that this page is US-centric. Canada and most European countries have sales taxes or a value added tax (VAT) far exceeding 10%. However, if the VAT tax is close to another round number, one can still make this method work.]

Here are the four main premises of this page:
  • Most combined state, country, city sales taxes do not exceed 10 percent, but most sales tax totals are reasonably close to 10 percent.
  • Most thieves are greedy and will exceed the 10 percent amount.
  • Even my dog can mentally calculate 10% of something.
  • Even my dog can mentally add 10% of something to something.

You do not need any of these...

How to Mentally Calculate State Sales Tax – Some Examples

How do I calculate sales tax from a total?

The best way for this tutorial to demonstrate mentally calculating state total sales taxes is by giving examples. In reality, you already know how to do this. You just may not know that you know yet. So let's begin. You walk up to the counter and engage in a purchase which sells for...

$49.99
  1. You round the price to $50.
  2. You calculate the 10% as $5.
  3. You add the $50 plus $5 to get $55.
  4. If the counter person wants more than $55, welcome to the world of sales tax fraud and overcharges.

Other Examples...


$29.99
  1. You round it to $30.
  2. 10% is $3.
  3. Total is $33.
  4. If the final price is over $33, welcome to the world of sales tax fraud and overcharges.
$5.99
  1. Round to $6.
  2. 10% is $.60.
  3. Total is $6.60.
  4. Anything over $6.60, welcome to the world of sales tax fraud and overcharges.
$79.98
  1. $80.
  2. $8.
  3. $88.
  4. Over $88, cheated.
It should be noted that honest mistakes do happen. You will find out soon enough if the overcharge was deliberate or accidental.

Is It Sales Tax Fraud?


What to Do When the Person at the Counter is Overcharging You on total State Sales Tax

This depends on your mood, time constraints, the amount of money involved, the store and neighborhood, etc. Below are some typical scenarios and what one can do in each situation; followed by what you can do after the fact.

You Don't Care About the Amount Involved

  1. Say nothing.
  2. Pay it.
  3. Say nothing. Or say the routine "Thanks."
  4. [Optional] Locate and take one of the business cards offered on the counter.
  5. Leave.
  6. Once outside, note the date and time.
  7. Never go back.
  8. Maybe tell everyone you know.

You Do Care About the Amount Involved (Option One)

  1. Don't pay it.
  2. Say nothing.
  3. [Optional] Locate and take one of the business cards offered on the counter.
  4. Leave. Be advised however, the counter person (probably the owner) will immediately know that you know he was trying to cheat you. And you took one of his cards... And state sales tax fraud is a very serious offense...
  5. Once outside, note the date and time.
  6. Never go back.
  7. Maybe tell everyone you know.

You Do Care About the Amount Involved (Option Two)

  • Politely point out the total is incorrect and explain why you think so.
  • If the counter person reviews and corrects the error:
  1. Pay it.
  2. Call it a day.
  3. Maybe or maybe not give the place another chance in the future.
  • If the counter person denies, disputes, or otherwise argues with your statement...
  1. Don't pay it.
  2. [Optional] Locate and take one of the business cards offered on the counter.
  3. Leave.
  4. Once outside, note the date and time.
  5. Never go back.
  6. Tell everyone you know.

Reward for Reporting State Sales Tax Fraud?


How to Report Stores and Other Businesses Who Overcharge State Sales Taxes

Not only are you doing a good deed for society, you might even make some money in the process.
  1. Find your state's website dealing with all things sales tax.
  2. Find where to report what you experienced. As an example, in California the California State Board of Equalization would be where to go. California does not pay a reward the last time I checked. However, reporting the fraud is still a good idea; wouldn't you like the thief (employee or owner) removed, so you can have an honest, local place to shop? Reports can be made anonymously and will still be investigated.
  3. For other states, determine if you might get a reward. Tell them your experience in detail, including date and time. Give them all the information on the business card. If you don't have the store's business card, that is ok; just be sure the store name and address you are reporting is correct. And don't worry; they're not going to just take your word for it. They will probably send the equivalent of a few "mystery shoppers" to the store to confirm. When they have absolutely verified and proven it is not an isolated incident; only then will the hammer fall on the deserving thief.
More than likely the store location is leased. With any luck, the thieving employee or owner will soon be gone; hopefully replaced with a new, honest employee or business.

A separate note as to state sales tax billing errors by business vendors. There it is in writing; it's a pretty good bet that this is an honest mistake and a simple phone call will fix it. While you're at it, you might want to review the previous invoices from this vendor.

A July 2020 Update
If you do online shopping, you will want to read this site: Dark Patterns.

April 2021 Update
Depending on your state, retailers can be subjected to both criminal and civil penalties for frequent overcharging of sales tax. There can even be class action suits against the larger retailers.

October 2021 Update
Another holiday shopping season approaches, chaos expected to be even worse than last year. Here is a very worthwhile .gov page about sales taxes for Californians: California Buyer’s Guide to Tax.

- End of Article -

Re: Using Mobile?
Home: site intro and featured articles/resources.
View Web Version: displays Main Menu article categories (will be located below), additional site info (below and side), search function, translation function.

How to Calculate Miles-per-Gallon (MPG) and Cost-per-Mile (CPM) Formula and Savings

Latest update: March 7, 2023. Page URL indicates original publication date; meanwhile, times change and the updates continue.

Calculate Miles-per-Gallon and Cost-per-Mile Using Formula Templates


For folks who want accurate miles-per-gallon and cost-per-mile answers and savings.

For quick, easy answers; simply use the MPG and CPM formula templates below and you are done.

What with the Russia-Ukraine situation, gas prices are expected to rise.
This page will serve you well if your gas gauge is broken, inaccurate, or otherwise giving you problems. Or if you just want to know how well your car is doing. Can also be used for possibly figuring out ways to improve your mileage.

Needless to say, one needs to know the miles driven, how much gas was used, and the price of the gas before the templates will be of any use to you. If you do not already have these numbers, Section I below has everything you need to know on how to get started.

Distance Traveled Pre-calculation Template


New Odometer When Tank Refill  -  Old Odometer From Previous Refill  =  Miles Driven

As previously mentioned, if you are just looking for approximate answers, then you can simply use the templates and call it a day. If you are looking for the most real, accurate results possible and savings, see Section I.

How to Calculate Miles per Gallon Formula Template


Miles Driven  /  Gallons Used  =  Miles-per-Gallon (MPG)

Example

  1. You drove 100 miles and used 5 gallons of gas.
  2. Your intuitive answer would be 20 miles-per-gallon. Your intuitive answer would be correct.
  3. 100 miles traveled, divided by 5 gallons of gas used, gives you 20 miles per gallon.
  4. 100/5 = 20 mpg.

How to Calculate Gas Cost per Mile Formula Template


Price per Gallon  /  Miles per Gallon  =  Cost-per-Mile (CPM)

Example

  1. You paid $5 for a gallon of gas, and you get 10 miles-per-gallon (mpg).
  2. Your intuitive answer would be $.50 a mile. Your intuitive answer would be correct.
  3. $5 paid, divided by 10 miles traveled per gallon (mpg), gives you $.50 cost per mile.
  4. 5/10 = $.50 cost-per-mile


Here is a possibly serendipitous ad note. For folks who are interested, there is a beginner's algebra tutorial at MathSchool.etsy.com. This lesson is specifically designed for people who are perfectly smart enough to learn algebra, but think they can't. Yes you can.


About Your Miles per Gallon Results...

So what does the miles-per-gallon answer actually tell you? It tells you that...

  • This particular vehicle,
  • being mechanically maintained at a given level of efficiency,
  • using a specific brand and grade of gasoline,
  • being filled at a particular time of day,
  • from a particular gas station and a particular pump at a particular  fill speed,
  • and being driven a certain commute route,
  • by a specific driver...
...gets so many miles per gallon.

Real Miles-per Gallon Savings

If the numbers used to make the calculations are accurate, this can lead to some interesting experimentation. What if...
  • A different gas station or pump was used? Not all stations and pumps are the same.
  • A different pump fill speed was used?
  • The tank was filled at a different time of day? Temperature affects fluid density, first thing in the morning is best; that is when the gas is coldest and most dense.
  • A different brand and/or grade of gasoline was used? See Section II.
  • A different commute route was tried?
  • Deficiencies were found as to the vehicle's maintenance?
  • The vehicle's ignition timing was experimented with (but staying within smog emission specifications)? See Section II.
  • The driver notices and alters a particular driving habit?
Probably other ideas might also come to mind over time.

Section I - Using a Reasonably Scientific Method and Mistakes to Avoid

If you are looking to get the most real, accurate results possible; this procedure will help you do that. If you are just looking for an approximation, then you can skip it all and fill in the templates with your existing numbers.
  1. Pick a week, or other time period, when you will be doing your most typical driving pattern.
  2. Have two pens and paper in the car.
  3. Use the gas station you normally use. Fill the gas tank at your usual time. Note the pump number you are using. Note the pump speed you normally use. Do not top off. While waiting, write down your odometer reading, include tenths. If you have a trip-odometer, reset it to zero. Remember to not be distracted by all this to the point you forget to put back the gas cap.
  4. Commence with your week; the usual work commute, errands, etc. Combining your work commute with errands will increase your gas mileage, but only do so if it is what you intend to usually do. Continue your routine until you have less than a quarter-tank. Don't strive for a gas-gauge reading of empty unless it is what you normally do.
  5. Make sure you still have the pens and paper in your car.
  6. At the same time of day as before, return to your previous gas station.
  7. Attempt to use the same pump number you used before. Set to the same pump speed as before. While waiting: write down your odometer reading; write down your trip-odometer reading; include tenths from both. When the pump-handle clicks: write down how many gallons; and very definitely include tenths. Write down the price you paid per gallon. Save the receipt; if the gas station is at least half-coordinated, some or all of this information will be printed there for you. Does it match what's showing on the pump? Do not top off. If so inclined, reset trip-odometer to zero. And the gas cap thing again...
  8. Proceed with your normal routine. You'll do the calculations with the templates at your leisure.

Section II - List of Notes About Fuel Economy, Improving Gas Mileage and Saving Money


Tune-ups and tire pressure: These are The Big Two as to getting the best mileage.
  • Over-inflating tires increases gas mileage, but causes an immediate and significant increase in tire wear; so don't do that. Under-inflated tires reduces your mileage; and it doesn't do your sidewalls any good either.
  • As for tune ups, spark plugs are especially important. A fouled or carbon-built-up plug reduces mileage drastically, not to mention it will probably cause you to flunk a smog check. A personal note: Two different mechanics quoted me a price of over $100 to change a set of 6 spark plugs, plus the inflated cost of the plugs. In both cases, I departed the premises immediately. I ended up changing the plugs myself, it's not that hard to do. Buy yourself a Chilton or Haynes manual for your particular make and model of car, they have all sorts of useful information. Some auto parts stores even have tool-loaner programs if you don't want to buy your own. Depending on how the plugs are positioned, changing spark plugs can be an obnoxious task. However, there is no law that says one has to do them all at once. I just did one or two at a time when sufficiently motivated. As a side note, disconnecting more than one plug at a time is not a good idea; reconnection time can be a disaster waiting to happen.

Looking ahead and coasting to stop lights: Is a close third.

Speed: Once you are above 40 mph or so; the faster you go, the lower your mileage.

Weight: If you are carrying excess, unnecessary weight in the trunk, it will:
  • Reduce mileage
  • Increase engine wear and tear
  • Wear out your brakes faster

Ethanol: Do you have ethanol-times-of-year versus non-ethanol-times-of-year? It can be interesting to make mileage comparisons between the two. You probably won't be happy with the ethanol results.

Gasoline Grade: Putting premium in a car that takes regular will do absolutely nothing for your mileage. However, if your car is in the midgrade octane category and what with there being some octane rating overlap, it might be worth experimenting with trying both the lower and higher octanes; especially if you are also experimenting with the ignition timing.

Temperature and humidity: Mileage is better during cooler times of the year than during heatwaves. And the higher the humidity, the better the mileage. Yes, one does get better mileage on rainy days.

Air filter: When is the last time you replaced the air filter? A clogged air filter does reduce mileage and can cause smog test problems.

Fuel density and time of day: As mentioned earlier, always fill your tank first thing in the morning. Fluid density is affected by temperature. The colder it is, the more gas you get per gallon.

Logbook: If so inclined, this is as good a time as any to start one, especially if you want to try any of the aforementioned experiments..

A Couple of Relevant Federal Websites

I thought I'd include a couple of useful federal websites for future reference. Both are worth browsing the next time you have some time to kill.

If only urban freeway traffic looked like this...
From www.epa.gov/air-pollution-transportation. Has all sorts of links regarding vehicles and fuel efficiency and saving gas in general.

For when planning your next road trip...
From www.fueleconomy.gov/trip. This goes directly to their trip calculator page. What makes this calculator unique is you can specify the make and model of car you are using or are curious about. In addition to the total fuel cost calculation, they throw in a map and text directions as well. The rest of the site is also worth browsing.

On a final note, here are a couple other auto-related articles.

- End of Article -

Re: Using Mobile?
Home: site intro and featured articles/resources.
View Web Version: displays Main Menu article categories (will be located below), additional site info (below and side), search function, translation function.