Skip to main content
WizTools123
Free Online Tools

Tool Categories


Crypto Tools New Tool

Free Online Crypto Profit and Loss Calculator, Long, Short & Fees

Work out the profit or loss on a position before or after you close it. Long and short are both handled, fees on entry and exit are included, and the result appears in cash, as a percentage, and against the money you actually put in. Change one number and the whole answer follows.

Free Forever Four Percentages, Kept Apart Spot & Futures Leverage & Funding Runs In Your Browser
Free Online Crypto Profit and Loss Calculator, Long, Short & Fees
Share this tool
This calculator provides mathematical estimates based on the values you enter and is not financial or investment advice. Actual results may differ because of fees, funding, slippage, liquidity, execution price, exchange rules, contract specifications and market conditions. Your exchange's figure may not match this one, because perpetuals settle against a mark price and contract sizes round positions.
Advertisement Slot (Top Banner) Google AdSense Unit • Responsive Banner
Crypto Profit and Loss Calculator Calculate crypto trading profit, loss, ROI, fees, position value, and account impact for Long and Short positions.

This calculator provides mathematical estimates only and is not financial or investment advice. Everything is worked out locally in your browser.

Position
This position is
The position is still open. This number moves with every tick and is not money you have until you close.
A long makes money when the price rises.
Or enter the position value below and let the quantity follow.
Optional. It works the quantity back from the entry price.
Leverage changes the margin and the return on it, never the gross profit or loss.
Optional. It adds the account impact, usually the most sobering of the four percentages.
Common conventions, not any particular exchange's published rates. A negative funding rate is treated as a credit.
Profit and Loss summary
—
Gross Profit and Loss— Trading fees— Funding— Net Profit and Loss—
The four percentages Price changeagainst the entry price — Position Profit and Lossagainst the position value — ROI on marginagainst the initial margin — Account impactagainst the account balance —
Price against profit and loss
Four percentages, four different questions. The price change is what the asset did. Position Profit and Loss is your profit against the whole position. ROI on margin is your profit against the money you actually put up. Account impact is what it did to your balance. At 10× a 5% price move is 50% on margin. Both are true, and swapping one for the other is how a 5% move starts to feel like a 50% one.
Just holding instead? This page is built around opening and closing positions. If you simply bought and are waiting, the Crypto Profit Calculator has the tools that suit a holding: market cap and supply, what a given amount buys, plain price change, and ROI straight from what you put in against what it is worth now.
Buy Us A Coffee

Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.

Buy Us A Coffee
Sponsored Content (Below Tool) Google AdSense Placement

How to Use the Profit and Loss Calculator

Five steps, and the last one is the one people skip.

1
Pick the position

Long or short. A long profits when the price rises, a short when it falls, and everything below flips with this one choice.

2
Enter the entry and exit prices

The exit can be a price you actually got, or the current price if the trade is still open. The tool labels which of the two you are looking at.

3
Enter the quantity

In units of the coin. If you know the position value instead, enter that and the quantity is worked back from the entry price.

4
Add fees and funding if they apply

Both sides of the trade are charged, and a perpetual is charged for every period you hold it. Leave them empty for a clean gross figure.

5
Read the four percentages separately

Price change, position Profit and Loss, ROI on margin and account impact are four different questions. The summary keeps them apart on purpose.

Why Your PnL Looks Wrong

One trade: a 10,000 position at 10× on a 5,000 account, with 0.05% fees each way and 6 of funding.

Price move Gross Costs Net On position On margin On account
+5% 500.00 16.25 483.75 4.84% 48.38% 9.68%
-5% -500.00 15.75 -515.75 -5.16% -51.58% -10.32%

Price change

Measured against the entry price

How far the asset itself moved. Nothing to do with your position size or your leverage.

Position Profit and Loss

Measured against the position value

Your profit against what the whole position was worth. On an unleveraged trade this matches the price change.

ROI on margin

