Tabellab

Weighted Average Shares Outstanding: Time-Weighting Issues and Buybacks

Lesson 1 of 20Lab

All lessons
  1. Weighted Average Shares Outstanding: Time-Weighting Issues and BuybacksLabFree
  2. Stock Splits and Bonus Issues: Retroactive RestatementLab Locked
  3. Basic EPS: Profit Attributable to Ordinary ShareholdersLab Locked
  4. Diluted EPS for Options and Warrants: The Treasury Stock MethodLab Locked
  5. Convertible Bonds: The If-Converted MethodLab Locked
  6. Convertible Preference Shares: Dividends Back, Shares InLab Locked
  7. Antidilution Test and Sequencing: Most Dilutive FirstLab Locked
  8. EPS Reporting Table and the Five-Year EPS Trend ChartLab Locked
  9. Rights Issues Below Market Price: Theoretical Ex-Rights Price and the Bonus ElementLab Locked
  10. Shares Issued in an Acquisition and Contingently Issuable SharesLab Locked
  11. Partly Paid Shares and Mandatorily Convertible Instruments in Basic EPSLab Locked
  12. Beyond Dividends: Preference Share Buybacks, Induced Conversions and Increasing-Rate SharesLab Locked
  13. Participating Preference Shares: The Two-Class MethodLab Locked
  14. Discontinued Operations: EPS by Line and the Control NumberLab Locked
  15. Loss Years: Loss per Share and Why Diluted Equals BasicLab Locked
  16. Quarterly EPS: Why Year-to-Date Diluted EPS Is Not the Sum of the QuartersLab Locked
  17. Convertibles Issued or Converted During the Year: Time-Weighting Both SidesLab Locked
  18. Sensitivity: How Diluted EPS Moves with the Average Share PriceLab Locked
  19. EPS Bridge: Explaining the Change from One Year to the Next with a Waterfall ChartLab Locked
  20. Final Project: Velmora's FY2028 EPS Note and Dilution DashboardLab Locked

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — CHF 9.90
Loading the spreadsheet…

Why the share count is the hardest part of earnings per share

Earnings per share looks like the simplest ratio in finance: profit divided by shares. It is printed at the bottom of every income statement of a listed company, it drives the price-to-earnings ratio, and it appears in nearly every analyst note and bonus plan. Yet the denominator causes more errors than the numerator. Companies issue new shares, buy shares back, run employee schemes and pay bonus issues during the year, so there is no single “number of shares” to divide by. Pick the wrong one and EPS can be off by ten per cent or more.

This free first lesson is for accounting and finance students preparing for exams on IAS 33 or ASC 260, junior accountants who have been handed the EPS note for the first time, analysts who want to rebuild a company's EPS from its share movements, and investors who want to understand why the EPS in an annual report is not simply net income divided by the shares on the last day of the year. You will learn the weighted average number of ordinary shares, the denominator that every other EPS calculation builds on, and you will calculate it in Excel in two different ways.

All examples use Velmora Holdings, a fictional listed company that you meet in every lab of the course. The numbers in the article are the same numbers you see in the lab sheet above, so you can read, then try, then check yourself.

The core concept: profit is earned over time, so shares must be counted over time

Profit is a flow. Velmora earns it month by month from 1 January to 31 December. The share count, in contrast, is a stock that jumps at specific dates. If the company raises new capital on 1 October, those new shares only had three months to contribute to the year's profit. Dividing the full year's profit by the year-end share count would treat them as if they had been there all year, and EPS would look lower than the business really earned per share.

The standards solve this with time-weighting. IAS 33 and ASC 260 both define basic EPS as:

Basic EPS = profit attributable to ordinary shareholders ÷ weighted average number of ordinary shares outstanding during the period

Each block of shares is weighted by the fraction of the period for which it was outstanding. Three rules cover most real cases:

  • Shares issued for cash count from the date they are issued, usually the date the cash is receivable. Shares issued on 1 March count for ten months of a calendar year.
  • Shares bought back (and held as treasury shares or cancelled) count only until the date of the buyback. Treasury shares are not outstanding, so they never enter the denominator.
  • Bonus issues, share splits and share consolidations are different: no new money comes in, so they are not time-weighted. They are applied retroactively to all periods presented. This is the topic of lesson 2.

IAS 33 says the time-weighting factor is the number of days the shares were outstanding as a proportion of the days in the period, and adds that a reasonable approximation is adequate in many circumstances. In practice many companies and almost all exam questions work in months when events fall on the first day of a month, as Velmora's do. When an event falls mid-month, use days, as shown later in this article.

