US capital gains tax

Federal long-term rates for 2026. Short-term gains and state tax are not included.

US capital gains tax calculates in your browser: the numbers you enter are never sent to a server. It is free and needs no sign-up.

How to use it

  1. Enter ordinary taxable income Type your ordinary taxable income, which excludes the gain. The long-term rates are stacked on top of this income.
  2. Enter the gain and MAGI Type the long-term gain and the MAGI, which includes that gain. Tick the net investment income tax box if you want it added to the result.
  3. Read the federal tax on the gain Click Calculate. The total is shown first, with the gain tax and the net investment income tax listed beneath it. The result is federal only.

Questions

Are short-term gains included in this estimate?

No. The notice says short-term gains, collectibles, and qualified small business stock are not included, and the figure covers federal long-term rates only.

What should I enter in the MAGI field?

The field is labeled MAGI including the gain, so enter the modified adjusted gross income that includes this gain. It is an estimate, not tax advice.

Why is state tax not in the total?

The notice lists state tax as omitted, so the result covers federal tax only. Add your state estimate separately if you need a full figure.