A scaling in and out calculator works out your weighted average entry price, weighted average exit price, and total profit or loss when a position is built or closed across more than one order rather than a single trade. It handles up to three entry tranches and three exit tranches at different prices and sizes.
This matters because a simple average of your entry prices, ignoring how much size was traded at each one, gives a misleading picture of your real cost basis. Weighting by size gives the figure that actually determines your P&L.
This calculator is for educational purposes only. Results are estimates and may vary depending on market conditions, spreads, commissions, platform settings, and exchange rates. It should not be considered financial advice.
Scaling in means building a position gradually across multiple entry orders rather than opening the full size at once, commonly used to average into a level rather than committing everything at a single price. Scaling out means closing a position gradually across multiple exit orders rather than closing everything at once, often used to lock in partial profit while letting the remainder run.
A simple average treats every tranche equally regardless of size, which misrepresents your actual cost basis if tranches were different sizes. A weighted average accounts for how much size was traded at each price, giving a true reflection of your actual average entry or exit cost, which is what matters for calculating real P&L.
This is common when a position is partially closed or still being built. The calculator computes P&L on the matched portion, the smaller of total entry and total exit size, and flags the remaining open or unmatched size separately, so you can see both the realised result on the closed portion and how much of the original position is still outstanding.
It can, depending on price direction and how you scale. Adding to a long position at progressively lower prices lowers your weighted average entry, sometimes called averaging down, while adding at progressively higher prices raises it. Neither is inherently better, it depends entirely on whether the underlying thesis for the trade still holds at the new price, which is a separate question from the arithmetic itself.
They're closely related, scaling out commonly refers to closing a position in planned stages, often to lock in partial profit at predetermined levels while leaving a portion open for further potential gain. The mechanics calculated here work the same way regardless of why you're scaling out, whether for profit-taking, risk reduction, or another reason.
Yes, select Sell / Short as the direction, and the P&L calculation automatically reverses, profit comes from average exit being lower than average entry, matching how a short position actually works.
The core calculation shown here uses raw entry and exit prices without separately itemising commission or spread. For a fully cost-adjusted figure, subtract your total trading costs across all tranches from the total P&L this tool produces, since costs reduce net P&L regardless of how many tranches were used to build or close the position.
Scaling reduces the impact of any single price being wrong, spreading execution across multiple levels rather than betting entirely on one moment's price. It's commonly used specifically because predicting the exact best entry or exit point in advance is genuinely difficult, so distributing entries or exits across a range is a way of managing that uncertainty directly, at the cost of a less precise, purely directional result compared to nailing a single perfect entry or exit.
Scaling in is a deliberate, planned strategy of entering a position across multiple predetermined levels as part of your original trade idea, averaging down is often a more reactive response to an existing losing position, the intent and planning differ significantly.
Not necessarily, some traders scale out partially at multiple profit targets while letting a smaller remaining portion run further, rather than closing the entire position simultaneously at any single level.
Scaling in generally increases total position size and therefore total capital at risk as you add, while scaling out reduces both position size and remaining risk as you take partial profits along the way.
Scaling adds complexity to position management that can be genuinely useful once mastered, but beginners often benefit from first mastering simple, single-entry and single-exit trades before introducing the added complexity of scaling.
Yes, each additional scale-in or scale-out transaction recalculates your weighted average entry or remaining position basis, this calculator (and our dedicated Average Entry Price Calculator) helps track that evolving figure.