v3.25.2
Weighted Average Shares Outstanding
6 Months Ended
Jun. 30, 2025
Earnings Per Share [Abstract]  
Weighted Average Shares Outstanding Weighted Average Shares Outstanding
Basic earnings per share was calculated using net earnings and the weighted average number of shares of common stock outstanding during the respective period. Diluted earnings per share was calculated using net earnings and the weighted average number of shares of common stock and potential common stock outstanding during the respective period. Potentially dilutive common stock consisted of stock options and restricted stock awards based upon the average trading price of Roper’s common stock. The effects of potential common stock were determined using the treasury stock method.
Weighted average shares outstanding are presented below:

Three months ended
June 30,
Six months ended
June 30,
2025202420252024
Basic shares outstanding107.6107.1107.5107.0
Effect of potential common stock:
Common stock awards0.80.80.80.9
Diluted shares outstanding108.4107.9108.3107.9

For the three and six months ended June 30, 2025, there were 0.705 and 0.758 stock-based awards outstanding, respectively, that were not included in the determination of diluted earnings per share because to do so would have been antidilutive, as compared to 0.387 and 0.384 stock-based awards outstanding that would have been antidilutive in the respective comparable periods of 2024.