Crypto P&L Calculator
Calculate crypto trading profit and loss. Enter buy and sell prices, quantity, and fees to see net P&L, ROI percentage, and break-even price.
Calculator
Adjust values & calculateFormula
Where Buy Fee = Buy Price x Quantity x Buy Fee%, Sell Fee = Sell Price x Quantity x Sell Fee%. For leveraged positions, Leveraged PnL = Net PnL x Leverage, and Liquidation Price = Buy Price x (1 - 1/Leverage).
Last reviewed: January 2026
Worked Examples
Example 1: Bitcoin Spot Trade Profit
Example 2: Leveraged Ethereum Trade
Background & Theory
The Crypto P&l Calculator applies the following established principles and formulas. Finance and investing rest on the foundational concept of the time value of money: a dollar received today is worth more than a dollar received in the future, because present funds can be deployed to earn a return. This principle underlies virtually every valuation technique in modern finance. The future value of a present sum P growing at rate r over n periods is expressed as FV = P(1 + r)^n, while the present value of a future cash flow FV is PV = FV / (1 + r)^n. Compound growth amplifies returns significantly over long horizons, a dynamic often described as the eighth wonder of the world. Net Present Value (NPV) extends these mechanics to evaluate investment projects by summing the present values of all expected cash flows minus the initial outlay: NPV = sum[CF_t / (1 + r)^t] - C_0. A positive NPV indicates the project creates value above the required return. The Internal Rate of Return (IRR) is the discount rate that sets NPV to zero, providing a single percentage benchmark for project comparison. The risk-return tradeoff is the central tension of investment theory. Higher expected returns generally require accepting greater uncertainty. Harry Markowitz formalized this in Modern Portfolio Theory by demonstrating that portfolio variance can be reduced through diversification when assets are imperfectly correlated. The efficient frontier represents the set of portfolios offering the maximum return for a given level of risk. The Capital Asset Pricing Model (CAPM) extends this by introducing the market portfolio as a reference, defining expected return as E(r) = r_f + beta * (E(r_m) - r_f), where beta measures an asset's sensitivity to systematic market risk. Asset classes โ equities, fixed income, real assets, and alternatives โ differ in their return profiles, liquidity, and correlations. Strategic asset allocation determines long-run target weights based on investor objectives and risk tolerance, while tactical allocation permits short-run deviations to exploit perceived mispricings. Discount rates used in valuation models must reflect the cost of capital appropriate to the risk of the cash flows being discounted, a point stressed in corporate finance texts from Brealey, Myers, and Allen through to Damodaran.
History
The history behind the Crypto P&l Calculator traces back through the following developments. The formal practice of lending at interest dates to ancient Mesopotamia, where the Code of Hammurabi around 1750 BCE regulated interest rates on grain and silver loans. Banking as an institutional activity took root in medieval Italy, with merchant bankers in Florence and Venice financing trade across Europe through instruments such as bills of exchange. The Medici family operated one of the most sophisticated banking networks of the fifteenth century, pioneering double-entry bookkeeping and correspondent banking relationships. Organized equity markets emerged in the early seventeenth century. The Dutch East India Company (VOC), chartered in 1602, issued shares to the public and created the Amsterdam Stock Exchange โ widely regarded as the world's first formal stock exchange. The VOC allowed investors to buy and sell shares freely, establishing the template for the joint-stock company. The period also produced the Dutch tulip mania of 1636 to 1637, one of history's first recorded speculative bubbles, in which tulip bulb futures contracts reached extraordinary prices before collapsing. England's financial revolution followed in the late seventeenth century with the founding of the Bank of England in 1694 and the development of government bond markets. The South Sea Bubble of 1720 illustrated the dangers of speculative excess and contributed to early securities regulation. Throughout the eighteenth and nineteenth centuries, industrialization created enormous demand for capital, fueling the expansion of stock exchanges in London, Paris, New York, and beyond. The New York Stock Exchange, formalized in 1817, became the world's dominant equities market by the twentieth century. The Great Crash of 1929 and subsequent Great Depression prompted the US Securities Act of 1933 and Securities Exchange Act of 1934, establishing the SEC and mandatory disclosure requirements. Harry Markowitz published his landmark portfolio selection paper in 1952, launching quantitative finance. The CAPM emerged in the 1960s through work by Sharpe, Lintner, and Mossin. John Bogle launched the first retail index fund in 1976, democratizing diversified investing and challenging active management orthodoxy.
Frequently Asked Questions
Formula
Net PnL = (Sell Price - Buy Price) x Quantity - Buy Fee - Sell Fee
Where Buy Fee = Buy Price x Quantity x Buy Fee%, Sell Fee = Sell Price x Quantity x Sell Fee%. For leveraged positions, Leveraged PnL = Net PnL x Leverage, and Liquidation Price = Buy Price x (1 - 1/Leverage).
Worked Examples
Example 1: Bitcoin Spot Trade Profit
Problem: You buy 0.5 BTC at $28,000 and sell at $35,000 with 0.1% fees on each side. What is your net profit?
Solution: Total Cost = 0.5 x $28,000 = $14,000\nBuy Fee = $14,000 x 0.001 = $14.00\nTotal Revenue = 0.5 x $35,000 = $17,500\nSell Fee = $17,500 x 0.001 = $17.50\nGross PnL = $17,500 - $14,000 = $3,500\nNet PnL = $3,500 - $14.00 - $17.50 = $3,468.50\nROI = ($3,468.50 / $14,000) x 100 = 24.78%
Result: Net Profit: $3,468.50 | ROI: 24.78%
Example 2: Leveraged Ethereum Trade
Problem: You open a 5x leveraged long on 2 ETH at $1,800, exit at $1,950 with 0.05% fees. Calculate the leveraged PnL.
Solution: Total Cost = 2 x $1,800 = $3,600\nBuy Fee = $3,600 x 0.0005 = $1.80\nTotal Revenue = 2 x $1,950 = $3,900\nSell Fee = $3,900 x 0.0005 = $1.95\nNet PnL = ($3,900 - $3,600) - $1.80 - $1.95 = $296.25\nLeveraged PnL = $296.25 x 5 = $1,481.25\nLiquidation Price = $1,800 x (1 - 1/5) = $1,440
Result: Leveraged PnL: $1,481.25 | Liquidation Price: $1,440
Frequently Asked Questions
What is leverage in crypto trading and how does it affect PnL?
Leverage allows traders to control a larger position than their actual capital by borrowing funds from the exchange. If you use 10x leverage on a $1,000 position, you control $10,000 worth of crypto. This multiplies both gains and losses by the leverage factor. A 5% price increase with 10x leverage yields a 50% return on your margin, but a 5% decrease causes a 50% loss. At a certain price point called the liquidation price, your entire margin is wiped out. For 10x leverage, liquidation occurs roughly at a 10% adverse move. Higher leverage dramatically increases risk, and most professional traders recommend using leverage below 5x for risk management purposes.
What trading fees should I expect on major crypto exchanges?
Crypto exchange fees typically range from 0.01% to 0.50% per trade depending on the platform and your trading volume tier. Major exchanges like Binance charge 0.1% maker and taker fees at the base level, with discounts for using native tokens or reaching higher volume tiers. Coinbase Pro charges between 0.04% and 0.50% based on monthly volume. Kraken charges 0.16% maker and 0.26% taker fees at base level. Some decentralized exchanges like Uniswap charge 0.3% per swap plus blockchain gas fees. Over time, these fees compound significantly for active traders, so choosing a low-fee exchange and optimizing trade frequency can substantially improve overall profitability.
What is the break-even price in crypto trading?
The break-even price is the minimum sell price required to recover your total investment including all trading fees. It is always slightly higher than your buy price because you must cover both the entry and exit trading fees. The formula is: Break-Even = Buy Price x (1 + Buy Fee%) / (1 - Sell Fee%). For instance, if you bought Bitcoin at $30,000 with 0.1% fees on each side, your break-even sell price would be approximately $30,060. This means the price must increase by at least 0.2% just to cover your round-trip trading costs. Understanding your break-even price helps you set realistic profit targets and avoid trades where potential gains are too small to justify the fees.
How do I calculate ROI on my crypto investment?
Return on Investment (ROI) in crypto trading measures the percentage gain or loss relative to your initial investment. The formula is: ROI = (Net Profit / Total Cost) x 100. For example, if you invested $10,000 in Ethereum at $2,000 per coin (5 ETH) and sold at $2,500 with total fees of $25, your net profit is $2,475 and ROI is 24.75%. When using leverage, the leveraged ROI equals the base ROI multiplied by the leverage factor. A 10% base ROI with 5x leverage becomes 50% leveraged ROI. However, it is important to track ROI over time and compare annualized returns to properly evaluate your trading strategy against simple buy-and-hold approaches or traditional investment benchmarks.
What is a crypto wallet and which type should I use?
A wallet stores your private keys. Hot wallets (software) are convenient for frequent trading. Cold wallets (hardware like Ledger or Trezor) are more secure for long-term storage. Never share your seed phrase.
What is dollar-cost averaging in crypto?
DCA means buying a fixed dollar amount of crypto at regular intervals regardless of price. This reduces the impact of volatility and removes the stress of timing the market. It is widely recommended for long-term crypto investors.
References
Reviewed by Sahil, Senior Finance & Tax Editor ยท Editorial policy