Skip to content
Allin

Capital Gains Calculator

Estimate the taxable gain and tax due on the sale of an asset.

Capital Gains Yield CalculatorCompute the capital gains yield from the purchase and current price, with dividend yield, total return and the annualised equivalent.Break-even price calculatorFees on both sides mean you don't break even at your buy price — you break even a little above it. Enter the buy price and the buy/sell fees and get the exact sell price that gets you back to zero, plus the minimum gain that price represents.Loss recovery calculatorA drop and the bounce it takes to undo it are not symmetric: down 50% needs +100% back, not +50%. Enter the loss and see the exact gain — and price multiple — required to get back to even. The deeper the hole, the more brutal the climb.Mining profitability calculatorDaily coins, revenue, electricity cost and net profit from your hashrate, the network hashrate, the block reward and your power draw. It also gives the break-even coin price — the price below which you mine at a loss.DCF calculator (discounted cash flow)Value a company from its projected free cash flows: discount each year at the WACC, add a Gordon terminal value, then work down to equity value per share.Cost of equity calculator (CAPM & DDM)The return shareholders expect, by both standard models. CAPM: Rf + β·(Rm − Rf), the risk-based approach. DDM (Gordon growth): D₁/P₀ + g, for dividend-paying stocks. Enter the inputs and it returns each estimate side by side — a key ingredient of the WACC.Index Fund CalculatorProject the future value of an index fund from a lump sum and monthly contributions, net of the expense ratio.Hashrate converterConvert a mining hash rate across every scale — H/s, kH/s, MH/s, GH/s, TH/s, PH/s, EH/s — each step a factor of 1000. Lets you line up an ASIC quoted in TH/s against a GPU in MH/s or the whole network in EH/s at a glance.

The Capital Gains Calculator turns Sale price, Purchase price, Selling costs, Tax rate into Gross gain, Tax due, Net gain, instantly and for free. For instance, with Sale price = $150,000.00, Purchase price = $100,000.00, Selling costs = $0.00 and Tax rate = 30% it returns Gross gain = $50,000.00, Tax due = $15,000.00 and Net gain = $35,000.00.

How to use it

  1. Enter your values: Sale price, Purchase price, Selling costs, Tax rate.
  2. Read the result instantly: Gross gain, Tax due, Net gain.

Frequently asked questions

How does the Capital Gains Calculator work?

It takes Sale price, Purchase price, Selling costs and Tax rate and derives Gross gain, Tax due and Net gain from them. The calculation is live as you type, so the result updates on every change.

Which values does the calculator ask for?

4 values: Sale price ($), Purchase price ($), Selling costs ($) and Tax rate (%). Nothing else is required — no account, no file upload.

What does a typical calculation look like?

With Sale price = $150,000.00, Purchase price = $100,000.00, Selling costs = $0.00 and Tax rate = 30%, the calculator returns Gross gain = $50,000.00, Tax due = $15,000.00 and Net gain = $35,000.00. Those figures come from running this exact tool, so you can reproduce them by entering the same values.

How much does the result change with different inputs?

It moves a lot. Using Sale price = $300,000.00, Purchase price = $200,000.00, Selling costs = $0.00 and Tax rate = 33% instead, Gross gain goes from $50,000.00 to $100,000.00 — which is why it is worth testing a few scenarios rather than trusting a single figure.

Which units should I enter the values in?

Enter Tax rate %.

What does it give for smaller values?

Scaled down to Sale price = $75,000.00, Purchase price = $50,000.00, Selling costs = $0.00 and Tax rate = 27%, Gross gain comes out at $25,000.00. The relationship is worth checking at both ends before you rely on a single result.

When would I actually use this?

Comparing two investments that pay at different times, deciding whether a project clears its cost of capital, and sanity-checking a valuation someone else produced.

What is the most common mistake?

Trusting a valuation without asking what share of it comes from the terminal value. Past 70%, the answer is an assumption about the distant future dressed up as a calculation.

How accurate is it, and what are the limits?

Capital gains rates, allowances and exemptions vary widely by country and asset. This is an estimate, not tax advice.

What is the difference between the Capital Gains Calculator and the Capital Gains Yield Calculator?

This one returns Gross gain and Tax due; the Capital Gains Yield Calculator returns Result. That is the whole difference — open the one whose figure you need.

Further reading

All guides
ExplainerWhat Is a Capital Gain on Property?A capital gain on property is the profit when you sell for more than you paid, minus your costs. Learn how it is calculated and why primary-residence rules matter.ComparisonSelling a Second Home: Only One of These Three Countries Rewards Holding ItFrance tapers the tax on a property gain to zero over twenty-two and then thirty years. Spain does not taper at all for anything bought after 1994. Portugal has no taper either — it has an inflation index and a fifty per cent haircut, which is a different animal entirely.GuideHow Crypto Tax Is Calculated: The Principles That Apply EverywhereRates differ by country, the mechanics rarely do: a disposal triggers a gain, the gain is proceeds minus cost basis, and staking is income. Here is the calculation and where jurisdictions diverge.ExplainerThe Two Clocks of a Like-Kind Exchange: 45 Days, 180 Days, and What Boot CostsSell at $700,000 with a $300,000 basis and the gain is $400,000. Buy back at $640,000 and the $60,000 you kept is boot — taxed now, at 25 percent, because it is depreciation coming home. The 45 and 180 days start on the same day; they do not run one after the other.GuideIs Crypto Mining Profitable? Electricity, Hashrate and DifficultyMining profit is daily revenue minus daily power cost, and the electricity price decides it. Here is the calculation, a break-even table, and the three variables that move against you.ExplainerLeverage, Liquidation, and the Asymmetry of LossesLiquidation distance is (1 ÷ L − m) ÷ (1 − m): at 20× that is 2.56 percent on a 2.5 percent maintenance margin, inside a normal day. Recovering a loss needs 1 ÷ (1 − L) − 1, so 90 percent lost needs 900 percent back. Combined, repeated leveraged bets on a market with a genuine +0.08 percent edge compound at −1.23 percent per period at 10×.