# EPS Formula: How to Calculate Earnings Per Share and Why It Matters

Published: 2026-01-17
Author: Warren Team
URL: https://www.heywarren.com/blog/eps-formula

---
Every serious stock analysis involves [earnings per share](/blog/calculation-of-earning-per-share). EPS is the denominator of the P/E ratio, the metric by which companies beat or miss quarterly expectations, and one of the primary drivers of stock price movement. Here's exactly how EPS is calculated, why there are multiple versions of it, and how to use it correctly in investment analysis.

## What Is Earnings Per Share (EPS)?

Earnings per share (EPS) is a company's net profit divided by its total outstanding shares. It tells you how much profit is attributable to each share of common stock, making it possible to compare profitability across companies of different sizes on a per-share basis.

**Basic EPS Formula**:

**EPS = (Net Income − Preferred Dividends) / Weighted Average Common [Shares Outstanding](/blog/outstanding-stocks-definition)**

**Example**:
- Net income: $500 million
- Preferred dividends: $10 million
- Weighted average common shares: 200 million

**EPS = ($500M − $10M) / 200M = $2.45 per share**

The preferred dividends are subtracted because EPS measures earnings available to *common* shareholders only, preferred shareholders receive their dividends before common shareholders.

## Basic EPS vs. Diluted EPS

The formula above gives **basic EPS**, calculated using only actually outstanding common shares. But companies also have potential shares that could be created through stock options, restricted stock units (RSUs), convertible bonds, and warrants.

![Diluted EPS accounts for 50M potential shares from stock options, reducing per-share earnings by 9% compared to basic EPS.](data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20210%22%20width%3D%22800%22%20height%3D%22210%22%20role%3D%22img%22%3E%3Ctitle%3EComparison%3C%2Ftitle%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23f8fafc%22%2F%3E%3Ctext%20x%3D%22230%22%20y%3D%2257.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EBasic%20EPS%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%2225%22%20width%3D%22450%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%232563eb%22%2F%3E%3Ctext%20x%3D%22702%22%20y%3D%2257.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%232563eb%22%3E%242%3C%2Ftext%3E%3Ctext%20x%3D%22230%22%20y%3D%22152.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EDiluted%20EPS%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%22120%22%20width%3D%22409.5%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%237c3aed%22%2F%3E%3Ctext%20x%3D%22661.5%22%20y%3D%22152.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%237c3aed%22%3E%241.82%3C%2Ftext%3E%3C%2Fsvg%3E)

*Diluted EPS accounts for 50M potential shares from stock options, reducing per-share earnings by 9% compared to basic EPS.*

**Diluted EPS** includes all potentially dilutive securities, as if they were already converted into common shares:

**Diluted EPS = (Net Income − Preferred Dividends + Convertible Debt Interest × (1 − Tax Rate)) / (Weighted Average Shares + All Dilutive Potential Shares)**

Diluted EPS is almost always lower than basic EPS (because the denominator is larger). It represents the worst-case per-share earnings if all potential shares were issued.

**Why diluted EPS matters**: Companies with large employee stock option programs can have basic EPS that significantly overstates the per-share earnings available to current shareholders. Diluted EPS gives a more conservative and accurate picture.

**Example**: Company has $1 billion in net income and 500 million basic shares. It also has 50 million stock options outstanding.
- Basic EPS: $1,000M / 500M = **$2.00**
- Diluted EPS: $1,000M / 550M = **$1.82**

The dilution of 10% is significant, diluted EPS is 9% lower.

## Weighted Average Shares: Why "Weighted"?

Companies issue and repurchase shares throughout the year. A company that issued 50 million new shares on July 1 didn't have those shares outstanding for the full year, only half the year. The weighted average calculation accounts for this:

**Example**:
- Beginning shares: 100 million
- New shares issued April 1: 20 million (outstanding for 9 months = 9/12)
- Shares repurchased October 1: 10 million (not outstanding for 3 months = 3/12)

Weighted average = 100M + (20M × 9/12) − (10M × 3/12) = 100M + 15M − 2.5M = **112.5 million**

## TTM EPS vs. Forward EPS

### TTM (Trailing Twelve Months) EPS

