Skip to content

Investment timing & benchmarks

How to benchmark repeated stock purchases against an ETF

Give an ETF the same dated purchase budgets, then compare annualized returns. Follow a complete two-purchase worksheet with independently checked XIRR results.

Give the ETF the same amount on each purchase date, then calculate a dated-flow return for each side. If you bought the stock more than once, comparing its first-to-last price change with an ETF’s price change leaves out how much you invested along the way.

This worksheet follows two purchases of one stock, with no sales or income. It answers what those invested amounts would have produced in a stated ETF alternative. It does not measure an entire account, including cash waiting to be invested.

Synthetic example · USD · No fees or dividends

The same $2,000, invested on the same two dates.

Invest $1,000 on 1 January 2025 and another $1,000 on 2 July 2025. Value both investments on 1 January 2026. The second purchase is 182 days after the first and 183 days before the final valuation.

Replay each purchase into a fictional stock and ETF
Date and budgetStockETF mirror
$1,000 invested$100 per share10 shares bought$50 per unit20 units bought
$1,000 invested$125 per share8 shares bought$55 per unit18.181818 units bought
Final valuation$150 per share18 shares held$60 per unit38.181818 units held
Final value$2,700.00$2,290.909091
Annualized IRR365-day basis48.197845%19.670146%

Stock IRR − ETF IRR = 28.527699 percentage points
Final wealth difference = $409.09

All prices are invented, not historical quotes or forecasts. Purchases occur at the stated teaching prices even where a real market would be closed. No sales, dividends, fees, taxes, currency changes or idle cash are modeled. Fractional ETF units are mathematical units, not a promise that a broker can execute those trades. Calculations retain the unrounded units and values.

01 / Match money and time

Replay the budgets, not the share counts.

  1. Name the alternative first. Choose an ETF whose exposure is relevant to the question you want to ask, and use one reporting currency. This comparison does not make a single stock and an ETF equally risky.
  2. List each stock purchase and its date. Here, both purchases commit $1,000. The second one is a new investment flow even though it buys the same stock.
  3. Buy hypothetical ETF units with each matching budget. Divide that date’s budget by that date’s ETF price. Do not buy ten ETF units merely because the first stock purchase bought ten shares.
  4. Value both sides at one endpoint. Add the units acquired and multiply by each investment’s own final price. The terminal value represents shares still held; it does not claim a sale took place.

Stock shares = 1,000 ÷ 100 + 1,000 ÷ 125 = 18
Stock final value = 18 × 150 = $2,700

ETF units = 1,000 ÷ 50 + 1,000 ÷ 55 = 38.181818…
ETF final value = (1,000 ÷ 50 + 1,000 ÷ 55) × 60 = $2,290.909091…

Putting the full $2,000 into the ETF on 1 January would give it money before the second stock purchase. That answers a different timing question. If you want to analyze cash held before purchases, define a cash-inclusive account comparison separately. The idle-cash comparison works through that boundary.

02 / Write down the dated flows

Two outflows and one terminal value per side.

Use negatives for invested money and a positive for the ending value. In a spreadsheet, put the headers in row 1 and these three observations in rows 2–4:

XIRR worksheet — investment flows in USD
A — DateB — Stock flowC — ETF flow
Row 2 · day 0−1,000−1,000
Row 3 · day 182−1,000−1,000
Row 4 · day 365+2,700+2,290.909091

Enter real spreadsheet dates: =DATE(2025,1,1), =DATE(2025,7,2) and =DATE(2026,1,1) in A2–A4. Enter -1000 in B2, B3, C2 and C3. For the unrounded terminal values, put =(1000/100+1000/125)*150 in B4 and =(1000/50+1000/55)*60 in C4. Format amounts for reading without rounding the stored calculations.

03 / Let the dates affect the rate

Use XIRR for the actual intervals.

Microsoft’s XIRR documentation describes a dated cash-flow calculation on a 365-day basis. It requires both a negative and a positive flow. The dates here are not evenly spaced, so use XIRR rather than assuming equal periods with IRR.

Stock: =XIRR(B2:B4,A2:A4) → 48.197845%
ETF: =XIRR(C2:C4,A2:A4) → 19.670146%

These are English Excel formulas; your spreadsheet’s locale may use different function names or separators. Format the returned decimal as a percentage. The annualization is already part of the result; do not annualize it again. Enter the stock’s three dated flows in our free XIRR calculator and it shows the same rate, rounded to 48.20%.

For the stock, the rate makes the discounted flows add to zero:

−1,000 − 1,000 ÷ (1 + r)182/365 + 2,700 ÷ (1 + r) = 0

Use the ETF’s unrounded final value instead of 2,700 for its equation. In each case the first $1,000 is invested for a full year and the second for 183 days. Our TWR and MWR guide explains why a money-weighted rate reflects investment timing.

04 / Compare the same measure

A percentage-point gap is not a wealth percentage.

The stock finishes with $409.09 more than the ETF mirror under these assumptions. Its annualized IRR is 28.527699 percentage points higher. These describe the same comparison in different ways; the rate gap does not mean “28.53% more money.”

The simpler ratio 2,700 ÷ 2,000 − 1 = 35% compares gain with total spending. It does not describe how long each contribution was invested and is not this annualized IRR. Nor should you average the two purchases’ percentage returns.

For your own records, include fees once, state the treatment of distributions and use dated currency conversions where needed. A distributing ETF needs income treatment as well as price history; an adjusted price series must not have the same distributions added again. Partial sales require sale proceeds and the remaining final value, not just the cost of shares still held. The partial-sale IRR article adds that receipt to the same kind of worksheet. The existing position guide explains that separate cumulative allocation example. For purchases in another currency, see the USD-gain, EUR-loss example.

Do not expect this worksheet to reproduce every IBKR percentage. IBKR’s PortfolioAnalyst notes describe cash-inclusive NAV and Modified Dietz for its MWR calculation. Scope and method need to agree before two reported returns can be reconciled.

If essential dates, costs or prices are missing, the worksheet cannot recover them. XIRR can also fail to find a solution; a spreadsheet error is not a zero return. The two-purchase example is a bounded method demonstration, not a universal performance calculator or evidence of investing skill.

Sources and assumptions

Sources checked 12 November 2026. This synthetic example uses no historical price series, fees, dividends, taxes, FX or sales. Prices and units are teaching assumptions. The comparison is a method explanation, not a recommendation to buy a stock, an ETF or a particular investment schedule.