Measured against the initial margin

Your profit against the money you actually put up. Leverage moves this figure and only this figure.

Account impact

Measured against the account balance

What the trade did to your whole account. Usually the smallest of the four, and the one that matters most.

Both rows are the same trade and the same 5% move, and every percentage in them is correct. That is the whole problem. Your exchange usually shows the biggest one, the return on margin, while the number in your head is the price change, and at 10× those sit ten times apart.

Then look at what the costs did. A 5% move should have made 500, and 483.75 arrived. The same move against you took 515.75, because the fees are charged going in and coming out whichever way the price went. A winner and a loser of identical size are not identical, and on small moves that gap is the difference between a profitable month and a flat one.

The Formulas, Step by Step

One long from $100 to $110 on 10 units, 0.1% each way, $1 of funding, at 10×, worked all the way through.

Figure Formula Worked example
Long Profit and Loss (Exit Price − Entry Price) × Quantity ($110 − $100) × 10 = +$100
Short Profit and Loss (Entry Price − Exit Price) × Quantity ($100 − $90) × 10 = +$100
Entry position value Entry Price × Quantity $100 × 10 = $1,000
Exit position value Exit Price × Quantity $110 × 10 = $1,100
Price change Exit Price − Entry Price $110 − $100 = $10
Price change % (Exit Price − Entry Price) ÷ Entry Price × 100 $10 ÷ $100 × 100 = +10%
Entry fee Entry Position Value × Entry Fee % $1,000 × 0.1% = $1.00
Exit fee Exit Position Value × Exit Fee % $1,100 × 0.1% = $1.10, larger because the position grew
Total fees Entry Fee + Exit Fee + Fixed Fees $1.00 + $1.10 = $2.10
Funding cost Position Value × Funding Rate × Periods $1,000 × 0.01% × 10 = $1.00
Net Profit and Loss Gross Profit and Loss − Total Fees − Funding Cost $100 − $2.10 − $1.00 = +$96.90
Initial margin Position Value ÷ Leverage $1,000 ÷ 10 = $100
Position value from margin Margin × Leverage $100 × 10 = $1,000
Quantity from value Position Value ÷ Entry Price $1,000 ÷ $100 = 10 units
Position Profit and Loss % Net Profit and Loss ÷ Entry Position Value × 100 $96.90 ÷ $1,000 × 100 = +9.69%
ROI on margin % Net Profit and Loss ÷ Initial Margin × 100 $96.90 ÷ $100 × 100 = +96.9%, same dollars, tenth of the base
Account impact % Net Profit and Loss ÷ Account Balance × 100 $96.90 ÷ $10,000 × 100 = +0.97%
Break-even price (long) (Entry Cost + Costs) ÷ (Quantity × (1 − Exit Fee %)) $1,002 ÷ (10 × 0.999) = $100.30
Break-even price (short) (Entry Proceeds − Costs) ÷ (Quantity × (1 + Exit Fee %)) $998 ÷ (10 × 1.001) = $99.70
Weighted average exit Σ (Exit Price × Allocation) ÷ Σ Allocation $105×25% + $110×25% + $120×50% = $113.75
Average entry price Total Cost ÷ Total Quantity $100×10 + $90×20 + $80×30 = $5,200 ÷ 60 = $86.67

The Same Profit, Four Different Percentages

$96.90 net on a $1,000 position, held at 10× with $100 of margin, in a $10,000 account. Every figure below is correct.

Measurement Measured against Here it is What it actually tells you
Price change the entry price +10% How far the asset itself moved. Nothing to do with your position size or your leverage.
Position Profit and Loss the position value +9.69% Your profit against what the whole position was worth. On an unleveraged trade this matches the price change.
ROI on margin the initial margin +96.9% Your profit against the money you actually put up. Leverage moves this figure and only this figure.
Account impact the account balance +0.97% What the trade did to your whole account. Usually the smallest of the four, and the one that matters most.

