What EPS is measuring
Basic EPS starts with the earnings attributable to common shareholders, which is usually net income minus preferred dividends, then divides that amount by the weighted average number of common shares outstanding during the period. That share-weighting step matters because public companies can issue or repurchase shares during the year.
Diluted EPS adjusts the denominator to reflect instruments that could increase the share count, such as options, warrants, restricted stock units, convertible preferred stock, or convertible debt. In formal reporting, dilution rules can become detailed and method-specific. This calculator keeps the scope explicit by letting you enter either an additional diluted-share amount directly or the total diluted weighted average shares already disclosed in a filing, rather than simulating every security type separately.