For CPAs, Enrolled Agents and tax preparers
A ProfitWeave LLC company

Calculators / Capital Gains

Federal and state · Tax years 2026 and 2027

Capital Gains Calculator

Answer "how much tax will I owe if I sell?" in one screen. The calculator figures the federal and state tax a stock or investment sale adds to the client's return, and what the timing options are worth.

 
The sale · example client loaded
Client
Other income for 2027
Tax on the sale
—
 
Federal
—
 
State
—
 
Cash after tax
—
 

The sale and its tax

The tax caused by this sale, on top of the client's other income.

LineAmount
Calculating

Ways to lower it

The same gain under other timing or residency.

OptionTax on the gainSaved
Calculating

Also from ProfitWeave · TaxPlanningDirect

One calculation answers one question. A tax plan answers the rest.

Enter the client's facts once. TaxPlanningDirect screens the return for the planning moves that fit, puts a dollar figure on each one, and writes the strategy report for you to review.

  •  Entity, retirement plan, compensation and deduction strategies in one pass
  •  Estimated savings shown for every recommendation
  •  A client-ready report in minutes, not a weekend
  •  Turn tax preparation clients into year-round planning clients
See TaxPlanningDirectBuilt for tax firms

Sample strategy report

PTET election$17,000
Cash balance plan$31,500
Reasonable compensation review$6,200
Accountable plan and home office$2,900

Estimated annual savings$57,600

Illustration only

Selling part of the position

Tax at smaller sale sizes, to find where a bracket or the net investment income tax begins.

Gain realizedFederalStateTotal taxRate
Calculating

Points to review

Planning items that apply to this sale.

  • Calculating

Assumptions

  • Federal: long-term gains and qualified dividends are taxed at 0%, 15% and 20% on top of ordinary income, using the 2026 and 2027 thresholds. Short-term gains are ordinary income. The 3.8% net investment income tax applies above $200,000 of modified AGI ($250,000 joint, $125,000 separate).
  • The tax on the sale is the difference between the full return with the sale and the same return without it, so it includes the effect of the gain on brackets and on the net investment income tax.
  • California: 2026 tax rate schedules and standard deduction, used for both years. Gains are taxed as ordinary income. Other states are estimated at the flat rate entered.
  • Splitting the sale assumes the same income and tax tables in both years.
  • Not modeled: collectibles and Section 1250 rates, qualified small business stock, installment sales, AMT, and the effect of higher income on credits and Medicare premiums.

Send this to your client as a branded report

Pro plans add your logo and firm name and export a PDF.

See a sample reportView Pro plans