Federal tax on selling stock in 2027: how much you'd owe, how much waiting or selling a loser could change it, and whether a buy-back falls under the wash-sale rule.
Coming back?
1. You
Carried-over losses are on last year's return (the capital loss carryover worksheet with Schedule D). State rate: your state's top rate on your income; no-income-tax states are 0. Find your state's tax website.
2. Your sales
Load sales from your broker's file (CSV or PDF)
🔒 Your file stays on this device. It's read by your own browser and never uploaded, saved or sent: this page is built so it can't send anything over the internet. Account-number columns are ignored. Close or reload the page and it's gone. You can test this: turn off Wi-Fi, then load the file. It still works.
Most brokers let you download a "realized gain/loss" or 1099-B file as CSV from their tax documents page. Statements and tax forms saved as PDF work too, if the PDF has real text (not a scan or photo).
What if I wait?
More tools
Extra tools for bigger questions. Open any of them; they don't change the estimate above.
Spread a sale over two years
Which shares to sell
If you bought the same stock more than once at different prices, the shares you pick to sell change the profit. Brokers usually sell the oldest shares first unless you choose others (often called "specific lot" or "specific shares"), and you normally have to choose by the time of the sale.
Your purchases of this stock
Compare two plans
Save what's entered now as Plan A, change something (dates, shares, which sales), then save it as Plan B. Plans live only in this page and vanish when it's closed.
Estimate only, for learning; not tax, legal or investment advice. Federal tax only (no state tax, alternative minimum tax or special cases). Figures: 2026, IRS Rev. Proc. 2025-32; 2027, IRS Rev. Proc. 2026-35; later years are estimates until the IRS publishes them; 3.8% net investment income tax per IRS.
"Save to my computer" puts a small file of your boxes on your own computer (usually in Downloads). Nothing is sent anywhere. Next time, use "Open my saved file" at the top to pick up where you left off.
Estimate only, for learning. Not tax, legal or investment advice: it shows what the numbers would be, not what to do. Federal tax only: state tax, the alternative minimum tax and special cases (inherited shares, gifts, options) aren't included. State tax is a rough figure: your rate times the profit. Figures: IRS Rev. Proc. 2025-32 (2026) and Rev. Proc. 2026-35 (2027): brackets, capital gains lines, standard deduction. Years the IRS hasn't published yet use the newest figures raised by last year's rise, and are marked as estimates; 3.8% net investment income tax lines from the tax code. Check with a tax professional before acting.
Want to practice? The Stock Sale Taxes Workbook: a 43-page printable, fillable PDF with 5 worked examples and 25 practice problems with a full answer key. $19.99 on Gumroad.