轻图神器
图片压缩、裁剪、去水印,免费图片处理小程序
轻影神器
视频去水印、压缩、转格式,免费视频处理小程
轻转神器
PDF、文档、电子书互转,免费格式转换小程
轻算神器
房贷、个税、汇率等72种计算,免费实用工具小程
Quickly calculate capital gains tax on stocks, real estate, and crypto. Understand tax implications, reduce liabilities, and plan investments smartly with our easy-to-use tool.
Note: Capital gains tax rates vary based on holding period, income level, and asset type. You can offset capital gains with capital losses.
图片压缩、裁剪、去水印,免费图片处理小程序
视频去水印、压缩、转格式,免费视频处理小程
PDF、文档、电子书互转,免费格式转换小程
房贷、个税、汇率等72种计算,免费实用工具小程
If you’ve ever sold a stock, a rental property, or even a few thousand dollars worth of crypto, you already know the feeling: that mix of excitement from the profit and dread about what you might owe the IRS. You’re not alone. Every day, thousands of investors ask the same anxious questions: “How do I calculate capital gains tax on stocks?”, “What’s my real profit after taxes?”, or “Is there a free capital gains tax calculator that actually works for crypto and real estate?”
The short answer is yes. And the even better news is that you don’t need to upload your financial life to some unknown server to get an accurate estimate. The Gain Tax Calculator on HeyCalc is designed to give you a complete breakdown—federal and state taxes, loss offsets, and even asset-specific rates—all right in your browser. Your numbers never leave your computer.
Many online tools treat capital gains like a simple math problem: sale price minus purchase price, apply a flat rate. But you and I know it’s more nuanced. Did you hold that asset for 11 months or 13 months? Are you filing as single or head of household? Did you sell a collectible or a piece of rental real estate?
The traditional way to figure this out involves digging through IRS publications, remembering your exact taxable income, and then manually applying different rates to different assets. It’s tedious, and it’s easy to make a mistake that could cost you hundreds of dollars. That’s exactly why a purpose-built capital gains tax calculator like this one exists: to eliminate the guesswork and the manual errors.
Let me show you how it feels to actually use it. Imagine you sold three things this year: some Apple stock you held for 14 months (a long-term gain), a small batch of Ethereum you flipped after 8 months (short-term), and a vintage watch you sold as a collectible.
When you open the tool, the first thing you’ll notice is that it doesn’t ask for your name, email, or any identifying information. You simply start with your filing status and your taxable income (the number on line 15 of your 1040). Why taxable income? Because federal capital gains rates—0%, 15%, or 20%—depend entirely on that number.
Then you add each asset one by one. For the Apple stock, you enter the purchase price, sale price, set the holding period to “long-term,” and select “Stocks/Mutual Funds.” For the Ethereum, you do the same but choose “short-term.” For the watch, you select “Collectibles.”
Here’s a small detail you’ll appreciate: the tool automatically knows that collectibles have a maximum 28% federal rate, not the standard 20%. Most generic calculators miss that completely.
What if you also sold an ETF at a $2,000 loss? You enter that as a capital loss to offset. The calculator applies it intelligently—first against short-term gains (which are taxed as ordinary income), then against long-term gains. This single feature alone can save you hundreds, and it’s why many experienced investors specifically look for a capital gains tax calculator with loss harvesting support.
After clicking “Calculate Tax,” the results section shows you everything: a clear table of each asset’s gain or loss, the federal rate applied to each, and your total federal tax. If you checked “Include State Capital Gains Tax,” it adds that line too. The final number you see is the total tax liability, followed by your after-tax profit.
This is the question that stops many people cold: “Do I have to upload my investment data to some website?” For the Gain Tax Calculator, the answer is no. The tool runs entirely on your device. When you enter your taxable income, asset prices, and holding periods, all of that math happens locally in your browser. Nothing is sent to a server, stored in a database, or shared with any third party.
This means you can use it even for highly confidential numbers—like a large real estate sale or a corporate stock option exercise—without a second thought about privacy. There’s no account to create, no login, and no “sign up for results” gatekeeping. It’s as private as using a spreadsheet on your own hard drive, but far more specialized and easier to use.
You don’t have to be a tax professional to benefit. Here are three common scenarios where this capital gains estimator becomes indispensable:
In each case, the workflow is the same: input the details, get an instant breakdown, and walk away with a clear plan.
One feature that sets this tool apart is the “Tax Optimization Tips” section in the results. It’s not generic advice like “consult your CPA.” Instead, it looks at your specific inputs. If you have both short-term and long-term gains, it might remind you that selling a loser before year-end can offset those highly-taxed short-term gains. If your total gain is just above the threshold for the 15% bracket, it might suggest a strategy to reduce taxable income.
These tips come from the logic used by financial planners. They turn a simple calculator into a capital gains tax planning tool rather than just a reporting tool.
You need three things for each stock: the purchase price (cost basis), the sale price, and the holding period (less than one year = short-term; one year or more = long-term). Enter each stock as a separate asset in the calculator, and it will apply the correct federal rate based on your total taxable income. Don’t forget to include any state tax if applicable.
Yes, it includes real estate as an asset type. Keep in mind that for a primary residence, you may qualify for the IRS Section 121 exclusion ($250,000 or $500,000 for married couples). This calculator estimates tax on the gain before exclusions. For pure investment real estate, it correctly applies long-term rates and notes potential depreciation recapture in the tips section.
The current version focuses on offsetting losses from the same tax year. If you have carryover losses from prior years, you can manually enter that total as a capital loss to offset. The tool will apply it against your current-year gains following IRS rules (short-term losses first, then long-term). For complex carryover situations, always cross-check with a tax professional.
Absolutely safe with this specific tool. All calculations happen inside your browser. Your financial data never makes a network request to any server. You can even disconnect from the internet after loading the page, and the calculator will continue to work. This makes it one of the most privacy-focused capital gains tax calculators available online.
Short-term gains (assets held less than one year) are taxed at your ordinary income tax rate, which can be as high as 37%. Long-term gains (held one year or more) are taxed at preferential rates: 0%, 15%, or 20%, depending on your taxable income. The difference can be enormous. For example, a $10,000 short-term gain in the 32% bracket costs $3,200 in tax, while the same gain held long-term might cost only $1,500. That’s why holding periods matter so much.
The current federal calculation focuses on the standard 0%/15%/20% brackets for most assets and the 28% rate for collectibles. High-income earners (typically over $200,000 for singles or $250,000 for married filing jointly) may owe an additional 3.8% Net Investment Income Tax. The tool’s optimization tips remind you to consider NIIT, but the primary tax amount shown is the core capital gains tax. For precision with NIIT, use the estimate as a baseline and add 3.8% if you exceed those thresholds.
Using a capital gains tax estimator isn’t just about satisfying curiosity—it’s about making better decisions. Should you sell that winning stock now or wait two more weeks to cross the one-year holding period? Is it worth selling a losing position to offset a big short-term gain? Should you accelerate a sale into this tax year or defer it to next year?
Running your actual numbers through a tool that respects your privacy, handles multiple asset types, and shows you both federal and state taxes gives you the confidence to act. You don’t need to hire a planner for a rough estimate. You don’t need to trust a random online form with your life savings. And you certainly don’t need to wrestle with a spreadsheet that doesn’t know a collectible from a crypto trade.
The Gain Tax Calculator at HeyCalc is free, instant, and works entirely on your device. Whether you’re planning a December sale or filing your April return, it’s the straightforward, trustworthy starting point every investor deserves.