Posts for Tag: money

Understanding Tax Brackets: Interactive Income Tax Visualization and Calculator

Posted In: Money
tax brackets

How is your income distributed across tax brackets?

I previously made a graphical visualization of income and marginal tax rates to show how tax brackets work. That graph tried to show alot of info on the same graph, i.e. the breakdown of income tax brackets for incomes ranging from $10,000 to $3,000,000. It was nice looking, but I think several people were confused about how to read the graph. This Sankey graph is a more detailed look at the tax breakdown for one specific income. You can enter your (or any other) profile and see how taxes are distributed across the different brackets. It can help (as the other tried) to better understand marginal and average tax rates. This tool only looks at US Federal Income taxes and ignores state, local and Social Security/Medicare taxes.


– Use this button to generate a URL that you can share a specific set of inputs and graphs. Just copy the URL in the address bar at the top of your browser (after pressing the button).

Instructions for using the visual tax calculator:

  • Select filing status: Single, Married Filing Jointly or Head of Household. For more info on these filing categories see the IRS website
  • Enter your regular income and capital gains income. Regular income is wage or employment income and is taxed at a higher rate than capital gains income. Capital gains income is typically investment income from the sale of stocks or dividends and taxed at a lower rate than regular income.
  • Move your cursor or click on the Sankey graph to select a specific link. This will give you more information about how income in a specific tax bracket is being taxed.

 

**Click Here to view other financial-related tools and data visualizations from engaging-data**

As seen with the marginal rates graph, there is a big difference in how regular income and capital gains are taxed. Capital gains are taxed at a lower rate and generally have larger bracket sizes. Generally, wealthier households earn a greater fraction of their income from capital gains and as a result of the lower tax rates on capital gains, these household pay a lower effective tax rate than those making an order of magnitude less in overall income.

Tax Brackets By Year

This table lets you choose to view the thresholds for each income and capital gains tax bracket for the last few years. You can see that tax rates are much lower for capital gains in the table below than for regular income.

For those not visually inclined, here is a written description of how to apply marginal tax rates. The first thing to note is that the income shown here in the graphs is taxable income, which simply speaking is your gross income with deductions removed. The standard deduction for 2018 range from $12,000 for Single filers to $24,000 for Married filers.

  • If you are single, all of your regular taxable income between 0 and $9,525 is taxed at a 10% rate. This means that your all of your gross income below $12,000 is not taxed and your gross income between $12,000 and $21,525 is taxed at 10%.
  • If you have more income, you move up a marginal tax bracket. Any taxable income in excess of $9,525 but below $38,700 will be taxed at the 12% rate. It is important to note that not all of your income is taxed at the marginal rate, just the income between these amounts.
  • Income between $38,700 and $82,500 is taxed at 24% and so on until you have income over $500,000 and are in the 37% marginal tax rate . . .
  • Thus, different parts of your income are taxed at different rates and you can calculate an average or effective rate (which is shown in the summary table).
  • Capital gains income complicates things slightly as it is taxed after regular income. Thus any amount of capital gains taxes you make are taxed at a rate that corresponds to starting after you regular income. If you made $100,000 in regular income, and only $100 in capital gains income, that $100 dollars would be taxed at the 15% rate and not at the 0% rate, because the $100,000 in regular income pushes you into the 2nd marginal tax bracket for capital gains (between $38,700 and $426,700).

 
Data and Tools:
Tax brackets and rates were obtained from the IRS website and calculations were made using javascript and code modified from the Sankeymatic plotting website.

tax brackets diagram

Tax Brackets v2.0: Interactive Income Tax Visualization and Calculator

Posted In: Money
tax bracket visualization

How is your income distributed across tax brackets?

This updated visualization is a detailed look at the breakdown how taxes are applied to your income across each of the tax brackets. The previous version of this visualization was a Sankey graph and this new version combines the sankey view with a mekko (or marimekko) graph view. It should help you to better understand marginal and average tax rates. This tool only looks at US Federal Income taxes and ignores state, local and Social Security/Medicare taxes.

**Click Here to view other financial-related tools and data visualizations from engaging-data**

Instructions for using the visual tax calculator:

  • Tax Year: Select year from list of years as bracket sizes and deduction changes by year
  • Select filing status: Single, Married Filing Jointly or Head of Household. For more info on these filing categories see the IRS website
  • Senior checkbox Seniors are eligible for additional standard deduction and from 2025-2028 eligible for additional deduction even if you itemize
  • Enter your regular income and capital gains income. Regular income is wage or employment income and is taxed at a higher rate than capital gains income. Capital gains income is typically investment income from the sale of stocks or dividends and taxed at a lower rate than regular income.
  • Move your cursor or click on the Sankey graph to select a specific link. This will give you more information about how income in a specific tax bracket is being taxed.
  • Itemized deduction Enter the amount of itemized deductions you have including: state and local (property) taxes, mortgage interest, charitable contributions and medical expenses above 7.5% of your AGI

 