The dollars never changed. Only the question did. A trade that is "up 96.9%" and a trade that moved the account by less than one per cent can be, and here are, the same trade.

What This Calculator Will Not Tell You

The limits are part of the tool, not the small print.

Four percentages, four different questions. The price change is what the asset did. Position Profit and Loss is your profit against the whole position. ROI on margin is your profit against the money you actually put up. Account impact is what it did to your balance. At 10× a 5% price move is 50% on margin. Both are true, and swapping one for the other is how a 5% move starts to feel like a 50% one.
Leverage does not change the gross Profit and Loss of a fixed position size. A 100-unit position makes or loses the same dollars whether you posted the whole value or a tenth of it. What leverage changes is the margin, and therefore the return on that margin, and how little room the price needs to wipe it out.
Gross is not what you keep. Fees are charged going in and coming out, funding is charged for every period you hold, and none of it is optional. This tool shows gross and net separately for exactly that reason: the gap between them is the part people forget.
Funding can go either way. A positive rate here is a cost to you and a negative rate is a credit, but which side pays depends on your position and your exchange's own rules, which are not modelled here. Enter the rate as your exchange quotes it, and check the sign against your own position.
Unrealised is not money. An open position's Profit and Loss changes with every tick and only becomes real when you close. This tool will calculate either, but it labels which one you are looking at, because the difference between them has ended more accounts than bad entries have.
These are estimates from the numbers you type. No price is fetched and nothing is verified. Actual results differ because of slippage, liquidity, mark price versus last price, contract specifications, rounding on the exchange and execution rules this tool has no view of.
Your exchange's figure may not match this one. Perpetuals settle against a mark price rather than the last trade, contract sizes and tick sizes round positions, and fee tiers vary by volume and by whether you took or made liquidity. Treat this as arithmetic on your inputs, not as a statement of your account.
None of this is financial advice. This tool has no view on any asset, offers no signals, and cannot tell you whether a trade was worth taking. It works out what a set of numbers comes to, and the judgement stays with you.

What This Tool Does

Gross and net, never merged

The fee and funding lines sit between the two, so the gap is always visible rather than quietly folded into one number.

Four percentages, kept apart

Price change, position Profit and Loss, ROI on margin and account impact each get their own row and their own base.

Long and short arithmetic

A falling price producing a profit is handled properly, including in the scenario table and the chart.

Spot and futures separately

Spot has no leverage and no funding. Futures adds margin, funding and the return on margin.

Worked backwards too

Break-even price, the exit a target profit needs, and the price at which a chosen loss happens, all with fees included.

Nothing leaves the browser

No account, no request, no price feed. Settings and history are kept in this browser and can be cleared in one click.

About the Crypto Profit and Loss Calculator

Profit and loss on a crypto trade is simple arithmetic: the price moved, you held some quantity, and the difference is yours either way. Long or short only decides which direction pays. If that were the whole story this page would be one input box and one line of output.

It is not the whole story, and the reason is percentages. The same profit can honestly be described as a 5% move, a 5% return on the position, a 50% return on margin and a 0.5% change in your account, all at once, all true, and all measured against something different. Confusing them is not a rounding error; it is how a modest move starts to feel like a life-changing one, and how a modest loss does the same in the other direction. This calculator shows all four separately and never picks one to call "the" percentage.

The second thing that gets lost is cost. Fees are charged going in and coming out, funding is charged for every period a perpetual is held, and none of it is optional. A gross figure that ignores them looks better and is worth less. Here the gross number, the fee line, the funding line and the net number all appear together, so the gap between what the price did and what you kept is impossible to miss.

Everything runs in your browser. No price is fetched, nothing is sent anywhere, and no account is needed, which also means the numbers are only as good as what you type, and that real fills differ because of slippage, mark price, contract specifications and exchange rules this page has no view of. It is a calculator for planning and for checking your own arithmetic, not a statement of your account.

