U.S. ordinary income tax is progressive. Taxable income is filled from the bottom up: the first slice faces the lowest rate, the next slice a higher rate, and so on. Only the dollars inside a bracket are taxed at that bracket’s rate. Crossing into 22% does not re-tax your earlier slices at 22%.
This sketch uses 2024 federal ordinary brackets and standard deductions for the four common filing statuses. It is a planning model - not a substitute for current-year IRS tables, filing software, or a return that includes credits, capital gains rates, or AMT. When Congress updates brackets for inflation, treat these numbers as a teaching year, not a live filing year, until the engine is refreshed.
Filing status changes the width of each bracket and the standard deduction. The same gross income can sit in different top brackets as single versus married filing jointly - which is why status is a first-class input beside the dollar fields.
taxable income = max(0, gross − max(itemized, standard deduction))federal tax = Σ (dollars in bracket × bracket rate)marginal = top filled bracket rate · effective = total tax ÷ gross