This course is educational. It follows the general principles of IAS 33 and ASC 260 in simplified form. Velmora Holdings is fictional and all numbers are illustrative. It is not accounting, audit or investment advice.

Two methods that always give the same answer

There are two standard ways to compute the weighted average. Knowing both is useful, because one is easier to read and the other is faster to type, and calculating it both ways is the simplest reliability check you can build into a workbook.

  • Period method. Split the year at every event. For each period, take the shares outstanding, multiply by months in the period ÷ 12, and add up. It mirrors the share register line by line, which makes it easy to audit.
  • Changes method. Start with the opening shares for the full twelve months, then add each change multiplied by the months remaining until year end ÷ 12. A buyback is a negative change. It needs no running balance, so the whole calculation fits in one SUMPRODUCT formula.

The two methods are just different groupings of the same multiplication, so they must agree to the share. If they don't, there is a typo in a date or a sign.

Worked example: Velmora Holdings, FY2026

Velmora's financial year runs from 1 January to 31 December 2026. Its share register shows four events. The lab sheet stores each event's start month in column A (1 = January, 3 = March and so on) and uses month 13 as a marker for the end of the year, which makes the month arithmetic clean: months outstanding = next start month − this start month.

RowStart monthEventChangeD: Shares outstandingE: MonthsF: FractionG: Weighted shares
411 Jan: opening balance12,000,00012,000,00020.16672,000,000
531 Mar: issued for cash+2,400,00014,400,00040.33334,800,000
671 Jul: share buyback−600,00013,800,00030.25003,450,000
7101 Oct: issued for cash+1,200,00015,000,00030.25003,750,000
813End of year (31 Dec)
9Total121.000014,000,000

Read the table row by row. The opening 12,000,000 shares were the only shares in issue for January and February, two months, so they contribute 12,000,000 × 2/12 = 2,000,000 weighted shares. After the issue on 1 March, 14,400,000 shares were outstanding for four months (March to June): 14,400,000 × 4/12 = 4,800,000. The buyback of 600,000 shares on 1 July reduced the balance to 13,800,000 for July to September: 13,800,000 × 3/12 = 3,450,000. The final issue on 1 October brought the balance to 15,000,000 for the last three months: 3,750,000. The total is 14,000,000 weighted average shares. The months add up to 12 and the fractions to 1.0000, which is a quick check that no period was missed or double counted.

These are the formulas behind the table, exactly as you would type them in the lab:

CellFormulaCopy toWhat it does
D4=C4Opening balance
D5=D4+C5D6:D7Running balance after each event
E4=A5-A4E5:E7Months until the next event
F4=E4/12F5:F7Fraction of the year
G4=D4*F4G5:G7Weighted shares for the period
G9=SUM(G4:G7)Weighted average shares
G11=SUMPRODUCT(C4:C7,$A$8-A4:A7)/12Cross-check with the changes method

Now the cross-check with the changes method. Every share that existed on 1 January is weighted for 12 months. Each later change is weighted only for the months that remain:

ChangeSharesMonths remaining (13 − start)Weighted
Opening balance12,000,0001212,000,000
Issue 1 Mar+2,400,00010+2,000,000
Buyback 1 Jul−600,0006−300,000
Issue 1 Oct+1,200,0003+300,000
Total14,000,000

12,000,000 + 2,000,000 − 300,000 + 300,000 = 14,000,000. The same answer, without a single running balance. In Excel it is one formula: =SUMPRODUCT(C4:C7,$A$8-A4:A7)/12. SUMPRODUCT multiplies each change in C4:C7 by its months remaining (13 minus the start month, calculated as an array inside the function) and adds the four products.

Velmora Holdings: shares outstanding each month, FY2026 (millions)0481216JanFebMarAprMayJunJulAugSepOctNovDec12.014.413.815.0Weighted avg 14.0 mIssue 1 Mar +2.4 m · buyback 1 Jul −0.6 m · issue 1 Oct +1.2 m
The bars show the share count Velmora had in each month. The weighted average of 14.0 million is the level that, held for twelve months, gives the same total share-months as the real stepped pattern.

Why the denominator matters: one profit, four EPS numbers

Lesson 3 of the course calculates the real profit attributable to Velmora's ordinary shareholders. To see the effect of the denominator now, assume for example a profit of 21,000,000. The table shows what happens if you divide it by different share counts:

