Audited ·Last updated 27 Jul 2026·6 citations·Tier 1·0 uses

NSE Returns Calculator

Calculate Nairobi Securities Exchange price return, dividend return, total return, and annualized return in KSh.

NSE Returns Calculator

Total gain or loss (before tax)
11,000.00
Gross purchase value
37,000.00
Net invested amount (including buy costs)
37,000.00
Net sale or current value
45,600.00
Dividend income
2,400.00
Price gain or loss
8,600.00
Price return
23.24
Dividend return
6.49
Total return
29.73
Annualized total return
13.90

Background.

An NSE returns calculator estimates the price return, dividend return, total return, and annualized return from a Nairobi Securities Exchange share investment. The canonical use case is a Kenyan investor who bought 2,000 shares at KSh 18.50, later sees the share at KSh 22.80, and received KSh 1.20 per share in dividends during the holding period. The calculator turns those inputs into KSh gain, percent return, and annualized return. It can be used for a sold position or for a current mark-to-market estimate.

People search for this because share performance is easy to misread when dividends are ignored. A stock can rise modestly in price but deliver a stronger total return because of dividends. Another stock can pay dividends while the price falls, producing a mixed result. NSE investors also need to keep units straight: prices and dividends are quoted per share in Kenya shillings, while investment size depends on share count. Market summaries, historical price lists, and company announcements provide data, but the investor still needs the arithmetic that turns a quote history into performance.

The Nairobi Securities Exchange provides market statistics, daily equity price lists, historical data products, issuer disclosures, and corporate announcements. CMA provides investor education and regulatory context for Kenya's capital markets. CDSC provides central depository and settlement infrastructure. Those institutions define the local data environment, but the return formula is general finance. FINRA's investor education describes return as price change plus income such as dividends. For this calculator, total return before taxes and costs is ending value plus dividends minus invested amount, divided by invested amount. Transaction costs and dividend withholding can be added as optional fields when users want after-cost or after-tax outputs.

The worked example assumes no transaction costs to keep the arithmetic clear. The investor buys 2,000 shares at KSh 18.50, investing KSh 37,000. The shares later have a value of KSh 45,600 at KSh 22.80. Dividends add KSh 2,400. Price gain is KSh 8,600, but total gain is KSh 11,000 once dividends are included. Price return is 23.243243 percent, dividend return is 6.486486 percent, and total return is 29.729730 percent. Over 730 days, the annualized total return is 13.898959 percent because the two-year holding-period return is converted to a one-year compound equivalent.

For Quanta, this calculator should be Kenya-specific without pretending to fetch live data unless the product has a licensed data source. NSE data includes proprietary restrictions. The tool can let users enter prices, dividends, costs, and dates manually. It should label the result as before tax unless dividend withholding and transaction costs are entered. It should also distinguish price return from total return so users do not over-credit or under-credit dividend-paying shares.

A robust implementation should handle negative returns, zero dividends, unsold positions, transaction costs, and short holding periods. It should reject zero or negative invested amount and warn when holding days are zero. Annualized return can become misleading for very short periods, so the UI should display a note when the holding period is less than a month.

What is nse returns calculator?

An NSE returns calculator is a Kenya-focused stock performance tool. It estimates how much an investment in a Nairobi Securities Exchange security gained or lost from price movement and cash dividends. It reports both Kenya shilling amounts and percentages. The main units are shares, KSh per share, KSh dividends, holding days, and percent return.

The key vocabulary is purchase price, sale price, current price, dividend per share, price return, dividend return, total return, annualized return, transaction costs, and after-tax return. Price return measures only the change in share price relative to the invested amount. Dividend return measures cash dividends relative to the invested amount. Total return combines both. Annualized return converts a holding-period result into a one-year compound rate, which is useful for comparison but not a guarantee of future performance.

The calculator is valid for manually entered NSE share-performance estimates. It does not provide investment advice, fair value, tax advice, broker statements, or licensed real-time market data. It should not be used to compare returns across currencies without exchange-rate adjustment. It also does not adjust for bonus issues, splits, rights issues, or reinvested dividends unless the user manually adjusts the share count, prices, and dividend inputs.

How to use this calculator.

  1. Enter the number of shares bought.
  2. Enter the buy price per share in KSh.
  3. Enter the sell price or current market price per share in KSh.
  4. Enter dividends per share received during the holding period.
  5. Add buy and sell costs if you want after-cost returns.
  6. Enter the holding period in days.
  7. Review KSh gain, price return, dividend return, total return, and annualized return.

The formula.

R = ( E ⁄ I )^(365⁄d) − 1

The calculator begins with invested amount. Share count times buy price gives the gross purchase value. Buy costs are added because they increase the money committed to the position. If a user bought 2,000 shares at KSh 18.50 and paid no entered costs, invested amount is KSh 37,000. If brokerage and levies are entered, invested amount rises, lowering the return percentage for the same sale proceeds.

Ending value is share count times sell or current price, less sell costs if entered. A sold position uses actual sale price. An open position uses current price and should be labeled as unrealized for the price component. Dividends are share count times dividends per share received during the holding period. The calculator treats cash dividends as received, not reinvested, unless a reinvestment mode is added.

