Trade Profit, Position Size and Margin Calculator

Enter side, entry, exit, quantity, multiplier, fees and dividends, plus account size, risk and stop, and margins to see P&L, size and margin call price.

Roda no seu navegador. Seus arquivos nunca saem do seu dispositivo. Veja como conferir

…

Como fazer

  1. 1
    Enter the trade

    Choose long or short and type entry, exit, quantity and multiplier.

  2. 2
    Add costs and income

    Type fees, dividends and days held.

  3. 3
    Size the position

    Enter account size, risk % and stop price.

  4. 4
    Check margin

    Enter initial and maintenance margin to see the call price.

Sobre esta ferramenta

Before and after a trade, three questions matter: how much did I make or lose, how big should the position be, and how far can the price move against me before a margin call? Most calculators answer only the first, and often forget fees and dividends. This calculator handles long and short trades in shares, ETFs or futures (using a contract multiplier), subtracts fees, adds dividends received on long positions or deducts dividends owed on short ones, and shows the gross and net profit, the holding period return, the annualised return over the days held, and the breakeven exit price. For risk management, it applies fixed-fractional position sizing: risk a set percentage of your account between entry and stop-loss, and it tells you how many units that allows. For margin accounts, it shows the margin used at your initial margin percentage, the return on margin, and the price at which a margin call is triggered at your maintenance margin, using the standard formula for long and short positions. In the United States, Regulation T sets 50% initial margin for most stocks and FINRA Rule 4210 sets a 25% minimum maintenance margin; brokers often require more.

Who this is for

Active traders, investors using margin, futures traders, and anyone keeping a trading journal.

Profit and loss

Net P&L = (exit − entry) × quantity × multiplier − fees + dividends (long). For a short, the sign flips and dividends are paid, not received.

Holding period and annual return

HPR = net P&L ÷ cost. Annualised = (1 + HPR)^(365 ÷ days) − 1. Annualising short trades exaggerates; read it with care.

Position sizing

Units = (account × risk %) ÷ (|entry − stop| × multiplier). Risking 1% of the account per trade is a common rule that limits drawdowns.

Margin call price

- Long: P = entry × (1 − initial margin) ÷ (1 − maintenance margin). - Short: P = entry × (1 + initial margin) ÷ (1 + maintenance margin).

Futures

Set the multiplier to the contract size (for example 50 for an index future). Futures margin is set by the exchange and broker as an amount per contract; enter it as a percentage of notional if you know it.

Worked example

Long 200 shares at 50, sold at 57.50 after 120 days, 10 in fees, 80 dividends: net profit 1,570, return 15.7%, annualised 55.8%, breakeven 49.65. With a 25,000 account, 1% risk and a 47 stop, the position size is 83 shares. At 50% initial and 25% maintenance margin, a margin call comes at 33.33.

Short selling costs

Short sellers pay borrow fees to the lender of the shares, which can be high for hard-to-borrow stocks, and must pay any dividends to the lender. Include borrow fees in the fees field. Short positions have theoretically unlimited loss, so a stop-loss and position sizing are especially important.

Keep a journal

Record each trade's entry, exit, size, reason and result. Over time the journal shows your real win rate and average win and loss.

Limits

A calculation aid, not investment advice. Taxes and borrowing costs are not included.

Exemplo prático

Long 200 at 50 → 57.50, fees 10, dividends 80: net 1,570 (15.7%).

Resumo rápido

Perguntas frequentes

How do I calculate trade profit?

(Exit − entry) × quantity × multiplier, minus fees, plus dividends for longs.

How many shares should I buy?

Risk amount divided by the distance from entry to stop.

What is a margin call price?

The price at which equity falls to the maintenance margin.

What margin applies in the US?

Regulation T 50% initial and FINRA 25% minimum maintenance for most stocks.

Can I use it for futures?

Yes, set the contract multiplier.

Why is the annualised return so high?

Short holding periods magnify annualised figures.

Totalmente grátisSem custo, sem cadastro
Arquivos privadosTudo roda no seu navegador
Fácil no seu idiomaDisponível em vários idiomas