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.

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 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 >> 
What's the difference between basic shares and fully diluted shares?
Find out more about basic outstanding shares, fully diluted shares, the difference between the calculation of shares and ... Read Answer >> 
How can a company trade more shares in one day than there are shares outstanding? ...
The number of shares traded in a single day can be greater than the number of a company's outstanding shares, but this is ... Read Answer >> 
What is the difference between a company's outstanding shares and its float?
Understanding share counts, including outstanding shares relative to float, is an integral part of determining whether or ... 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
What are Issued Shares?
Issued shares are the amount of authorized stocks a companyâ€™s shareholders buy and own. The annual report shows the number of outstanding shares. 
Investing
What's A Companyâ€™s Worth, And Who Determines Its Stock Price?
A companyâ€™s worth is the same as its market capitalization. Market capitalization is stock price multiplied by number of outstanding shares. 
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
The Dangers of Share Dilution
Investors need to be aware 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
What Is The Difference Between EarningsPerShare And DividendsPerShare?
Here's a brief explanation of the difference between earnings per share and dividends per share. 
Investing
Assess Shareholder Wealth With EPS
Find out if management is doing its job of creating profit for investors.

Fully Diluted Shares
The total number of shares that would be outstanding if all possible ... 
Share Turnover
A measure of stock liquidity calculated by dividing the total ... 
Sales Per Share
A ratio that computes the total revenue earned per share over ... 
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 ... 
Normal Market Size
A share classification structure based on the number of shares ...