v3.25.2
Earnings Per Share - Calculation For Period (Details) - USD ($)
shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Net income (loss) attributable to MasTec:        
Net income (loss) - basic $ 85,766 $ 33,988 $ 95,669 $ (7,192)
Net income (loss) - diluted $ 85,766 $ 33,988 $ 95,669 $ (7,192)
Weighted average shares outstanding:        
Weighted average shares outstanding - basic (in shares) 77,684 78,038 77,937 77,984
Dilutive common stock equivalents (in shares) 837 822 813 0
Weighted average shares outstanding - diluted (in shares) 78,521 78,860 78,750 77,984
Anti-dilutive common stock (in shares) 4 5 208 929