XML 66 R48.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings Per Share (Narrative) (Details) - shares
shares in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Earnings Per Share [Line Items]      
Earnings per share reconciliation disclosure, methodology Basic earnings or loss per share is computed by dividing net income or loss attributable to MasTec by the weighted average number of common shares outstanding for the period, which excludes non-participating unvested restricted share awards. Diluted earnings per share is computed by dividing net income or loss attributable to MasTec by the weighted average number of fully diluted shares, as calculated under the treasury stock method, which includes the potential effect of dilutive common stock equivalents, such as issued but unvested restricted shares. If the Company reports a loss, rather than income, the computation of diluted loss per share excludes the effect of dilutive common stock equivalents, as their effect would be anti-dilutive.    
Dilutive common stock equivalents (in shares) 1,422 1,022 0
ASU 2016-09 [Member]      
Earnings Per Share [Line Items]      
Dilutive common stock equivalents (in shares) 300