Master Calc - All Financial Calculator
category 11 Free Tools

Stocks & Trading Calculators

Whether you are averaging down on a fallen position or computing STCG tax before filing, MasterCalc's stock and trading calculators are built for Indian equity investors. Use the Stock Average Calculator to find your break-even price instantly, or run XIRR on your entire portfolio to see your true annualised return — all with no sign-up required.

All Stocks & Trading calculators

Complete Guide: Stocks & Trading in India

Stock Average Calculator: Managing Your Buy Prices on Indian Exchanges

Averaging down — buying more shares of a stock when its price has fallen below your purchase price — is one of the most common strategies among Indian retail investors on NSE and BSE. While it can reduce your average cost per share and bring your break-even price closer to the current market price, it also concentrates risk in a single holding. The Stock Average Calculator on MasterCalc lets you add multiple purchase tranches (each with its own quantity and price), instantly computing the weighted average cost per share and the total investment. It also shows the exact price the stock needs to reach for you to break even, accounting for brokerage charges (usually 0.01–0.03% for delivery trades at discount brokers like Zerodha and Groww) and STT (Securities Transaction Tax).

In the Indian market context, it is worth tracking the average cost carefully because it determines your capital gains computation at the time of sale. SEBI mandates the First-In-First-Out (FIFO) method for calculating capital gains on equity shares — the shares purchased first are deemed to be sold first. This makes your purchase history critically important for tax planning, especially if you have been accumulating shares across multiple years.

XIRR: The Only Correct Measure of Your Portfolio Return

Most Indian investors compare their portfolio return to the Nifty 50 index using simple percentage gain, which is misleading when cash flows occur at different points in time. XIRR (Extended Internal Rate of Return) is the true annualised return of any portfolio with multiple inflows and outflows at irregular dates — making it the gold standard for measuring SIP returns, portfolio performance, and individual stock IRR. The XIRR Calculator on MasterCalc accepts a series of dated cash flows (negative for investments, positive for redemptions/dividends) and the current portfolio value, then computes the annualised return using iterative methods aligned with the Excel XIRR function.

A simple example: if you invested ₹1 lakh in March 2021, added ₹50,000 in December 2021, received a ₹10,000 dividend in June 2022, and your portfolio is worth ₹2.1 lakh today, the XIRR tells you the exact annualised return on all deployed capital. This is the number to compare against the Nifty XIRR for the same period — not a simple percentage change.

CAGR Calculator: Measuring Growth Across Years

CAGR (Compounded Annual Growth Rate) measures the smooth annual growth rate of an investment from its starting value to its ending value over a specified period, assuming reinvestment of gains. It is the standard metric reported by mutual funds, used in company annual reports, and applied in equity research. The formula is: CAGR = (Ending Value / Beginning Value)^(1/N) – 1, where N is the number of years. The CAGR Calculator on MasterCalc also works in reverse — enter a target ending value, starting value, and desired CAGR to compute the required number of years, or enter the starting value, ending value, and years to get the CAGR.

  • Nifty 50 15-year CAGR (2009–2024): approximately 13–14%
  • Nifty Midcap 150 15-year CAGR: approximately 16–18%
  • Gold 15-year CAGR in India (INR terms): approximately 9–11%
  • Indian real estate (metro cities) 15-year CAGR: approximately 7–10%

Capital Gains Tax Calculator: Navigating India's Equity Tax Rules

The Indian capital gains tax framework distinguishes between short-term and long-term gains and applies different tax rates. For listed equity shares and equity-oriented mutual funds: Short-Term Capital Gains (STCG) arise when the holding period is less than 12 months and are taxed at a flat 20% (increased from 15% in Budget 2024). Long-Term Capital Gains (LTCG) arise after 12 months; gains up to ₹1.25 lakh per financial year are exempt, and gains above that are taxed at 12.5% without the benefit of indexation. The Capital Gains Tax Calculator applies the correct tax rate based on your holding period and computes the exact tax payable, helping you plan tax-efficient exits.

For debt funds, gold ETFs, and REITs, the rules changed from April 1, 2023: all capital gains are now added to total income and taxed at the applicable slab rate, regardless of holding period. This significantly affects debt fund investors who previously enjoyed indexation benefits on long-term gains. The capital gains calculator handles both equity and non-equity asset classes.

Cryptocurrency P&L and Tax in India

Virtual Digital Assets (VDAs) including Bitcoin, Ethereum, and other cryptocurrencies are taxed at a flat 30% on gains in India (Section 115BBH), with no deduction allowed for losses against other income. A 1% TDS is deducted at source on every crypto transaction exceeding ₹50,000 (₹10,000 for some cases) under Section 194S. The Crypto Profit Calculator on MasterCalc calculates your profit or loss on any cryptocurrency position in INR, applies the 30% flat tax, accounts for the 1% TDS already deducted, and shows you the net post-tax gain. Losses from one crypto asset cannot be set off against gains from another — a harsh rule that makes tax planning in crypto particularly important.

ROI Calculator: Measuring Return on Any Investment

Return on Investment (ROI) is the simplest measure of profitability: ROI = (Net Profit / Cost of Investment) × 100. While straightforward, it becomes nuanced when you want to compare investments held for different time periods. The ROI Calculator on MasterCalc computes both the simple ROI and the annualised ROI (equivalent to CAGR for a single investment), making it useful for comparing a 6-month stock trade with a 3-year property investment or a 2-year FD on a level playing field. It also accounts for taxes, brokerage, and other transaction costs to show the net-of-expenses ROI.

Understanding Brokerage, STT, and Transaction Costs in India

Indian stock market transactions carry multiple charges that eat into returns, especially for frequent traders. Understanding these costs is essential for evaluating the true profitability of any trade. A typical equity delivery trade involves: brokerage (0.01–0.5% depending on broker), STT (0.1% on the sell side), NSE/BSE exchange transaction charges (0.00335%), SEBI charges (₹10 per crore), and GST (18% on brokerage + exchange charges). For intraday trades, STT is lower (0.025% on sell side) but the total cost as a percentage of the smaller profit margins makes consistent profitability very difficult.

  • Delivery trades: STT 0.1% on sell; suitable for investors holding weeks or months.
  • Intraday equity: STT 0.025% on sell; high brokerage friction eats into small intraday moves.
  • F&O trades: STT on options increased significantly in Budget 2024, affecting scalping strategies.
  • Discount brokers: Zerodha, Groww, Angel One charge flat ₹20/order for F&O, making them cost-effective for high-value trades.

Building a long-term equity portfolio in India

Most retail investors should start with diversified equity mutual funds or index funds before picking individual stocks. When you do buy shares, use the Stock Average Calculator after every purchase so your average cost stays accurate for capital gains reporting. Track annualised performance with CAGR for simple growth and XIRR when cash flows are irregular.

Rebalance once a year with the Portfolio Rebalancing Calculator if equity allocation drifts beyond your risk plan. Position sizing and risk-reward tools matter most for active traders; long-term investors benefit more from consistency, low turnover and staying invested through market cycles rather than chasing short-term tips.

FAQ: Stocks & Trading Calculators

How do I calculate the average share price after multiple purchases?expand_more

The weighted average price formula is: (Sum of [Quantity × Price] for each purchase) ÷ Total Quantity. For example, buying 100 shares at ₹500 and then 150 shares at ₹450: Average = (100×500 + 150×450) ÷ 250 = (₹50,000 + ₹67,500) ÷ 250 = ₹470 per share. The Stock Average Calculator on MasterCalc handles unlimited purchase tranches instantly.

What is the LTCG tax rate on Indian stocks in 2025?expand_more

Long-Term Capital Gains (LTCG) on listed equity shares and equity-oriented mutual funds (held over 12 months) are taxed at 12.5% on gains exceeding ₹1.25 lakh per financial year. This rate was revised in the Union Budget 2024. There is no indexation benefit for equity LTCG. Gains up to ₹1.25 lakh remain fully exempt.

How is XIRR different from simple returns in mutual funds?expand_more

Simple returns (%) do not account for the time value of money or the timing of cash flows. If you invested ₹10,000 in January and ₹10,000 in October of the same year, and your portfolio is worth ₹25,000 in December, the simple return is 25% — but the October investment had only 2 months to compound. XIRR correctly weights each cash flow by the time it was invested, giving a true annualised return. Use XIRR for any SIP or portfolio with multiple transactions.

How is cryptocurrency profit taxed in India?expand_more

Crypto gains in India are taxed at a flat 30% (plus applicable surcharge and cess) on the total profit, with no deduction for expenses (other than the cost of acquisition). Losses from one cryptocurrency cannot be offset against gains from another, nor against any other income. A 1% TDS is deducted by the exchange on every transaction above ₹50,000/year. Report crypto gains under "Income from Virtual Digital Assets" in your ITR.

What is CAGR and why is it used instead of absolute returns?expand_more

Absolute return tells you the total percentage gain over the entire holding period but does not account for how long the investment was held. CAGR (Compounded Annual Growth Rate) converts this to an equivalent annualised rate, enabling comparison across investments of different durations. A 100% return over 10 years is a CAGR of 7.18% — much less impressive than a 100% return over 3 years (CAGR of 26%).

What charges does a typical NSE delivery trade incur?expand_more

For a delivery equity purchase at a discount broker: STT 0.1% on sell side, NSE transaction charge ~0.00335%, SEBI turnover fee ₹10/crore, stamp duty 0.015% on buy side (varies by state), brokerage (₹0–20 flat or 0.01–0.5%), and GST 18% on brokerage + exchange charges. All-in, transaction costs are typically 0.1–0.15% round trip for delivery trades.

Can I set off short-term capital loss against long-term capital gains in India?expand_more

Yes. Short-term capital losses (STCL) can be set off against both short-term and long-term capital gains. Long-term capital losses (LTCL) can only be set off against long-term capital gains. Unabsorbed capital losses can be carried forward for 8 assessment years, but only if you file your ITR by the due date.

What is the FIFO rule for capital gains on stocks in India?expand_more

SEBI mandates the First-In-First-Out (FIFO) method for calculating capital gains on equity shares and mutual funds. This means if you bought 100 shares in 2019, 100 in 2021, and sell 100 shares today, the 2019 shares (the oldest) are deemed sold first. This can affect whether your gains are short-term or long-term — the FIFO rule automatically considers the oldest purchase lot first.

How is ROI calculated and what is a good ROI for Indian stock investments?expand_more

ROI = (Net Profit ÷ Total Investment) × 100. For stocks, include brokerage, STT, and taxes in the cost to compute net ROI. On an annualised basis, a consistent ROI of 12–15% from Indian equity is considered strong and broadly aligned with long-term Nifty 50 performance. Annualised ROI above 20% is exceptional and typically requires either higher risk tolerance or significant skill in stock selection.

How do I compute CAGR for Nifty 50 investments?expand_more

Use the CAGR formula: (Current Value ÷ Initial Value)^(1/Years) – 1. For example, Nifty 50 at 5,000 in 2014 and 24,000 in 2024: CAGR = (24000/5000)^(1/10) – 1 = 4.8^0.1 – 1 ≈ 17%. Our CAGR Calculator handles this computation instantly and also lets you adjust for dividends received to calculate total return CAGR.

What is STT and when is it charged in India?expand_more

Securities Transaction Tax (STT) is a transaction tax levied by the Indian government on every purchase/sale of equity shares, mutual fund units, and derivatives on recognised stock exchanges. For equity delivery: 0.1% on the sell side. For equity intraday: 0.025% on the sell side. For F&O options: 0.1% on sell side (increased in Budget 2024). STT is collected by the broker and deposited to the government — it is not deductible as a business expense for most retail investors.