DenominatorSharesEPS (example profit 21,000,000)Excel
Opening shares (1 Jan)12,000,0001.75=21000000/C4
Simple average of the four balances13,800,0001.52=21000000/AVERAGE(D4:D7)
Weighted average14,000,0001.50=21000000/G9
Year-end shares (31 Dec)15,000,0001.40=21000000/D7

The spread between 1.40 and 1.75 is 25 per cent, all from the denominator. The simple average of the four balances (13,800,000) comes close here by coincidence, but it is still wrong in principle: it gives the two-month opening period the same weight as the four-month period after the March issue. With different dates it can be far off.

Same profit, four denominators: EPS for an example profit of 21.0 mOpening shares (1 Jan)12.0 m sharesEPS 1.75Simple average of 4 balances13.8 m sharesEPS 1.52Weighted average (correct)14.0 m sharesEPS 1.50Year-end shares (31 Dec)15.0 m sharesEPS 1.40Example profit figure for illustration only. Lesson 3 calculates the real numerator.
With the same example profit, the choice of share count alone moves EPS from 1.40 to 1.75. Only the weighted average matches the standards and the economics.

How to do it in Excel, step by step

Follow these steps in the lab above or in your own workbook. The cell references match the lab sheet.

  1. Check the inputs: start months in A4:A8 (1, 3, 7, 10 and 13 for the year end) and the changes in C4:C7, with the buyback entered as a negative number (−600,000). Signs carry the logic, so get them right first.
  2. In D4 type =C4. In D5 type =D4+C5. Select D5:D7 and press Ctrl+D to fill the formula down. D7 should show 15,000,000, the year-end balance.
  3. In E4 type =A5-A4 and fill down to E7. Each cell is the number of months until the next event. E7 uses the year-end marker in A8 (13 − 10 = 3).
  4. In F4 type =E4/12 and fill down to F7. The total in F9 should read exactly 1.0000. If it does not, a month is missing or counted twice.
  5. In G4 type =D4*F4 and fill down to G7.
  6. Click G9 and press Alt+= (AutoSum on Windows; on a Mac use Cmd+Shift+T or Home › AutoSum), confirm the range G4:G7 and press Enter. The result is 14,000,000.
  7. In G11 type =SUMPRODUCT(C4:C7,A8-A4:A7)/12. While the cursor is on A8 in the formula bar, press F4 to make it $A$8, so the reference stays fixed if you copy the formula. The result must equal G9.
  8. Format D4:G11 with thousands separators: select the range and press Ctrl+Shift+1, or go to Home › Number › Comma Style. Leave F4:F7 with four decimals (Ctrl+1 › Number › Decimal places 4).
  9. Audit: press Ctrl+` (the grave accent key) to show all formulas at once, check that every row follows the same pattern, then press it again to return to values.
Put a check cell next to the cross-check: =G9-G11 should be 0. Conditional formatting (Home › Conditional Formatting › Highlight Cells Rules › Not Equal To 0) turns it red the moment someone breaks a date or a sign. Professional EPS workbooks are full of small checks like this.

When events don't fall on the first of the month: weighting by days

Real share registers are rarely as tidy as Velmora's. Suppose, for example, an issue of 500,000 shares had been made on 15 March 2026 instead of 1 March. Counting it as ten months would overstate it slightly, counting it as nine would understate it. The precise approach is days: the shares were outstanding from 15 March to 31 December inclusive, which is 292 days of a 365-day year.

In Excel: =DAYS(DATE(2026,12,31),DATE(2026,3,15))+1 returns 292, and the weighted shares are =500000*292/365, about 400,000. If you keep the event dates in a column (say B4:B7 as real dates) and the year end in a cell, the changes method becomes =SUMPRODUCT(C4:C7,$B$9-B4:B7+1)/365, where B9 holds 31 Dec 2026. Use 366 days for a leap year. The structure of the calculation does not change, only the unit of time.

Whether you use months or days, be consistent within a period and document the convention in the workbook. Auditors care less about the choice than about a clean, repeatable method.

Earnings per share course: weighted average shares, splits, options and convertibles in an Excel lab
The course works through one fictional listed company, Velmora Holdings, from the share count in this lesson to the five-year EPS chart in lesson 8.

Common mistakes and how to spot them

Most EPS errors in practice and in exams come from a short list. Each has a tell-tale sign you can check for in seconds.

  • Using the year-end share count. If your denominator equals the closing balance (D7) and there were issues during the year, it is wrong. Sign: EPS is lower than it should be after a capital raise, higher after a buyback.
  • Simple average of the balances. =AVERAGE(D4:D7) ignores how long each balance lasted. Sign: your weights do not depend on any dates at all.
  • Off-by-one months. Shares issued on 1 March are outstanding for March to December, which is ten months, not nine. Sign: the months column does not add up to 12, or the fractions to 1.
  • Wrong sign on a buyback. If the buyback is entered as +600,000, the running balance climbs instead of falling. Sign: the cross-check in G11 still agrees (both methods use the same sign), so compare the running balance with the share register.
  • Counting treasury shares as outstanding. Shares held by the company itself earn nothing for shareholders. Sign: the denominator matches “shares issued” instead of “shares outstanding” in the equity note.
  • Time-weighting a bonus issue or split. A 1-for-2 bonus issue in October does not count for three months: it is applied to the whole year and to the comparative year. Sign: a bonus issue appears as a timed event in your schedule. Lesson 2 shows the correct treatment.
  • Relative reference to the year-end marker. Copying =SUMPRODUCT(C4:C7,A8-A4:A7)/12 to another column without $A$8 shifts the reference. Sign: the copied cross-check returns nonsense or a #VALUE! error.

Quick reference: Excel functions and shortcuts in this lesson

Function / shortcutUsed forExample
SUMTotal of the weighted shares=SUM(G4:G7)
SUMPRODUCTMultiply two ranges row by row and add up, in one cell=SUMPRODUCT(C4:C7,$A$8-A4:A7)/12
DATE, DAYSDay-based weighting when events fall mid-month=DAYS(DATE(2026,12,31),DATE(2026,3,15))+1
ROUNDRound EPS for presentation (keep full precision in workings)=ROUND(B20/G9,2)
F4Toggle absolute/relative reference while editing a formulaA8 → $A$8
Ctrl+DFill the formula from the top cell down a selected rangeSelect D5:D7, Ctrl+D
Alt+=AutoSum into the active cellIn G9
Ctrl+`Show formulas instead of results (audit view)Toggle on and off
Ctrl+Shift+1Number format with thousands separatorsShares in D and G

