How the Earnings per Share Calculator works
Earnings per share (EPS) is one of the most widely used profitability metrics in equity analysis: it converts a company's total net income into a per-share figure that can be compared across periods, or used to build ratios like the price-to-earnings (P/E) ratio. This calculator computes both the basic and diluted versions of EPS using the standard formulas found in financial statements and accounting textbooks.
The formulas
Basic EPS = (Net income − Preferred dividends) ÷ Weighted average common shares outstanding
Preferred dividends are subtracted first because that portion of net income is contractually owed to preferred shareholders, not common shareholders. What remains — earnings available to common shareholders — is divided by the weighted average number of common shares outstanding during the period.
Diluted EPS = (Net income − Preferred dividends) ÷ (Weighted average shares + Dilutive potential shares)
Diluted EPS uses the same numerator but adds the shares that could be created if stock options, warrants, and convertible securities were exercised or converted. Because the same earnings are spread across more shares, diluted EPS is always equal to or lower than basic EPS.
Worked example
Take a company with $12,000,000 of net income, $500,000 of preferred dividends, 8,000,000 weighted average common shares, and 500,000 additional shares from outstanding stock options. Earnings available to common shareholders is $12,000,000 − $500,000 = $11,500,000. Basic EPS is $11,500,000 ÷ 8,000,000 = $1.44 per share. Diluted EPS is $11,500,000 ÷ 8,500,000 = $1.35 per share — about 6% lower than basic EPS because the same profit is now divided among more shares.
What moves EPS most
- Net income: EPS scales directly with earnings — a swing from profit to loss flips EPS from positive to negative.
- Preferred dividends: a company with a large preferred stock obligation can show solid net income yet modest EPS for common shareholders, since preferred dividends are removed first.
- Share count: issuing new shares (a secondary offering, or exercised stock options) dilutes EPS even if net income stays flat, because the same earnings are divided among more shares.
Using this calculator responsibly
This tool performs the standard EPS arithmetic on the figures you provide — it does not pull live financial data and does not constitute investment advice. For real companies, use net income and share counts as reported in the income statement and its footnotes (companies are required to disclose both basic and diluted EPS under US GAAP and IFRS). Treat the result as one input among many when evaluating a stock, alongside revenue trends, cash flow, and qualitative factors.