{
  "cik": 1050915,
  "cik_padded": "0001050915",
  "entityName": "QUANTA SERVICES, INC.",
  "fiscal_years": [
    {
      "accn": "0001050915-26-000006",
      "filed": "2026-02-19",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 134555000.0,
        "capex": 609154000.0,
        "cash": 439508000.0,
        "cost_of_revenue": 24204616000.0,
        "dividends_paid": 60416000.0,
        "eps_diluted": 6.8,
        "free_cash_flow": 1620816000.0,
        "gross_profit": 4275081000.0,
        "net_income": 1028378000.0,
        "operating_cash_flow": 2229970000.0,
        "operating_income": 1611509000.0,
        "revenue": 28479697000.0,
        "stockholders_equity": 8938249000.0,
        "total_assets": 24926901000.0,
        "total_liabilities": 15899027000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.1501097782044521,
        "leverage": 1.7787630440816764,
        "net_margin": 0.036109162256887775,
        "operating_margin": 0.05658448543184993,
        "payout_ratio": 0.058748825820855756,
        "revenue_growth_yoy": 0.20305595515865363,
        "roa_avg2y": 0.04716162592312293,
        "roa_period_end": 0.04125575016324732,
        "roe_avg2y": 0.1265230395214561,
        "roe_period_end": 0.11505363075027335
      }
    },
    {
      "accn": "0001050915-26-000006",
      "filed": "2026-02-19",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 604078000.0,
        "cash": 741960000.0,
        "cost_of_revenue": 20162034000.0,
        "dividends_paid": 54196000.0,
        "eps_diluted": 6.03,
        "free_cash_flow": 1477118000.0,
        "gross_profit": 3510761000.0,
        "net_income": 904824000.0,
        "operating_cash_flow": 2081196000.0,
        "operating_income": 1346468000.0,
        "revenue": 23672795000.0,
        "stockholders_equity": 7317731000.0,
        "total_assets": 18683894000.0,
        "total_liabilities": 11354177000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.1483036118041828,
        "leverage": 1.551598029498488,
        "net_margin": 0.03822210262877704,
        "operating_margin": 0.05687828581289197,
        "payout_ratio": 0.05989673129802039,
        "revenue_growth_yoy": 0.13363477977374613,
        "roa_avg2y": 0.05182101982470837,
        "roa_period_end": 0.04842802041159086,
        "roe_avg2y": 0.13316053925644586,
        "roe_period_end": 0.1236481636179302
      }
    },
    {
      "accn": "0001050915-26-000006",
      "filed": "2026-02-19",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 350000.0,
        "capex": 434803000.0,
        "cash": 1290248000.0,
        "cost_of_revenue": 17945120000.0,
        "dividends_paid": 47752000.0,
        "eps_diluted": 5.0,
        "free_cash_flow": 1141149000.0,
        "gross_profit": 2937086000.0,
        "net_income": 744689000.0,
        "operating_cash_flow": 1575952000.0,
        "operating_income": 1127976000.0,
        "revenue": 20882206000.0,
        "stockholders_equity": 6272241000.0,
        "total_assets": 16237225000.0,
        "total_liabilities": 9953870000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.14065017843421332,
        "leverage": 1.5869718653986669,
        "net_margin": 0.03566141431609285,
        "operating_margin": 0.05401613220365703,
        "payout_ratio": 0.06412341259237077,
        "revenue_growth_yoy": 0.22304818060639092,
        "roa_avg2y": 0.05014477016393953,
        "roa_period_end": 0.045863070814132344,
        "roe_avg2y": 0.1277810308342567,
        "roe_period_end": 0.11872774021278838
      }
    },
    {
      "accn": "0001050915-26-000006",
      "filed": "2026-02-19",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 127762000.0,
        "capex": 427630000.0,
        "cash": 428505000.0,
        "cost_of_revenue": 14544748000.0,
        "dividends_paid": 41058000.0,
        "eps_diluted": 3.32,
        "free_cash_flow": 702682000.0,
        "gross_profit": 2529155000.0,
        "net_income": 491189000.0,
        "operating_cash_flow": 1130312000.0,
        "operating_income": 872058000.0,
        "revenue": 17073903000.0,
        "stockholders_equity": 5383464000.0,
        "total_assets": 13464337000.0,
        "total_liabilities": 8065518000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.14812986813852697,
        "leverage": 1.4982022727374047,
        "net_margin": 0.02876840755157154,
        "operating_margin": 0.051075492229281136,
        "payout_ratio": 0.08358900545411237,
        "revenue_growth_yoy": 0.3153792622663434,
        "roa_avg2y": 0.03732506428877177,
        "roa_period_end": 0.03648074168078235,
        "roe_avg2y": 0.09359756053989395,
        "roe_period_end": 0.09124032407386769
      }
    },
    {
      "accn": "0001050915-25-000005",
      "filed": "2025-02-20",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 66687000.0,
        "capex": 385852000.0,
        "cash": 229097000.0,
        "cost_of_revenue": 11026954000.0,
        "dividends_paid": 34022000.0,
        "eps_diluted": 3.34,
        "free_cash_flow": 196538000.0,
        "gross_profit": 1953259000.0,
        "net_income": 485956000.0,
        "operating_cash_flow": 582390000.0,
        "operating_income": 663521000.0,
        "revenue": 12980213000.0,
        "stockholders_equity": 5112301000.0,
        "total_assets": 12855189000.0,
        "total_liabilities": 7738268000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.1504797340382627,
        "leverage": 1.5136565706909668,
        "net_margin": 0.03743821461173249,
        "operating_margin": 0.051117882272039755,
        "payout_ratio": 0.07001045362131551,
        "revenue_growth_yoy": 0.15867116345100526,
        "roa_avg2y": 0.04572958728933608,
        "roa_period_end": 0.03780232247071591,
        "roe_avg2y": 0.10277733305049383,
        "roe_period_end": 0.09505621832517296
      }
    },
    {
      "accn": "0001050915-24-000009",
      "filed": "2024-02-22",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 247249000.0,
        "capex": 260052000.0,
        "cash": 184620000.0,
        "cost_of_revenue": 9541825000.0,
        "dividends_paid": 28891000.0,
        "eps_diluted": 3.07,
        "free_cash_flow": 855925000.0,
        "gross_profit": 1660847000.0,
        "net_income": 445596000.0,
        "operating_cash_flow": 1115977000.0,
        "operating_income": 611371000.0,
        "revenue": 11202672000.0,
        "stockholders_equity": 4344181000.0,
        "total_assets": 8398272000.0,
        "total_liabilities": 4049300000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.14825454141654776,
        "leverage": 0.9321204618315857,
        "net_margin": 0.039775867757263626,
        "operating_margin": 0.05457367670855667,
        "payout_ratio": 0.06483675796012532,
        "revenue_growth_yoy": -0.07508830180728397,
        "roa_avg2y": 0.05326924389630719,
        "roa_period_end": 0.05305805765757527,
        "roe_avg2y": 0.10616413919015524,
        "roe_period_end": 0.10257307418820717
      }
    },
    {
      "accn": "0001050915-23-000010",
      "filed": "2023-02-23",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 20092000.0,
        "capex": 261762000.0,
        "cash": 164798000.0,
        "cost_of_revenue": 10511901000.0,
        "dividends_paid": 23236000.0,
        "eps_diluted": 2.73,
        "free_cash_flow": 264789000.0,
        "gross_profit": 1600252000.0,
        "net_income": 402044000.0,
        "operating_cash_flow": 526551000.0,
        "operating_income": 554874000.0,
        "revenue": 12112153000.0,
        "stockholders_equity": 4050292000.0,
        "total_assets": 8331682000.0,
        "total_liabilities": 4277851000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.13211953316639907,
        "leverage": 1.0561833566567547,
        "net_margin": 0.033193438028730315,
        "operating_margin": 0.04581134336727748,
        "payout_ratio": 0.057794669240182665,
        "revenue_growth_yoy": 0.08420860977155731,
        "roa_avg2y": 0.05218819521882536,
        "roa_period_end": 0.048254842179526296,
        "roe_avg2y": 0.10504842215333275,
        "roe_period_end": 0.09926296671943652
      }
    },
    {
      "accn": "0001050915-22-000008",
      "filed": "2022-02-25",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 443152000.0,
        "capex": 293595000.0,
        "cash": 78687000.0,
        "cost_of_revenue": 9691459000.0,
        "dividends_paid": 0.0,
        "eps_diluted": 1.9,
        "free_cash_flow": 65194000.0,
        "gross_profit": 1479964000.0,
        "net_income": 293346000.0,
        "operating_cash_flow": 358789000.0,
        "operating_income": 540269000.0,
        "revenue": 11171423000.0,
        "stockholders_equity": 3604159000.0,
        "total_assets": 7075787000.0,
        "total_liabilities": 3470334000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.1324776619773506,
        "leverage": 0.962869285178595,
        "net_margin": 0.02625860644610807,
        "operating_margin": 0.04836169931082191,
        "payout_ratio": 0.0,
        "revenue_growth_yoy": 0.1801034133285896,
        "roa_avg2y": 0.04327932675422533,
        "roa_period_end": 0.04145772053341911,
        "roe_avg2y": 0.0793284773781628,
        "roe_period_end": 0.08139097082009977
      }
    },
    {
      "accn": "0001050915-21-000009",
      "filed": "2021-03-01",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 50000000.0,
        "capex": 244651000.0,
        "cash": 138285000.0,
        "cost_of_revenue": 8224618000.0,
        "eps_diluted": 2.0,
        "free_cash_flow": 127240000.0,
        "gross_profit": 1241860000.0,
        "net_income": 314978000.0,
        "operating_cash_flow": 371891000.0,
        "operating_income": 378849000.0,
        "revenue": 9466478000.0,
        "stockholders_equity": 3791571000.0,
        "total_assets": 6480154000.0,
        "total_liabilities": 2684525000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.13118500882799283,
        "leverage": 0.708024457408288,
        "net_margin": 0.03327298706023507,
        "operating_margin": 0.04002005814622925,
        "revenue_growth_yoy": 0.23723478265642825,
        "roa_avg2y": 0.05323176116569813,
        "roa_period_end": 0.04860656089346025,
        "roe_avg2y": 0.08834050998191277,
        "roe_period_end": 0.08307321688028522
      }
    },
    {
      "accn": "0001050915-20-000020",
      "filed": "2020-02-28",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "gross_profit": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 212555000.0,
        "cash": 112183000.0,
        "cost_of_revenue": 6637519000.0,
        "eps_diluted": 1.26,
        "gross_profit": 1013800000.0,
        "operating_income": 320813000.0,
        "revenue": 7651319000.0,
        "stockholders_equity": 3339427000.0,
        "total_assets": 5354059000.0,
        "total_liabilities": 2011357000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "operating_margin": "ratio"
      },
      "ratios": {
        "gross_margin": 0.1325000303869176,
        "leverage": 0.6023060243568732,
        "operating_margin": 0.0419291105232967
      }
    },
    {
      "accn": "0001193125-12-088822",
      "filed": "2012-02-29",
      "fiscal_year": 2011,
      "form": "10-K",
      "fundamental_units": {
        "operating_cash_flow": "USD"
      },
      "fundamentals": {
        "operating_cash_flow": 218030000.0
      },
      "period_end": "2011-12-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0001050915-26-000006",
    "filed": "2026-02-19",
    "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": "1731",
  "sic_description": "Electrical Work",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001050915.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001050915.json"
  },
  "ticker": "PWR"
}
