Determine if your recent stock purchase triggered an IRS Wash Sale and calculate your new adjusted cost basis.
Step 1: The Loss Sale
Step 2: The Re-Buy
Rule Triggered: Buy within 0 days
IRS Impact
Loss Disallowed
Cannot use this loss to reduce taxes this year.
Adjusted Cost Basis
$105.00 / share
Loss added to your new cost basis.
The 61-Day Window
A wash sale covers 30 days before, the day of, and 30 days after the sale. If you buy "substantially identical" stock within this window, you cannot claim the loss on your current tax return.
The Wash Sale rule (IRS Publication 550) prevents taxpayers from claiming a loss on the sale of a security if they purchase a "substantially identical" security within 30 days before or after the sale.
Many traders mistakenly think the rule only applies 30 days after a sale. In reality, the window is 61 days: 30 days before the sale, the day of the sale, and 30 days after the sale.
If a wash sale is triggered, you cannot use the loss to offset your capital gains or income for the current tax year. Instead, the "disallowed loss" is added to the cost basis of the new shares you purchased.
The benefit of a wash sale is that your loss isn't gone forever; it's deferred. By adding the loss to the cost basis of the new shares, you will eventually realize that loss when you sell the new shares (as long as you don't trigger another wash sale).
You buy 100 shares of Apple at $150 and sell at $120 (a $3,000 loss). Two weeks later, you buy Apple again at $125. Because you bought back within 30 days, your $3,000 loss is disallowed. Your new cost basis for the $125 shares becomes $155 ($125 + $30 loss per share).
This calculator is part of our premier suite of Wall Street investment calculators. Explore the fullUS Stock Market Toolkitto optimize your strategy and manage risk like a professional.
Expand your market intelligence and master risk management with our top recommended professional trading literature.
Explore related calculators to sharpen your edge
Calculate net profit for NYSE/NASDAQ trades including SEC, FINRA TAF, and brokerage fees
Estimate federal tax for Short-term vs Long-term capital gains in the USA
Calculate net income for Qualified and Ordinary dividends under US tax brackets
Calculate P&L for US call/put options with contract fee and leverage logic