v3.25.2
Earnings per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Numerator:        
Net income attributable to Cactus Inc. $ 40,329 $ 49,828 $ 84,552 $ 88,793
Net income attributable to non-controlling interest 0 0 0 18,432
Net income attributable to Cactus Inc. - diluted $ 40,329 $ 49,828 $ 84,552 $ 107,225
Denominator:        
Effect of dilutive shares (in shares) 375 437 405 13,926
Corporate effective income tax rate, if-converted method       26.00%
Class A Common Stock        
Denominator:        
Weighted average Class A Shares Outstanding - basic (in shares) 68,514 66,142 68,355 65,760
Weighted average Class A shares outstanding - diluted (in shares) 68,889 66,579 68,760 79,686
Earnings per Class A share - basic (in dollars per share) $ 0.59 $ 0.75 $ 1.24 $ 1.35
Earnings per Class A share - diluted (in dollars per share) $ 0.59 $ 0.75 $ 1.23 $ 1.35
Class B Common Stock        
Denominator:        
Weighted average Class A shares outstanding - diluted (in shares) 11,300 13,400 11,400 13,400