$100 million available to common shareholders divided by 50 million weighted-average shares is $2 EPS; diluted shares can produce a different figure.
Fundamentals
Earnings per share (EPS)
Earnings available to common shareholders divided by weighted-average common shares for basic EPS; diluted EPS reflects potentially dilutive instruments under accounting rules.
Plain-English context
Put the definition to work.
Basic and diluted EPS use weighted-average shares and appropriate earnings attributable to common holders, not simply today's share count.
Further reading and verification. Examples are hypothetical, not current quotes or recommendations. Product terms, tax treatment and market rules can change. SEC — financial statement guide
™