Calculator

Break-even calculator including fees for stocks

Enter the shares, the entry price and the commissions. The calculator returns the exit price at which the position pays back its cost and both commissions. The arithmetic is exact: no floating point ever touches your numbers.

Calculator

Digits and a decimal point only, no thousands separators. Dates are written YYYY-MM-DD. Fields marked optional can stay empty.

Break-even exit price per share
–
Move from the entry price needed to break even (%)
–
Cost of the position, with the entry commission
–
Both commissions
–
Commissions per share
–

Arithmetic only. Not tax, financial or investment advice. Nothing you enter leaves your browser.

In short. The break-even exit price is the price at which a sale pays back the cost of the position and both commissions. It equals shares times entry price, plus the entry and exit commissions, divided by the number of shares. For 100 shares bought at 48.20 with 4.95 commission each way, it is 48.2990.

The formula

break-even exit price = (shares × entry price + entry commission + exit commission) ÷ shares

  • Commissions are entered as totals for the trade, not per share. For a per-share commission, multiply it by the number of shares first.
  • The move needed is the break-even price minus the entry price, as a percentage of the entry price. It is not shown when the entry price is zero.
  • With no commissions the break-even price equals the entry price.

Worked example

One invented position, with the figures the calculator gives for it. The "Load the example" button fills in the same values. Each figure was produced at build time by the function the calculator runs.

Inputs
FieldValue
Shares100
Entry price per share48.20
Entry commission (total)4.95
Exit commission (total)4.95
Results
FigureResult
Break-even exit price per share48.2990
Move from the entry price needed to break even (%)0.21
Cost of the position, with the entry commission4824.95
Both commissions9.90
Commissions per share0.0990

Rounding and exactness

  • Rounding rule: half up. Money is shown to 2 decimals, per-share amounts to 4, and percentages and ratios to 2. Each figure is rounded once, from the exact result.
  • No floating point. Each number you type is read as exact decimal text and held as a scaled whole number (BigInt). Sums, products and divisions are whole-number arithmetic.
  • Input limits. Digits and one decimal point, at most 40 characters per number, and digits only for counts. Anything else is flagged and never guessed.
  • Tested against a reference. The function is run against 14 test vectors for this calculator (plain cases, rounding ties, very large numbers, invalid input), computed independently with Python's decimal module.

What it does not do

  • Long positions only. A short position has a different cost structure and is not modelled.
  • Commissions are the only costs counted. Bid-ask spreads, currency conversion, interest, dividends and taxes are not included.
  • The result is the price at which the arithmetic of the position nets to zero. It says nothing about whether that price is reached.

Common questions

What does break-even mean here?
The sell price at which the proceeds, after the exit commission, equal the cost of the position, which includes the entry commission.
Why is it above the entry price?
Because both commissions have to be covered too. The larger the commissions are relative to the position, the further the break-even price sits from the entry price.
Is the commission per share or per trade?
Per trade, as a total. If a broker charges per share, multiply by the number of shares and enter the result.
What if the position was built in several fills?
Use the stock average calculator to find the average price and the total commission across the fills, then enter those here.

Where the numbers come from

The shares, prices and commissions of past trades are already printed on broker statements. Statementizer reads supported statement PDFs into a spreadsheet with each commission split out.

See how Statementizer works

Sources

The calculation is arithmetic, so there is no regulator or vendor to cite for it. These are the references for how it is implemented and checked.

Verified on 2026-11-12 by the Statementizer Team.