Earnings or loss per share is based on the amount of net income or loss allocated to the shareholders and the weighted average number of shares outstanding during the period for each class of Common Stock. The numerator and denominator used to compute earnings or loss per share were as follows (in millions, except share and per share data): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | | | | 2022 | | 2021 | | 2022 | | 2021 | | | | | Income (loss) (numerator): | | | | | | | | | | | | | Basic: | | | | | | | | | | | | | Income (loss) attributable to Ranger Energy Services, Inc. | | $ | 13.6 | | | $ | (5.6) | | | $ | 7.5 | | | $ | (15.8) | | | | | | Net income (loss) attributable to Class A Common Stock | | $ | 13.6 | | | $ | (5.6) | | | $ | 7.5 | | | $ | (15.8) | | | | | | | | | | | | | | | | | | | Diluted: | | | | | | | | | | | | | Income (loss) attributable to Ranger Energy Services, Inc. | | $ | 13.6 | | | $ | (5.6) | | | $ | 7.5 | | | $ | (15.8) | | | | | | | | | | | | | | | | | | | Net income (loss) attributable to Class A Common Stock | | $ | 13.6 | | | $ | (5.6) | | | $ | 7.5 | | | $ | (15.8) | | | | | | | | | | | | | | | | | | | Weighted average shares (denominator): | | | | | | | | | | | | | Weighted average number of shares - basic | | 24,845,517 | | | 11,011,864 | | | 22,323,308 | | | 9,714,508 | | | | | | Effect of share-based awards | | 338,550 | | | — | | | 314,149 | | | — | | | | | | | | | | | | | | | | | | | Weighted average number of shares - diluted | | 25,184,067 | | | 11,011,864 | | | 22,637,457 | | | 9,714,508 | | | | | | | | | | | | | | | | | | | Basic income (loss) per share | | $ | 0.55 | | | $ | (0.51) | | | $ | 0.34 | | | $ | (1.63) | | | | | | Diluted income (loss) per share | | $ | 0.54 | | | $ | (0.51) | | | $ | 0.33 | | | $ | (1.63) | | | | | |
|