Stock Return After Costs Calculator: a practical guide
What gain or loss is left after fees and dividend cash?
Explore the gain or loss on a hypothetical sale after entered fees and cash dividends.
By VolatileShares · Example version 1 · Updated . Hypothetical inputs, not financial recommendations or live company data.
A worked example, in plain English
The idea in 10 seconds: Your actual profit needs the whole receipt: buy cost, sell cash, fees and dividends.
The price move is not the whole return.
Taxes are not included. A required sale price is not a prediction.
- Gain / loss after entered costs
- $20.00
- Return on purchase cost
- 9.95%
- Purchase cost including fees
- $201.00
Walk me through the full calculation
10 shares bought at $20.00 cost $201.00 including purchase fees. A sale at $22.00, after $1.00 in sale fees and with $2.00 in total cash dividends, produces $221.00 in net proceeds and dividends. That is a gain of $20.00, or 9.95% of your purchase cost.
With the same entered costs and dividends, the break-even sale price is $20.00 per share. This is a holding-period return, not an annual return. Taxes, unentered costs, reinvestment, splits or currency changes are not included.
Inputs used for this example
These are the calculator's example defaults, not suggested amounts or rates. Market calculators initially display USD. Change currency in the toolbar without creating a personal profile. Under optional Location & display settings, choose an example country for its currency and available historical CPI. Review any example household size and rent assumption before explicitly applying local assumptions: matching unedited budget/inflation fields change, while edited or restored inputs are kept. Lifestyle budgets are fictional examples, not measured national averages. Local tax, pension and borrowing links are guidance, not personal calculations. Switching currency alone does not change percentages, ages or share counts.
- Number of shares
- 10
- Price paid per share (USD)
- 20
- Sale price per share to try (USD)
- 22
- Total buying fees (USD)
- 1
- Total selling fees (USD)
- 1
- Total dividend cash received (USD)
- 2
Work backwards from your goal
What sale price would leave this much profit?
Start with a profit goal to find the sale price it would need.
Choose Work backwards, enter your target and the few essential inputs, then choose Calculate my goal. The answer is checked with the same forward calculation and applied in one step. Example assumptions are disclosed under More options. Expand Calculation details & tools only if you want more detail. Impossible or out-of-range goals show an error instead of invented numbers. Long numbers display commas while editing; calculations and saved snapshots keep the original precision.
Return to the interactive calculator above →How the calculation works
Cost = shares x purchase price + purchase fees. Net proceeds = shares x sale price - sale fees + total cash dividends. Gain/loss = net proceeds - cost. Return = gain/loss / cost x 100. Break-even sale price = max(0, (cost + sale fees - dividends) / shares).
What this cannot tell you
Same-share-class, long position in USD with no reinvested dividends or changes in share count. Enter total dividends for the whole holding, not per share. Return is for the entered holding period, not annualized. Excludes taxes, currency conversion, unentered costs and corporate actions.
Changing an assumption changes the example, not the future. Verify source dates and actual product, tax and lending terms before relying on any result. These tools do not replace appropriately qualified advice.
A flat share price does not guarantee a flat return
One share bought and sold at $100, with $2 of purchase fees, $2 of sale fees and $5 in cash dividends, costs $102 and returns $103. The gain is $1, or about 0.98%, before taxes. Price movement is only part of the calculation.
Illustrative arithmetic, not market evidence or a promise of returns.
Keep a useful starting point
In the interactive calculator, compare different assumptions or explicitly save a named snapshot to My browser notebook. Saving is optional and browser-only, not an account or cloud backup. Revisit it on the same browser profile; restoring never refreshes prices or assumptions.