Earnings Per Share Formula Explained: What Every Investor Should Know
The earnings per share formula is: (Net Income - Preferred Dividends) / Weighted Average Shares Outstanding. That single calculation sits at the foundation of nearly every equity valuation method in use today, from the P/E ratio to the DCF model to the PEG ratio. You cannot evaluate a stock's price relative to its earnings output without first understanding what the earnings per share formula actually measures, where it can mislead you, and how to use the diluted version to account for options and convertibles.
This guide covers every variation of the earnings per share formula, shows you how Apple (AAPL), Microsoft (MSFT), and Johnson & Johnson (JNJ) report it, and explains the difference between a genuinely strong EPS and an EPS that has been inflated by share buybacks or favorable accounting choices.
Key Takeaways
- The basic earnings per share formula is: (Net Income - Preferred Dividends) / Weighted Average Basic Shares Outstanding.
- Diluted EPS is always more conservative than basic EPS, as it adds all potential shares from options, warrants, and convertible securities to the denominator.
- EPS is a per-share metric, not a company-quality metric. A low share count can produce high EPS from modest net income. Always cross-reference with ROIC and free cash flow.
- Apple's diluted EPS grew from roughly $3.28 in FY2019 to approximately $6.42 in FY2024, driven by both earnings growth and aggressive share repurchases that reduced the share count by about 24%.
- A "good" EPS number depends entirely on the price you pay for it. P/E ratio puts price in relation to EPS. The earnings per share formula alone tells you nothing about whether the stock is cheap or expensive.
- Adjusted or non-GAAP EPS excludes items like stock-based compensation and amortization. These exclusions can be legitimate or they can obscure real costs. Checking both versions is not optional.
The Earnings Per Share Formula: Basic Version
The basic EPS formula takes net income available to common shareholders and divides it by the weighted average number of basic shares outstanding during the period.
Basic EPS = (Net Income - Preferred Dividends) / Weighted Average Basic Shares
Preferred dividends are subtracted because preferred shareholders receive their distributions before common equity holders. What remains after that subtraction is what common stockholders collectively earned. Dividing by the share count converts it to a per-share figure.
The weighted average is not a simple average of beginning and ending shares. If a company had 100 million shares at the start of the year and issued 20 million shares on July 1, the weighted average is 100M + (20M x 0.5) = 110M shares, because the new shares were only outstanding for half the year. This matters more than most investors realize because large buyback programs executed mid-year can shift the weighted average meaningfully.
The Earnings Per Share Formula: Diluted Version
Diluted EPS is the version reported most prominently in financial statements and used by most analysts. It adds to the denominator all potentially dilutive securities: stock options, restricted stock units, warrants, and convertible bonds or preferred stock.
Diluted EPS = (Net Income - Preferred Dividends + Convertible Preferred Dividends After-Tax) / (Weighted Average Diluted Shares)
The treasury stock method is used for options and warrants. Under this method, the company is assumed to use the proceeds from exercised options to repurchase shares at the average market price, with only the net incremental shares added to the denominator. This produces a smaller dilution than simply adding all option shares.
Diluted EPS is always equal to or lower than basic EPS, never higher. If you see a company reporting basic EPS of $5.00 and diluted EPS of $5.00, the company has either no dilutive securities outstanding or they are out of the money and therefore excluded from the calculation (anti-dilutive securities are excluded).
| EPS Type | Formula Adjustment | When to Use |
|---|---|---|
| Basic EPS | No dilution adjustment | Theoretical ownership per share |
| Diluted EPS | Adds all dilutive securities | Standard for P/E comparison, analyst models |
| Adjusted (non-GAAP) EPS | Excludes specific items | Company-reported; requires scrutiny |
| Trailing Twelve Months (TTM) | Sum of last 4 quarters | Current snapshot; most commonly referenced |
| Forward EPS | Analyst consensus estimate | Pricing future growth; inherently uncertain |
Real Examples: Apple, Microsoft, and Johnson & Johnson
Anchoring the earnings per share formula to real companies makes the differences between types of EPS tangible.
Apple (AAPL): Apple's GAAP diluted EPS for FY2024 (ended September 2024) was approximately $6.42. Net income was roughly $93.7 billion. The weighted average diluted share count was approximately 15.4 billion. Apple's P/E of 28.3x uses this diluted EPS as the denominator. Apple's aggressive buyback program has reduced the share count by more than 40% since 2013, which means a meaningful portion of Apple's EPS growth is mathematical: fewer shares means higher EPS even if net income grows slowly.
Microsoft (MSFT): Microsoft's diluted EPS for FY2024 (ended June 2024) was approximately $11.45. The P/E near 32.1x reflects earnings quality (ROIC around 35%), consistent double-digit revenue growth, and cloud dominance. Microsoft's share count has been relatively stable compared to Apple, meaning its EPS growth more directly reflects underlying earnings growth.
Johnson & Johnson (JNJ): JNJ's diluted EPS for FY2024 was approximately $8.78 on an adjusted basis, lower on a GAAP basis due to litigation charges. JNJ pays a dividend of roughly $4.76 per share, representing a 3.1% yield. The dividend yield relative to EPS (the payout ratio) is approximately 54%, which is healthy for a pharmaceutical company with relatively predictable cash flows.
How Share Buybacks Affect the EPS Calculation
Share buybacks are the single most important distortion in EPS reporting. When a company repurchases its own shares, the weighted average share count falls, which mechanically raises EPS even if net income is flat.
Consider a simplified example. Company X earns $1 billion in net income with 500 million diluted shares outstanding. EPS = $2.00. Company X then repurchases 100 million shares. Next year, it earns $1 billion again (no growth). The share count is now 400 million. EPS = $2.50. EPS grew 25% with zero underlying earnings growth.
Apple is the most prominent real-world example of this effect. Between FY2013 and FY2024, Apple's net income grew approximately 4x. Its EPS grew approximately 8x over the same period. The difference is the buyback-driven decline in share count from roughly 26.5 billion to 15.4 billion. This does not make Apple a worse business. It means that ROIC of 45.1% is the better metric for evaluating Apple's underlying capital efficiency, while EPS growth requires context to interpret correctly.
What Is a Good Earnings Per Share
"Good" EPS is a relative concept, not an absolute one. A $10 EPS is only good or bad in relation to the price you pay for it. Apple's $6.42 diluted EPS at a share price of $182 implies a P/E near 28.3x. That is reasonable for a company with 45.1% ROIC and a global consumer franchise. Paying $640 per share for the same $6.42 EPS (P/E of 100x) would not be good regardless of how strong the underlying business is.
That said, certain EPS characteristics correlate with business quality:
- Consistent positive EPS over 10+ years indicates a business model with durable demand and pricing power.
- EPS growing faster than revenue typically indicates expanding margins or buybacks at work.
- EPS growing in line with or faster than book value per share growth suggests genuine value creation rather than asset-stripping.
- A low payout ratio (under 60%) means the company retains most earnings for reinvestment, which compounds into future EPS growth.
Johnson & Johnson has delivered positive GAAP EPS in every year for at least 35 consecutive years, which is the kind of consistency that earns a quality premium in fundamental analysis. Coca-Cola (KO) similarly has maintained a 3.0% dividend yield with 60+ years of consecutive dividend growth, which requires sustained EPS growth to fund.
How to Calculate Intrinsic Value of a Share Using EPS
Intrinsic value from EPS can be approximated using the Benjamin Graham formula: Intrinsic Value = EPS x (8.5 + 2g) x (4.4/Y), where g is the expected annual EPS growth rate over 7-10 years and Y is the current yield on AAA corporate bonds. This formula produces a rough estimate. It is not a substitute for a full DCF analysis.
A more rigorous approach uses the DCF model directly. Take the current EPS, project it forward using a realistic growth rate, discount back to present value, and add a terminal value. Our DCF calculator does this calculation in under 30 seconds with all four standard DCF methods: Gordon Growth, two-stage DCF, reverse DCF, and asset-based valuation.
The reverse DCF is particularly useful: input the current share price and solve backward for the implied EPS growth rate. For Palantir at 200x earnings, the implied growth rate is north of 30% annually for a decade. For Apple at 28.3x earnings, the implied growth rate is closer to 8-10% annually, which is consistent with analyst consensus.
Common Mistakes in Earnings Per Share Analysis
Relying on non-GAAP EPS without checking the adjustments is the most common analytical error. Companies routinely exclude stock-based compensation from adjusted EPS, framing it as a non-cash item. Stock-based compensation is real economic dilution. An employee receiving $10 million in stock options costs shareholders $10 million in dilution regardless of how the income statement treats it. Check both GAAP and non-GAAP EPS before drawing conclusions.
Using TTM EPS without considering cyclicality is the second common mistake. A company in a cyclically high earnings year looks cheap on TTM P/E. A company in a cyclically low earnings year looks expensive. Graham's original approach used 10-year average earnings (the Shiller P/E principle) precisely to smooth out the cycle. For individual stocks, a 3-year average EPS better represents normalized earnings than a single year's figure.
Ignoring the share count trajectory is the third mistake. If a company's EPS is growing but its share count is rising faster (meaning dilution exceeds buybacks), you are owning a shrinking share of a growing pie. Check the diluted share count trend over 5-10 years alongside the EPS trend.
EPS Across Sectors: Why Context Matters More Than the Number
The earnings per share formula produces a number that is only meaningful when compared against context: the company's own history, its sector peers, and the price paid. A utility company reporting $3.00 EPS with a 6% annual growth rate is a different investment than a cloud software company reporting $3.00 EPS with a 30% annual growth rate, even if the earnings per share formula produces the same numerical output.
Here is how EPS characteristics differ by sector:
| Sector | Typical EPS Growth Rate | Typical P/E Multiple | EPS Volatility |
|---|---|---|---|
| Utilities | 3-5%/yr | 14-18x | Low |
| Consumer Staples | 5-8%/yr | 20-25x | Low |
| Healthcare | 7-12%/yr | 18-24x | Moderate |
| Financials | 5-10%/yr | 10-15x | High (cyclical) |
| Technology | 10-25%/yr | 25-40x | High |
| Energy | Highly variable | 8-14x | Very high (commodity) |
Johnson & Johnson's EPS of approximately $8.78 (adjusted, FY2024) with 3.1% dividend yield reflects a healthcare business with moderate growth, high margins, and decades of earnings consistency. Coca-Cola's EPS growth over 20 years reflects a consumer staples business where volume growth is slow but pricing power and margin stability keep EPS moving upward reliably enough to support 60+ years of consecutive dividend increases. Neither is a high-growth story. Both demonstrate that predictable EPS compounding over long periods creates substantial wealth for patient investors.
The PEG Ratio: Adding Growth Rate to the EPS Multiple
The price-to-earnings-to-growth (PEG) ratio adjusts the P/E by dividing it by the EPS growth rate, giving a single metric that accounts for both price and growth pace. PEG = P/E / EPS Growth Rate (annual, percentage).
A PEG of 1.0 is often cited as fairly valued (you pay 1x the earnings multiple per percentage point of growth). A PEG below 1.0 suggests you are paying less than the growth rate warrants. A PEG above 2.0 suggests growth expectations are fully priced.
Apple at 28.3x P/E and roughly 10% EPS growth implies a PEG near 2.8. Microsoft at 32.1x P/E and roughly 15% EPS growth implies a PEG near 2.1. Both are priced for quality premium rather than growth bargains. The PEG ratio does not fix the fundamental limitation of EPS-based analysis (it still ignores ROIC, balance sheet quality, and capital allocation), but it provides a quick screen for growth-adjusted value.
How EPS Connects to the ValueMarkers Framework
The VMCI Score at ValueMarkers uses EPS-derived metrics in two pillars. The Value pillar (35% weight) incorporates P/E ratio, which directly uses EPS. The Growth pillar (12% weight) uses EPS growth rate over 1, 3, and 5 years. Quality (30% weight) uses ROIC and ROE, which are not EPS-based but correlate with sustainable EPS generation.
Running the earnings per share formula through our screener across 120 indicators gives you EPS in context: adjusted for buybacks, compared against the 10-year EPS history, set against industry medians, and connected to the underlying ROIC that will drive future EPS. That context is what transforms a single number into a useful analytical signal.
Further reading: Investopedia · CFA Institute
Why EPS calculation Matters
This section anchors the discussion on EPS calculation. The detailed treatment, formula, and worked examples appear in the body of this article above. The points below summarize the most important takeaways for value investors who want to apply EPS calculation in real portfolio decisions. ValueMarkers exposes the underlying data on every covered ticker via the screener and stock profile pages, so the concepts in this article translate directly into actionable filters.
Key inputs for EPS calculation
See the main discussion of EPS calculation in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using EPS calculation alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.
Sector benchmarks for EPS calculation
See the main discussion of EPS calculation in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using EPS calculation alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.
Frequently Asked Questions
what are earnings per share
Earnings per share is the portion of a company's net income allocated to each outstanding common share. Calculated as (Net Income - Preferred Dividends) / Weighted Average Diluted Shares, it converts total company earnings into a per-share metric that investors can compare across companies and relate to the share price through the P/E ratio.
what is a good price to earnings ratio
A good P/E ratio depends on the company's growth rate, ROIC, and sector. As a rough benchmark: P/E below 15x typically indicates a value stock or a cyclical business in a trough year; P/E of 15-25x fits most large-cap U.S. businesses with moderate growth; P/E above 30x demands above-average growth or quality to justify. Apple at 28.3x and Microsoft at 32.1x are high relative to history but supported by ROIC above 35-45% and consistent earnings growth.
what is earnings per share
Earnings per share (EPS) is net income available to common shareholders divided by the weighted average number of shares outstanding. It is reported quarterly in the income statement and is the denominator of the P/E ratio. Diluted EPS is the standard version for comparison purposes, as it accounts for all potentially dilutive securities including employee stock options and convertible bonds.
how to calculate intrinsic value of share
The most rigorous method is the discounted cash flow model: project free cash flow or earnings per share over 10 years at a realistic growth rate, discount back to present value at your required rate of return (typically 8-12%), and add a terminal value. Our DCF calculator performs this in four models. As a quicker estimate, the Graham formula gives Intrinsic Value = EPS x (8.5 + 2g) x (4.4/Y), where g is the growth rate and Y is the AAA bond yield.
what is retained earnings on a balance sheet
Retained earnings on the balance sheet is the cumulative sum of all net income the company has ever earned minus all dividends ever paid out. It represents earnings that have been reinvested into the business rather than distributed to shareholders. Growing retained earnings indicate a profitable company reinvesting in itself. Declining retained earnings, combined with share buybacks or dividends exceeding net income, indicate a company returning more capital than it is generating.
what is a good earnings per share
There is no absolute good EPS number because EPS is only meaningful in relation to the share price (P/E), the company's history (EPS growth trend), and the quality of earnings (free cash flow conversion). An EPS of $2 at a share price of $20 (10x P/E) is more attractive than an EPS of $10 at a share price of $500 (50x P/E) in most value investing frameworks. The EPS trend, consistency, and free cash flow backing matter more than the absolute figure.
Use our DCF calculator to translate any company's earnings per share into an implied intrinsic value and compare it against the current share price before you decide to buy.
Written by Javier Sanz, Founder of ValueMarkers. Last updated April 2026.
Ready to find your next value investment?
ValueMarkers tracks 120+ fundamental indicators across 100,000+ stocks on 73 global exchanges. Run the methodology above in seconds with our stock screener, or see today's top-ranked names on the leaderboard.
Related tools: DCF Calculator · Methodology · Compare ValueMarkers
Disclaimer: This content is for informational and educational purposes only and does not constitute investment advice, a recommendation, or an offer to buy or sell any security. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.