Home › Calculators › Portfolio Return Calculator

Portfolio Return Calculator

Find the return of a whole portfolio from the weight and return of each holding, and see which holdings drove it. Have deposits or withdrawals? Switch to the second mode to compare the time-weighted return (how your investments did) with the money-weighted return (how your dollars did).

Last updated:

What do you want to calculate?
$

Turns the % return into a dollar gain.

$
$

Example: “2025-04-01, 10000, 47500” = deposited 10,000 on April 1 when the account was worth 47,500. The third value is needed for the time-weighted return.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Portfolio Return Calculator

  1. Pick a mode. Use “Weighted return of holdings” for a snapshot, or “Time-weighted vs money-weighted” if money went in or out.
  2. Enter your holdings one per line as name, weight % (or amount) and return %, for example “Bonds, 25, 2.1”.
  3. For cash flows, enter the start and end dates and values, then one line per deposit or withdrawal: date, amount, and the account value just before it.
  4. Click Calculate return to see the portfolio return, each holding’s contribution or the TWR and MWR side by side.
  5. Check the steps and table, then copy the results or download the table as CSV.

Portfolio return formulas

MeasureFormulaWhat it tells you
Weighted returnR = Σ wᵢ × rᵢReturn of a mix of holdings over one period with no cash flows
Contributionwᵢ × rᵢ (percentage points)How much each holding added to or took from the total
Time-weighted (TWR)(1 + r₁)(1 + r₂)…(1 + rₙ) − 1Investment performance, unaffected by deposits and withdrawals
Money-weighted (MWR)Σ CFₜ ÷ (1 + r)^(days/365) = 0Annual rate earned on your actual dollars, timing included
Modified Dietzgain ÷ (V₀ + Σ Fᵢ × Wᵢ)Quick approximation of the money-weighted return
Annualized(1 + R)^(1/years) − 1Turns a multi-year return into a yearly rate

Worked example: why TWR and MWR differ

You start the year with $20,000. By June 30 it has grown to $24,000 (+20%) and you deposit another $20,000, so the account holds $44,000. By December 31 it is worth $39,000, a fall of about 11.4% in the second half.

  • Time-weighted: 1.20 × (39,000 ÷ 44,000) − 1 = 1.20 × 0.8864 − 1 ≈ +6.4%. The investments themselves gained over the year.
  • Money-weighted: you put in $40,000 and ended with $39,000, a $1,000 loss, so the IRR is about −3.3%. More of your money was invested during the bad half.

Neither number is wrong. They answer different questions: “How did the portfolio perform?” versus “How did my money do?”. Load the “Deposit before a drop” preset above to see this example.

Tips for accurate results

  • Use total returns (price change plus dividends and interest) for each holding, not just price change.
  • Count reinvested dividends as growth, not as deposits. Only money moving in or out of the account is a cash flow.
  • For the time-weighted return, record the account value on the day of each flow, before the money arrives or leaves.
  • Fees taken from the account reduce the value and lower the return; fees you pay from outside are not included.
  • Compare with a benchmark over the same dates, using its total return index.

Frequently asked questions

How do you calculate the return of a portfolio?

Multiply each holding’s return by its weight (its share of the total portfolio value at the start) and add the results: R = Σ wᵢ × rᵢ. A portfolio that is 60% stocks returning 10% and 40% bonds returning 3% returned 0.6 × 10% + 0.4 × 3% = 7.2%.

What is the difference between time-weighted and money-weighted return?

The time-weighted return (TWR) links the returns between cash flows, so it measures how the investments performed regardless of when money was added or taken out. Fund managers report it. The money-weighted return (MWR) is the internal rate of return of your actual cash flows, so it also reflects your timing: adding money before a rise raises it, adding before a fall lowers it.

Which return should I use?

Use the time-weighted return to compare your portfolio with a fund or an index, or to judge an adviser who does not control your deposits. Use the money-weighted return to see what you personally earned on the dollars you invested.

Why do I need the account value before each cash flow?

TWR splits the period at every deposit or withdrawal and needs the value right before each one to measure the return of each sub-period. Without those values only the money-weighted return and the Modified Dietz approximation can be calculated.

Should the weights be based on starting values?

Yes. For a single-period weighted return, use each holding’s value at the start of the period. Using end-of-period weights overstates the holdings that did best.

Is the money-weighted return annualized?

