FinYield

Know the exit before you enter

Crypto & Stock Tax, Profit & Capital Gains Calculator

Gains are only real after fees and the tax man. Model both trading legs, your capital-gains rate and every hidden cut - then see the after-tax profit, ROI and the exact sell price that breaks even.

Your trade

Exchange taker/maker fee on entry

Plus slippage, if you're honest

Short- vs long-term - check your local brackets

Live Results

AFTER-TAX PROFIT

$2,572.10

After $54.00 in fees and $453.90 in tax, this trade still pays.

Break-even sell price: $186.13 per unit.

Gross profit

$3,080.00

Before fees & tax

Total fees

$54.00

Buy + sell legs

Capital gains tax

$453.90

At 15%

ROI (after tax)

27.71%

Return on capital deployed

Profit margin

20.9%

Of net proceeds

Total invested

$9,283.15

Including buy fee

Where every sale dollar goes

Gross proceeds decomposed

  • Cost basis$9,260.0075%
  • Buy fee$23.150%
  • Sell fee$30.850%
  • Tax$453.904%
  • Net profit$2,572.1021%

Position ledger

Every line of the trade, settled

Gross sale value$12,340.00
Sell fee−$30.85
Net proceeds$12,309.15
Cost basis$9,260.00
Buy fee−$23.15
Taxable gain$3,026.00
Tax owed−$453.90
After-tax profit$2,572.10

All calculations are processed locally in your browser. No financial data is sent to external servers.

Field Guide

Field guide

Capital gains math for crypto and stocks

The profit equation, both legs included

Most traders size up a position with one line of arithmetic: (sell price − buy price) × quantity. That number is gross, and it flatters almost every trade you make. Exchanges charge on the way in and the way out, and each fee is levied on the full notional value of the leg - not on your profit. A calculator that ignores either leg will always overstate what you keep. The honest equation nets both fees before the tax man takes his share:

Net profit = (Sell × Qty × (1 − Sell fee)) − (Buy × Qty × (1 + Buy fee))
Tax owed = Taxable gain × Capital gains rate
Each fee applies to the whole leg value, not your gain. A 0.25% round trip inside a 3% price move quietly hands over a sixth of the profit.

Gross profit is simply what you sold for minus what you paid. Net profit is what actually lands in the account after both fees clear. Tax is then charged on the taxable gain - here, the net profit floored at zero - so a losing trade owes nothing. Keeping the three figures separate matters: a trade can look brilliant in gross terms and still be marginal once fees and tax are subtracted, which is why this tool reports every layer side by side.

Fees compound against you

Before entering any position, ask a different question: how high must the price go just to stand still? That is the break-even sell price, and it is purely a function of your round-trip costs:

Break-even sell price = Buy × (1 + Buy fee) ÷ (1 − Sell fee)
A $185 entry with 0.25% fees on each leg needs roughly $186.13 - about 0.5% of free lift before the first dollar of profit.

The hurdle looks small until you trade often. A 0.5% round trip repeated ten times a week consumes a fifth of a 2.5%-per-trade edge; the same trip at 2% - wide spread, slippage, taker fees on an illiquid alt - can swallow the entire strategy. High-frequency traders bleed precisely because they pay the toll on every crossing. Illiquid markets and leveraged positions push the break-even line further from your entry, which is why the cheapest reliable edge is trading less, better.

Short-term vs long-term rates

The rate you pay depends mostly on how long you held the asset. In the United States:

  • Assets held more than one year qualify for long-term capital gains rates - 0%, 15% or 20% depending on taxable income, plus a possible 3.8% net investment income tax at high incomes.
  • Positions sold within a year are short-term gains taxed as ordinary income, which reaches 37% at the top federal bracket - often more than double the long-term rate.
  • The IRS treats crypto as property, not currency: every sale, swap or spend is a taxable event computed the same way as stock gains, coin-to-coin trades included.
  • The one-year mark is a cliff, not a gradient - exiting a week early can nearly double the tax bill on a large gain.
  • Rates and rules differ by country and change often - check your local tax authority before filing.

Run the numbers in five steps

  1. Enter the buy price and quantity to fix your cost basis, with the buy-leg fee folded in.
  2. Enter the expected sell price to get gross proceeds minus the sell-leg fee.
  3. Set both exchange fees - taker or maker - and add any slippage you expect on execution.
  4. Choose the capital gains rate that matches your holding period and income bracket.
  5. Read the verdict: after-tax profit, ROI and the break-even sell price. If a trade loses money the tax line drops to zero - losses incur no tax, and realized losses can even be harvested to offset gains elsewhere in your portfolio.

Pricing the exit is one pillar of a larger plan. Once a trade's after-tax profit is on the table, roll it into the FIRE calculator to watch the proceeds compound toward independence, or into the loan payoff calculator to weigh deploying the cash against debt instead of the market.

Questions

Straight answers, no jargon

Frequently Asked Questions