Stratsemble

Profit/Loss Calculator

The dollar figure is only half the picture — the percentage return and the fees decide whether a trade was actually worth the risk. This works for both a long (you profit when price rises) and a short (you profit when it falls), and nets out fees on both sides.

Direction
Net P&L
$1,500
after fees
Return
+15.00%
on position cost
Gross P&L
$1,500
before fees
Position cost
$10,000
How it's calculated
  • Long P&L = (exit − entry) × size. Short P&L = (entry − exit) × size.
  • Net P&L = gross − total fees. Return = net ÷ (entry × size).

Worked example: buy 100 shares at $100 and sell at $115 — gross profit $1,500, a +15% return before fees.

Return is shown on the position's cost. Ignores taxes, slippage, and (for shorts) borrow costs — all real. Educational tool, not advice.

These are the mechanics

A calculator shows what a rule should do on paper. Whether a strategy actually beats simply buying and holding — costs on, losses shown, no hindsight — is a different question, and the only one that pays. Test one on real data, free, no sign-up.