How to Calculate EPS: Formula, Examples, and Calculator
Clarify definitions, walk through core formulas, and jump to StockCalc's tool for how to calculate eps-without losing track of units or timing.
How to Calculate EPS: Formula, Examples, and Calculator
Updated May 2026 · ~10 min read
Earnings per share divides income available to common shareholders by a weighted-average common share count. Basic and diluted EPS use different denominators, and GAAP, adjusted, continuing-operations, and management-defined earnings can produce different results. The calculation must align the earnings period, share weighting, capital structure, and accounting definition.
When this guide is useful
- Screening and comparisons: you want a repeatable checklist when you rank ideas on how to calculate eps.
- Portfolio reviews: you translate the same definitions each quarter so changes are comparable.
- Thesis checks: you verify a headline or social post with your own numbers before sizing a trade.
The formula
Basic EPS = (Net income − preferred dividends) ÷ weighted-average common shares Diluted EPS adjusts earnings and shares for potentially dilutive instruments when applicable
Ending shares are not a substitute for weighted-average shares. Stock splits, buybacks, issuances, options, convertibles, contingently issuable shares, and two-class allocations can change the denominator.
A period-aligned basic EPS example
If income available to common shareholders is $120 million and weighted-average common shares are 40 million, basic EPS is $3.00. Diluted EPS may be lower if dilutive instruments are included.
Reconcile the numerator
- Start with the earnings definition being reported.
- Subtract preferred dividends or allocate earnings where required.
- Label non-GAAP adjustments and reconcile them to reported results.
- Keep continuing and discontinued operations separate.
Common mistakes
- Using P/E, P/B, or EV/EBITDA formulas instead of EPS.
- Using ending shares instead of weighted-average shares.
- Ignoring preferred dividends, two-class allocations, or discontinued operations.
- Mixing GAAP and adjusted earnings without reconciliation.
- Ignoring splits, buybacks, issuance timing, options, or convertibles.
Try the calculator
Use the interactive calculator to plug in your numbers and see results instantly—without redoing the math by hand.
Open Diluted Eps Calculator →FAQ
What is the difference between basic and diluted EPS?
Basic uses weighted-average common shares; diluted includes applicable instruments that reduce EPS under accounting rules.
Can diluted EPS exceed basic EPS?
Normally anti-dilutive instruments are excluded, so a higher diluted result may indicate a definition or calculation issue.
Should I use GAAP or adjusted EPS?
Label the choice and reconcile adjusted measures to reported earnings.
Why use weighted-average shares?
Share counts change during the period, so the denominator should reflect how long shares were outstanding.
Related calculators
Continue learning this topic
Move from this guide into a complete calculator path with related tools and glossary terms.
Open the Stock Valuation hub →Educational Disclaimer
This article is for educational and informational purposes only and should not be considered investment, financial, tax, or legal advice. Market information may change over time, and readers should verify important details independently before making financial decisions.