…
…
Financial Literacy and Economics Fundamentals · Lesson 29 / 35 · Pay, taxes and a first budget
PreviewIn this lesson you will
You can read the explanation without an account. The exercises and quiz at the end of the lesson are for members.
Alex graduated at the end of the winter term and started a job in January, with gross pay of $2,000 and net pay of $1,463 (lesson 28). Gross pay never changed, yet net pay fell to $1,403 in May and to $1,261.20 in November. A friend says, "Never take a raise, you will jump a bracket and take home less."
Alex is confused. Same job, same gross pay, but the money that reaches the bank account dropped twice in one year. Then the friend's sentence arrives: can a raise really be a loss? This lesson teaches two things: how to read a tax bracket table, and how to separate the tax that hides inside a price. Both answer the same question: how much of the money you earn and the money you spend goes to tax? Tax pays for public services such as schools, roads, and health care; in this lesson you will learn to calculate it.
Rates and rules differ by country; these are fictional course numbers. Every bracket, rate, and amount in this lesson is a course example. The bracket table below is fictional and not a real tax table. The 10 percent and 20 percent rates we use for the sales tax and the excise tax are example rates too. Real brackets and rates change from country to country and often from year to year; in the task at the end you will find the current ones for your country from an official source.
In this lesson you will:
In lesson 28 we calculated Alex's income tax with one example rate, 15 percent. That was a simplification. In many countries income tax is progressive, which means it has brackets: your income is cut into slices, and each slice is taxed only at the rate of its own bracket. As your income grows, the extra part falls into brackets with higher rates. In this lesson we do all the calculations with this fictional table:
| Bracket (yearly taxable income) | Example rate |
|---|---|
| $0 to $7,500 | 15 percent |
| $7,500 to $17,500 | 20 percent |
| $17,500 to $40,000 | 27 percent |
| Over $40,000 | 35 percent |
*Course example; these are not real brackets.*
The most important rule when you read the table: the rate in a row applies only to the dollars that fall inside that row's range. For someone with $10,000 of taxable income, the first $7,500 sits in the 15 percent bracket, and the remaining $2,500 spills into the 20 percent bracket. No dollar is taxed twice, and no dollar is taxed at any rate except the rate of its own bracket.
Example 1 (outside the case): taxable income of $10,000. Test your intuition before you calculate.
Yearly taxable income is $10,000. With the fictional table, how much tax do you think it is?
Let's do the calculation slowly. First we cut the income at the bracket limits: $7,500 of the $10,000 is in the first bracket, and $2,500 is in the second. Then we multiply each part by its own rate: 7,500 × 0.15 = 1,125 and 2,500 × 0.20 = 500. Last, we add the bracket taxes: 1,125 + 500 = $1,625. No money falls into the third or fourth bracket, so there is no tax from them.
| Bracket | Part in the bracket | Example rate | Tax |
|---|---|---|---|
| $0 to $7,500 | $7,500 | 15 percent | $1,125 |
| $7,500 to $17,500 | $2,500 | 20 percent | $500 |
| Total | $10,000 | $1,625 |
The method is the same however large the income is; only the number of rows grows. Put the steps in order.
Put the steps of a bracket tax calculation in order.
Click the lines in order; to undo one you placed wrong, click it in the list below.
Shuffled lines
Your order
With bracket tax there are two different rates, and people mix them up in everyday talk. The average rate is total tax divided by total taxable income: for $10,000 of taxable income, 1,625 / 10,000 = 16.25 percent. The marginal rate is the rate of the bracket your last dollar falls into: for the same person, 20 percent. So if this person earned one more dollar, 20 cents of it would go to tax, but on average only 16.25 percent of all the income goes to tax.
Compare it to a class grade average: getting 90 on the last exam does not make your average 90; the earlier grades still count in the average. The marginal rate can be high, but the earlier dollars stay in the lower brackets.
Example 2 (case): Alex's yearly taxable income. Alex's monthly taxable income was $1,740 (gross $2,000 minus the two contributions; lesson 28). Alex works 12 months, from January to December, so the yearly taxable income is 1,740 × 12 = $20,880. This income spreads over three brackets:
| Bracket | Part in the bracket | Example rate | Tax |
|---|---|---|---|
| $0 to $7,500 | $7,500 | 15 percent | $1,125 |
| $7,500 to $17,500 | $10,000 | 20 percent | $2,000 |
| $17,500 to $40,000 | $3,380 | 27 percent | $912.60 |
| Total | $20,880 | $4,037.60 |
Alex's yearly income tax is $4,037.60. The average rate is 4,037.60 / 20,880 = 19.34 percent, and the marginal rate is 27 percent. If Alex says "I am in the 27 percent bracket," that is right. If Alex says "27 percent of my income goes to tax," that is wrong: the real share is 19.34 percent.
The code below does this calculation bracket by bracket. You do not need to write it. Just change the value of income and compare the three lines: tax, average rate, marginal rate.
Change the income: how do the tax, the average rate, and the marginal rate change? (Fictional brackets: 15, 20, 27, 35 percent)
Pick a value; predict the output first, then look.
1income = 100002brackets = [[7500, 15], [17500, 20], [40000, 27], [999999999, 35]]3tax = 04lower = 05for upper, rate in brackets:6 if income > lower:7 part = min(income, upper) - lower8 tax = tax + part * rate / 1009 last_rate = rate10 lower = upper11average = round(tax / income * 100, 2)12print(f"Tax: ${tax:.2f}")13print("Average rate:", average, "percent")14print("Marginal rate:", last_rate, "percent")
Tax: $1625.00 Average rate: 16.25 percent Marginal rate: 20 percent
Faded lines didn't run with this value. At $6,000 all the income is in the first bracket: $900 of tax, and both rates are 15 percent. At $10,000 the tax is $1,625, the average rate is 16.25 percent, and the marginal rate is 20 percent. On Alex's $20,880 the tax is $4,037.60; the marginal rate is 27 percent while the average is only 19.34 percent. At $28,000 the tax is $5,960 and the average is 21.29 percent. The average rate always stays below the marginal rate. (999999999 is a very large number used to pretend the last bracket has no upper limit.)
Put the four results side by side. At $6,000 all the money is in the first bracket, and both rates are 15 percent. As income grows, the marginal rate jumps in steps (15, 20, 27), but the average rate rises slowly and smoothly (15.00, 16.25, 19.34, 21.29). The average rate never reaches the marginal rate, because the dollars in the lower brackets keep being taxed at their low rates. So the sentence "if I reach a higher bracket, all my income is taxed at the high rate" is wrong: a higher bracket concerns only the dollars that spill into it.
Now let's return to the friend's sentence: "Don't take a raise, you will jump a bracket and take home less." This sentence assumes that when you jump a bracket, all your income falls under the new rate. We just saw that this is wrong. Let's show it with numbers too.
Example 3 (case): a $200 rise in taxable income. Someone with taxable income of $17,400 is just under the $17,500 limit. If the income rises by $200 to $17,600, it crosses the limit. First see the old and new tax in the table; try to fill in the empty cells in your head.
| Taxable income | Tax | Left after tax (income minus tax) | |
|---|---|---|---|
| Before | 17,400 | 3,105 | 14,295 |
| After | 17,600 | ? | ? |
| Difference | 200 | ? | ? |
The old tax: 1,125 + (9,900 × 0.20 = 1,980) = $3,105. In the new situation, $100 of the rise is still in the 20 percent bracket (from 17,400 to 17,500), and the other $100 is in the 27 percent bracket.
Taxable income rises from $17,400 to $17,600. How much of the $200 rise do you keep (example rates)?
So the new tax is $3,152, the extra tax is $47, and you keep $153 of the $200. Because no bracket rate is 100 percent, you always keep part of any rise in taxable income. Jumping a bracket only means that the dollars after the limit are taxed at a higher rate. Now apply this to Alex's decision.
Alex is offered a raise of $200 gross a month. The friend says, "You will jump a bracket, turn it down." What should Alex do?
Pick an option and see what happens. There are no points; you can try the other options too.
Now let's return to the opening question: why did net pay fall when gross pay stayed the same? On a payslip, income tax is not calculated by looking only at that month's taxable income. In this course's fictional country it is calculated on the taxable income accumulated from the start of the year up to that month. In January Alex's cumulative taxable income is $1,740, in February $3,480, at the end of April $6,960. All of that is in the first bracket (15 percent), so for the first four months income tax is $261 and net pay is $1,463.
In May the cumulative taxable income reaches $8,700 and passes the $7,500 limit. Of that month's $1,740, $540 is still in the 15 percent bracket and $1,200 is in the 20 percent bracket: 81 + 240 = $321 of tax, and net pay is $1,403. From June to October every monthly dollar of taxable income is in the 20 percent bracket: $348 of tax, net pay $1,376. In November the cumulative taxable income passes the $17,500 limit (from $17,400 to $19,140): 100 × 0.20 + 1,640 × 0.27 = $462.80 of tax, net pay $1,261.20. In December the whole monthly taxable income is in the 27 percent bracket: $469.80 of tax, net pay $1,254.20.
Example 4 (case): Alex's 12 months of net pay. With the example rates of lesson 28: the contributions and the payroll levy are the same every month ($260 + $16); only the income tax changes.
$ · Course example; fictional brackets and the example rates of lesson 28, not a real payslip. The drops come in May (the $7,500 limit) and November (the $17,500 limit)
| — | Net pay |
|---|---|
| Jan | 1463 |
| Feb | 1463 |
The income tax of the 12 months adds up to $4,037.60. This is exactly the number we found bracket by bracket from the yearly taxable income in Example 2. Yearly net pay is $16,650.40. So the fall in net pay is not a punishment or a mistake: the yearly tax was known from the start, and cumulative taxable income spreads it over the months, with a lighter load in the early months and a heavier one at the end. This matters for budgeting: a budget built on January's net pay falls $201.80 short every month in November. We will use this in the next lesson when we rebuild the budget.
Alex keeps working with the same gross pay. What is net pay in January of the next year (same fictional table and rates)?
Income tax is taken from the money you earn and appears on your payslip by name, so it is called a direct tax. There is also a tax taken from the money you spend: an indirect tax. The best-known example is the VAT or sales tax: in the price you pay for a product there is a tax buried that the seller will pass on to the state. In many places this tax is included in the shelf price (VAT), and in others it is added at the register (sales tax); in this lesson the tax is included in the price, and we call it the sales tax. For some products there is also an excise tax on top of the sales tax. You can compare an indirect tax to the salt in a soup: you cannot see it, but it is in there, and to separate it you need the recipe, which is the rate.
There is only one right way to find the sales tax inside a price: first find the price without tax, then take the difference.
Price without tax = price / (1 + rate) · Tax = price - price without tax
Example 5 (case): Alex's shoes. Alex bought a pair of shoes for $60; the example sales tax rate is 20 percent.
How much sales tax is inside the $60 price of the shoes (example rate 20 percent)?
Why not 12? Because 20 percent is 20 percent of the price without tax: 50 × 0.20 = 10. The seller adds $10 of sales tax to a $50 product and sells it for $60. Multiplying 60 by 0.20 would be like taking the tax a second time on the price that already has tax. Remember the percentage traps of lesson 9: the question "percent of what?" changes the result.
On a supermarket receipt the rates can differ by product. On Alex's fictional receipt, basic foods have an example rate of 10 percent and everything else 20 percent:
| Product | Price (with sales tax) | Example rate | Price without tax | Sales tax |
|---|---|---|---|---|
| Bread and milk | 11.00 | 10 percent | 10.00 | 1.00 |
| Detergent | 18.00 | 20 percent | 15.00 | 3.00 |
| Notebook | 6.00 | 20 percent | 5.00 | 1.00 |
| Fruit | 16.50 | 10 percent | 15.00 | 1.50 |
| Total | 51.50 | 45.00 | 6.50 |
*Course example; these are not real rates or product classes.*
The receipt total is $51.50, and $6.50 of it is sales tax. Each row is separated with its own rate; dividing the total by a single rate gives a wrong result, because the rates of the rows differ. Now cover the table and match each row to its tax.
Match each receipt row to the sales tax inside its price (example rates).
For each row, pick its match from the list, then check.
For products with an excise tax the calculation is one step longer: first the excise tax is added to the price of the product, then the sales tax is calculated on this price that includes the excise tax. So the sales tax sits on top of the excise tax too, and for these products the total tax share of the price is bigger. We do not calculate with excise tax in this lesson; you only need to know the mechanism.
To close, let's look at one month of Alex's life with two eyes. In January, $261 of income tax and $16 of payroll levy were taken from the payslip; Alex sees them there by name. But Alex also pays tax when spending. Say Alex spent about $1,000 that month, and the indirect tax inside the spending is an average of 15 percent (some products 10 percent, some 20 percent, some with an excise tax; this is an assumption). Then the price without tax of the spending is 1,000 / 1.15 = $869.57, and the indirect tax inside it is about $130.43. Add this invisible $130.43 to the $277 on the payslip, and the total tax Alex paid to the state that month is about $407.43.
The point is this: the tax taken from your pay is in plain sight, while the tax inside a price is not. Seeing both means seeing where your money goes. The contributions on the payslip are not taxes: as you saw in lesson 28, they pay for health and retirement protection. Finally, put each statement into the right box.
Match each statement to the right type.
For each row, pick its match from the list, then check.
A note about Marco: nobody withholds a freelancer's tax from a payslip every month. What Marco does himself is a simple mechanism: each time a payment arrives, he puts a part of it, for example 20 percent (an example rate, not a real rule), into a separate account so that the money is ready when the tax is due. Real rules, and when and how to pay, must be learned from an official source.
The right and the wrong calculation side by side for Alex's yearly taxable income of $20,880:
OutputWrong: 20,880 × 0.27 = $5,637.60 (all the income at the last bracket's rate)
Right: 7,500 × 0.15 = 1,125.00
10,000 × 0.20 = 2,000.00
3,380 × 0.27 = 912.60
Total $4,037.60
Gap : $1,600Income tax and net pay of each month by cumulative taxable income (gross 2,000, contributions 260, payroll levy 16; course example):
OutputMonth Cumulative income Income tax Net pay
Jan-Apr 1,740-6,960 261.00 1,463.00
May 8,700 321.00 1,403.00
Jun-Oct 10,440-17,400 348.00 1,376.00
Nov 19,140 462.80 1,261.20
Dec 20,880 469.80 1,254.20
Year 4,037.60 16,650.40Bruno's yearly taxable income is $28,000; a side job adds $500 of extra taxable income. $28,500 is still in the 27 percent bracket, so the extra tax is 500 × 0.27 = $135, and he keeps $365. Total tax goes from $5,960 to $6,095, and the average rate goes from 21.29 percent to 21.39 percent.
Output Income Tax Average rate Marginal rate
Before 28,000 5,960 21.29 percent 27 percent
After 28,500 6,095 21.39 percent 27 percent
Difference 500 135 (he keeps $365)Multiplying all the income by the rate of the last bracket it reached. Alex's yearly taxable income is $20,880 and the last dollar is in the 27 percent bracket. Because of this, some people calculate 20,880 × 0.27 = $5,637.60 of tax. But 27 percent applies only to the $3,380 above $17,500; the dollars below are taxed at 15 percent and 20 percent. The right way is bracket by bracket: $4,037.60. The $1,600 gap is the price of the idea that "if you jump a bracket, all your income is taxed at the high rate."
OutputWrong: 20,880 × 0.27 = $5,637.60
Right: 1,125 + 2,000 + 912.60 = $4,037.60Next lesson: With net pay, rent, a deposit, bills, and a net pay that changes during the year, you will rebuild Alex's 12-month budget.
This content is for education only and is not investment advice.
Exercises and quiz are for members
This lesson has 7 coding exercises and a 10-question quiz. Sign up free to solve them, save your progress and move on to the next lesson.
| Mar |
|---|
| 1463 |
| Apr | 1463 |
|---|
| May | 1403 |
|---|
| Jun | 1376 |
|---|
| Jul | 1376 |
|---|
| Aug | 1376 |
|---|
| Sep | 1376 |
|---|
| Oct | 1376 |
|---|
| Nov | 1261.2 |
|---|
| Dec | 1254.2 |
|---|