Your income pushes the gain. The gain does not push back.
Ordinary income is taxed first, by its brackets. A long-term gain sits on top and is taxed by where it lands. Enter both and see the rate on the next dollar of each, drawn as two stacks on one scale, and the one way a gain reaches back down.
2026; 26 U.S.C. § 1(h), § 86, § 1411 · Last reviewed October 28, 2026 · Facts · The bands · Methodology
https://consideratecapital.com/tools/capital-gains-tax-rate
Wages, pensions, IRA withdrawals, and interest, before any deduction. Leave out the gain, dividends, and Social Security; each has its own box.
Box 1b of a 1099-DIV. They are taxed like long-term gains and use up the 0% band first.
The profit on the sale: what you sell for, less what you paid.
Gross, before the Medicare premium is taken out. Leave at zero if you are not drawing yet.
Your ordinary income, taxed by the brackets. The gain does not appear on this bar.
The gain, stacked on top of your ordinary income and taxed by where it lands.
- Federal tax the gain adds
- $2,168
- $5,550 at 0%, $14,450 at 15%
- Illinois tax on the gain
- $990
- 4.95% of the gain, the same rate as a wage
- Federal tax on everything else
- $5,020
- The same with or without the gain
Ordinary income is taxed first, by the brackets on the top bar, as if the gain did not exist. A long-term gain is stacked on top and taxed by where it lands on the bottom bar: 0% up to $49,450 of taxable income for a single filer, 15% up to $545,500, and 20% above that. So more ordinary income pushes a gain into a higher band, and a gain never pushes ordinary income into a higher bracket. The exception runs through adjusted gross income, which the gain joins in full. It can make more of a Social Security benefit taxable, shrink the senior deduction, and set a higher Medicare premium two years later. The 3.8% surtax on investment income begins at $200,000 of income for a single filer, a line that is never adjusted for inflation.
This uses the 2026 federal brackets and capital gains bands, the standard deduction with its age additions, the senior deduction and its phase-out, the taxation of Social Security benefits, the 3.8% surtax on investment income, the Medicare premium tiers, and Illinois's flat rate. It reads each rate by adding $1,000 to that income and watching the tax. It leaves out itemized deductions, the child tax credit, whose phase-out can make a gain cost a little more for a family with children at home, collectibles and depreciation recapture, the alternative minimum tax, and loss carryforwards. Educational, not advice.
This is a simplified model, not your actual tax return or plan. It only knows what you type in, leaves out rules that may apply to you, and cannot weigh the other facts and trade-offs a real decision depends on. Before you act, talk with a professional who knows your whole situation.
Built by Joshua Mangoubi, CFA, MBA. By using this tool you agree to the tool terms, which include that results vary with each use and over time.
How it counts. The whole return, with the gain as the top slice of taxable income: the ordinary brackets on the rest, the 0, 15, and 20 percent bands on the gain, the surtax, and the share of Social Security the gain makes taxable. Each marginal rate is read by adding a thousand dollars to that income and watching the tax.
What it assumes. The standard deduction and the year's tables. Itemized deductions, the child tax credit, collectibles, depreciation recapture, the alternative minimum tax, and loss carryforwards are outside the tool. To size a December harvest against the 0 percent band, the harvesting room calculator answers that one question.
Where we fit in. We integrate tax considerations into your investment strategy and collaborate with estate attorneys and CPAs to ensure your plan is coordinated. We are not a law firm or accounting firm, so we do not provide legal or tax advice. Everything in this material is for educational purposes, based on primary sources. Before taking any action, please consult the appropriate professionals to apply these ideas to your situation.
The facts, in one place.
Six quotable sentences on how a gain and ordinary income tax each other, 2026.
- Ordinary income is taxed first by the brackets, as if the gain did not exist. A long-term gain is then stacked on top and taxed by where it lands: 0 percent up to $49,450 of taxable income on a single return, $66,200 head of household, and $98,900 joint; 15 percent up to $545,500, $579,600, and $613,700; 20 percent above that (26 U.S.C. § 1(h)).
- So more ordinary income pushes a gain into a higher band, and a gain never pushes ordinary income into a higher bracket. A single filer with $60,000 of ordinary income and a $20,000 gain pays $5,020 on the ordinary income with or without the gain.
- That is why the next dollar of ordinary income can cost more than the bracket says. The same filer is in the 12 percent bracket, yet one more dollar of wages costs 27 cents: 12 cents of its own tax, and 15 cents because it pushes a dollar of the gain from the 0 percent band into 15.
- The exception runs through adjusted gross income, which the gain joins in full. For someone drawing Social Security, a gain can make more of the benefit taxable, and the tax on the ordinary income does rise; it also trims the senior deduction and sets the Medicare premium two years later.
- A gain held a year or less is ordinary income and sits in the brackets with wages. The net investment income tax adds 3.8 percent on gains and dividends once modified adjusted gross income passes $200,000 single or $250,000 joint, thresholds that have not moved since 2013.
- Illinois taxes a capital gain at its flat 4.95%, the same as a wage, with no lower rate for gains; it does not tax Social Security or withdrawals from retirement accounts at all.
The bands.
The three bands for each status, the surtax threshold, and what Illinois adds.
| Rate | Single | Head of household | Married filing jointly |
|---|---|---|---|
| 0% | Up to $49,450 | Up to $66,200 | Up to $98,900 |
| 15% | To $545,500 | To $579,600 | To $613,700 |
| 20% | Above $545,500 | Above $579,600 | Above $613,700 |
| Surtax, 3.8% | Income above $200,000 | Income above $200,000 | Income above $250,000 |
| Illinois, 4.95% | On the whole gain | On the whole gain | On the whole gain |
Which pushes which.
The Code taxes net capital gain as the top slice of taxable income. Everything else is taxed first by the ordinary brackets, and the gain, together with qualified dividends, is taxed by the band its slice lands in. The direction follows from that order: adding ordinary income raises the floor the gain sits on, so the gain climbs into a higher band, while adding gain changes nothing below it. That is why the calculator draws two bars on one scale and leaves the gain off the top one.
The order holds for the brackets but not for adjusted gross income, which the gain joins in full. Three things read that figure: the formula that decides how much of a Social Security benefit is taxable, the phase-out of the deduction for people 65 and older, and the Medicare premium tiers two years out. Through those, and only those, a gain can raise the tax on the income beneath it. The calculator reads both marginal rates by adding a thousand dollars and recomputing the whole return, so every one of those effects shows in the rate rather than hiding in a footnote.
Methodology.
- Inputs. Ordinary income, qualified dividends, the gain and whether it is long-term, filing status, Social Security benefits, the number of people 65 or older, and whether Illinois applies.
- The return. The taxable share of Social Security from provisional income, which includes the gain (§ 86); adjusted gross income; the standard deduction with the age additions and the senior deduction after its phase-out; taxable income, with the gain and dividends as its top slice.
- The two taxes. The ordinary tax from the year's table on the ordinary slice; the gain and dividends across the 0, 15, and 20 percent bands in order; 3.8 percent on the smaller of the investment income and the excess of adjusted gross income over the § 1411 threshold. A short-term gain joins the ordinary slice.
- The rates. Each marginal rate is the change in federal tax from adding $1,000 to that income, divided by $1,000, with everything else held. Illinois adds its flat rate to the gain's.
- Validation. Seven pinned cases: the 27 percent on a single filer whose gain straddles the 0 percent band, a joint return with the whole gain at 15 plus the surtax, a short-term gain taxed as ordinary income, a Social Security case where the gain raises the ordinary tax and a twin without benefits where it does not, the head-of-household thresholds, the Illinois rate, and dividends using the 0 percent band first. A transcription error fails the build.
- Not modeled. Itemized deductions, the child tax credit and its phase-out, collectibles and depreciation recapture, the alternative minimum tax, loss carryforwards, and Illinois on income other than the gain and dividends. Educational, not advice.
Sources.
- 1. Internal Revenue Service, Rev. Proc. 2025-32 — 2026 inflation adjustments (tax rate tables § 4.01, capital gains § 4.03, AMT exemptions § 4.10). Every 2026 bracket boundary and base amount for individuals (single, head of household, joint) and for estates and trusts; the 0% and 15% capital-gain thresholds; the AMT exemption amounts. Retrieved October 28, 2026; verified October 28, 2026.
- 2. United States Code (Cornell LII), 26 U.S.C. § 1411 — Imposition of tax (net investment income). The 3.8% surtax; for a trust, the threshold is the dollar amount at which the highest § 1(e) bracket begins; for individuals, $200,000 and $250,000, unindexed. Retrieved September 4, 2026; verified September 4, 2026.
- 3. United States Code (Cornell LII), 26 U.S.C. § 86(c) — Base amount and adjusted base amount for taxing Social Security benefits. The $25,000 / $32,000 and $34,000 / $44,000 thresholds, which are not indexed. Retrieved September 4, 2026; verified September 4, 2026.
- 5. Internal Revenue Service, Rev. Proc. 2025-32 — 2026 inflation adjustments (§ 4.14 standard deduction; § 4.42 gift exclusion). The standard deduction amounts, the additional amounts for age or blindness, the $19,000 gift exclusion, and the $194,000 non-citizen-spouse exclusion. Retrieved September 4, 2026; verified September 4, 2026.
- 6. Internal Revenue Service, One Big Beautiful Bill Act: tax deductions for working Americans and seniors. The $6,000 deduction for individuals 65 and older, its MAGI phase-out thresholds, its 2025-through-2028 window, and its availability to itemizers and non-itemizers. Retrieved September 4, 2026; verified September 4, 2026.
- 7. Illinois General Assembly, 35 ILCS 5/201(b)(5.4) — Tax imposed; rate for individuals, trusts, and estates. The 4.95 percent rate on net income for taxable years beginning on or after July 1, 2017. Retrieved September 5, 2026; verified September 5, 2026.
- + United States Code (Cornell LII), 26 U.S.C. § 1(h) — Maximum capital gains rate. That net capital gain is taxed at 0, 15, or 20 percent by reference to the taxable income thresholds, as the top slice above ordinary income.
Revision history.
This tool reads the federal, annual, and Illinois records; their histories are below.
- October 28, 2026
- Added the head-of-household 0% and 15% capital-gain thresholds ($66,200 and $579,600) from Rev. Proc. 2025-32 § 4.03, for the capital gains rate calculator.
- September 5, 2026
- First release of the Illinois retirement income tax record and tool: the 4.95 percent rate, the 2026 exemption of $2,925 and the $1,000 addition at 65, and the retirement income subtraction as the statute and Publication 120 state it.
- September 5, 2026
- Added the senior deduction's phase-out rate (6 percent of MAGI over the threshold), which the widow's penalty and QCD tools apply.
- September 4, 2026
- First release of the annual numbers record and page for 2026, and of the IRMAA tool built on its Medicare section: plan and IRA limits from Notice 2025-67, HSA figures from Rev. Proc. 2025-19, Social Security figures from the Federal Register notice, Medicare premiums and both income-related tables from the CMS fact sheet, the standard deduction and gift exclusion from Rev. Proc. 2025-32, and the senior deduction from the IRS's OBBBA guidance.
- September 4, 2026
- First release of the federal income-tax record for 2026 and the trust income-tax tool: the estates-and-trusts table, the single and joint tables for comparison, capital-gain thresholds, AMT exemptions, the § 1411 trust threshold rule, and the § 642(b) exemptions, all from Rev. Proc. 2025-32 and the Code.
Canonical address: https://consideratecapital.com/tools/capital-gains-tax-rate
When you are ready, this is worth an unhurried conversation.
A first call with an advisor, just to get to know each other. No preparation needed, and no obligation on either side.
What will taxes look like once I stop working?
The planning behind the number.

A Considerate Retirement
Thoughtful, practical guidance for the years after work — on money, and on the life it is for.


