Capital Gains Tax Calculator
estimate_capital_gains_taxCapital Gains Tax Calculator with a chart, the same math as the web page. What is the tax on your gain? Enter what you paid, what you sold it for and your income. See the 2026 federal tax, long term and short term. It estimates 2026 US federal tax on one sale, long term and short term, using IRS figures. It is not tax advice. Ask a tax professional about your own return. People ask for it as "capital gains tax calculator", "how much is capital gains tax" or "capital gains calculator".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "estimate_capital_gains_tax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fs | No | How you file your taxes. Default: single. | |
| st | No | Your state’s tax rate. A percent: 5 means 5%. Optional. We use one flat rate. Many states have brackets. Default: 0. | |
| inc | No | Your income this year. US dollars. Taxable income: your income minus deductions. Leave out this sale. Default: 60000. | |
| long | No | Did you own it more than a year?. Default: 1. | |
| magi | No | Income for the 3.8% tax. US dollars. Your modified adjusted gross income, with this sale. Leave blank and we estimate it. Empty if left out. | |
| paid | No | What you paid. US dollars. Include any fees you paid to buy. Default: 10000. | |
| sold | No | What you sold it for. US dollars. Default: 20000. |