Real-world uses

The weighted average share count is not only an exam topic. You will meet it wherever profit is compared with ownership:

  • Preparing the EPS note. The finance team takes the share register (issues, buybacks, option exercises, conversions) and turns it into the weighted average for the year and the comparative year, then reconciles it to the equity note.
  • Equity research and valuation. An analyst modelling a company that announced a buyback programme estimates how much of the year the repurchased shares will still be outstanding, and so how much the buyback really lifts EPS this year versus next year.
  • Executive pay and covenants. Many incentive plans and some loan agreements use an EPS target. Checking whether a target was hit requires the same weighted average the company reports, not a convenient shortcut.
  • Capital raising decisions. When a board weighs a mid-year share issue, the timing changes reported EPS in the year of issue. A quick model with months as inputs shows the effect for different closing dates.
  • Audit and review. Auditors recompute the denominator independently, often with the changes method, and compare it with management's schedule. A one-cell SUMPRODUCT check is exactly that test.

What you will build in the rest of this course

This first lesson is free. Lessons 2 to 20 are part of the paid course (one-time $9.90) and continue with the same company, so every lab builds on numbers you already know.

Lesson 2 – Stock Splits and Bonus Issues: Retroactive Restatement. Velmora makes a 1-for-2 bonus issue. You calculate the adjustment factor and the bonus shares, restate the weighted shares for both years and see why last year's EPS in this year's report differs from the number published a year ago.

Lesson 3 – Basic EPS: Profit Attributable to Ordinary Shareholders. Now the numerator. You remove the non-controlling interests, deduct the correct preference dividends (cumulative versus non-cumulative is a classic trap) and calculate Velmora's basic EPS with the denominator from this lesson.

Lesson 4 – Diluted EPS for Options and Warrants: The Treasury Stock Method. You work out how many “free” shares the options and warrants would create, leave out the warrants that are out of the money and time-weight the options granted mid-year.

Lesson 5 – Convertible Bonds: The If-Converted Method. You assume the bonds convert, add back the after-tax interest, calculate the extra shares and measure the earnings per incremental share, the number that decides whether a convertible dilutes at all.

