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 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.
RELATED FAQS

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 ... 
What is the formula for calculating gross national product (GDP)?
Find out how to calculate a country's gross national product (GNP), which is a method of accounting for the total income ... 
What is considered to be a good fixed asset turnover ratio?
Learn what the fixed asset turnover ratio is, how the ratio is calculated and how the fixed asset turnover ratio can be used ... 
What's the difference between free cash flow to equity and accounting profits?
Understand the difference between Free Cash Flow to Equity (FCFE) and Accounting Profit and their relevance to enterprises, ...

Catastrophe Equity Put (CatEPut)
Catastrophe equity puts are used to ensure that insurance companies ... 
Convention Statement
A document filed by an insurance or reinsurance company that ... 
Open Trade Equity (OTE)
Open trade equity (OTE) is the equity in an open futures contract. 
Enterprise Value (EV)
A measure of a company's value, often used as an alternative ... 
Earned Premium
The amount of total premiums collected by an insurance company ... 
Insurance Regulatory Information System (IRIS)
A collection of databases and tools used to analyze the financial ...