Interpreting the tax visualization graphs

Both the sankey and mekko graphs help you easily the size each of these tax brackets and the fraction of income in that bracket that you can keep and the fraction going to taxes. Also shown is the split of the regular income vs capital gains and how capital gains is “stacked” on top of the regular income.

The mekko graph is a stacked horizontal bar graph where the height of each bar is proportional to the size of the tax bracket and the bar is split into two parts: a keep and a tax portion. This makes it clear the progressive nature of the tax code, initial tax brackets are taxed at the lowest amounts and as you fill up more tax brackets, the tax rate, and the amount of money you must give to the government, increases.

As seen with the marginal rates graph, there is a big difference in how regular income and capital gains are taxed. Capital gains are taxed at a lower rate and generally have larger bracket sizes. Generally, wealthier households earn a greater fraction of their income from capital gains and as a result of the lower tax rates on capital gains, these household pay a lower effective tax rate than those making an order of magnitude less in overall income.

Also shown is a summary bar graph that shows the split in your total income into a part that you keep and the other that owed to taxes, i.e. your average tax rate.

How Do Tax Brackets Work

This is a written description of how to apply marginal tax rates. The income you have is split across various tax brackets, which by analogy can be thought of as buckets where once you fill one up, the additional money goes into another bucket, until that is filled up and so on until all your income is distributed across these brackets. The last brackets are open-ended so they are of infinite size.

You start with your deductions which changes based on your filing status, age and if you have itemized deductions. You fill this up first and you can think of this as the 0% tax bracket. Then any additional income goes into the 10% bracket where 10% of this income goes to taxes. This proceeds then onto the 12%, 22% and so on brackets.

The default example is described here for tax year 2025

  • If you are single, your standard deduction is $15,750 and you pay no taxes on this money. After that, all of your regular taxable income up to $11,925 is taxed at a 10% rate. This means that your all of your gross income below $15,750 is not taxed and your gross income between $15,750 and $27,675 is taxed at 10%.
  • If you have more income, you move up a marginal tax bracket. The next $36,550 in additional taxable income will be taxed at the 12% rate. It is important to note that not all of your income is taxed at the marginal rate, just the income in this bracket these amounts.
  • The next $48,900 is taxed at 22% and so on until you have income over $500,000 and are in the 37% marginal tax rate . . . In the default case, you only have $3,775 instead of $48,900 so this portion is taxed at 22%.
  • Thus, different parts of your income are taxed at different rates. If you have additional income that puts you into a higher tax bracket, that only affects the added income. This is the approach you would use to calculate an average or effective rate (which is shown in the summary table).
  • Capital gains income complicates things slightly as it is taxed after regular income. Thus any amount of capital gains taxes you make are taxed at a rate that corresponds to starting after you regular income. If you made $100,000 in regular income, and only $100 in capital gains income, that $100 dollars would be taxed at the 15% rate and not at the 0% rate, because the $100,000 in regular income pushes you into the 2nd marginal tax bracket for capital gains (between $48,350 and $533,400).
  • if the 0% capital gains rate threshold is at $48,350, then any regular income you have will take away from this 0% bracket size. If you have $48,000 in regular taxable income after your deduction, then you will be left with only $350 in 0% capital gains bracket space and the remainder of your capital gains will be taxed in the next bracket, 15%.

Tax Brackets By Year

This table lets you choose to view the thresholds for each income and capital gains tax bracket for the last few years. You can see that tax rates are much lower for capital gains in the table below than for regular income.

 
Data and Tools:
Tax brackets and rates were obtained from the IRS website and calculations were made using javascript, CSS and HTML. The sankey graph was made using code modified from the Sankeymatic plotting website and the mekko graph was made using the Plotly javascript open source library.

tax brackets diagram

Compound Interest and Stock Returns Calculator

Posted In: Economics | Money
compound interest and stock return calculator

Calculate returns on regular, periodic investments

This calculator lets you visualize the value of investing regularly. It lets you calculate the compounding from a simple interest rate or looking at specific returns from the stock market indexes or a few different individual stocks.

Instructions

  • Enter the amount of money to be invested monthly
  • Choose to use an interest rate (and enter a specific rate) or
  • Choose a stock market index or individual stock
  • Use the slider to change the initial starting date of your periodic investments – You can go as far back as 1970 or the IPO date of the stock if it is later than that.
  • Use the “Generate URL to Share” button to create a special URL with the specific parameters of your choice to share with others – the URL will appear in your browser’s address bar.

You can hover over the graph to see the split between the money you invested and the gains from the investment. In most cases (unless returns are very high), initially the investments are the large majority of the total balance, but over time the gains compound and eventually, it is those gains rather than the initial investments that become the majority of the total.

Some of the tech stocks included in the dropdown list have very high annualized returns and thus the gains quickly overtake the additions as the dominant component of the balance and you can make a great deal of money fairly quickly.