![For a fast-growing company, forward P/E reveals a more reasonable valuation than trailing P/E based on TTM earnings.](data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20210%22%20width%3D%22800%22%20height%3D%22210%22%20role%3D%22img%22%3E%3Ctitle%3EComparison%3C%2Ftitle%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23f8fafc%22%2F%3E%3Ctext%20x%3D%22230%22%20y%3D%2257.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3ETrailing%20P%2FE%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%2225%22%20width%3D%22450%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%232563eb%22%2F%3E%3Ctext%20x%3D%22702%22%20y%3D%2257.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%232563eb%22%3Ex25%3C%2Ftext%3E%3Ctext%20x%3D%22230%22%20y%3D%22152.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EForward%20P%2FE%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%22120%22%20width%3D%22300.59999999999997%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%237c3aed%22%2F%3E%3Ctext%20x%3D%22552.5999999999999%22%20y%3D%22152.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%237c3aed%22%3Ex17%3C%2Ftext%3E%3C%2Fsvg%3E)

*For a fast-growing company, forward P/E reveals a more reasonable valuation than trailing P/E based on TTM earnings.*

The sum of EPS from the most recent four quarters. This is historical, based on reported actual results. When you see a P/E ratio on a financial website without further specification, it typically uses TTM EPS.

**TTM EPS = EPS Q1 + EPS Q2 + EPS Q3 + EPS Q4** (most recent 4 quarters)

### Forward EPS (NTM)

Analyst consensus estimates for the next 12 months' earnings. Forward P/E uses forward EPS. Growth companies with strong earnings trajectory often have lower forward P/E than trailing P/E because expected future earnings are higher.

### The Difference Matters

For a fast-growing company earning $2 TTM EPS and expected to earn $3 next year:
- **Trailing P/E** (at $50/share): 50 / 2 = **25x** (looks expensive)
- **Forward P/E**: 50 / 3 = **16.7x** (more reasonable for a growth company)

Neglecting forward earnings and using only TTM EPS leads to misidentifying growth companies as overvalued.

## Adjusted EPS: The Analyst's Preferred Version

