Decision Summary
Harvesting $15,000 in losses offsets $15,000 in gains and $0 in ordinary income.
Tax
Estimate the tax savings from harvesting investment losses against capital gains and income.
Harvesting $15,000 in losses offsets $15,000 in gains and $0 in ordinary income.
The main answer and the most important supporting outputs in one glance.
Contract, discovery endpoints, and developer notes for agent use.
Always available for agents
Tool contract JSON
https://aifinhub.io/contracts/tax-loss-harvesting-calculator.jsonStable input and output contract for this exact tool.
Human review
People can use the browser page to sense-check outputs and charts, but agents should still execute against the contract and discovery endpoints.
{
"tool": "tax_loss_harvesting",
"unrealized_losses": 18000,
"capital_gains_this_year": 12000,
"ordinary_income_offset": 3000,
"capital_gains_tax_rate_percent": 15,
"income_tax_rate_percent": 24
} No. Start with /agent-tools.json, then follow the tool's contract URL. The page UI is for human review, not parameter discovery.
Every tool opens in Quick Start first. Advanced Controls keeps the same scenario, reveals more assumptions or diagnostics, and every tool keeps AI integrations inline below the instructions.
Open it when a human wants to sense-check the output, review the chart, or keep exploring related tools after the calculation finishes.
It is the practice of selling investments at a loss to offset capital gains taxes, then reinvesting in a similar (but not substantially identical) asset to maintain market exposure. The harvested loss reduces your current tax bill while your portfolio stays invested.
It depends on your tax bracket and the size of your losses. At a 24% federal bracket, harvesting $10,000 in losses saves $2,400 in taxes (more if offsetting short-term gains taxed at ordinary rates). You can also deduct $3,000/year against ordinary income and carry forward unlimited losses.
If you buy a substantially identical security within 30 days before or after selling at a loss, the IRS disallows the loss. You must wait 31 days or buy a different-but-similar fund (e.g., sell an S&P 500 fund, buy a total market fund). The tool flags wash sale windows.
Use this to quantify the tax benefit before executing trades. It models the savings from harvesting specific lots, accounts for your bracket, and checks whether the trade is worth the effort and transaction costs.
No. All calculations happen in your browser. Nothing is stored or transmitted.
Estimate side-hustle tax impact and set monthly/quarterly reserves with clear non-advice planning disclosures.
Estimate quarterly tax reserves for freelance and gig income with safe-harbor aware monthly and quarterly targets.
Estimate 2025 US federal tax by filing status with marginal vs effective tax rate and bracket-by-bracket tax breakdown.
Estimate your net take-home pay after federal income tax, state income tax, FICA, 401k, and health insurance deductions. See your effective tax rate and annual net income.