It becomes clearer as you move the slider around, that longer investing time periods are the key to increasing your balance, so building financial prosperity through investing is generally more of a marathon and not really a sprint. However, if you invest in individual stocks and pick a good one, you can speed up that process, though it’s not necessarily the most advisable way to proceed. Lots of people underperform the market (i.e. index funds) or even lose money by trying to pick big winners.

Understanding the Calculations
Calculating compound returns is relatively easy and is just a matter of consecutively multiplying the return. If the return is 7% for 5 years, that is equal to multiplying 1.07 five times, i.e. 1.075 = 1.402 (or a 40.2% gain).

In this case, we are adding additional investments each month but the idea is the same. Take the amount of money (or value of shares) and multiply by the return (>1 if positive or <1 for negative returns) after each period of the analysis.  
 
Sources and Tools:
Stock and index monthly data is downloaded from Yahoo! finance is downloaded regularly using a python script.

The graph is created using the open-source Plotly javascript visualization library, as well as HTML, CSS and Javascript code to create interactivity and UI.

compound interest and stock return calculator

How much wealth do the world’s richest billionaires have?

Posted In: Money
treemap of billionaires

This dataviz compares how rich the world’s top billionaires are, showing their wealth as a treemap. The treemap is used to show the relative size of their wealth as boxes and is organized in order from largest to smallest.

User controls let you change the number of billionaires shown on the graph as well as group each person by their country or industry. If you group by country or industry, you can also click on a specific grouping to isolate that group and zoom in to see the contents more clearly. Hovering over each of the boxes (especially the smaller ones) will give you a popup that lets you see their name, ranking and net worth more clearly.

The popup shows how much total wealth the top billionaires control and for context compare it to the wealth of a certain number of households in the US. The comparison isn’t ideal as many of the billionaires are not from the US, but I think it still provides a useful point of comparison.

This visualization uses the same data that I needed in order to create my “How Rich is Elon Musk?” visualization. Since I had all this data, I figured I could crank out another related graph.

Sources and Tools:
Data from Bloomberg’s Billionaire’s index is downloaded regularly using a python script. Data on US household net worth is from DQYDJ’s net worth percentile calculator.

The treemap is created using the open-source Plotly javascript visualization library, as well as HTML, CSS and Javascript code to create interactivity and UI.

how rich are billionaires

How Rich is Elon Musk? – Visualization of Extreme Wealth

Posted In: Money
How rich is elon musk

See related visualization: How much wealth do the world’s richest billionaires have?

Visualizing Elon Musk net worth in 2024

This visualization attempts to represent how much money Elon Musk, the richest person in the world, has. It gives context on this extreme amount of wealth by showing other very large sums of money that are somehow less than his net worth.

Each pixel on the screen represents a very modest amount of money (from $500 to $4000). As you scroll to the right, you will start to understand how incredibly large one billion dollars is, let alone hundreds of billions. You can change the amount of scrolling needed to get to the end of the visualization by selecting the amount represented by one pixel in the drop down menu.

This visualization was inspired heavily by a similar visualization made by Matt Korostoff for Jeff Bezos (when he was the richest person in the world) called “Wealth shown to scale”.

If you have any ideas about other items that could be added to the money chart, please leave them in the comments, and I will see if I can add it.

Mega-billionaires such as Musk or Jeff Bezos are not just extremely rich, the wealth they possess is unimaginably large. There are some extremely rich folks shown in the visualization who can buy pretty much whatever they could ever possibly need and yet their wealth is closer to that of the average person than they are to that of Elon Musk.

Sources and Tools:

The full list of data sources for the various money amounts are listed below. Most data is from 2021 though networth data for billionaires is updated regularly. The visualization was made using HTML, CSS and Javascript code to create interactivity and UI. Data from Bloomberg’s Billionaire’s index , which is the source of Musk’s (and others) estimated wealth, is updated regularly.

Full List of Data Sources:

how rich is elon musk

Early Retirement Calculators and Tools

Posted In: Financial Independence

Interested in Early Retirement or FIRE (Financial Independence to Retire Early)?

Here are some interactive and educational planning tools that I developed to help you understand the concepts of FIRE and calculate how long it will take to achieve retirement and how likely you are to survive retirement. Click on the tools below to try them out.

Financial Independence Calculators

Regardless of where you are on your path to FIRE, there are several types of tools that are useful:

These tools all focus on the concept of FIRE. FIRE is the concept that revolves around saving and investing to achieve Financial Independence (FI) and to potentially Retire Early (RE). One of the core concepts is that once you can save up enough money, you can retire by withdrawing a fraction of this money annually to cover your living expenses. Other important topics related to this core concept have to do with reducing spending so you can save money and investing so your money can grow and sustain your retirement over many decades.

 
 

Other visualizations and tools related to Financial Independence

These tools relate to taxes and stock market returns.

 
Data Sources and Tools:
See the individual tool to learn more about how it was made.