Stock Profit Calculator
Calculate your exact profit or loss on any share trade including brokerage, dividends and Australian tax
This free Stock Profit Calculator helps ASX share traders and investors calculate exact profit and loss on share trades. Easily factor in capital gains, brokerage fees, dividends, franking credits and Australian CGT rules to understand your true net return.
Stock Profit Calculator
Every time you sell a share, there are really three questions that matter: how much did you make, what did it cost you to make it, and what percentage return does that represent on your invested capital? Answering all three accurately — including dividends received, franking credits, and brokerage paid on both sides — requires more than subtracting one share price from another. The Stock Profit Calculator by Trade by KAYAHA does the full calculation for you, delivering a complete, precise profit figure on any share investment in seconds.
Use the calculator above to find your exact stock profit right now. Then read below to understand exactly how stock profit is calculated, see a detailed worked example across multiple scenarios, and learn how this tool helps you make better decisions about every position in your portfolio.
What Is the Stock Profit Calculator?
The stock profit calculator is a tool that calculates the total net profit or loss from a share investment, combining capital gain from price movement, dividend income received, and the franking credit value of those dividends, then subtracting all transaction costs to produce a precise net result.
It goes beyond the basic price-gain calculation that most informal tracking methods rely on. Many investors estimate their profit by looking at the share price change and multiplying by their share count — without accounting for the dividends that often represent 40–50% of total return on Australian shares, the franking credits that make those dividends even more valuable, or the brokerage that erodes the final number.
The stock profit calculator corrects all of this in one place.
It is useful for:
- ASX investors who want to understand the complete return on any completed or open share position
- Active traders who need a quick, accurate profit calculation after closing a position
- SMSF trustees tracking the performance of individual holdings for annual reporting
- Tax planning — understanding the capital gain and income components separately for ATO reporting
- Portfolio decision-making — knowing the true profit on a current holding before deciding whether to sell, hold, or add
The distinction between the stock profit calculator and the trading profit calculator is nuance and scope: this calculator places particular emphasis on the full investment return including dividend income and the Australian franking credit system, making it the more appropriate tool for long-term share investors.
How the Stock Profit Calculator Works
The calculator takes your purchase price, sale price, number of shares, dividend income received during the holding period, franking percentage, and transaction costs, and applies the profit formula across all components to produce a total net profit and percentage return.
The logic mirrors how an Australian investor actually earns money from shares: part price appreciation, part dividend income, part franking credit tax offset — all reduced by the cost of buying and selling.
Key Inputs Used in the Calculation
| Input | What It Means |
|---|---|
| Purchase Price Per Share | The price paid per share when the position was opened |
| Sale Price Per Share | The price received per share when the position was (or will be) closed |
| Number of Shares | Total shares in the position |
| Dividends Received Per Share | Total dividends collected per share over the entire holding period |
| Franking Percentage | The franking level on dividends paid (0–100%) — for ASX shares under the imputation system |
| Corporate Tax Rate | 30% for large companies, 25% for base rate entities — used to calculate franking credit value |
| Entry Brokerage | Commission paid to purchase the shares |
| Exit Brokerage | Commission paid to sell the shares |
The franking inputs are what differentiate this calculator from a basic stock profit tool. For Australian investors holding shares in major ASX-listed companies — which often pay fully or substantially franked dividends — ignoring franking credits systematically understates the true economic value of the investment’s income component.
Financial Formula Behind the Calculator
Capital Gain / Loss:
Capital Gain = (Sale Price − Purchase Price) × Number of Shares
Dividend Income:
Total Cash Dividends = Dividends Per Share × Number of Shares
Franking Credit Value = Total Cash Dividends × (Franking % ÷ 100) × (Corporate Tax Rate ÷ (1 − Corporate Tax Rate))
At 30% corporate tax:
Franking Credit Value = Total Cash Dividends × (30 ÷ 70) = Cash Dividends × 0.4286
Gross Dividend = Total Cash Dividends + Franking Credit Value = Cash Dividends × 1.4286
Net Stock Profit:
Total Capital Invested = (Purchase Price × Shares) + Entry Brokerage
Net Cash Profit = Capital Gain + Total Cash Dividends − Total Brokerage
Gross Profit (with franking) = Capital Gain + Gross Dividend − Total Brokerage
Net Cash Return % = (Net Cash Profit ÷ Total Capital Invested) × 100
Gross Return % = (Gross Profit ÷ Total Capital Invested) × 100
Example Calculation
Scenario: ASX Financial Stock — 3-Year Hold
An investor buys shares in an ASX-listed financial company:
- Purchase Price: $42.00 per share
- Sale Price: $51.50 per share
- Number of Shares: 600
- Annual Dividend Per Share: $2.10 (fully franked, 100%)
- Holding Period: 3 years → Total dividend = $2.10 × 3 = $6.30 per share
- Entry Brokerage: $15
- Exit Brokerage: $15
Complete Profit Calculation:
| Component | Calculation | Result |
|---|---|---|
| Capital Gain | ($51.50 − $42.00) × 600 | $5,700.00 |
| Total Cash Dividends | $6.30 × 600 | $3,780.00 |
| Franking Credits | $3,780 × (30 ÷ 70) | $1,620.00 |
| Gross Dividend Income | $3,780 + $1,620 | $5,400.00 |
| Total Brokerage | $15 + $15 | $30.00 |
| Total Capital Invested | ($42 × 600) + $15 | $25,215.00 |
| Net Cash Profit | $5,700 + $3,780 − $30 | $9,450.00 |
| Net Cash Return | $9,450 ÷ $25,215 | 37.48% |
| Gross Profit (incl. franking) | $5,700 + $5,400 − $30 | $11,070.00 |
| Gross Return | $11,070 ÷ $25,215 | 43.91% |
| Annualised Gross Return | (1.4391)^(1/3) − 1 | 12.93% p.a. |
Return Component Breakdown:
| Return Source | Dollar Value | % of Total Gross Profit |
|---|---|---|
| Capital Appreciation | $5,700 | 51.49% |
| Cash Dividends | $3,780 | 34.15% |
| Franking Credits | $1,620 | 14.63% |
| Less Brokerage | −$30 | −0.27% |
| Total Gross Profit | $11,070 | 100% |
The attribution table reveals that nearly half the gross profit came from dividends and franking credits — components that would be completely invisible in a price-only profit calculation. An investor who looked only at the $5,700 capital gain would believe they had earned a 22.6% return, when the true gross return is 43.91%.
Why This Calculator Is Useful
The stock profit calculator provides the complete financial picture of any share investment — and that completeness is what makes it genuinely useful rather than merely convenient.
Accurate performance measurement: The most immediate value is accuracy. A share investment’s actual economic return includes price movement, dividend income, and franking credits. Any measure that omits these components is incomplete. For Australian investors in particular, where fully franked dividend yields of 4–6% are common on ASX blue chips, the income component can exceed the capital gain component in any given year. The stock profit calculator captures everything.
Tax preparation and reporting: Under Australian tax law, capital gains and dividend income are taxed differently. Capital gains on shares held more than 12 months qualify for the 50% CGT discount for individual investors. Dividend income (and the attached franking credits) is assessed separately as ordinary income. The calculator separates these components, making the inputs for your ATO tax return clear and organised.
Hold vs. sell decision support: Before selling any position, knowing the complete profit picture — including what you’ve already received in dividends and franking credits — gives a more accurate basis for the hold vs. sell decision than looking at the current share price alone. An investment that appears to have modest capital gain may have delivered substantial total return when income is included.
Portfolio contribution analysis: By calculating profit on each individual holding, investors can identify which stocks have contributed the most to portfolio performance on a total return basis — not just which have risen most in price. This often reveals that steady dividend payers have outperformed flashier growth stocks on total return terms.
Benchmarking: The annualised gross return the calculator produces can be directly compared against ASX benchmark returns (e.g., the S&P/ASX 200 Total Return Index) over the same period. This comparison — possible only with a complete return figure including dividends — is the only valid way to assess whether an individual stock has outperformed the broader market.
Tips to Use the Stock Profit Calculator Effectively
1. Always calculate gross return, not cash return alone For fully or substantially franked ASX shares, the gross return (including franking credits) is the return that most accurately reflects what the investment delivered to an eligible Australian investor. Always run the gross return calculation alongside the cash figure — the difference is material.
2. Input cumulative dividends, not just one payment Dividends are paid semi-annually by most ASX companies, and quarterly by some. For a 3-year holding period, that means 6 semi-annual dividend payments. Input the total dividends per share across the entire holding period — not just one payment — to get an accurate profit figure.
3. Use annualised return for all comparisons A 43.91% total return over 3 years is strong, but it needs to be annualised (12.93% p.a. in the example above) before comparing it against annual return benchmarks, other investments with different holding periods, or historical market return averages.
4. Calculate profit before and after the CGT 12-month threshold If you are considering selling a share position that has been held for fewer than 12 months, calculate the profit now and compare it against the profit you would retain if you waited until month 12 to qualify for the 50% CGT discount. The difference can be significant, particularly on large capital gains.
5. Include all dividend payments for the exact holding period If you held shares for 2 years and 7 months, include the dividends from all payment dates during that period — not just 2 years’ worth. Precision in the dividend input produces precision in the profit output.
6. Use the calculator for open positions too The stock profit calculator is not just for closed trades. Input the current market price as the “sale price” on any open position to calculate your unrealised profit at today’s valuation — including dividends received to date. This gives you the complete picture of what you are sitting on right now.
Common Mistakes People Make
Mistake 1: Calculating profit from share price change only The most common and consequential error. For long-term ASX investors, dividends frequently contribute more to total return over multi-year periods than capital appreciation. Profit calculated on price movement alone misrepresents actual investment performance and leads to poor portfolio evaluation decisions.
Mistake 2: Ignoring franking credits as “irrelevant” Some investors — particularly those new to Australian investing or accustomed to international markets — treat franking credits as a tax technicality rather than real economic value. For an eligible Australian investor on a marginal tax rate below 30%, franking credits are a genuine cash-equivalent benefit that reduces tax payable or generates a refund. They belong in the return calculation.
Mistake 3: Using the wrong dividend total Inputting only the most recent dividend payment rather than the cumulative total for the entire holding period produces a dramatically understated profit figure. Collect all dividend payment records for the full holding period and sum them before entering the figure.
Mistake 4: Calculating return on current value instead of cost Dividing profit by the current market value of the position rather than the original invested capital gives a return percentage that changes daily and is not your actual investment return. Return is always measured against what you paid — the original capital invested.
Mistake 5: Forgetting that franking credits change with partially franked dividends Many ASX stocks pay partially franked dividends — say 70% or 80% franked rather than fully franked. Applying a 100% franking assumption to a partially franked dividend overstates the franking credit value. Always input the actual franking percentage for each dividend payment. If dividends had different franking levels in different years, calculate the weighted average or input separately.
Mistake 6: Not separating capital gain from income for tax For ATO reporting, capital gain and dividend income are assessed separately under different tax rules. Using only the total profit figure for tax purposes misses the opportunity to apply the CGT discount to the capital gain component and the franking credit offset to the income component. Always maintain the component breakdown.
When Should You Use This Calculator?
The stock profit calculator adds value at every stage of the investment cycle:
- After selling any share position — calculate the complete net profit including all components immediately after closing, before logging the trade or preparing for tax reporting
- Before selling a position — input the current price as the sale price to evaluate the full profit picture today, including dividends and franking credits already received
- At the end of the financial year — calculate profit on all closed positions for the year, separated by capital gain and income components, for ATO reporting preparation
- When deciding whether to hold a position — the full profit picture often reveals that a position with modest capital gain has delivered strong total return due to income — changing the hold vs. sell calculus
- During portfolio reviews — calculate annualised total return on each holding to identify your best and worst performers on a complete, comparable basis
- When approaching the 12-month CGT threshold — calculate the after-tax difference between selling now and waiting to qualify for the CGT discount
- For SMSF annual reporting — produce accurate, complete return figures for each holding in the fund’s investment reporting
Related Financial Calculators
The stock profit calculator connects with several other key tools in the Trade by KAYAHA suite:
- Stock Return Calculator — For a comprehensive total return analysis with detailed component attribution, including annualised return benchmarking. The stock return calculator provides extended analysis for longer-term investment performance review.
- Trading Profit Calculator — For short-term trades without dividend income, this calculator provides a faster profit calculation focused on price movement and brokerage alone.
- Dividend Yield Calculator — Calculate the dividend yield on any ASX holding at your original purchase price (yield on cost) to see the income component’s contribution to your total profit in percentage terms.
- Stock Average Price Calculator — For positions built through multiple purchases, calculate your weighted average cost base first, then input it as the purchase price for an accurate profit calculation.
- Break Even Price Calculator — Determine the minimum sale price needed to generate a net profit above zero, accounting for your purchase price and all brokerage costs.
- Capital Gains Tax Calculator — Calculate the ATO CGT liability on your stock profit, applying the 12-month discount rule where applicable and determining the net after-tax gain.
- CAGR Calculator — Convert your total stock profit and holding period into a compound annual growth rate for direct comparison against ASX index performance.
Frequently Asked Questions (FAQ)
What is a stock profit calculator? A stock profit calculator determines the total net profit or loss from a share investment by combining the capital gain from price movement, dividends received, and the value of franking credits, then subtracting all transaction costs. It expresses the result as both a dollar amount and a percentage return on invested capital.
How do I calculate profit on ASX shares? Stock Profit = (Sale Price − Purchase Price) × Shares + Total Dividends − Total Brokerage. For gross profit including franking credits: add the franking credit value (dividends × franking % × (30 ÷ 70) at 30% corporate tax) to the dividend total. Divide gross profit by your total invested capital for the percentage return.
Should I include franking credits in my profit calculation? Yes, for Australian shares. Franking credits are real economic value for eligible Australian investors — they reduce tax payable on dividend income or generate a cash refund if your tax liability is lower than the credit value. A fully franked dividend is worth 42.86% more than its face value in gross income terms. Always include franking in a complete profit calculation.
What is the difference between cash return and gross return? Cash return includes capital gains and cash dividends only. Gross return adds the value of franking credits to the dividend income, producing a higher return figure that reflects the full economic value of the investment to an eligible Australian investor. Gross return is the more accurate measure for Australian shares.
Are stock profits taxable in Australia? Yes. Capital gains from shares held for more than 12 months qualify for the 50% CGT discount for individuals and SMSFs in accumulation phase, effectively halving the taxable gain. Capital gains on shares held for fewer than 12 months are taxed at your full marginal rate. Dividend income is assessed as ordinary income in the year received. Franking credits can offset the tax on dividends. Always consult a registered tax agent for advice specific to your situation.
Can I use this calculator for ETFs? Yes. ETFs trade and are taxed like shares in Australia. Input your ETF purchase price, sale price, number of units, and distributions received during the holding period. For Australian equity ETFs that pass through franking credits on their distributions, include the franking percentage for a complete gross return calculation.
Can beginners use this calculator? Yes. The essential inputs are purchase price, sale price, and number of shares — together these produce a basic capital gain calculation. Adding dividends and brokerage refines the result to a complete profit figure. The franking inputs are optional but recommended for any ASX investment that pays franked dividends.
Final Thoughts
The stock profit calculator delivers what every share investor deserves: the complete, honest financial result of their investment — capital gain, dividend income, franking credits, and transaction costs, all in one calculation.
For Australian investors in particular, this completeness is not a luxury — it’s a necessity. The combination of dividend income and franking credits that characterises ASX investing means that a price-only profit calculation systematically misrepresents the actual return. The stock profit calculator corrects this by default.
Use Trade by KAYAHA’s free stock profit calculator after every position close, during every portfolio review, and whenever you need to compare the true total return of your individual holdings. Know what you actually made — not just what the price chart shows.
Trade by KAYAHA provides this calculator for educational purposes only. It does not constitute financial or tax advice. For Australian CGT calculations, franking credit treatment, and SMSF performance reporting, consult a registered tax agent or licensed financial adviser.