StructureX

Home › Tools

Scale-out calculator: the basis left after two sales

Sell a piece, then another piece. Enter both and see what is left on the rest.

Free tool · two sales · basis left · break-even on the rest · runs in your browser

How it works: every share you bought has the same cost, the buy price. Each sale makes shares sold times (sale price minus buy price). That is the result on those shares. The basis left is the shares you still hold times the buy price. The break-even on the rest is the buy price minus the result so far, spread over the shares left. Fees are not counted.

Selling in pieces

When you sell part of a position, the shares you keep still carry their own cost. Gains from the sold shares do not change that cost. They change where the rest of the position breaks even, because the cash is already in your hand. The word for the cost is cost basis. For adding to a position the other way, see the average down calculator.

The usual mix-up

A sale at a loss counts too. It makes the rest harder to break even on. Your broker may match sold shares to buys in a set order, which changes the numbers when you bought at more than one price. This page uses one buy price.

Follow along

XTradingViewFacebook