Price gain is net sale value minus invested amount. Total gain adds dividends to net sale value before subtracting invested amount. This separation matters. In the example, price gain is KSh 8,600, while total gain is KSh 11,000. A user looking only at share price would miss KSh 2,400 of cash income. Conversely, a high dividend does not automatically make a strong investment if price loss is larger.

Return percentages divide KSh gains by invested amount. Price return is price gain over invested amount. Dividend return is dividends over invested amount. Total return is total gain over invested amount. Annualized return uses compound conversion: ending wealth divided by invested amount, raised to 365 divided by holding days, minus one. For a 730 day holding period, the exponent is 0.5, so the calculator takes the square root of the wealth multiple. This is a geometric annual rate, not a simple division by two.

The implementation should keep taxes and costs optional and explicit. Kenya dividend withholding, broker commissions, regulatory fees, and other costs can materially change after-tax returns. They should be modeled as inputs or labeled outside the before-tax result.

A worked example.

Example

The example investor buys 2,000 shares at KSh 18.50 per share. The initial gross purchase value is 2,000 times 18.50, or KSh 37,000. There are no entered costs, so invested amount remains KSh 37,000. Later, the share price is KSh 22.80. The position value is 2,000 times 22.80, or KSh 45,600. During the holding period, the investor receives KSh 1.20 per share in dividends, which totals KSh 2,400. The price gain is KSh 45,600 minus KSh 37,000, or KSh 8,600. The total gain includes dividends: KSh 45,600 plus KSh 2,400 minus KSh 37,000 equals KSh 11,000. Dividing KSh 11,000 by KSh 37,000 gives a total return of 29.729730 percent. Because the holding period is 730 days, annualization uses the square root of 1.297297297 and subtracts one. The annualized return is 13.898959 percent before tax and costs.

shares2,000
dividends Per Share Ksh1.2
buy Price Ksh18.5
sell Costs Ksh0
sell Price Ksh22.8
buy Costs Ksh0
holding Days730

Frequently asked questions.

Is this different from a generic stock return calculator?
The formula is similar, but the context is Kenya-specific. Inputs are in Kenya shillings, and the citations point users toward NSE data, CMA investor education, and Kenya market infrastructure. The calculator can also include local fields such as dividend withholding tax or NSE transaction costs if engineering adds those schedule values. A generic stock calculator may work arithmetically, but it will not explain NSE data sources, KSh denomination, or Kenya-specific investor issues.
Should dividends be included in return?
Yes if the goal is total return. Price return measures only share-price movement. Total return includes price change plus cash income such as dividends. Ignoring dividends understates performance for dividend-paying shares and can distort comparisons between companies. The calculator reports price return and dividend return separately so users can see whether performance came from price appreciation, cash dividends, or both. After-tax dividend return requires a dividend withholding input.
Does annualized return mean I will earn that every year?
No. Annualized return converts the holding-period return into a one-year compound equivalent. It is a comparison metric, not a forecast. In the example, a 29.729730 percent total return over 730 days is equivalent to 13.898959 percent per year compounded. Future prices, dividends, taxes, inflation, and currency values can differ. The calculator should avoid language implying that annualized historical return is guaranteed.
How should I handle transaction costs?
Add buy-side costs to invested amount and subtract sell-side costs from sale proceeds. This makes returns lower than a no-cost calculation. If the calculator does not have current Kenya fee schedules, it should allow users to enter total costs manually. Broker commissions, statutory levies, and other charges can change and may differ by transaction. Keeping them as explicit inputs avoids hard-coding stale fee rates.
What about dividend withholding tax?
The base worked example is before tax. To calculate after-tax return, subtract dividend withholding tax from dividend income or enter net dividends per share. Kenya withholding tax treatment depends on investor status and current law. The calculator should label whether it uses gross or net dividends. Users comparing personal returns should generally use the cash actually received after tax and costs, while users comparing company performance may prefer gross dividends.
How do I handle bonus issues or splits?
Adjust the share count and per-share price data so the beginning and ending values are comparable. A split or bonus issue changes share count and price per share but not necessarily economic value by itself. If the user enters old share count and new price without adjustment, the return will be wrong. A future advanced mode could accept corporate actions directly, but a basic calculator should warn users to normalize shares and prices.
Can this calculator fetch live NSE prices?
Not unless Quanta has a licensed or permitted data source. NSE data services state restrictions on copying, reproducing, distributing, publishing, or using data for commercial gain without permission. The safest implementation is manual entry or an approved data integration. The calculator can cite NSE market statistics and data services, but it should not scrape or imply real-time data access without a compliant feed.
When should I not use this calculator?
Do not use it as investment advice, valuation, tax advice, or a substitute for broker statements. It also should not be used for multi-currency comparisons without exchange-rate adjustments, or for complex corporate actions without normalizing the data. Use it to calculate a transparent return from share count, buy price, sale or current price, dividends, costs, and holding period. Portfolio-level analysis needs weighting, cash flows, and time-weighted or money-weighted methods.

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon