Skip to content
Capitallytics official logo — blue and purple 3D translucent crystal AI CFO iconCapitallytics
Guides18 Jun 202614 min readBy Capitallytics

How to Calculate Portfolio Returns: XIRR, CAGR, and Real Examples

SIP dates, partial redemptions, and multiple brokers make simple return math misleading. Here is how to measure what your portfolio actually earned.

Why portfolio return calculation is harder than it looks

Checking today's portfolio value against total money invested feels intuitive — but that number mixes timing, cash flows, and market luck into one misleading figure. If you invested ₹5 lakh in January and ₹5 lakh in December before a year-end rally, a simple gain percentage credits the entire book for returns only the later tranche enjoyed.

Professional investors separate cash flow timing from market performance using annualized metrics. For personal portfolios with irregular SIPs, bonuses, redemptions, and dividend reinvestments, XIRR (Extended Internal Rate of Return) is the standard answer.

Understanding how to calculate portfolio returns correctly helps you compare funds, evaluate advisors, and judge whether your strategy works — independent of how much you contributed each month.

Four return metrics investors should know

Absolute return: terminal value minus total invested. If you invested ₹8 lakh and hold ₹10 lakh, absolute gain is ₹2 lakh (25% on capital deployed — but undated). Useful for quick snapshots, insufficient for comparing periods.

CAGR (Compound Annual Growth Rate): measures smooth annual growth between two points assuming a single starting investment. Formula: CAGR = (Ending Value / Beginning Value)^(1/years) − 1. Works for lump sums with no intermediate flows.

XIRR: annualized return accounting for dated cash flows — investments and withdrawals. Essential for SIPs, staggered bonuses, and partial exits. Excel's XIRR function and portfolio platforms compute this iteratively.

Time-weighted return (TWR): strips out cash flow timing to judge manager skill. More relevant for mutual fund factsheets than personal books unless you want to isolate your decision quality from deposit timing luck.

When to use XIRR vs CAGR

Use CAGR when you made one investment and held without additions or withdrawals — a fixed deposit style lump sum in a single stock or fund for exactly three years, for example.

Use XIRR when reality intrudes: monthly SIPs, occasional top-ups, SWP withdrawals, or selling half a position to fund an expense. That describes most Capitallytics users.

Misapplying CAGR to SIP books systematically misstates performance — usually flattering late bull markets and punishing early bear entries. XIRR aligns annualized return with when money actually entered the market.

How XIRR works (without heavy math)

XIRR finds the discount rate that makes net present value of all cash flows equal zero. You do not need to solve this by hand — tools handle iteration. Conceptually: it answers, "What fixed annual return would replicate my deposits, withdrawals, and ending value?"

Inputs required: every cash flow amount and date. Investments are negative flows (money leaving you), withdrawals and current market value are positive flows. Missing a ₹25,000 bonus investment date can shift XIRR by full percentage points.

Capitallytics tracks holdings and market values centrally, reducing manual cash-flow reconstruction. For forensic accuracy after irregular trades, export trade history from brokers and verify dates quarterly.

Step-by-step: calculate XIRR in a spreadsheet

Step 1 — List every cash flow with exact dates. Example: 01-Apr-2024: −₹1,00,000 investment; 01-Oct-2024: −₹50,000; 01-Apr-2025: +₹1,80,000 current value (treated as final inflow if you liquidated today).

Step 2 — Use =XIRR(values, dates) in Excel or Google Sheets. Ensure dates are valid and at least one negative and one positive flow exist.

Step 3 — Interpret as annualized return. An XIRR of 11.4% means your timed contributions compounded equivalent to 11.4% per year to reach today's value.

Step 4 — Sanity check against absolute gain. Large absolute profit with modest XIRR suggests money was invested late. Small absolute profit with high XIRR may mean early success on little capital.

Worked example: SIP portfolio in INR

Imagine ₹10,000 monthly SIP into an equity fund for 12 months — ₹1,20,000 total — with current value ₹1,35,000 after one year. Simple return = 12.5% absolute, but XIRR accounts for each installment's time in market and will typically differ from dividing profit by total invested.

If the market rallied in month 11, later installments contributed less growth; XIRR captures that. If you also withdrew ₹20,000 in month 8 for an emergency, XIRR incorporates the partial exit — simple gain math would not.

Run the same scenario in Capitallytics calculators for SIP projections, then compare live portfolio XIRR once holdings are linked. Gap between plan and reality teaches more than any textbook.

Common calculation mistakes

Mistake 1 — Dividing total profit by total invested without annualizing or dating flows.

Mistake 2 — Ignoring withdrawals, dividends taken as cash, or internal transfers between brokers.

Mistake 3 — Mixing currencies without conversion dates. US stock gains must use INR values at flow dates for Indian investors measuring local purchasing power.

Mistake 4 — Using purchase price after corporate actions without adjusting for splits, bonuses, or mergers.

Mistake 5 — Comparing XIRR on a 9-month portfolio to a fund's advertised 5-year CAGR. Match time horizons and methods.

Portfolio return metrics comparison table

Metric | Best for | Limitation — Absolute gain: quick P&L check | ignores timing and annualization. CAGR: single lump-sum multi-year hold | invalid with SIPs/withdrawals. XIRR: personal portfolios with irregular flows | needs accurate dates; sensitive to short periods. TWR: comparing fund managers | complex for DIY multi-broker books.

Practical rule: track XIRR for your total portfolio quarterly, CAGR for individual lump-sum legacy holdings, and absolute gain for goal progress (e.g., ₹50 lakh target by 2030).

Calculating returns across multiple brokers

Zerodha equity, Groww mutual funds, and a US broker account each report returns differently. Consolidated portfolio XIRR requires merging all cash flows into one timeline — another reason scattered apps mislead.

Import CSV or PDF statements into Capitallytics, unify holdings, and let live marks feed total portfolio value. Manual sheets fail here because investors forget old accounts or stale rows.

External references: Microsoft Excel XIRR documentation, CFA Institute materials on performance measurement, and AMFI factsheet definitions for fund CAGR — useful cross-checks for methodology.

Period returns: 1M, YTD, 1Y, since inception

Beyond annualized figures, period returns show recent momentum. A healthy 5-year XIRR can coexist with a negative 3-month return — both are true, serving different decisions.

Define periods consistently. YTD should use Jan 1 market value (or first available mark) through today. Since-inception XIRR needs first deposit date, not account opening date if funding lagged.

Capitallytics investment performance views help monitor period P&L without rebuilding pivot tables weekly.

Using returns data to improve decisions

Return metrics diagnose process; they do not predict next quarter. High XIRR on a concentrated crypto bet signals risk taken as much as skill demonstrated.

Compare returns against a relevant benchmark: Nifty 50 for large-cap India exposure, MSCI World for global equity sleeves, or a blended benchmark matching your policy allocation.

When underperformance persists for multiple years versus benchmark after fees, revisit fund selection or allocation — not just contribution amounts.

Automating return tracking

Manual XIRR quarterly is educational once; tedious forever. Portfolio trackers should compute performance whenever prices refresh. Capitallytics updates valuations from market data providers and surfaces period analytics on dashboard load.

Pair automated tracking with annual manual verification: reconcile broker statements, confirm corporate actions, and archive year-end snapshots for tax planning.

Automation fails if imports are incomplete. Schedule a quarterly "account sweep" to add new folios or brokers before trusting consolidated returns.

Actionable tips for accurate performance measurement

Maintain one consolidated tracker — treat Capitallytics as source of truth for total book performance.

Record every withdrawal and lump sum with dates, not just purchases.

Compare XIRR to appropriate benchmarks, not random headline indices.

Use at least 12 months of data before drawing strong conclusions from annualized figures.

Separate goal tracking (absolute ₹ targets) from efficiency tracking (XIRR).

Conclusion

Learning how to calculate portfolio returns with XIRR transforms vague "I think I did okay" into evidence. The method respects when you invested, how much you withdrew, and what you hold today — the only fair standard for real-world portfolios.

Capitallytics combines SIP calculators, live portfolio tracking, and performance analytics so you spend less time in spreadsheets and more time improving allocation decisions. Start free, import your holdings, and review your true annualized return this month.

Try Capitallytics' free portfolio tracker and investment analytics platform — built for investors who want clarity across Indian and global markets.

Article FAQ

What is XIRR in portfolio returns?
XIRR (Extended Internal Rate of Return) is an annualized return measure that accounts for the dates of investments and withdrawals. It is ideal for SIPs and irregular cash flows.
What is the difference between CAGR and XIRR?
CAGR applies to single lump-sum investments held for a period without intermediate cash flows. XIRR handles multiple dated contributions and withdrawals — typical of real investor portfolios.
How do I calculate portfolio returns manually?
List all cash flows with dates, include current portfolio value as a final inflow, and apply the XIRR function in Excel or Google Sheets. Verify totals against broker statements.
Why does my simple profit percentage differ from XIRR?
Simple profit divides total gain by total invested without weighting when money entered. Late investments during rallies inflate simple percentages; XIRR adjusts for timing.
Can Capitallytics calculate my portfolio returns automatically?
Yes. Capitallytics tracks holdings, live prices, and period performance across assets — reducing manual XIRR work while giving dashboard-level visibility into how your portfolio is performing.

Capitallytics provides financial data tracking analytics tools for informational purposes only. This does not constitute personalized financial advice.

Read-only import

Analysis-only pipelines. Capitallytics cannot transfer your capital.

Encrypted connections

HTTPS on every session. Credentials stay with auth providers.

Your data stays yours

We do not sell personal information to third parties.

Secure authentication

Industry-standard sign-in. No OTPs or passwords over email.

Related articles

Tax outcomes depend on facts: purchase dates, costs, and which lots you sell. Here is an educational framework for tracking capital gains inputs in India — not tax advice.

13 min read

“AI CFO” sounds like autopilot for money. In practice, useful tools summarize and question your data — they do not replace your judgement, your CA, or your broker.

11 min read

You do not need a 20-person finance org to know if the company is healthy. You need a short scoreboard, clean books, and a ritual you will not skip.

12 min read

One card, one account, one blurry 'profit' number — until payroll and rent collide. Here is why separation is an operating system, not a formality.

11 min read

FP&A is not enterprise bureaucracy. For startups it is the habit of connecting hiring, revenue, and cash before surprises hit the bank account.

13 min read

Profit on paper does not pay salaries. Founders need a cash flow system — forecast, categories, and weekly habits — before the bank balance becomes the only metric.

12 min read

You may also like

Your bank balance, your portfolio value, and your salary are all partial pictures. A net worth tracker is the one number that tells you whether you are actually getting wealthier.

22 min read

Most budgets die in week three. This is the full system — how to set one up, run it weekly, and fix it when real life doesn't match the plan.

20 min read

A FIRE calculator turns 'retire early' from a slogan into a number. Here is the complete math — FI number, savings rate, withdrawal rate, and every major FIRE variant.

19 min read