How it works
Last updated November 15, 2026
You enter an income. The site works out the federal income tax you would owe for a tax year, then shows how that amount divides across what the federal government spent that year. This page explains each step and where the numbers come from.
How your tax is computed
Your income is reduced by the standard deduction for your filing status (single, married filing jointly, married filing separately or head of household) to get taxable income. That amount is taxed in layers: each slice of income is taxed at the rate of the bracket it falls in, and the slices are added up. Brackets and deductions are the ones the IRS published for that tax year.
For states that tax income, the calculator applies the state's published rate: none, one flat rate, or a progressive schedule, to your gross income as a single filer.
Payroll taxes
The results also show the employee share of payroll tax, assuming your income is all wages: Social Security at 6.2% on wages up to that year's wage base, and Medicare at 1.45% on all wages plus an additional 0.9% on wages above $200,000 (single or head of household), $250,000 (married filing jointly) or $125,000 (married filing separately). These taxes fund Social Security and Medicare, so they are shown beside the income tax, not folded into it. Self-employment tax and the employer's matching share are not included.
Capital gains
If you enter long-term capital gains, they are added on top of your ordinary taxable income and taxed at 0%, 15% or 20% depending on where they fall relative to that year's IRS breakpoints for your filing status. Any standard deduction left over after your ordinary income reduces the gains. Short-term gains are ordinary income, so enter them in the income field. The 3.8% net investment income tax and state tax on gains are not included.
Sales tax
When you choose a state, the State tab shows a sales tax estimate: the state's combined state and average local rate (Tax Foundation, 2024) applied to an assumed 30% of your income spent on taxable goods. Real sales tax depends on what you buy, so treat it as a rough estimate. It is shown beside, not added to, the federal burden.
Property tax
If you enter a home value and choose a state, the State tab shows a property tax estimate: the state's average effective rate on owner-occupied housing (Tax Foundation, from Census data) applied to the value you entered. Your real bill depends on your county, assessment and exemptions, so treat it as a rough estimate. It is shown beside, not added to, the federal burden.
How it is split across spending
For the same year, federal outlays are grouped by budget function (for example National Defense, Health, Social Security). Each function's share of total outlays is applied to your tax. If a function was 20% of that year's spending, 20% of your tax is shown against it. Shares are the data as reported; the site does not weight or editorialize them.
What is an estimate
- Taxes are not traced dollar by dollar. Government money is pooled, so each function gets a proportional share. This is an average, not a receipt.
- Your real return can differ: credits, itemized deductions, other income types and state-specific rules are not modeled.
- State figures use a single-filer calculation on gross income.
Not included yet
Self-employment tax, the employer's matching payroll share, the 3.8% net investment income tax, state tax on capital gains, local income taxes, credits and itemized deductions are not part of the result.
Data sources
- USAspending and the Office of Management and Budget: federal outlays by budget function, years 1962–2025.
- IRS revenue procedures: federal brackets and standard deductions (tax years 2024 and 2025).
- IRS Topic 751: Social Security and Medicare withholding rates, and the Social Security Administration wage base for each year.
- Census Bureau Annual Survey of State and Local Government Finances: state and county spending for 2015, 2020, 2021, 2022.
- State revenue departments and the Tax Foundation: state income tax rates (2024).