Profit and Loss Calculator

Calculate long or short trading P&L after fees and funding. Compare return on position value with return on margin, and find your target exit price.

Your figures

Method and limitations · Report an error

Explore the outcome

Price scenarios after fees

Compare exits 20% below to 20% above your entry. Rows use the same quantity, fees and other costs as your current inputs.

Net profit at different exit prices
Move from entryExit priceNet P&LReturn on notional
-20%$2.12$-53.954-20.36%
-10%$2.385$-27.507-10.38%
-5%$2.5175$-14.2835-5.39%
0%$2.65$-1.06-0.4%
+5%$2.7825$12.16354.59%
+10%$2.915$25.3879.58%
+20%$3.18$51.83419.56%

Reverse calculation

Find the exit price for your target profit

Use a net cash target or a return percentage. The solved exit includes both trading fees and your other costs.

Required exit price$3.6626
Price move from entry38.2123%
Net profit at target$100

Choose your next calculation

Quick answer

Calculate net trading profit or loss after fees

Calculate linear long or short P&L after separate entry and exit fees and funding costs. Compare net return on notional with return on committed margin, inspect exit-price scenarios and solve for a target net profit.

Use this calculator when

  • Checking a stock trade before or after selling
  • Comparing gross profit with the amount left after fees
  • Converting a cash gain or loss into a return percentage

How to read the result

A positive net P&L means the sale value exceeds the purchase cost and entered fees. A negative result means the position lost money under the same assumptions. Return percentage uses the original position cost as its base.

  • Enter separate entry and exit fees; positive budget overrides quantity
  • Use expected execution prices for spread and slippage; taxes and FX conversion are excluded

Method

How it works

Enter actual position quantity or a positive entry budget. Budget includes the entry fee and overrides quantity; additional costs are separate. All prices and costs must use the same quote currency. The currency selector changes display only, not exchange rates.

Entry and exit fees are charged on their respective notionals. Net return uses entry notional as its denominator. ROI uses initial margin plus entry fees and positive other costs; credits increase profit without reducing that denominator. Current price estimates an unrealised close-out result including an estimated exit fee.

For a 10-unit short entered at 100 and closed at 90 with 0.1% fees on each side, gross profit is 100 and net profit is 98.10. At 5× leverage, initial margin is 200. Leverage changes margin and return on margin, not profit for a fixed quantity.

Scenario rows keep quantity and costs fixed while changing exit price. Reverse calculations include the exit fee at the solved price. Taxes, live prices and automatic spread/slippage estimates are excluded; use expected execution prices. Multiple entries should first be combined into a weighted average entry.

Common questions

Frequently asked questions

Can I enter an investment amount instead of coin quantity?

Yes. Enter a positive entry budget including the entry fee. Quantity becomes budget ÷ [entry price × (1 + entry fee rate)]. Set the budget to zero to use the quantity field again. The budget represents entry notional plus fee, not leveraged margin.

Why is break-even different from my entry price?

Entry fees, exit fees and other costs must be recovered. The break-even result solves for zero net profit after those costs. With negative net costs or rebates, it can move to the other side of entry.

How do I find the price needed for a target profit?

Choose a cash profit or return percentage in the reverse calculation. It solves the exit price using your current position and fees. An impossible negative exit price is labelled unreachable.

Does leverage multiply my profit?

For a fixed quantity, leverage changes initial margin but does not change gross P&L. Borrowing or funding costs can change net P&L. These linear results do not model liquidation or inverse contracts.

Not financial advice. This calculator is for general informational purposes only. Check figures independently before making financial decisions.

P&L method

Calculate net trading profit or loss after fees

Calculate linear long or short P&L after separate entry and exit fees and funding costs. Compare net return on notional with return on committed margin, inspect exit-price scenarios and solve for a target net profit.

Profit and loss formula

Net P&L = Direction × (Exit − Entry) × Quantity − Fees − Other costs

Realised or unrealised P&L

Use an executed sale price for realised P&L. Use the current market price for an unrealised estimate before the position is sold.

Read the worked P&L example →

62 calculators

All financial calculators

Search or filter the complete collection of calculators.

trading

Profit and Loss Calculator

Calculate long or short trading P&L after fees and funding. Compare return on position value with return on margin, and find your target exit price.

Open calculator →
trading

What If I Had Invested Calculator

See what an investment would be worth today if you had bought at an earlier price.

Open calculator →
trading

Average Down Calculator

Find your new average cost after buying more of a position at a lower price.

Open calculator →
trading

Break Even Price Calculator

The price you need to sell at to walk away flat once fees are counted.

Open calculator →
trading

Position Size Calculator

How many shares to buy so a stop loss only costs you a fixed share of your account.

Open calculator →
trading

ROI Calculator

Return on investment for anything you can put a cost and a final value on.

Open calculator →
trading

CAGR Calculator

Turn a total return into the annual rate that produced it.

Open calculator →
loans

Compound Interest Calculator

Grow a starting balance with regular contributions and compounding returns.

Open calculator →
trading

Dollar Cost Averaging Calculator

Buy the same amount every period and see the average price you actually end up paying.

Open calculator →
business

Profit Margin Calculator

Revenue in, cost in, margin out — plus the markup that produced it.

Open calculator →
business

Markup vs Margin Calculator

Set a markup on cost and see the selling price and the margin it actually gives you.

Open calculator →
math

Percentage Calculator

The three percentage questions people actually ask, answered at once.

Open calculator →
trading

Risk Reward Ratio Calculator

Compare what a trade can lose against what it can make before you take it.

Open calculator →
trading

Stop Loss and Take Profit Calculator

Turn percentage targets into the exact prices and amounts behind them.

