Earnings per share formula
EPS Calculator
The EPS formula divides net income, minus any preferred dividends, by the weighted average number of common shares. This free EPS calculator works out basic and diluted earnings per share, the P/E ratio and the earnings yield. Enter a ticker to start from its latest annual income statement and price, with up to 10 years of EPS history.
Free to use. No account or sign-up needed.
Your numbers
Net income for the company's own shareholders, after any minority interest. Enter a loss as a negative number.
Paid on preferred stock in the same period. Leave it empty if there is none.
For the P/E ratio and the earnings yield. Leave it empty to skip both.
Use the same unit for income and shares: full amounts for both, or both in millions.
Results
Net income of $250.00M minus $10.00M of preferred dividends leaves $240.00M for common shareholders, or basic EPS of $2.00 over 120.00M weighted average shares. Over 125.00M diluted shares, diluted EPS is $1.92. At $38.40 a share, the P/E ratio on diluted EPS is 20.00x and the earnings yield is 5.00%.
EPS formula
The EPS formula divides the profit that belongs to common shareholders by the number of common shares: EPS = (net income - preferred dividends) / weighted average shares outstanding. The result is the profit earned for each share over a period, usually one fiscal year or the last 12 months.
Weighted average shares count each share for the part of the period it was outstanding. A company that buys back stock during the year ends with fewer shares than its weighted average, and one that issues stock ends with more, so the average matches the shares that were there while the profit was earned.
To use this earnings per share calculator on a real company, take net income attributable to the company (after any minority interest) and the weighted average share counts from its income statement, which reports them next to basic and diluted EPS. Preferred dividends come from the same statement or its notes. Use one unit for income and shares, such as full amounts or millions.
A worked example
Say a company earned $250.00M of net income last year and paid $10.00M in preferred dividends. That leaves $240.00M for its common shareholders. Divided by 120.00M weighted average shares, basic EPS is $2.00.
Stock options, restricted stock and convertible bonds could add 5.00M shares, for 125.00M diluted shares. The same $240.00M over 125.00M shares is diluted EPS of $1.92, 4.00% below basic EPS.
At a share price of $38.40, the P/E ratio on diluted EPS is 20.00x, so a buyer pays $20.00 for each $1 of yearly earnings. The earnings yield, EPS divided by price, is 5.00%.
If the company had a net loss of $30.00M instead, earnings for common shareholders would be -$40.00M and basic EPS -$0.3333. Diluted EPS would also be -$0.3333, since in a loss year the extra shares would shrink the loss per share. The P/E ratio is not meaningful when EPS is zero or negative.
Diluted EPS
Basic EPS divides by the weighted average common shares. Diluted EPS also counts the shares that stock options, restricted stock units, warrants and convertible bonds or preferred stock could add if they turned into common shares. Because those can only add shares, diluted EPS is the same as basic EPS or lower.
Companies count the extra shares with set methods. For options, the treasury stock method assumes the exercise money buys back shares at the average price, so only the net new shares count. The calculator takes the diluted share count as the income statement reports it.
Shares that would raise EPS, or shrink a loss per share, are left out of the diluted count under the anti-dilution rule. That is why diluted EPS equals basic EPS in a loss year, and why the calculator never shows diluted EPS above basic EPS.
To see how new shares change ownership and EPS, use the shares outstanding and dilution calculator.
EPS and P/E
The price-to-earnings (P/E) ratio divides the share price by EPS, which is what a buyer pays for each $1 of yearly earnings. Its inverse, EPS divided by the price, is the earnings yield, a figure people set next to bond yields. When EPS is zero or negative, the P/E ratio is not meaningful.
Quote pages usually show trailing EPS, the last four quarters added together, while a ticker fill here uses the latest full fiscal year. The two drift apart as the year goes on, so the P/E ratio here is the price over the last fiscal year's earnings.
Income statements report GAAP EPS, which includes one-time items such as write-downs, legal settlements and gains on asset sales. Many companies also publish an adjusted EPS that leaves those items out, and the two can differ widely in a single year.
To compare the price with free cash flow instead of earnings, use the FCF yield calculator.
Using a ticker
Enter a ticker to fill the fields from the company's latest annual income statement on GNG: net income, preferred dividends when they are on file and the weighted average basic shares, plus the most recent close. The net income on file can include the share of minority owners in a company's businesses, and a line under the results says so when the balance sheet on file reports minority owners. Every filled field stays editable, and the math runs in your browser.
The fill does not include a diluted share count, so enter it from the income statement to see diluted EPS. A figure that is not on file for that year leaves its field empty with a note, and when the weighted average is missing, the fill uses the share count on the balance sheet and says so.
Below the calculator, a table and a chart show up to 10 years of basic EPS, with share counts restated to today's share basis using recorded stock splits when they can be matched, so a split does not look like a jump in earnings. Funds have no income statement of their own, and a company that reports in another currency is named rather than filled.
What the calculator assumes
- Net income, preferred dividends and both share counts cover the same period.
- Net income is the company's own, after any minority interest. A filled figure can include the minority owners' share.
- Income and shares use one unit, such as full amounts or millions.
- Preferred dividends are subtracted only when you enter them.
- Diluted EPS is never above basic EPS, under the anti-dilution rule.
- The P/E ratio and the earnings yield use diluted EPS when you enter diluted shares, and basic EPS otherwise.
- Figures are GAAP results as reported, with no adjustment for one-time items.
- EPS describes a past period. It is not a forecast of future earnings.
EPS calculator FAQ
What is the EPS formula?
EPS = (net income - preferred dividends) / weighted average common shares. A company that earned $240 million for common shareholders over 120 million weighted average shares has EPS of $2.00 for that year.
How do you calculate earnings per share?
Take net income attributable to the company from the income statement, subtract any preferred dividends, and divide by the weighted average common shares for the same period. For diluted EPS, divide by the diluted share count, which adds shares from options and convertibles.
What is the difference between basic and diluted EPS?
Basic EPS divides by the weighted average common shares. Diluted EPS also counts shares that options, restricted stock units, warrants and convertible securities could add, so it is the same as basic EPS or lower. A wide gap means meaningful dilution.
Why are preferred dividends subtracted from net income?
EPS measures the profit that belongs to common shareholders. Preferred shareholders are paid first, so their dividends come out of net income before the rest is divided over the common shares. A company with no preferred stock has nothing to subtract.
What is a good EPS?
No single figure is good, since EPS depends on how many shares a company has. Compare EPS with the same company's past years, where steady growth is what many investors look for, and use the P/E ratio to compare the price of earnings across companies.
Can EPS be negative?
Yes. A net loss gives negative EPS, also called a loss per share. Diluted EPS then equals basic EPS, because extra shares would make the loss per share look smaller, and the P/E ratio is not meaningful.
How is EPS related to the P/E ratio?
The P/E ratio is the share price divided by EPS. A $38.40 stock with diluted EPS of $1.92 has a P/E ratio of 20x, so a buyer pays $20 for each $1 of yearly earnings. Its inverse, EPS divided by the price, is the earnings yield: 5% here.
Is this EPS calculator free?
Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Research Terminal stock screener and the Portfolio Tracker for your own holdings.
Screen stocks and track your own holdings with a free GNG account.
Sign Up FreeThis calculator is for education and is not investment advice. EPS describes past results and does not show what a company will earn next. Read our disclosures.