Tax Bracket Finder Formula

Understand the math behind the tax bracket finder. Each variable explained with a worked example.

Formulas Used

Marginal Tax Bracket

marginal_rate = taxable_income <= 11600 ? 10 : (taxable_income <= 47150 ? 12 : (taxable_income <= 100525 ? 22 : (taxable_income <= 191950 ? 24 : 32)))

Room in Current Bracket

room_in_bracket = taxable_income <= 11600 ? 11600 - taxable_income : (taxable_income <= 47150 ? 47150 - taxable_income : (taxable_income <= 100525 ? 100525 - taxable_income : (taxable_income <= 191950 ? 191950 - taxable_income : 243725 - taxable_income)))

Next Bracket Rate

next_rate = taxable_income <= 11600 ? 12 : (taxable_income <= 47150 ? 22 : (taxable_income <= 100525 ? 24 : (taxable_income <= 191950 ? 32 : 35)))

Variables

VariableDescriptionDefault
taxable_incomeTaxable Income(USD)60000

How It Works

2024 Tax Brackets (Single)

BracketIncome Range 10%$0-$11,600 12%$11,601-$47,150 22%$47,151-$100,525 24%$100,526-$191,950 32%$191,951-$243,725 35%$243,726-$609,350 37%$609,351+

Worked Example

$60,000 taxable income.

taxable_income = 60000
  1. 01$60,000 falls in 22% bracket ($47,151-$100,525)
  2. 02Room before 24% = $100,525 - $60,000 = $40,525

Frequently Asked Questions

What is a tax bracket?

A tax bracket is the rate applied to a specific range of income. Only income within that range is taxed at that rate (progressive taxation).

Why does "room in bracket" matter?

Knowing your room helps with tax planning. You might do Roth conversions, realize capital gains, or time income to stay within a lower bracket.

Does all my income get taxed at my bracket rate?

No. Only income within each bracket is taxed at that rate. This is why your effective rate is always lower than your marginal rate.

Learn More

Guide

Tax Bracket Guide

Understand how U.S. federal tax brackets work, the difference between marginal and effective tax rates, and strategies to reduce your tax burden legally.

Ready to run the numbers?

Open Tax Bracket Finder