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.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Enter the trade
Choose long or short and type entry, exit, quantity and multiplier.
- 2Add costs and income
Type fees, dividends and days held.
- 3Size the position
Enter account size, risk % and stop price.
- 4Check margin
Enter initial and maintenance margin to see the call price.
Informazioni su questo strumento
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.
Esempio svolto
Long 200 at 50 → 57.50, fees 10, dividends 80: net 1,570 (15.7%).
In breve
- Categoria: Soldi e tasse
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: CFA Program curriculum (Equity) and FINRA Rule 4210 margin requirements
Domande frequenti
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.
