{
  "cik": 15615,
  "cik_padded": "0000015615",
  "entityName": "MASTEC INC",
  "fiscal_years": [
    {
      "accn": "0000015615-26-000020",
      "filed": "2026-02-26",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 77326000.0,
        "capex": 259985000.0,
        "cash": 396030000.0,
        "eps_diluted": 5.07,
        "free_cash_flow": 285729000.0,
        "net_income": 399042000.0,
        "operating_cash_flow": 545714000.0,
        "revenue": 14299171000.0,
        "stockholders_equity": 3259309000.0,
        "total_assets": 9923542000.0,
        "total_liabilities": 6589021000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.0216005908000745,
        "net_margin": 0.02790665277028997,
        "revenue_growth_yoy": 0.16220691993734448,
        "roa_avg2y": 0.042229309908657246,
        "roa_period_end": 0.040211650235369586,
        "roe_avg2y": 0.12932466895235034,
        "roe_period_end": 0.1224314724378695
      }
    },
    {
      "accn": "0000015615-26-000020",
      "filed": "2026-02-26",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 148855000.0,
        "cash": 399903000.0,
        "eps_diluted": 2.06,
        "free_cash_flow": 972770000.0,
        "net_income": 162788000.0,
        "operating_cash_flow": 1121625000.0,
        "revenue": 12303464000.0,
        "stockholders_equity": 2911857000.0,
        "total_assets": 8975275000.0,
        "total_liabilities": 5987932000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.0563963134178636,
        "net_margin": 0.013231070534282052,
        "revenue_growth_yoy": 0.025636186394489998,
        "roa_avg2y": 0.017743745835893675,
        "roa_period_end": 0.018137382977123265,
        "roe_avg2y": 0.057952203351756826,
        "roe_period_end": 0.055905217872993074
      }
    },
    {
      "accn": "0000015615-26-000020",
      "filed": "2026-02-26",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 192941000.0,
        "cash": 529561000.0,
        "eps_diluted": -0.64,
        "free_cash_flow": 494336000.0,
        "net_income": -49949000.0,
        "operating_cash_flow": 687277000.0,
        "revenue": 11995934000.0,
        "stockholders_equity": 2706152000.0,
        "total_assets": 9373500000.0,
        "total_liabilities": 6652250000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.458195252890451,
        "net_margin": -0.00416382751022138,
        "revenue_growth_yoy": 0.22682423610953445,
        "roa_avg2y": -0.005351640345426104,
        "roa_period_end": -0.0053287459326825624,
        "roe_avg2y": -0.018351859775022638,
        "roe_period_end": -0.018457573706133285
      }
    },
    {
      "accn": "0000015615-25-000021",
      "filed": "2025-02-28",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 81291000.0,
        "capex": 263352000.0,
        "cash": 370592000.0,
        "eps_diluted": 0.42,
        "free_cash_flow": 88945000.0,
        "net_income": 33354000.0,
        "operating_cash_flow": 352297000.0,
        "revenue": 9778038000.0,
        "stockholders_equity": 2737329000.0,
        "total_assets": 9293300000.0,
        "total_liabilities": 6552072000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.3936004769613004,
        "net_margin": 0.0034111137633132537,
        "revenue_growth_yoy": 0.22966641058147855,
        "roa_avg2y": 0.0040639183171181925,
        "roa_period_end": 0.0035890372634048186,
        "roe_avg2y": 0.012640942874717318,
        "roe_period_end": 0.012184870726171389
      }
    },
    {
      "accn": "0000015615-24-000021",
      "filed": "2024-03-01",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 170066000.0,
        "cash": 360736000.0,
        "eps_diluted": 4.45,
        "free_cash_flow": 623008000.0,
        "net_income": 328831000.0,
        "operating_cash_flow": 793074000.0,
        "revenue": 7951781000.0,
        "stockholders_equity": 2539809000.0,
        "total_assets": 7121400000.0,
        "total_liabilities": 4577532000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.8023134810531027,
        "net_margin": 0.041353125796598264,
        "revenue_growth_yoy": 0.25799912197089847,
        "roa_avg2y": 0.05325500230782312,
        "roa_period_end": 0.04617504984974865,
        "roe_avg2y": 0.14480426075432473,
        "roe_period_end": 0.12947075941537337
      }
    },
    {
      "accn": "0000015615-23-000009",
      "filed": "2023-03-16",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 120228000.0,
        "capex": 213746000.0,
        "cash": 423118000.0,
        "eps_diluted": 4.38,
        "free_cash_flow": 723508000.0,
        "net_income": 322848000.0,
        "operating_cash_flow": 937254000.0,
        "revenue": 6320975000.0,
        "stockholders_equity": 2001922000.0,
        "total_assets": 5227900000.0,
        "total_liabilities": 3222324000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.6096151598314021,
        "net_margin": 0.05107566475108666,
        "revenue_growth_yoy": -0.12003208046343768,
        "roa_avg2y": 0.06314937065399173,
        "roa_period_end": 0.06175481550909543,
        "roe_avg2y": 0.17040691533861754,
        "roe_period_end": 0.16126902047132707
      }
    },
    {
      "accn": "0000015615-22-000011",
      "filed": "2022-03-01",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 5652000.0,
        "capex": 126473000.0,
        "cash": 71427000.0,
        "eps_diluted": 5.17,
        "free_cash_flow": 423805000.0,
        "net_income": 392334000.0,
        "operating_cash_flow": 550278000.0,
        "revenue": 7183188000.0,
        "stockholders_equity": 1787220000.0,
        "total_assets": 4997000000.0,
        "total_liabilities": 3205315000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.7934641510278533,
        "net_margin": 0.054618367220793884,
        "revenue_growth_yoy": 0.03962287990433925,
        "roa_avg2y": 0.08314803433294479,
        "roa_period_end": 0.078513908345007,
        "roe_avg2y": 0.24697477399328574,
        "roe_period_end": 0.21952193910095008
      }
    },
    {
      "accn": "0000015615-21-000006",
      "filed": "2021-02-25",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 313949000.0,
        "capex": 180420000.0,
        "cash": 27422000.0,
        "eps_diluted": 3.26,
        "free_cash_flow": 349536000.0,
        "net_income": 259659000.0,
        "operating_cash_flow": 529956000.0,
        "revenue": 6909417000.0,
        "stockholders_equity": 1389898000.0,
        "total_assets": 4440000000.0,
        "total_liabilities": 3047929000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.1929155952451187,
        "net_margin": 0.03758044998586711,
        "revenue_growth_yoy": 0.04577569351676364,
        "roa_avg2y": 0.061048832671102435,
        "roa_period_end": 0.05848175675675676,
        "roe_avg2y": 0.18410981399278264,
        "roe_period_end": 0.18681874497265266
      }
    },
    {
      "accn": "0000015615-20-000005",
      "filed": "2020-02-27",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 1552000.0,
        "capex": 123412000.0,
        "cash": 40326000.0,
        "eps_diluted": 4.22,
        "free_cash_flow": 20684000.0,
        "net_income": 347213000.0,
        "operating_cash_flow": 144096000.0,
        "revenue": 6606978000.0,
        "stockholders_equity": 1430799000.0,
        "total_assets": 4066600000.0,
        "total_liabilities": 2633223000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.8403863855090756,
        "net_margin": 0.0525524680118505,
        "revenue_growth_yoy": 0.28673031332094573,
        "roa_avg2y": 0.09578686014593707,
        "roa_period_end": 0.08538164560074754,
        "roe_avg2y": 0.2747666509715787,
        "roe_period_end": 0.2426707035719203
      }
    },
    {
      "accn": "0000015615-20-000005",
      "filed": "2020-02-27",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 117114000.0,
        "cash": 38767000.0,
        "eps_diluted": 1.61,
        "free_cash_flow": 88479000.0,
        "net_income": 131263000.0,
        "operating_cash_flow": 205593000.0,
        "revenue": 5134703000.0,
        "stockholders_equity": 1096531000.0,
        "total_assets": 3183100000.0,
        "total_liabilities": 2079498000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.89643338856813,
        "net_margin": 0.025563893374164,
        "roa_period_end": 0.041237472903773054,
        "roe_period_end": 0.11970751396905331
      }
    }
  ],
  "latest_filing": {
    "accn": "0000015615-26-000020",
    "filed": "2026-02-26",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "1623",
  "sic_description": "Water, Sewer, Pipeline, Comm & Power Line Construction",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000015615.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000015615.json"
  },
  "ticker": "MTZ"
}
