TBToolbox
Crypto

Crypto Profit & Loss Calculator

Crypto Profit Calculator estimates a trade's monetary profit or loss from quantity, entry price, exit price, and manually entered total fees. For a conventional long trade, it multiplies the price change by quantity and subtracts fees. The calculation does not fetch fills or understand short positions automatically, taxes, funding, slippage, currency conversion, or exchange-specific fee schedules.

Runs locally — files stay on your device
Quick answer

How is crypto trade profit calculated?

For a long trade, multiply quantity by exit minus entry, then subtract total fees.

Formula: Net P&L = quantity × (exit price − entry price) − fees

Net P&L starts with price change times quantity

Gross P&L measures the long-trade price difference across all units. Net P&L subtracts entered costs. A negative result is a loss. Return percentage requires a clearly defined capital base and is not the same as the monetary result shown here.

How it works

Enter quantity and prices in compatible units, then add the combined entry and exit fees—or a conservative estimate. Check whether you are modeling a long trade and whether fees use the same quote currency as the P&L.

Key concepts

Gross and net P&L

Gross P&L comes from price movement. Net P&L subtracts costs; a gross winner can become a net loser when the edge is smaller than fees.

Currency consistency

Entry, exit, and fees must be expressed in compatible quote-currency terms for the result to be meaningful.

When to use it

  • Estimate net outcome for a completed or hypothetical long trade.
  • See how manually entered fees change gross profit.
  • Compare exit-price scenarios using the same quantity and entry.

When not to use it

  • Do not use the long formula unchanged for a short position.
  • Do not omit spread, slippage, funding, borrowing, or conversion costs when they matter.
  • Do not treat the result as a tax calculation or official exchange statement.

Worked examples

Profitable long after fees

Input
Quantity 2; entry 100; exit 120; fees 3
Expected output
Gross 40; net 37

2 × (120 − 100) − 3 = 37.

Small move consumed by costs

Input
Quantity 10; entry 50; exit 50.20; fees 3
Expected output
Gross 2; net −1

The price gain does not cover entered costs.

Losing long trade

Input
Quantity 0.5; entry 30,000; exit 28,000; fees 20
Expected output
Net loss 1,020

0.5 × −2,000 − 20 = −1,020.

Common mistakes

Entering a fee rate as total fees

A value such as 0.1 may mean 0.1% rather than 0.1 currency units. Correction: Calculate actual combined fee amounts in the P&L currency first.

Using the long formula for a short

Short profit direction is reversed. Correction: Use a dedicated short model or reverse the price-difference logic explicitly.

Mixing currencies

Fees paid in another asset cannot be subtracted directly without conversion. Correction: Convert all costs to the same quote currency at an appropriate rate.

Best practices

  • Include both entry and exit costs plus a slippage allowance.
  • Reconcile estimates with actual fills and statements.
  • Keep taxes and reporting rules separate from trading P&L arithmetic.

Related operations and differences

Risk-Reward Calculator

Choose Risk-Reward Calculator when you need to compare trade target distance with stop risk.; use Crypto Profit & Loss Calculator specifically for crypto pnl.

Crypto Position Size Calculator

Choose Crypto Position Size Calculator when you need to size a trade from account risk and stop distance.; use Crypto Profit & Loss Calculator specifically for crypto pnl.

Average Calculator

Choose Average Calculator when you need to find the arithmetic mean of a number list.; use Crypto Profit & Loss Calculator specifically for crypto pnl.

Bleed Calculator

Choose Bleed Calculator when you need to calculate finished artwork dimensions including bleed.; use Crypto Profit & Loss Calculator specifically for crypto pnl.

BMI Calculator

Choose BMI Calculator when you need to estimate body mass index locally for general information.; use Crypto Profit & Loss Calculator specifically for crypto pnl.

BMR Calculator

Choose BMR Calculator when you need to estimate basal metabolic rate using the Mifflin-St Jeor formula.; use Crypto Profit & Loss Calculator specifically for crypto pnl.

Limitations and privacy

  • No exchange, wallet, price feed, tax system, or live fee schedule is connected.
  • This is a mathematical scenario, not investment advice. Prices can gap, orders can slip, fees can change, and losses can exceed a planned amount.
  • The page models one long entry and one exit without partial fills, funding, or currency conversion.

Trade inputs are calculated locally in this browser. Toolbox does not connect to an exchange or wallet.

Frequently asked questions

Does Crypto Profit Calculator include fees?

Only the total fee amount you enter manually.

Can it calculate a short trade?

The displayed formula is for a conventional long; short P&L needs reversed price logic and any borrowing costs.

Why can a gross profit become a net loss?

Fees and other costs can exceed a small favorable price movement.

Does the result include taxes?

No. Tax treatment depends on jurisdiction and transaction history.

Are live crypto prices fetched?

No. The calculator uses only your manually entered scenario.