liveBook · Manning

Marginal tax rate

As explained in Build a Robo-Advisor with Python (From Scratch)

A marginal tax rate is the tax rate applied to the next unit of taxable income within a tax system.

A marginal tax rate measures the additional tax caused by the next unit of taxable income. In retirement planning, that unit can alter several tax streams at once: ordinary income tax, capital gains tax, taxable Social Security benefits, deductions, credits, or Medicare premiums. section 9.3.3 section 9.4

An extra $10,000 withdrawal

With $80,000 of ordinary income and $40,000 of capital gains, total taxes are $12,600: $9,600 on ordinary income and $3,000 on gains. Increasing ordinary income to $90,000 raises total taxes to $15,300, an increase of $2,700. The marginal tax rate is therefore 27%, even though the ordinary-income rate is 12%, because the added income pushes $10,000 of gains from the 0% bracket into the 15% bracket. section 9.3.3

A marginal rate can therefore exceed the displayed rate on the income being withdrawn. Additional IRA income may increase taxable Social Security benefits, trigger deduction or credit phase-outs, raise Medicare premiums through IRMAA, or reduce IRA deductibility. These indirect effects belong in withdrawal comparisons because they change the cost of the next dollar. section 9.3.3 section 9.4

How Build a Robo-Advisor with Python (From Scratch) covers it

How deep it goes
Calculates marginal effects through bracket examples and a tax function, while deferring full treatment of every tax rule to the broader model.
Examples
Uses $80,000 versus $90,000 of ordinary income, $40,000 of capital gains, bracket tables, and a Python tax-calculation function.
What it assumes
Uses ordinary income, taxable income, capital gains, tax brackets, and retirement-account withdrawals as the working tax model.
What you can do after
Diagnose withdrawal choices by comparing the added taxes caused by additional IRA income and related bracket or benefit changes.
How it connects
Connects ordinary income, capital gains taxes, Social Security taxes, tax brackets, Roth conversions, and Medicare premiums.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build a Robo-Advisor with Python (From Scratch). The section links point to the parts of the book it draws on.