Total Common Shares Outstanding (Historical)
Returns the historical number of common shares outstanding for a company. This is the total shares issued minus treasury shares, representing shares actually held by shareholders and available for trading.
Formula
Shares Outstanding = Total Shares Issued - Treasury SharesSupported Symbols
| Type | Format | Example |
|---|---|---|
| US Stocks | SYMBOL | AAPL, MSFT |
| ETFs | SYMBOL | SPY, QQQ |
| International | SYMBOL | SHOP, TSM |
Parameters
| Parameter | Description |
|---|---|
| Symbol | Stock ticker symbol |
| Year | Fiscal year (2020, 2021) or period code (lq, ly, lt) |
| Quarter | Optional: 1, 2, 3, or 4 for quarterly data |
| TTM | Optional: Set to "TTM" for trailing twelve months |
Uses of Shares Outstanding
| Use Case | Calculation |
|---|---|
| Market Cap | Price x Shares Outstanding |
| EPS | Net Income / Shares Outstanding |
| Book Value/Share | Equity / Shares Outstanding |
Notes
- Share buybacks decrease shares outstanding over time
- Stock issuances and splits increase shares outstanding
- Used as denominator in most per-share calculations
Syntax
=hf_Total_common_shares_outstanding(Symbol, Year, [Quarter], [TTM])Parameters
Stock ticker symbol
Fiscal year or period code (lq, ly, etc.)
Calendar quarter (1-4)
Set to 'TTM' for trailing twelve months
Returns
Number of common shares outstanding
Examples
=hf_Total_common_shares_outstanding("AAPL", 2023)=hf_Total_common_shares_outstanding("MSFT", 2023, 2)=hf_Total_common_shares_outstanding("GOOGL", "ly")=hf_Total_common_shares_outstanding("AMZN", 2023, , "TTM")=hf_Total_common_shares_outstanding(A1, B1, C1)When to Use
- Calculating per-share metrics over time
- Analyzing share buyback impact
- Understanding dilution from stock compensation
- Historical market cap calculations
- Tracking capital structure changes
When NOT to Use
| Scenario | Use Instead |
|---|---|
| Need current shares | Shares_Outstanding() |
| Need total issued shares | hf_Total_ordinary_shares() |
| Need diluted shares | hf_Share_Dilution_Ratio() |
| Need float shares | FloatShares() |
Common Issues & FAQ
Why are Apple's shares decreasing over time?
Apple has an aggressive share buyback program, reducing shares outstanding by billions over the years.
Why did shares spike in a particular year?
Could be from stock splits (not a real increase), acquisitions using stock, or large equity issuances.
Why am I getting "NA"?
Check that the symbol is valid and the company has reported share data for that period.
Excel Templates Using Total Common Shares Outstanding (Historical)
These ready-made MarketXLS templates call hf_Total_common_shares_outstanding() in their worksheet formulas. Open one to see the function working inside a complete model.
Related Formulas
More MarketXLS Historical Fundamentals formulas you can use in the same worksheet:
- Total Debt (Historical)
- Total Debt USD (Historical)
- Total Fixed Assets (Historical)
- Total Liabilities (Historical)
- Total Liabilities And Stock Equity (Historical)
- Total Liabilities As A Percentage Of Total Assets (Historical)
- Trade And Non Trade Payables (Historical)
- Trade And Non Trade Receivables (Historical)
See hf_Total_common_shares_outstanding used in a complete workbook: Shareholder Yield Dashboard Excel: Track Total Capital Returned by S&P 500 Names
