About this tool
Tax-loss harvesting realizes investment losses to offset gains and reduce taxes. The IRS rules: losses first offset same-type gains (short-term losses → short-term gains), then opposite type, then up to $3,000 of ordinary income. Anything beyond carries forward indefinitely.
How it works
Enter your realized losses, short-term and long-term gains, and your tax rates. The calculator allocates losses optimally and computes your tax savings this year.
How to use the Tax-Loss Harvesting Calculator
The Tax-Loss Harvesting Calculator is a browser-based tool that runs entirely on your device. Inputs you enter never reach a server - all calculations happen client-side in JavaScript. This means:
- Privacy: nothing is logged, sent, or stored by 3Tej. Inputs disappear when you close the tab.
- Speed: results update as you type. No network round trip.
- Offline use: once the page is cached, it works without internet.
- No signup: no account, no email, no rate limits.
Step by step
- Enter your inputs in the form above. Each field is labeled with its unit (currency, percent, kg, etc.) and the expected range.
- Read the result as it updates. The number reflects the formula commonly accepted in Tax-Loss Harvesting-related calculations.
- Adjust to see sensitivity: change one input at a time and watch how the output moves. This is the fastest way to understand which variable matters most.
- Copy or screenshot the result for later reference. The page state persists for the session if your browser allows it.
When you would use this
- Quick estimates: when you need a number now and don't want to open a spreadsheet.
- Sensitivity analysis: testing how a result changes as inputs vary, before committing to a real-world decision.
- Comparison: running the same calculation with different inputs to compare options side by side.
- Learning: building intuition for how the underlying math behaves.
- Documentation: capturing a snapshot of inputs and outputs at a point in time.
The formula explained
This calculator uses the following formula:
Order: losses offset same-type gains first, then opposite, then up to $3K ordinary, rest carries forward
The reason this formula works is rooted in the underlying physics, finance, or biology of the problem. Behind every calculator is a published, peer-reviewed equation or a widely accepted convention. We do not invent formulas; we apply standard ones from textbooks, government tables, professional bodies, and academic literature.
If you are curious about the math, the simplest way to verify is to plug in two known numbers and compare against a known result. The calculator should match published examples to within rounding precision.
Frequently asked questions
Wash sale rule?
Can't repurchase the same (or substantially similar) security within 30 days before or after sale. Buy a similar but not identical fund instead.
Why is offsetting short-term first?
Short-term gains are taxed at higher ordinary rates. Use losses to kill those first for maximum tax savings.
Carry forward expires?
No - capital loss carryforward never expires. Use up to $3K against ordinary income each year, plus all gains.
Mutual fund distributions?
Year-end capital gain distributions are taxable even if you didn't sell. Tax-loss harvesting before year-end can offset these.
Is the Tax-Loss Harvesting Calculator accurate?
The Tax-Loss Harvesting Calculator applies the standard formula for tax-loss harvesting. Accuracy is limited only by your input precision. For decisions with material consequences, use the result as a starting point and verify with a qualified professional or the relevant official source.
Is the Tax-Loss Harvesting Calculator free?
Yes. 100% free, no signup, no payment, no API key. The site is funded by display ads that appear around the tool but not inside the calculation flow.
Are my inputs saved?
No. Inputs stay in your browser tab. Closing the tab discards them. The site uses Google Analytics for traffic measurement (anonymized) but does not see what you type into the form.
Can I use the Tax-Loss Harvesting Calculator on my phone?
Yes. The tool is responsive and tested on iOS Safari, Android Chrome, and major desktop browsers. Touch targets meet Apple's 44pt and Google's 48dp minimum guidance.
How do I report a bug or suggest improvement to the Tax-Loss Harvesting Calculator?
Email hi@3tej.com with the URL of this page and a description of what you saw vs expected. We typically respond within 72 hours and update calculators when rules or formulas change.
How accurate is the Tax-Loss Harvesting Calculator?
It applies the standard formula. Accuracy is limited only by your input precision. For decisions with material consequences (taxes, medical, legal, structural), use the result as a starting point and verify with a qualified professional in the relevant field.
Is the Tax-Loss Harvesting Calculator free to use?
Yes. 100% free, no signup, no payment, no API key. The site is funded by display ads around the tool but not inside the calculation flow.
Are my inputs saved anywhere?
No. All inputs stay in your browser tab. Closing the tab discards them. The site uses Google Analytics for traffic measurement (anonymized) but the analytics never see what you type into the form.
Does the Tax-Loss Harvesting Calculator work offline?
Yes. Once the page has loaded, it works without internet. The calculation runs in JavaScript on your device.
Can I share results from the Tax-Loss Harvesting Calculator?
Take a screenshot or copy the output. The page doesn't generate shareable URLs for specific calculations - inputs stay in your browser only.
Why are the results different from another tax-loss harvesting tool?
Most likely: different formula assumptions, different default values, different rounding rules, or different applicable rates. Check the methodology if both tools document it. Both can be valid for different scenarios.
