The amount of shares outstanding in a company will often change due to a company issuing new shares, repurchasing and retiring existing shares, and other financial instruments such as employee options being converted into shares.
The weighted average of outstanding shares is a calculation that incorporates any changes in the amount of outstanding shares over a reporting period. It is an important number, as it is used to calculate key financial measures such as earnings per share (EPS) for the time period.
Let's look at an example:
Say a company has 100,000 shares outstanding at the start of the year. Halfway through the year, it issues an additional 100,000 shares, so the total amount of shares outstanding increases to 200,000. If at the end of the year the company reports earnings of $200,000, which amount of shares should be used to calculate EPS: 100,000 or 200,000? If the 200,000 shares were used, the EPS would be $1, and if 100,000 shares were used, the EPS would be $2  this is quite a large range!
This potentially large range is the reason why a weighted average is used, as it ensures that financial calculations will be as accurate as possible in the event that the amount of a company's shares changes over time. The weighted average number of shares is calculated by taking the number of outstanding shares and multiplying the portion of the reporting period those shares covered, doing this for each portion and, finally, summing the total. The weighted average number of outstanding shares in our example would be 150,000 shares.
The earnings per share calculation for the year would then be calculated as earnings divided by the weighted average number of shares ($200,000/150,000), which is equal to $1.33 per share.
To read more, see The Basics of Outstanding Shares and the Float and The Dangers of Stock Dilution.

What is the difference between weighted average shares outstanding and basic weighted ...
Outstanding shares refers to stock that is currently held by investors, including shares held by the public, and restricted ... Read Answer >> 
Why would I need to know how many outstanding shares the shareholders have?
Find out why shareholders should know how many outstanding shares have been issued by a corporation, and learn what happens ... Read Answer >> 
What is the difference between authorized shares and outstanding shares?
Calculating financial ratios can help investors understand a company's financial position, but only when a knowledge of various ... Read Answer >> 
What is the difference between shares outstanding and floating stock?
Learn about shares outstanding, floating stock, how to calculate a company's floating stock and the difference between shares ... Read Answer >> 
How do I use Excel to calculate a weighted average?
Learn about the calculation and interpretation of weighted averages, including how to compute a weighted average using Microsoft ... Read Answer >>

Investing
The Weighted Average Of Outstanding Shares
The quantity of a companyâ€™s outstanding shares changes when it issues new shares, repurchases or retires existing ones, or converts others. 
Investing
Types Of Shares: Authorized, Outstanding, Float And Restricted Shares
A companyâ€™s financial statements may refer to multiple types of stock, including authorized, outstanding, float and restricted shares. If a company issues more shares, its outstanding shares ... 
Investing
The Basics Of Outstanding Shares And The Float
We go over different types of shares and what investors need to know about them. 
Investing
Investment Valuation Ratios
Learn about per share data, price/book value ratio, price/cash flow ratio, price/earnings ratio, price/sales ratio, dividend yield and the enterprise multiple. 
Managing Wealth
Calculating Basic Earnings Per Share
Basics earnings per share measures the amount of net income earned per share of outstanding stock. 
Investing
Getting The Real Earnings
EPS helps investors analyze earnings in relation to changes in newshare capital. 
Investing
The Dangers Of Share Dilution
Investors need to be aware of the existence of dilutive securities and how they can affect existing shareholders. 
Investing
The 5 Types Of Earnings Per Share
A look at the five varieties of EPS and what each represents can help an investor determine whether a company is a good value, or not. 
Investing
Assess Shareholder Wealth With EPS
Find out if management is doing its job of creating profit for investors. 
Investing
Day Sales Outstanding
Learn more about how day sales outstanding, or DSO, is calculated and used to measure the average number of days a company takes to collect revenue after sales.

Earnings Per Share  EPS
The portion of a company's profit allocated to each outstanding ... 
Share Turnover
A measure of stock liquidity calculated by dividing the total ... 
Fully Diluted Shares
The total number of shares that would be outstanding if all possible ... 
Primary Earnings Per Share (EPS)
One of two methods for categorizing shares outstanding. The other ... 
Value Change
An adjustment made to a stock's price to reflect the number of ... 
Weighted Average
An average in which each quantity to be averaged is assigned ...