Crypto
Crypto trading profit, liquidation and staking calculator
Calculate crypto trade profit after fees, isolated liquidation estimates, position size and staking rewards. Convert nominal APR and effective APY.
Content updated . Assumptions reviewed .
Your inputs
Showing the example. Edit your inputs, then calculate.
Net profit or loss
4,895 USD
Linear position profit after entry fees, exit fees and net funding cost.
- Gross Profit
- 5,000
- Total Fees
- 105
- Funding Cost
- 0
- Return On Entry Notional Percent
- 9.79
Illustrative result from your inputs and the dated assumptions shown; not a forecast, recommendation or offer
KlarFort is not financial, investment, tax, or legal advice. Verify outputs before making material decisions. Read the disclaimer.
Personal and commercial use is free with credit to KlarFort. See usage and credit.
About this calculator
Explore five calculations: long or short trade profit, a simplified liquidation price, position size from a stop-loss budget, staking rewards and APR/APY conversion. Prices and trade cash amounts use US dollars; quantities use coin units.
The liquidation calculation models one isolated linear position. It does not reproduce a specific exchange's rules, and a position-size estimate cannot guarantee the loss at which a trade closes.
How to use this calculator
- Choose the calculation mode and coin. For a trade, select long or short and enter the relevant prices.
- Enter the quantity and fees for profit, or isolated margin, leverage and maintenance rate for liquidation.
- For position size, enter account equity, risk percentage, stop price and leverage. For staking or rate conversion, enter the rate type and compounding frequency.
- Calculate and check the result unit and assumptions before interpreting the profit, price, coin quantity or percentage.
Understand your result
Profit subtracts entry fees, exit fees and net funding cost. A negative funding cost represents a credit. Position size is capped by both the stop-loss budget and equity available for margin plus the entry fee.
Staking results show coins after compounding and the entered fee on positive rewards. APR is a nominal annual rate; APY includes compounding. Neither staking mode nor rate conversion assumes token-price appreciation.
Questions about this calculator
Will the liquidation estimate match my exchange?
Not necessarily. It assumes isolated linear margin and a constant maintenance rate. Exchange tiers, maintenance deductions, inverse contracts, cross collateral, slippage and mark-price differences are excluded.
Does risk-based position sizing cap my actual trading loss?
No. It sizes against the entered stop price and entry and exit fees, with an available-margin cap. Stops may fill at worse prices, and funding or other execution effects are not included in this sizing calculation.
What is the difference between staking APR and APY?
APR is converted using the entered number of compounds per year. APY is already an effective annual rate. The staking projection compounds coin units over the duration and deducts the entered fee only from positive rewards.
Can I use the reference price as an exchange execution price?
The reference is indicative and only fills the entry-price field. Powered by CoinGecko through a KlarFort snapshot, its timestamp records when KlarFort retrieved that snapshot, not an exchange trade or mark-price observation. Enter your own execution, exit and stop prices for the scenario. Manual entry remains available when a quote is missing.
Where do my figures go?
Your page calculations run in this browser. The API and connected assistants send the inputs supplied to them to our Cloudflare Worker. See Privacy.
How can I reproduce this result?
Use the same inputs and assumptions shown here. Simulation seeds reproduce the same paths. Read the calculation documentation.
Your calculation table
No scheduled rows for these inputs.
Citable worked example
Crypto trading profit, liquidation and staking calculator: fixed public worked-example outputs using the calculator’s published default inputs. Calculate crypto trade profit after fees, isolated liquidation estimates, position size and staking rewards. Convert nominal APR and effective APY. These illustrative figures are independent of visitor inputs and live market feeds. The table contains 4 rows and is available as CSV and JSON. Formula and assumptions reviewed 2026-09-07.
These are fixed public examples. Your calculation above does not change this table.
| Metric | Value |
|---|---|
| grossProfit | 5,000 |
| totalFees | 105 |
| fundingCost | 0 |
| returnOnEntryNotionalPercent | 9.79 |
Computed with KlarFort Calculators, https://klarfort.com/
Calculator reference: https://klarfort.com/tools/crypto-trading-calculator/. Usage and credit.
Formula and assumptions
Linear profit = direction × quantity × (exit − entry) − entry fee − exit fee − funding. Liquidation solves equity = maintenance margin + closing fee.
- Prices and trade amounts are in USD; quantities and staking principal are coin units.
- Liquidation is an estimate for one isolated linear position with constant maintenance rate. It excludes exchange tiers, maintenance deductions, inverse contracts, cross collateral, slippage and mark-price differences.
- Stops may execute at a worse price; position sizing does not guarantee a maximum loss.
- Staking assumes constant rates, fractional compounding, no token-price change, and a fee on positive rewards only.
Assumptions reviewed:
Sources
- KlarFort calculation methodology. Free to use with the credit line; vintage 1.
Related tools
Crypto converter and DCA calculator
Convert crypto to fiat or fiat to crypto after entered fees. Model regular purchases with an assumed price change in a forward DCA scenario.
Open calculator →moneyCurrency converter and transfer fee calculator
Convert currencies and check a transfer quote. Compare the reference rate, quoted rate and fee to see the amount received and effective exchange rate.
Open calculator →Keep your whole picture in one place
Track your net worth, cash flow and runway with KlarFort.