Crypto profit calculator

Trade result for long and short positions including entry and exit fees and leverage.

Inputs

Crypto profit calculator

6 fields

A linear fixed-size position with the same percentage fee on both sides. Liquidation, funding, borrowing interest, slippage, inverse contracts and taxes are excluded. Initial margin is not the entire cash requirement; the calculation does not establish that a position can stay open.

Fill in the fields and the result will appear here automatically.

Models the linear result of a fixed-size trade: with direction, two fees and leverage. A short earns on a falling price, so the sign of the difference flips — computing it as a rise would report a loss where there was a gain. The fee is charged twice, on entry and on exit, and is taken from each side's turnover rather than from the result, so a losing trade still costs money. Leverage does not change the profit itself, only its ratio to your own funds — and that ratio is what the position return shows. A linear fixed-size position with the same percentage fee on both sides. Liquidation, funding, borrowing interest, slippage, inverse contracts and taxes are excluded. Initial margin is not the entire cash requirement; the calculation does not establish that a position can stay open.

Category
Finance
FAQ
5 questions
Freshness
formula-based

How it works

Formula and logic

Before-fee result = (exit − entry) × size for a long, with the difference reversed for a short. Fees = (entry price × size + exit price × size) × per-side fee percentage / 100. The net result subtracts only these fees. The invested row is calculated initial margin: entry price × size / leverage. Position return = net result / this margin × 100; the entry fee is not in that denominator. For a fixed position size, leverage changes the denominator rather than the monetary result.

Example

A long of 0.5 coin from 30000 to 34500 at a 0.1% fee nets 2217.75 and returns 14.79%.

Fields and units

  • Trade direction — list option
  • Entry price — $
  • Exit price — $
  • Size, coins — unitless
  • Fee per side, % — unitless
  • Leverage — unitless

How to use

  • — Choose the direction: a long earns on a rise, a short on a fall.
  • — Enter the entry price, the exit price and the size in coins.
  • — Enter the exchange fee for one side of the trade.
  • — Set the leverage if the position was opened with borrowed funds.

Method and limitations

Calculation method
Formula and logic
Limitation
A linear fixed-size position with the same percentage fee on both sides. Liquidation, funding, borrowing interest, slippage, inverse contracts and taxes are excluded. Initial margin is not the entire cash requirement; the calculation does not establish that a position can stay open.

FAQ

Why does the sign flip on a short?

Because a short earns on a fall: the profit appears when the exit price is below the entry price. Computing it as a rise would report a loss where there was a gain.

Why is the fee charged twice?

The model assumes the same percentage charge on entry and exit notionals. A real exchange can use different maker/taker rates, discounts or another base; these terms are not selected here.

How does leverage change the result?

For an unchanged position size, the monetary result stays the same. Leverage 2 halves calculated initial margin and doubles the result-to-margin ratio. Fixing your own capital instead changes position size, which is a different setup.

Is the funding rate included?

No. Funding depends on the exchange and on how long the position is held; this calculator settles the trade itself.

What does the price change show?

How far the price moved between entry and exit, regardless of the direction of the trade or the leverage.