Skip to content
Tutorials Center
My learning

Topics

Lesson 35 of 39 ยท Estimation, Units and Money

Money and Best Buys

Compare prices per unit, work out discounts, sales tax, change and exchange rates, and calculate simple interest, using exact decimal arithmetic.

Money math is the arithmetic you will use most in daily life: comparing prices, spotting a real bargain, working out a bill with tax, converting currency, understanding what a loan costs. The ideas are the ones you already know (ratios, rates, percentages), applied with care to cents.

The examples use a generic currency unit, written just as a number. The same ideas apply to dollars, euros, pounds, rupees or yen.

Unit prices and best buys

The best buy is the option with the lowest price per unit (or the most units per money). Compare per unit, as in Rates and Unit Rates.

Example 1. Cereal: a 375 g box costs 2.70, a 600 g box costs 4.08.

  • Small: 2.70 รท 375 = 0.0072 per gram, or 0.72 per 100 g.
  • Large: 4.08 รท 600 = 0.0068 per gram, or 0.68 per 100 g.

The large box is cheaper per gram.

To make the numbers easier to read, scale to a convenient amount: price per 100 g, per liter, per item. Always use the same scaled unit for each option.

A cheaper unit price is not always the better choice. Ask:

  • Will you use it all before it expires?
  • Can you carry or store it?
  • Are the quality and brand the same?
Python Best-buy comparison with exact decimals

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Decimal makes money arithmetic exact; plain floats can give tiny errors such as 0.1 + 0.2 = 0.30000000000000004.

Discounts and sales tax

A discount of 20% takes off a fifth of the price. A convenient way is to multiply by (100 - 20)% = 0.80.

Example 2. A jacket costs 85 with 20% off. New price: 85 ร— 0.80 = 68.

Sales tax (or VAT) of 8% adds to the price. Multiply by 1.08.

Example 3. A 68 jacket plus 8% tax: 68 ร— 1.08 = 73.44.

Order matters if the percentage is applied to a different base, but multiplying by 0.80 and then by 1.08 gives the same final answer as 1.08 then 0.80, since multiplication is commutative. Both give 85 ร— 0.864 = 73.44.

Successive discounts. Two discounts of 20% and 10% do not make 30% off. The result is 0.80 ร— 0.90 = 0.72, a total of 28% off.

Change

Change is what you get back: money given โˆ’ cost. To make it by counting up, start at the price and add small coins and bills until you reach the amount given. For 6.35 paid with 10: add 0.05 to reach 6.40, add 0.60 to reach 7.00, add 3 to reach 10. Total: 0.05 + 0.60 + 3 = 3.65.

Currency exchange

An exchange rate is a rate: how much of one currency equals one unit of another. If 1 euro buys 1.10 US dollars, then:

  • 250 euros = 250 ร— 1.10 = 275 dollars.
  • 330 dollars = 330 รท 1.10 = 300 euros.

Multiply when going from the currency of the "1", divide to come back. These rates are made up to practice; real rates change daily, and banks add fees, so you receive a little less than the quoted mid-market rate.

Simple interest

If you borrow or save money, interest is the extra amount. Simple interest is calculated only on the original amount (the principal) every year:

Text
I = P ร— R ร— T / 100

with P the principal, R the yearly rate in percent and T the time in years.

Example 4. Save 2,000 at 3% simple interest for 4 years: I = 2000 ร— 3 ร— 4 / 100 = 240. The total is 2,240.

Real bank accounts usually use compound interest, where interest earns interest. Simple interest is the base case.

Python Discounts, tax, exchange and interest

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The money helper rounds to 2 decimal places, the way a till does.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which is the better buy: 500 g for 3.00, or 750 g for 4.20?

    3.00 รท 500 = 0.0060 per gram, while 4.20 รท 750 = 0.0056 per gram, so the larger pack is cheaper.
  2. 2. A coat costs 120 and is reduced by 25%. What is the sale price?

    120 ร— 0.75 = 90.
  3. 3. Two successive discounts of 10% and 10% equal one discount of what?

    0.90 ร— 0.90 = 0.81, so the total discount is 19%.
  4. 4. What is the simple interest on 1,500 at 4% per year for 3 years?

    I = 1500 ร— 4 ร— 3 / 100 = 180. (The total amount would be 1,680.)

Summary

  • Compare prices per unit to find the best buy, but also consider use, storage and quality.
  • A discount of d% multiplies by (100 - d)/100; tax of t% multiplies by (100 + t)/100.
  • Successive percentages multiply; they do not add.
  • Exchange rates are rates: multiply to go one way, divide to come back.
  • Simple interest is I = PRT/100.

Next: Practice Set: Ratio and Factors