Frequently Asked Questions

Almost always the costs, and usually more of them than people expect. You pay a fee entering, another leaving, and on a perpetual you pay funding for every hour you held it. In the worked example above, a 5% move that should have made $500 settles at $483.75 once those come off. The other half of the answer is which percentage you are looking at: your exchange may be showing return on margin while you are thinking of the price change, and those two are ten times apart at 10× leverage. Both are correct, they simply answer different questions.

Because unrealised profit is measured before the exit and realised profit is measured after it. Between the two sits your exit fee, any funding charged while you waited, and the gap between the price you saw and the price you actually filled at. A trade sitting a fraction of a percent up can close a fraction of a percent down without the market doing anything at all. This is also why the costs matter more on small moves than large ones: a fixed cost is a much bigger share of a 0.5% move than of a 20% one.

For a long it is (current price minus entry price) times quantity. For a short it is (entry price minus current price) times quantity. That gives the gross figure. To get the number you would actually keep, subtract the entry fee you already paid, the exit fee you will pay, and any funding accrued so far. This tool does both and shows them separately, because the gross figure is the one that looks good and the net figure is the one that arrives.

Because they are measured against different things. The 5% is the price change, measured against the entry price. The 50% is the return on your margin, measured against the money you actually put up. At 10× leverage the margin is a tenth of the position, so the same dollars are ten times larger as a percentage of it. Both figures are correct, and this tool shows four percentages side by side precisely so one is never mistaken for another.

Not for a fixed position size. A 100-unit position makes exactly the same dollars whether you paid for it outright or posted a tenth as margin. What leverage changes is how much of your own money is tied up, so the same profit becomes a much larger percentage of it, and the same loss becomes a much larger percentage too. Leverage magnifies the percentage, not the dollars.

Unrealised Profit and Loss is what an open position is worth on paper right now; it changes with every tick and becomes nothing if the price comes back. Realised Profit and Loss is what a closed trade actually settled at. This tool calculates either one, but it labels which mode you are in, because treating an unrealised number as money already earned is one of the more expensive habits in trading.

Several reasons, none of them arithmetic. Perpetuals mark against an index or mark price rather than the last trade. Contract and tick sizes round your position. Fee tiers depend on your volume and on whether your order took or made liquidity. Funding is charged on a schedule this tool does not model. This is arithmetic on the numbers you typed, so it is useful for planning, not a substitute for your account statement.

It depends on your position and your exchange, which is why this tool does not guess. Here, a positive rate is treated as a cost and a negative rate as a credit, and the result is labelled either way. Enter the rate as your exchange quotes it and check the sign against your own side of the trade, because funding rules vary and hardcoding one exchange's convention would be wrong for the rest.

It is the exit price at which everything you paid comes back exactly. That is not the entry price, because the entry fee is already spent, the exit fee will be charged on whatever you sell at, and any funding paid is gone. So the break-even price sits above the entry for a long and below it for a short, by roughly the total cost spread across the position. It is an estimate from the fees you entered.

Yes, put the current price in the exit field and use unrealised mode. The arithmetic is identical; the label is what changes. The scenario table is more useful here than a single number, because it shows the same open position across a range of prices instead of pretending the current one will hold.

No. There is no account, no server call and no price feed in this page, and the calculations run entirely in your browser. Your settings, history and saved calculations are kept in this browser's local storage on this device, and Settings has a Clear All Local Data button that removes every one of them. Nothing here asks for a key, a seed phrase or an exchange login, because nothing here needs one.

This tool cannot tell you that and does not try. It works out what a set of numbers comes to, and it has no view on any asset, no signal, and no way of knowing your situation. What it can do is make the costs visible before you commit, which is a different and more useful thing than a recommendation.

Related Tools

Every Other Crypto Tool

11 more tools in this set. All free, all in your browser.

Advertisement Slot (Bottom Banner) Google AdSense Unit • Responsive Banner