Lesson 6 – Convertible Preference Shares: Dividends Back, Shares In. Two classes of convertible preference shares, each with its own dividend and conversion ratio. You test each one against basic EPS and calculate EPS with both converted.

Lesson 7 – Antidilution Test and Sequencing: Most Dilutive First. The step that most candidates get wrong. You rank all four potential ordinary shares, add them one by one and stop at the first one that would increase EPS, exactly as the standards require.

Lesson 8 – EPS Reporting Table and the Five-Year EPS Trend Chart. You present basic and diluted EPS in a reporting table, calculate the compound annual growth of EPS and build a chart of basic versus diluted EPS over five years, ready for a report or a presentation.

Each lab checks your formulas live, explains the typical mistake when you make it and ends with a certificate exam for the whole course.

Summary

EPS divides profit earned over a year by shares that changed during that year, so the denominator must be time-weighted. Shares issued for cash count from their issue date, bought-back shares until their buyback date, and bonus issues and splits are applied retroactively instead. Velmora's weighted average for FY2026 is 14,000,000 shares, whether you compute it period by period with a running balance or in one SUMPRODUCT from the changes. Two methods, one answer, and a check cell that proves it.

Now scroll up to the lab and build the schedule yourself: running balance in column D, months and fractions in E and F, weighted shares in G, the total in G9 and the SUMPRODUCT cross-check in G11. The Coach checks every task as you type and tells you what went wrong if a number does not match.

Frequently asked questions

How do you calculate the weighted average number of shares outstanding?

Multiply each share balance by the fraction of the year it was outstanding and add the results. Alternatively, take the opening shares for the full year and add each issue or subtract each buyback multiplied by the months remaining divided by 12. Both methods give the same number.

Why does EPS use the weighted average and not the year-end number of shares?

Profit is earned over the whole year, while shares issued or bought back during the year only existed for part of it. Time-weighting matches the share count to the period in which the profit was earned, which is what IAS 33 and ASC 260 require.

How are share buybacks treated in the weighted average share count?

Bought-back shares count only up to the date of the buyback. In the changes method you enter the buyback as a negative change multiplied by the months remaining in the year.

Are stock splits and bonus issues time-weighted?

No. A split or bonus issue brings in no new resources, so it is treated as if it had happened at the start of the earliest period presented, and comparative EPS is restated. Only issues and buybacks for consideration are time-weighted.

Should I weight shares by months or by days?

IAS 33 describes the time-weighting factor in days but accepts a reasonable approximation in many circumstances. Months are fine when events fall at the start of a month; for mid-month events, days are more accurate.

What Excel formula calculates weighted average shares in one cell?

With the changes in C4:C7, the start months in A4:A7 and 13 as the year-end marker in A8, use =SUMPRODUCT(C4:C7,$A$8-A4:A7)/12. It multiplies each change by its months remaining and divides the total by 12.

Keep going: Earnings per Share: Basic & Diluted EPS, Weighted Shares, Splits & Convertibles

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.

  1. Stock Splits and Bonus Issues: Retroactive Restatement
  2. Basic EPS: Profit Attributable to Ordinary Shareholders
  3. Diluted EPS for Options and Warrants: The Treasury Stock Method
  4. Convertible Bonds: The If-Converted Method
  5. Convertible Preference Shares: Dividends Back, Shares In
  6. Antidilution Test and Sequencing: Most Dilutive First
  7. EPS Reporting Table and the Five-Year EPS Trend Chart
  8. Rights Issues Below Market Price: Theoretical Ex-Rights Price and the Bonus Element
  9. Shares Issued in an Acquisition and Contingently Issuable Shares
  10. Partly Paid Shares and Mandatorily Convertible Instruments in Basic EPS
  11. Beyond Dividends: Preference Share Buybacks, Induced Conversions and Increasing-Rate Shares
  12. Participating Preference Shares: The Two-Class Method
  13. Discontinued Operations: EPS by Line and the Control Number
  14. Loss Years: Loss per Share and Why Diluted Equals Basic
  15. Quarterly EPS: Why Year-to-Date Diluted EPS Is Not the Sum of the Quarters
  16. Convertibles Issued or Converted During the Year: Time-Weighting Both Sides
  17. Sensitivity: How Diluted EPS Moves with the Average Share Price
  18. EPS Bridge: Explaining the Change from One Year to the Next with a Waterfall Chart
  19. Final Project: Velmora's FY2028 EPS Note and Dilution Dashboard

Buy course — CHF 9.90 See the full course