Reconciliation of Weighted Average Shares Outstanding
Basic earnings (loss) per share is computed by dividing net income (loss) by the weighted average number of common shares outstanding during the period. Diluted earnings (loss) per share further includes any common shares available to be issued upon the exercise of unvested, outstanding restricted stock units and other stock awards if such inclusions would be dilutive. The shares associated with performance-based stock awards (PSU) are considered contingently issuable shares and are included in the diluted weighted average number of common shares outstanding based on when they have met the performance conditions, and when their effect is dilutive. We determine the potentially dilutive common shares for all awards using the treasury stock method.
A reconciliation of the shares used in the computation of earnings (loss) per share follows (shares in thousands):
For the Years Ended April 30,
202520242023
Weighted average shares outstanding54,05454,94555,558
Shares used for basic earnings (loss) per share54,05454,94555,558
Dilutive effect of unvested restricted stock units and other stock awards776797
Shares used for diluted earnings (loss) per share54,83054,94556,355
Antidilutive options to purchase Class A common shares, restricted shares, and contingently issuable restricted stock which are excluded from the table above5091,264393
In calculating diluted net loss per common share for the year ended April 30, 2024, our diluted weighted average number of common shares outstanding excludes the effect of unvested restricted stock units and other stock awards as the effect was anti-dilutive. This occurs when a net loss is reported and the effect of using dilutive shares is antidilutive.

About Earnings Per Share Disclosures

The earnings per share disclosure breaks down the calculation from net income to both basic and diluted EPS, revealing the full impact of a company's capital structure on per-share economics. The reconciliation between basic and diluted share counts exposes how many stock options, RSUs, convertible securities, and warrants are potentially dilutive to existing shareholders.

Key signals: a widening gap between basic and diluted shares indicates growing dilution from equity compensation or convertible instruments. Anti-dilutive securities excluded from the diluted calculation deserve attention — they represent latent dilution that will materialize if the stock price rises. Watch for the effect of share buybacks on per-share metrics: EPS growth driven primarily by repurchases rather than income growth signals weakening fundamentals. Compare year-over-year changes in the diluted share count against equity compensation expense to assess whether management is effectively managing dilution.