Estimate the arithmetic of a long or short trade
Compare entry and exit price, quantity, and fees to calculate an educational pre-tax profit-or-loss estimate.
How to use this calculator
- Select Long or Short; enter positive entry price P and quantity Q, and nonnegative exit price E.
- Enter optional entry and exit fees as whole-position amounts in the same currency; blank fees mean zero.
- Calculate and compare gross P/L, total fees, net P/L and return on entry notional.
Methodology and assumptions
Entry notional N=P×Q. Gross P/L is (E−P)Q for Long or (P−E)Q for Short. Total fees F=Fe+Fx; net P/L=gross−F. Net return is 100×net/N, not return on margin. Forex quantity must express base units and prices/fees must use a consistent quote currency; there is no lot or currency conversion.
Precision and rounding
Decimal inputs are treated as exact rational amounts within their bounds. Finite monetary values are not universally forced to two decimals; net return includes an exact fraction and a decimal display up to 12 fractional places.
Worked example
Long entry 100, exit 110 and quantity 2 gives notional 200 and gross profit (110−100)×2=20. Entry fee 1 plus exit fee 1 gives fees 2, net profit 18 and net return 100×18/200=9%. The same prices in Short mode give gross −20 and net −22.
Reference examples are specification evidence only; they do not claim that this interface or calculation engine has been tested.
Interpreting the result
This is a simplified arithmetic model, not a broker statement. It excludes taxes, financing, dividends, slippage, execution details, and any costs not entered.
No leverage, liquidation, financing/funding, taxes, live prices, spread/slippage model or currency conversion. This is not a broker statement, and a positive gross result may become a loss after fees.
Common mistakes
- Keep entry and exit prices in the same currency and unit.
- Include both entry and exit fees if applicable.
- A long and short position react differently to the same price movement.
- Do not interpret a modeled result as an expected or guaranteed return.
Frequently asked questions
Does this use live prices?
No. Prices and fees are supplied by you.
Are taxes included?
No. Tax treatment is outside the model.
What does a short position mean here?
It is a direction convention for the entered price change, not an assessment of broker requirements or risk.
Are fees optional?
Enter the fee values required by the form; unentered costs are not included.
Is this the fantasy trade tool?
No. This calculator models price, quantity, and fees; Fantasy Trade compares manually entered fantasy assets.
Should I enter a fee per share?
No. Enter the total fee for the whole position at each end, already in the common currency.
Sources and further reading
These references support the documented method or context. They do not imply application testing or endorsement.