Yes. It is solved like XIRR: Σ cash flow ÷ (1 + r)^(days/365) = 0, so r is an annual rate. The calculator also converts it to a return over your whole period so it can be compared directly with the TWR.

What is the Modified Dietz method?

A shortcut for the money-weighted return that does not need iteration: gain ÷ (starting value + each cash flow weighted by the share of the period it was invested). It is usually very close to the IRR for periods of a year or less.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

XIRR CalculatorAnnualized return (XIRR) for investments and withdrawals on irregular dates.Asset Allocation CalculatorSuggested stock, bond and cash mix by age, risk tolerance and time horizon, with dollar amounts.Portfolio Rebalancing CalculatorBuy and sell amounts to bring each holding back to its target allocation.CAGR CalculatorCompound annual growth rate, or solve for a target end value.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.EOQ CalculatorEconomic order quantity, orders per year, reorder point, safety stock and a total cost curve.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.NPV CalculatorCalculate net present value, PV table, profitability index and payback from cash flows.IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.Effective Annual Rate CalculatorConvert a nominal rate to the effective annual rate (EAR / APY) for any compounding, or back.Lump Sum vs Payments CalculatorCompare a lump sum with periodic payments: present value, best option and break-even rate.Millionaire CalculatorSee when your savings will reach $1 million or any goal, with inflation adjustment.Opportunity Cost CalculatorCompare buying now with investing the money: see the future value you give up.PPF CalculatorPPF maturity amount and interest for 15 years or with 5-year extensions, year by year.Recurring Deposit CalculatorRD maturity value and interest with quarterly compounding and a monthly breakdown.Real Rate of Return CalculatorInflation-adjusted and after-tax real return using the Fisher equation.Risk Reward Ratio CalculatorRisk, reward, R:R ratio and break-even win rate from entry, stop loss and take profit.Sharpe Ratio CalculatorSharpe and Sortino ratios from a return and volatility, or from a list of returns.Employee Stock Option CalculatorVested options, exercise cost, intrinsic value and potential gain from your grant.Stock Split CalculatorNew share count, price and cost basis after a forward or reverse stock split.SWP CalculatorSystematic withdrawal plan: yearly balance, total withdrawn and when the corpus runs out.Traditional vs Roth IRA CalculatorCompare the after-tax value of a Traditional and a Roth IRA and see which wins and by how much.Treasury Bill CalculatorT-bill price, discount rate, investment rate (bond equivalent yield) and interest earned.Crypto ConverterConvert Bitcoin, Ethereum and top coins to USD, EUR and each other with live prices.Dividend Yield CalculatorFind a stock's dividend yield, yield on cost and the income your shares pay each year.Financial Calculator (TVM)BA II Plus-style TVM solver: find N, I/Y, PV, PMT or FV, with BGN/END and amortization.Traditional IRA CalculatorProject a traditional IRA to retirement and compare its after-tax value with a taxable account.Roth Conversion CalculatorShould you convert a traditional IRA to Roth? Compare after-tax values and find the break-even.S&P 500 Return CalculatorHistorical S&P 500 return between any two years, with dividends, inflation and CAGR.AGI CalculatorCalculate adjusted gross income from income sources and adjustments, plus MAGI for Roth and ACA.CD Ladder CalculatorBuild a CD ladder: maturity schedule, blended yield and interest earned by year.Convertible Note & SAFE CalculatorSAFE and convertible note conversion: cap, discount and interest to shares and ownership %.Cost of Raising a Child CalculatorYearly and total cost of raising a child to 18 by category, income level and inflation.Crypto Mining CalculatorMining profit per day and month from hashrate, power, electricity cost, pool fee and difficulty.Crypto Staking CalculatorEstimate staking rewards in coins and dollars from APR or APY, compounding, validator fee and price.Dividend Income Goal CalculatorHow much to invest to earn a monthly dividend income and how many years it takes.403(b) CalculatorProject your 403(b): match, raises, returns, 50+ and 15-year catch-ups, balance at retirement.I Bond CalculatorSeries I savings bond value with fixed and inflation rates by period and early penalty.Interest Coverage Ratio CalculatorTimes interest earned (EBIT ÷ interest), EBITDA coverage, interpretation and stress test.Loss Recovery CalculatorSee the percent gain needed to recover an investment loss and how many years it may take.
See all 127 Investing & Retirement Calculators →