Open calculator →
trading

Dividend Yield Calculator

How much income a holding pays out relative to what it costs.

Open calculator →
trading

Dividend Reinvestment Calculator

Reinvest every dividend and watch the share count compound year after year.

Open calculator →
trading

Stock Split Calculator

What a split does to your share count and price. Your position value does not change.

Open calculator →
trading

Portfolio Rebalancing Calculator

How much of one holding to buy or sell to get back to your target weight.

Open calculator →
trading

Inflation Adjusted Return Calculator

Strip inflation out of a return to see what you actually gained in buying power.

Open calculator →
trading

Margin and Leverage Calculator

See how leverage multiplies both the position you control and the return on your own money.

Open calculator →
trading

Pip Value Calculator

What one pip is worth on your position, in your account currency.

Open calculator →
trading

Long Call Option Profit Calculator

Profit, loss and break even on a long call held to expiry.

Open calculator →
trading

Capital Gains Tax Calculator

Enter your own rate to see what a sale leaves you after tax.

Open calculator →
crypto

Crypto Profit Calculator

Calculate crypto spot profit after separate buy and sell fees, network costs and investment amount. Explore price scenarios and solve for your target return.

Open calculator →
crypto

Crypto Average Buy Price Calculator

Blend two buys into one average entry price.

Open calculator →
crypto

Mining Profitability Calculator

Revenue minus power and pool fees, and how long the hardware takes to pay for itself.

Open calculator →
crypto

Staking Rewards Calculator

Compound a staking yield over time and see what the position grows into.

Open calculator →
crypto

Impermanent Loss Calculator

Estimate impermanent loss, LP value and hold value for a 50/50 liquidity pool.

Open calculator →
crypto

Gas Fee Calculator

Turn gas limit and gwei into what a transaction actually costs.

Open calculator →
crypto

Market Cap and FDV Calculator

Circulating market cap against fully diluted value, and the dilution between them.

Open calculator →
crypto

Liquidation Price Calculator

Estimate isolated-margin liquidation for long and short linear positions. Compare leverage scenarios and calculate margin for a target liquidation price.

Open calculator →
business

Break Even Point Calculator

How many units you have to sell before fixed costs are covered.

Open calculator →
business

Gross Profit Calculator

Calculate gross profit, gross margin and markup from revenue and cost of goods sold.

Open calculator →
business

VAT and Sales Tax Calculator

Add tax to a net price or pull it back out of a gross one. Both at once.

Open calculator →
business

Discount Calculator

Apply one or two discounts and see the price that lands at the till.

Open calculator →
business

Marketplace Fee Calculator

What is left after commission, payment fees, shipping and the cost of the item.

Open calculator →
business

CAC and LTV Calculator

What a customer costs to acquire against what they are worth over their life.

Open calculator →
business

Burn Rate and Runway Calculator

How many months the cash lasts at the current rate of spending.

Open calculator →
business

Revenue Growth Rate Calculator

Total growth between two periods, and the monthly rate that produced it.

Open calculator →
business

Freelance Hourly Rate Calculator

Work backwards from the income you want to the rate you need to charge.

Open calculator →
loans

Loan Payment Calculator

Monthly payment, total interest and total cost on any fixed rate loan.

Open calculator →
loans

Early Loan Payoff Calculator

Estimate how extra monthly payments change loan payoff time and total interest.

Open calculator →
loans

Auto Loan Calculator

Car price, trade in and tax turned into a monthly payment.

Open calculator →
loans

Credit Card Payoff Calculator

How long a balance takes to clear at a fixed monthly payment, and what it costs.

Open calculator →
loans

Savings Goal Calculator

The monthly amount that gets you to a target by a certain date.

Open calculator →
loans

Simple vs Compound Interest Calculator

Compare simple and compound interest using the same principal, rate and term.

Open calculator →
loans

Retirement Savings Calculator

Project a pot forward to retirement age with regular contributions.

Open calculator →
loans

Emergency Fund Calculator

How big the buffer should be and how long it takes to build.

Open calculator →
loans

Rent vs Buy Calculator

Total cost of renting against total cost of owning over the same period.

Open calculator →
math

Percentage Increase and Decrease Calculator

Increase or decrease any value by a percentage and see the change amount and both results.

Open calculator →
math

Percentage of a Number Calculator

What is X percent of Y, with the remainder alongside it.

Open calculator →
math

Ratio Calculator

Simplify a ratio and see it as a decimal and a share of the whole.

Open calculator →
math

Average Calculator

Mean, sum and spread across five values.

Open calculator →
math

Fraction to Decimal Calculator

Convert any fraction into a decimal and a percentage.

Open calculator →
math

Tip Calculator

Tip, total and what each person owes.

Open calculator →
math

Bill Split Calculator

Split a bill evenly once tax and tip are on top of it.

Open calculator →
creator

YouTube Earnings Calculator

Estimate YouTube revenue from total views and your own RPM assumption.

Open calculator →
creator

TikTok Earnings Calculator

Estimate Creator Rewards from qualified views and a user-entered RPM.

Open calculator →
creator

Spotify Royalty Estimate Calculator

Model a streaming royalty scenario with adjustable rights-holder and fee assumptions.

Open calculator →
creator

Website Ad Revenue Calculator

Estimate display-ad revenue from page views, CPM, fill rate and publisher share.

Open calculator →
creator

Creator Sponsorship Rate Calculator

Build a sponsorship quote from expected views, CPM, deliverables and usage rights.

Open calculator →
loans

Mortgage Calculator

Estimate a fixed-rate mortgage payment, ownership costs, total interest and the full amortization schedule.

Open calculator →