{
  "cik": 1035983,
  "cik_padded": "0001035983",
  "entityName": "COMFORT SYSTEMS USA INC",
  "fiscal_years": [
    {
      "accn": "0001104659-26-017530",
      "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": 215999000.0,
        "capex": 154903000.0,
        "cash": 981898000.0,
        "cost_of_revenue": 6905742000.0,
        "dividends_paid": 68833000.0,
        "eps_diluted": 28.88,
        "free_cash_flow": 1031453000.0,
        "gross_profit": 2195899000.0,
        "net_income": 1022558000.0,
        "operating_cash_flow": 1186356000.0,
        "operating_income": 1314589000.0,
        "revenue": 9101641000.0,
        "stockholders_equity": 2448774000.0,
        "total_assets": 6441169000.0,
        "total_liabilities": 3992395000.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.2412640753464128,
        "leverage": 1.6303648274605986,
        "net_margin": 0.11234875117574954,
        "operating_margin": 0.14443428388353266,
        "payout_ratio": 0.06731451907862439,
        "revenue_growth_yoy": 0.2951507767511408,
        "roa_avg2y": 0.1833813550028483,
        "roa_period_end": 0.15875348092869476,
        "roe_avg2y": 0.49238970012880856,
        "roe_period_end": 0.41757957247177574
      }
    },
    {
      "accn": "0001104659-26-017530",
      "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": 57912000.0,
        "capex": 111071000.0,
        "cash": 549939000.0,
        "cost_of_revenue": 5551065000.0,
        "dividends_paid": 42766000.0,
        "eps_diluted": 14.6,
        "free_cash_flow": 737986000.0,
        "gross_profit": 1476411000.0,
        "net_income": 522433000.0,
        "operating_cash_flow": 849057000.0,
        "operating_income": 749369000.0,
        "revenue": 7027476000.0,
        "stockholders_equity": 1704676000.0,
        "total_assets": 4711088000.0,
        "total_liabilities": 3006412000.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.21009121909487843,
        "leverage": 1.7636266363813418,
        "net_margin": 0.07434148476636562,
        "operating_margin": 0.10663415997436348,
        "payout_ratio": 0.08185930061845251,
        "revenue_growth_yoy": 0.3496831042721385,
        "roa_avg2y": 0.13033670975730938,
        "roa_period_end": 0.1108943411797869,
        "roe_avg2y": 0.35033168427211353,
        "roe_period_end": 0.3064705551084194
      }
    },
    {
      "accn": "0001558370-25-001222",
      "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": 21184000.0,
        "capex": 94838000.0,
        "cash": 205150000.0,
        "cost_of_revenue": 4216251000.0,
        "dividends_paid": 30379000.0,
        "eps_diluted": 9.01,
        "free_cash_flow": 544730000.0,
        "gross_profit": 990509000.0,
        "net_income": 323398000.0,
        "operating_cash_flow": 639568000.0,
        "operating_income": 418388000.0,
        "revenue": 5206760000.0,
        "stockholders_equity": 1277829000.0,
        "total_assets": 3305579000.0,
        "total_liabilities": 2027750000.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.19023519424747828,
        "leverage": 1.5868711697731073,
        "net_margin": 0.06211117854481482,
        "operating_margin": 0.08035476956879134,
        "payout_ratio": 0.09393688272654747,
        "revenue_growth_yoy": 0.2575609294255288,
        "roa_avg2y": 0.10956966873265835,
        "roa_period_end": 0.09783399519418534,
        "roe_avg2y": 0.28396243313582864,
        "roe_period_end": 0.2530839415915588
      }
    },
    {
      "accn": "0001558370-25-001222",
      "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": 38216000.0,
        "capex": 48359000.0,
        "cash": 57214000.0,
        "cost_of_revenue": 3398756000.0,
        "dividends_paid": 20077000.0,
        "eps_diluted": 6.82,
        "free_cash_flow": 253172000.0,
        "gross_profit": 741608000.0,
        "net_income": 245947000.0,
        "operating_cash_flow": 301531000.0,
        "operating_income": 253849000.0,
        "revenue": 4140364000.0,
        "stockholders_equity": 999923000.0,
        "total_assets": 2597478000.0,
        "total_liabilities": 1597555000.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.17911661873207282,
        "leverage": 1.597678021207633,
        "net_margin": 0.059402265114854635,
        "operating_margin": 0.061310792964096875,
        "payout_ratio": 0.08163140839286513,
        "revenue_growth_yoy": 0.3470573613791614,
        "roa_avg2y": 0.10233737334061223,
        "roa_period_end": 0.09468684624085362,
        "roe_avg2y": 0.2724285537849422,
        "roe_period_end": 0.24596593937733202
      }
    },
    {
      "accn": "0001558370-25-001222",
      "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": 27054000.0,
        "capex": 22330000.0,
        "cash": 58776000.0,
        "cost_of_revenue": 2510429000.0,
        "dividends_paid": 17384000.0,
        "eps_diluted": 3.93,
        "free_cash_flow": 157821000.0,
        "gross_profit": 563207000.0,
        "net_income": 143348000.0,
        "operating_cash_flow": 180151000.0,
        "operating_income": 188438000.0,
        "revenue": 3073636000.0,
        "stockholders_equity": 805666000.0,
        "total_assets": 2209114000.0,
        "total_liabilities": 1403448000.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.18323802818551058,
        "leverage": 1.74197247991103,
        "net_margin": 0.0466379232934544,
        "operating_margin": 0.061307845170996175,
        "payout_ratio": 0.12127131177274883,
        "revenue_growth_yoy": 0.07595481294757267,
        "roa_avg2y": 0.07227990436834374,
        "roa_period_end": 0.06488936288484885,
        "roe_avg2y": 0.19086409314990063,
        "roe_period_end": 0.17792484726921579
      }
    },
    {
      "accn": "0001558370-24-001529",
      "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": 30120000.0,
        "capex": 24131000.0,
        "cash": 54896000.0,
        "cost_of_revenue": 2309676000.0,
        "dividends_paid": 15499000.0,
        "eps_diluted": 4.09,
        "free_cash_flow": 262379000.0,
        "gross_profit": 546983000.0,
        "net_income": 150139000.0,
        "operating_cash_flow": 286510000.0,
        "operating_income": 190651000.0,
        "revenue": 2856659000.0,
        "stockholders_equity": 696429000.0,
        "total_assets": 1757355000.0,
        "total_liabilities": 1060926000.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.19147647654130226,
        "leverage": 1.5233799856123165,
        "net_margin": 0.05255755062119769,
        "operating_margin": 0.06673915227543785,
        "payout_ratio": 0.1032310059345007,
        "revenue_growth_yoy": 0.09229691539366576,
        "roa_avg2y": 0.0920429859669375,
        "roa_period_end": 0.08543464467907738,
        "roe_avg2y": 0.23427500111177602,
        "roe_period_end": 0.2155840724610836
      }
    },
    {
      "accn": "0001558370-23-001757",
      "filed": "2023-02-22",
      "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": 19550000.0,
        "capex": 31750000.0,
        "cash": 50788000.0,
        "cost_of_revenue": 2113334000.0,
        "dividends_paid": 14543000.0,
        "eps_diluted": 3.08,
        "free_cash_flow": 110278000.0,
        "gross_profit": 501943000.0,
        "net_income": 114324000.0,
        "operating_cash_flow": 142028000.0,
        "operating_income": 163639000.0,
        "revenue": 2615277000.0,
        "stockholders_equity": 585304000.0,
        "total_assets": 1505012000.0,
        "total_liabilities": 919708000.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.19192727959600456,
        "leverage": 1.5713338709456965,
        "net_margin": 0.043713916346146124,
        "operating_margin": 0.06257042753023867,
        "payout_ratio": 0.12720863510723907,
        "revenue_growth_yoy": 0.19808610555143003,
        "roa_avg2y": 0.08905208648156861,
        "roa_period_end": 0.07596218501912277,
        "roe_avg2y": 0.21105625046730006,
        "roe_period_end": 0.19532413925071418
      }
    },
    {
      "accn": "0001558370-22-001753",
      "filed": "2022-02-23",
      "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": 28533000.0,
        "capex": 27268000.0,
        "cash": 45620000.0,
        "cost_of_revenue": 1736600000.0,
        "dividends_paid": 12268000.0,
        "eps_diluted": 3.0,
        "free_cash_flow": 119922000.0,
        "gross_profit": 446279000.0,
        "net_income": 112903000.0,
        "operating_cash_flow": 147190000.0,
        "operating_income": 150238000.0,
        "revenue": 2182879000.0,
        "stockholders_equity": 498047000.0,
        "total_assets": 1062564000.0,
        "total_liabilities": 564517000.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.2044451387365035,
        "leverage": 1.133461299837164,
        "net_margin": 0.051722060636434725,
        "operating_margin": 0.06882561974346722,
        "payout_ratio": 0.10865964589072036,
        "revenue_growth_yoy": 0.22090281343369567,
        "roa_avg2y": 0.11617423408331808,
        "roa_period_end": 0.10625524674278443,
        "roe_avg2y": 0.24651525340832672,
        "roe_period_end": 0.22669145683037947
      }
    },
    {
      "accn": "0001558370-21-001828",
      "filed": "2021-02-25",
      "fiscal_year": 2017,
      "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": 9007000.0,
        "capex": 35467000.0,
        "cash": 36542000.0,
        "cost_of_revenue": 1421641000.0,
        "dividends_paid": 10987000.0,
        "eps_diluted": 1.47,
        "free_cash_flow": 78623000.0,
        "gross_profit": 366281000.0,
        "net_income": 55272000.0,
        "operating_cash_flow": 114090000.0,
        "operating_income": 99260000.0,
        "revenue": 1787922000.0,
        "stockholders_equity": 417945000.0,
        "total_assets": 881120000.0,
        "total_liabilities": 463175000.0
      },
      "period_end": "2017-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.20486408243760074,
        "leverage": 1.1082199810979914,
        "net_margin": 0.030914100279542396,
        "operating_margin": 0.055516963267972536,
        "payout_ratio": 0.19878057606021132,
        "revenue_growth_yoy": 0.09397187855648152,
        "roa_avg2y": 0.06952352261571058,
        "roa_period_end": 0.06272925367713819,
        "roe_avg2y": 0.13912290549197184,
        "roe_period_end": 0.13224706600150737
      }
    },
    {
      "accn": "0001558370-20-001491",
      "filed": "2020-02-26",
      "fiscal_year": 2016,
      "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": 13088000.0,
        "capex": 23217000.0,
        "cash": 32074000.0,
        "cost_of_revenue": 1290331000.0,
        "dividends_paid": 10264000.0,
        "eps_diluted": 1.72,
        "free_cash_flow": 67971000.0,
        "gross_profit": 344009000.0,
        "net_income": 64896000.0,
        "operating_cash_flow": 91188000.0,
        "operating_income": 101569000.0,
        "revenue": 1634340000.0,
        "stockholders_equity": 376633000.0,
        "total_assets": 708903000.0,
        "total_liabilities": 332270000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.2104880257473965,
        "leverage": 0.8822115959037047,
        "net_margin": 0.039707771944638204,
        "operating_margin": 0.06214679931960302,
        "payout_ratio": 0.15816074950690334,
        "roa_period_end": 0.09154425922869561,
        "roe_period_end": 0.17230566625866559
      }
    }
  ],
  "latest_filing": {
    "accn": "0001104659-26-017530",
    "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/CIK0001035983.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001035983.json"
  },
  "ticker": "FIX"
}
