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.
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.
| Move from entry | Exit price | Net P&L | Return 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.1635 | 4.59% |
| +10% | $2.915 | $25.387 | 9.58% |
| +20% | $3.18 | $51.834 | 19.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.
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 costsRealised 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.
62 calculators
All financial calculators
Search or filter the complete collection of calculators.
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 →tradingWhat If I Had Invested Calculator
See what an investment would be worth today if you had bought at an earlier price.
Open calculator →tradingAverage Down Calculator
Find your new average cost after buying more of a position at a lower price.
Open calculator →tradingBreak Even Price Calculator
The price you need to sell at to walk away flat once fees are counted.
Open calculator →tradingPosition Size Calculator
How many shares to buy so a stop loss only costs you a fixed share of your account.
Open calculator →tradingROI Calculator
Return on investment for anything you can put a cost and a final value on.
Open calculator →tradingCAGR Calculator
Turn a total return into the annual rate that produced it.
Open calculator →loansCompound Interest Calculator
Grow a starting balance with regular contributions and compounding returns.
Open calculator →tradingDollar Cost Averaging Calculator
Buy the same amount every period and see the average price you actually end up paying.
Open calculator →businessProfit Margin Calculator
Revenue in, cost in, margin out — plus the markup that produced it.
Open calculator →businessMarkup vs Margin Calculator
Set a markup on cost and see the selling price and the margin it actually gives you.
Open calculator →mathPercentage Calculator
The three percentage questions people actually ask, answered at once.
Open calculator →tradingRisk Reward Ratio Calculator
Compare what a trade can lose against what it can make before you take it.
Open calculator →tradingStop Loss and Take Profit Calculator
Turn percentage targets into the exact prices and amounts behind them.
Open calculator →tradingDividend Yield Calculator
How much income a holding pays out relative to what it costs.
Open calculator →tradingDividend Reinvestment Calculator
Reinvest every dividend and watch the share count compound year after year.
Open calculator →tradingStock Split Calculator
What a split does to your share count and price. Your position value does not change.
Open calculator →tradingPortfolio Rebalancing Calculator
How much of one holding to buy or sell to get back to your target weight.
Open calculator →tradingInflation Adjusted Return Calculator
Strip inflation out of a return to see what you actually gained in buying power.
Open calculator →tradingMargin and Leverage Calculator
See how leverage multiplies both the position you control and the return on your own money.
Open calculator →tradingPip Value Calculator
What one pip is worth on your position, in your account currency.
Open calculator →tradingLong Call Option Profit Calculator
Profit, loss and break even on a long call held to expiry.
Open calculator →tradingCapital Gains Tax Calculator
Enter your own rate to see what a sale leaves you after tax.
Open calculator →cryptoCrypto 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 →cryptoCrypto Average Buy Price Calculator
Blend two buys into one average entry price.
Open calculator →cryptoMining Profitability Calculator
Revenue minus power and pool fees, and how long the hardware takes to pay for itself.
Open calculator →cryptoStaking Rewards Calculator
Compound a staking yield over time and see what the position grows into.
Open calculator →cryptoImpermanent Loss Calculator
Estimate impermanent loss, LP value and hold value for a 50/50 liquidity pool.
Open calculator →cryptoGas Fee Calculator
Turn gas limit and gwei into what a transaction actually costs.
Open calculator →cryptoMarket Cap and FDV Calculator
Circulating market cap against fully diluted value, and the dilution between them.
Open calculator →cryptoLiquidation 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 →businessBreak Even Point Calculator
How many units you have to sell before fixed costs are covered.
Open calculator →businessGross Profit Calculator
Calculate gross profit, gross margin and markup from revenue and cost of goods sold.
Open calculator →businessVAT and Sales Tax Calculator
Add tax to a net price or pull it back out of a gross one. Both at once.
Open calculator →businessDiscount Calculator
Apply one or two discounts and see the price that lands at the till.
Open calculator →businessMarketplace Fee Calculator
What is left after commission, payment fees, shipping and the cost of the item.
Open calculator →businessCAC and LTV Calculator
What a customer costs to acquire against what they are worth over their life.
Open calculator →businessBurn Rate and Runway Calculator
How many months the cash lasts at the current rate of spending.
Open calculator →businessRevenue Growth Rate Calculator
Total growth between two periods, and the monthly rate that produced it.
Open calculator →businessFreelance Hourly Rate Calculator
Work backwards from the income you want to the rate you need to charge.
Open calculator →loansLoan Payment Calculator
Monthly payment, total interest and total cost on any fixed rate loan.
Open calculator →loansEarly Loan Payoff Calculator
Estimate how extra monthly payments change loan payoff time and total interest.
Open calculator →loansAuto Loan Calculator
Car price, trade in and tax turned into a monthly payment.
Open calculator →loansCredit Card Payoff Calculator
How long a balance takes to clear at a fixed monthly payment, and what it costs.
Open calculator →loansSavings Goal Calculator
The monthly amount that gets you to a target by a certain date.
Open calculator →loansSimple vs Compound Interest Calculator
Compare simple and compound interest using the same principal, rate and term.
Open calculator →loansRetirement Savings Calculator
Project a pot forward to retirement age with regular contributions.
Open calculator →loansEmergency Fund Calculator
How big the buffer should be and how long it takes to build.
Open calculator →loansRent vs Buy Calculator
Total cost of renting against total cost of owning over the same period.
Open calculator →mathPercentage Increase and Decrease Calculator
Increase or decrease any value by a percentage and see the change amount and both results.
Open calculator →mathPercentage of a Number Calculator
What is X percent of Y, with the remainder alongside it.
Open calculator →mathRatio Calculator
Simplify a ratio and see it as a decimal and a share of the whole.
Open calculator →mathAverage Calculator
Mean, sum and spread across five values.
Open calculator →mathFraction to Decimal Calculator
Convert any fraction into a decimal and a percentage.
Open calculator →mathTip Calculator
Tip, total and what each person owes.
Open calculator →mathBill Split Calculator
Split a bill evenly once tax and tip are on top of it.
Open calculator →creatorYouTube Earnings Calculator
Estimate YouTube revenue from total views and your own RPM assumption.
Open calculator →creatorTikTok Earnings Calculator
Estimate Creator Rewards from qualified views and a user-entered RPM.
Open calculator →creatorSpotify Royalty Estimate Calculator
Model a streaming royalty scenario with adjustable rights-holder and fee assumptions.
Open calculator →creatorWebsite Ad Revenue Calculator
Estimate display-ad revenue from page views, CPM, fill rate and publisher share.
Open calculator →creatorCreator Sponsorship Rate Calculator
Build a sponsorship quote from expected views, CPM, deliverables and usage rights.
Open calculator →loansMortgage Calculator
Estimate a fixed-rate mortgage payment, ownership costs, total interest and the full amortization schedule.
Open calculator →Guides
Know what the number is really saying.
Practical explanations for the calculations behind trades and prices.
Your Trade Is Green. But What Did You Actually Make?Learn the P&L calculation for a trade after buy and sell fees, understand return percentage, and avoid cost-basis mistakes.Read guide →
The 40% Pricing TrapMarkup and profit margin measure the same profit from different starting points. See why a 40% markup produces only a 28.6% margin.Read guide →
How Averaging Down Changes Your Cost BasisAveraging down combines two purchase lots; it does not erase the loss on the first oneRead guide →
How to Find a Break-Even Price After Trading FeesBreak-even is the exit price that leaves net profit at zero after costsRead guide →