Reported ([GAAP](https://www.fasb.org/)) EPS includes all items that must be recognized under accounting rules, including non-cash charges, restructuring costs, and one-time items that don't reflect the underlying business's earning power. Analysts therefore calculate **adjusted EPS** (also called "core EPS" or "non-GAAP EPS"):

**Common Add-Backs**:
- Stock-based compensation (non-cash)
- Amortization of acquired intangibles (non-cash from M&A)
- Restructuring charges (one-time)
- Impairment charges (non-cash write-downs)
- Acquisition-related costs
- Litigation settlements (one-time)

**Example**: Company reports GAAP EPS of $1.50 but includes $0.40 in restructuring charges and $0.20 in acquired intangible amortization. Adjusted EPS = $1.50 + $0.40 + $0.20 = **$2.10**.

Many companies (particularly tech) report adjusted/non-GAAP EPS alongside GAAP EPS. Investors should understand what's being excluded and whether the adjustments are legitimate (excluding genuine one-time items) or aggressive (chronically excluding normal business costs as "non-recurring").

## EPS Growth Rate

**EPS Growth Rate = (Current EPS − Prior Period EPS) / |Prior Period EPS| × 100**

EPS growth rates are typically reported on a year-over-year basis. Consistent double-digit EPS growth (10–15%+) over multiple years is a strong indicator of a high-quality business.

**The rule of 72 applied to EPS**: At 15% annual EPS growth, EPS doubles every ~5 years. A company earning $3 today at 15% growth earns $6 in 5 years and $12 in 10 years. This compounding is the engine of long-term stock returns.

## EPS and Stock Buybacks

Companies reduce share count through repurchases, which mathematically increases EPS even without any profit growth:

**Example**: A company earns $500M net income with 200M shares: EPS = $2.50. It buys back 20M shares (10%) at $50/share ($1 billion spent). New EPS = $500M / 180M = **$2.78**, an 11% increase with zero profit improvement.

This is why comparing EPS growth to revenue growth is important:
- EPS growing faster than revenue → buybacks and/or margin expansion
- Revenue growing faster than EPS → margin compression or dilution
- EPS declining despite revenue growth → significant dilution or cost problems

## EPS in Valuation: The P/E Ratio

**P/E Ratio = Share Price / EPS**

![Net income flows through share count and adjustments to produce EPS, which anchors the P/E valuation multiple.](data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20875%20125%22%20width%3D%22875%22%20height%3D%22125%22%20role%3D%22img%22%3E%3Ctitle%3EFlow%20diagram%3C%2Ftitle%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23f8fafc%22%2F%3E%3Crect%20x%3D%2230%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22115%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3ENet%20Income%3C%2Ftext%3E%3Ctext%20x%3D%22115%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3Eminus%20pref.%20divs%3C%2Ftext%3E%3Cline%20x1%3D%22205%22%20y1%3D%2262.5%22%20x2%3D%22237%22%20y2%3D%2262.5%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%2F%3E%3Cpolygon%20points%3D%22244%2C62.5%20235%2C57.5%20235%2C67.5%22%20fill%3D%22%2364748b%22%2F%3E%3Crect%20x%3D%22245%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22330%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3E%C3%B7%20Shares%3C%2Ftext%3E%3Ctext%20x%3D%22330%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3Eweighted%20avg%3C%2Ftext%3E%3Cline%20x1%3D%22420%22%20y1%3D%2262.5%22%20x2%3D%22452%22%20y2%3D%2262.5%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%2F%3E%3Cpolygon%20points%3D%22459%2C62.5%20450%2C57.5%20450%2C67.5%22%20fill%3D%22%2364748b%22%2F%3E%3Crect%20x%3D%22460%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22545%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EEPS%3C%2Ftext%3E%3Ctext%20x%3D%22545%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3Ebasic%20or%20diluted%3C%2Ftext%3E%3Cline%20x1%3D%22635%22%20y1%3D%2262.5%22%20x2%3D%22667%22%20y2%3D%2262.5%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%2F%3E%3Cpolygon%20points%3D%22674%2C62.5%20665%2C57.5%20665%2C67.5%22%20fill%3D%22%2364748b%22%2F%3E%3Crect%20x%3D%22675%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22760%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EP%2FE%20Ratio%3C%2Ftext%3E%3Ctext%20x%3D%22760%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3Eprice%20%C3%B7%20EPS%3C%2Ftext%3E%3C%2Fsvg%3E)

*Net income flows through share count and adjustments to produce EPS, which anchors the P/E valuation multiple.*

The P/E ratio is the most widely used valuation multiple. A P/E of 20 means investors are paying $20 for every $1 of annual earnings, implying they expect the business to grow and continue generating returns for many years.

Key considerations when using P/E:
- Compare P/E to the company's own historical P/E range
- Compare P/E to industry peers (tech companies typically trade at higher P/E than utilities)
- Use forward P/E for growth companies, trailing P/E for stable mature businesses
- Normalize EPS for cyclical companies (using through-the-cycle average earnings rather than peak or trough)

A single year's EPS distorted by unusual items creates a meaningless P/E. Always verify the quality of the earnings underlying the ratio.

## Limitations of EPS

**Non-cash items**: Net income (and thus EPS) includes depreciation, stock compensation, and impairments. These don't represent cash leaving the company, making cash-based metrics like [free cash flow](/blog/cashflow-free) per share sometimes more informative.

**Accounting choices**: [Revenue recognition](/blog/recognise-revenue) timing, inventory valuation, and other accounting decisions affect reported EPS significantly.

**Share count manipulation**: Buybacks can boost EPS while destroying value if shares are repurchased at inflated prices.

**Negative EPS**: For pre-profit companies (biotech, early-stage tech), EPS is negative and meaningless for P/E valuation, use revenue multiples or other metrics instead.

## Conclusion

Earnings per share is the most fundamental measure of a public company's profitability on a per-investor basis. But using EPS correctly requires understanding which version (basic vs. diluted, GAAP vs. adjusted, trailing vs. forward) is appropriate for your analysis. The P/E multiple built on EPS is only as meaningful as the earnings quality underlying it, always look behind the headline number.

For related financial analysis topics, see our guides on [P&L statements](/blog/profit-and-loss-statement), [TTM meaning](/blog/ttm-meaning), [year-over-year analysis](/blog/year-over-year), and [EBITDA to EV](/blog/ebitda-to-ev).

Warren at [heywarren.com](https://heywarren.com) provides real-time EPS analysis and valuation insights for any public company in your watchlist.

---


## Related Reading

**More from Warren**:
- [Return on Equity (ROE): Formula, Calculation, and What It Reveals About a Business](/blog/return-on-equity)
- [CAGR Formula: How to Calculate Compound Annual Growth Rate](/blog/cagr-formula)
- [What Are Equities? A Beginner's Guide to Stocks and Equity Ownership](/blog/what-is-equities)

**Authoritative sources**:
- [SEC EDGAR, Company Filings](https://www.sec.gov/edgar/searchedgar/companysearch)
- [Federal Reserve Economic Data (FRED)](https://fred.stlouisfed.org/)
- [Bureau of Labor Statistics, Data Tools](https://www.bls.gov/data/)
