📊 Profit & Loss Calculator
Calculate gross profit, net profit, margin percent, and markup from revenue, COGS, and expense inputs.
Trade P&L — Entry, Exit, and Fees
BrainyCalculators editorial insight — unique to this tool
Stock and crypto P&L = (exit − entry) × quantity − fees. A 100-share buy at $45, sell at $52 with $10 round-trip commission nets $690. Indian equity STCG at 15% (if applicable) applies on holdings under 12 months — calculator shows gross P&L; tax is separate.
When to use this calculator
Use for single-trade profit/loss with fees. For portfolio average cost, use Stock Average; for forex pips, use Forex Profit.
Finding how many units to sell before profit starts?
This page reports profit at a given volume. For break-even units, use the Break-even Calculator →
What is Profit and Loss?
Profit and loss summarizes revenue minus costs to show gross and net profit and margin percentages for a stated sales volume.
Use this page when you know units sold or revenue and want margin outcomes. Break-even finds how many units you need before profit turns positive.
Revenue calculator focuses on top-line sales formulas; P&L subtracts costs for bottom-line profit.
P&L Formula
Example
Buy 100 shares at $50 ($5 commission), sell at $65 ($5 commission), 15% capital gains tax.
How the Profit & Loss Calculator Works
Formula, assumptions, and calculation steps for this finance tool.
Methodology
Financial calculators use time-value-of-money, rate conversion, amortization, or return formulas depending on the tool. Inputs are normalized to matching periods before the final result is calculated.
Calculation Steps
- Enter the principal amounts, rates, terms, or cash flows requested by the calculator.
- Convert annual rates to the correct monthly, daily, or yearly period when needed.
- Apply the finance formula for payment, return, yield, or future value.
- Show the result with supporting totals such as interest, gain, or balance.
Assumptions and Limits
- Rates are assumed constant unless the calculator asks for a schedule.
- Taxes, fees, and inflation are included only when fields are provided.
- Financial results are estimates for planning, not investment or lending advice.
Frequently Asked Questions
Gross profit = (Sell Price × Qty) − (Buy Price × Qty) − all commissions. After applying capital gains tax, you get your net profit.
Break-even is the sell price at which you recover your entire cost (buy price + all commissions). Above break-even you are profitable; below you are at a loss.
Capital gains tax directly reduces your net return. In the US, short-term gains (held <1 year) are taxed as ordinary income (up to 37%). Long-term gains are taxed at 0%, 15%, or 20% depending on income.
Assets held longer than one year qualify for long-term capital gains rates, which are significantly lower in most countries. Holding for the long term can reduce your tax burden considerably.
Real-World Applications
Common Mistakes
Capital Gains Tax Quick Reference (2024)
| Jurisdiction | Short-Term Rate | Long-Term Rate |
|---|---|---|
| US (Federal) | Ordinary income (10–37%) | 0%, 15%, or 20% |
| UK | 10–20% (CGT) | 10–20% (same rate) |
| Canada | 50% of gain included in income | 50% of gain included |
| Australia | Marginal income rate | 50% discount if held >12 months |
| Germany | Flat 26.375% (incl. solidarity) | Same flat rate |
References
- IRS. Publication 550: Investment Income and Expenses. Internal Revenue Service, 2024.
- HMRC. Capital Gains Tax — Rates and Allowances. HM Revenue & Customs, 2024.
- Elder, A. Come Into My Trading Room. Wiley, 2002.
- Schwager, J.D. Market Wizards. Wiley, 1989.
- CFA Institute. CFA Program Curriculum — Equity Investments. CFA Institute, 2024.
Related Calculators
Browse all Finance calculators →ROI Calculator
Calculate return on investment and measure the profitability of any investment.
Margin Calculator
Calculate margin required, leverage, and margin level for trading positions.
Trading Risk Calculator
Calculate risk per trade, risk-reward ratio, and expected value of trades.