{
  "cik": 1633931,
  "cik_padded": "0001633931",
  "entityName": "TopBuild Corp",
  "fiscal_years": [
    {
      "accn": "0001104659-26-020481",
      "filed": "2026-02-26",
      "fiscal_year": 2025,
      "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": 434151000.0,
        "capex": 59431000.0,
        "cash": 184742000.0,
        "cost_of_revenue": 3840089000.0,
        "eps_diluted": 18.28,
        "free_cash_flow": 696888000.0,
        "gross_profit": 1568997000.0,
        "net_income": 521727000.0,
        "operating_cash_flow": 756319000.0,
        "operating_income": 791933000.0,
        "revenue": 5409086000.0,
        "stockholders_equity": 2316160000.0,
        "total_assets": 6605312000.0,
        "total_liabilities": 4289152000.0
      },
      "period_end": "2025-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.29006693552293306,
        "leverage": 1.8518375241779497,
        "net_margin": 0.0964538186303564,
        "operating_margin": 0.14640791438701473,
        "revenue_growth_yoy": 0.014875409091105244,
        "roa_avg2y": 0.09200935600487375,
        "roa_period_end": 0.07898597371327803,
        "roe_avg2y": 0.23055792838270017,
        "roe_period_end": 0.22525516371925947
      }
    },
    {
      "accn": "0001104659-26-020481",
      "filed": "2026-02-26",
      "fiscal_year": 2024,
      "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": 966352000.0,
        "capex": 69349000.0,
        "cash": 400318000.0,
        "cost_of_revenue": 3704885000.0,
        "eps_diluted": 20.29,
        "free_cash_flow": 706677000.0,
        "gross_profit": 1624918000.0,
        "net_income": 622602000.0,
        "operating_cash_flow": 776026000.0,
        "operating_income": 886343000.0,
        "revenue": 5329803000.0,
        "stockholders_equity": 2209618000.0,
        "total_assets": 4735426000.0,
        "total_liabilities": 2525808000.0
      },
      "period_end": "2024-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.3048739324886867,
        "leverage": 1.1430971326265444,
        "net_margin": 0.11681519936102705,
        "operating_margin": 0.16629939230399324,
        "revenue_growth_yoy": 0.02600903922348458,
        "roa_avg2y": 0.12580007611425706,
        "roa_period_end": 0.1314775059308286,
        "roe_avg2y": 0.2608700570866154,
        "roe_period_end": 0.2817690659652483
      }
    },
    {
      "accn": "0001558370-25-001495",
      "filed": "2026-02-26",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "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": {
        "capex": 63998000.0,
        "cash": 848565000.0,
        "cost_of_revenue": 3590874000.0,
        "eps_diluted": 19.33,
        "free_cash_flow": 785411000.0,
        "gross_profit": 1603820000.0,
        "net_income": 614254000.0,
        "operating_cash_flow": 849409000.0,
        "operating_income": 878825000.0,
        "revenue": 5194694000.0,
        "stockholders_equity": 2563655000.0,
        "total_assets": 5162851000.0,
        "total_liabilities": 2599196000.0
      },
      "period_end": "2023-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.3087419586216243,
        "leverage": 1.0138634098581907,
        "net_margin": 0.11824642606474992,
        "operating_margin": 0.16917743374296926,
        "revenue_growth_yoy": 0.037125075667672376,
        "roa_avg2y": 0.12574697927731937,
        "roa_period_end": 0.11897573646808711,
        "roe_avg2y": 0.27340514149653233,
        "roe_period_end": 0.23960088233401136
      }
    },
    {
      "accn": "0001558370-25-001495",
      "filed": "2026-02-26",
      "fiscal_year": 2022,
      "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": 250050000.0,
        "capex": 76382000.0,
        "cash": 240069000.0,
        "cost_of_revenue": 3522025000.0,
        "eps_diluted": 17.14,
        "free_cash_flow": 419419000.0,
        "gross_profit": 1486719000.0,
        "net_income": 555989000.0,
        "operating_cash_flow": 495801000.0,
        "operating_income": 797164000.0,
        "revenue": 5008744000.0,
        "stockholders_equity": 1929706000.0,
        "total_assets": 4606831000.0,
        "total_liabilities": 2677125000.0
      },
      "period_end": "2022-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.296824712942007,
        "leverage": 1.3873227320638482,
        "net_margin": 0.11100367677006451,
        "operating_margin": 0.15915447066170682,
        "revenue_growth_yoy": 0.4367316685440652,
        "roa_avg2y": 0.1254295228361259,
        "roa_period_end": 0.12068795230387223,
        "roe_avg2y": 0.31181557650568964,
        "roe_period_end": 0.2881210920212716
      }
    },
    {
      "accn": "0001558370-25-001495",
      "filed": "2025-02-25",
      "fiscal_year": 2021,
      "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": 35556000.0,
        "capex": 55546000.0,
        "cash": 139779000.0,
        "cost_of_revenue": 2511818000.0,
        "eps_diluted": 9.78,
        "free_cash_flow": 347479000.0,
        "gross_profit": 974389000.0,
        "net_income": 324016000.0,
        "operating_cash_flow": 403025000.0,
        "operating_income": 476419000.0,
        "revenue": 3486207000.0,
        "stockholders_equity": 1636434000.0,
        "total_assets": 4258530000.0,
        "total_liabilities": 2622096000.0
      },
      "period_end": "2021-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.2794983200940162,
        "leverage": 1.6023231001066953,
        "net_margin": 0.09294227221734108,
        "operating_margin": 0.1366582649854125,
        "revenue_growth_yoy": 0.28261893321579756,
        "roa_avg2y": 0.09160999873759738,
        "roa_period_end": 0.07608634904532785,
        "roe_avg2y": 0.2170795664518757,
        "roe_period_end": 0.19800126372343768
      }
    },
    {
      "accn": "0001558370-24-001999",
      "filed": "2024-02-28",
      "fiscal_year": 2020,
      "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": 49151000.0,
        "capex": 40938000.0,
        "cash": 330007000.0,
        "cost_of_revenue": 1971677000.0,
        "eps_diluted": 7.42,
        "free_cash_flow": 316946000.0,
        "gross_profit": 746361000.0,
        "net_income": 247023000.0,
        "operating_cash_flow": 357884000.0,
        "operating_income": 355046000.0,
        "revenue": 2718038000.0,
        "stockholders_equity": 1348794000.0,
        "total_assets": 2815283000.0,
        "total_liabilities": 1466489000.0
      },
      "period_end": "2020-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.2745954986648457,
        "leverage": 1.0872594332418442,
        "net_margin": 0.09088283533931461,
        "operating_margin": 0.13062584113982217,
        "revenue_growth_yoy": 0.0357898892619662,
        "roa_avg2y": 0.09116508089870805,
        "roa_period_end": 0.08774357675587144,
        "roe_avg2y": 0.19748545279317964,
        "roe_period_end": 0.18314360829007245
      }
    },
    {
      "accn": "0001558370-23-001903",
      "filed": "2023-02-23",
      "fiscal_year": 2019,
      "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": 110911000.0,
        "capex": 45536000.0,
        "cash": 184807000.0,
        "cost_of_revenue": 1942854000.0,
        "eps_diluted": 5.56,
        "free_cash_flow": 226241000.0,
        "gross_profit": 681267000.0,
        "net_income": 190995000.0,
        "operating_cash_flow": 271777000.0,
        "operating_income": 289523000.0,
        "revenue": 2624121000.0,
        "stockholders_equity": 1152889000.0,
        "total_assets": 2603963000.0,
        "total_liabilities": 1451074000.0
      },
      "period_end": "2019-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.25961722039494367,
        "leverage": 1.2586415517885936,
        "net_margin": 0.07278437236697545,
        "operating_margin": 0.11033142145503198,
        "revenue_growth_yoy": 0.10060694164074306,
        "roa_avg2y": 0.075514570146767,
        "roa_period_end": 0.07334781638602392,
        "roe_avg2y": 0.17168190196167438,
        "roe_period_end": 0.1656664258224339
      }
    },
    {
      "accn": "0001558370-22-001590",
      "filed": "2022-02-22",
      "fiscal_year": 2018,
      "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": 65025000.0,
        "capex": 52504000.0,
        "cash": 100929000.0,
        "cost_of_revenue": 1808097000.0,
        "eps_diluted": 3.78,
        "free_cash_flow": 114668000.0,
        "gross_profit": 576152000.0,
        "net_income": 134752000.0,
        "operating_cash_flow": 167172000.0,
        "operating_income": 208953000.0,
        "revenue": 2384249000.0,
        "stockholders_equity": 1072098000.0,
        "total_assets": 2454531000.0,
        "total_liabilities": 1382433000.0
      },
      "period_end": "2018-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.2416492572713672,
        "leverage": 1.2894651421791665,
        "net_margin": 0.0565175868795583,
        "operating_margin": 0.08763891690842693,
        "revenue_growth_yoy": 0.2507430757302496,
        "roa_avg2y": 0.06410534528362924,
        "roa_period_end": 0.05489928625875982,
        "roe_avg2y": 0.1302822127053969,
        "roe_period_end": 0.1256900022199463
      }
    },
    {
      "accn": "0001558370-21-001466",
      "filed": "2021-02-23",
      "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": 139286000.0,
        "capex": 25308000.0,
        "cash": 56521000.0,
        "cost_of_revenue": 1445157000.0,
        "eps_diluted": 4.32,
        "free_cash_flow": 87884000.0,
        "gross_profit": 461109000.0,
        "net_income": 158133000.0,
        "operating_cash_flow": 113192000.0,
        "operating_income": 136864000.0,
        "revenue": 1906266000.0,
        "stockholders_equity": 996519000.0,
        "total_assets": 1749549000.0,
        "total_liabilities": 753030000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.2418912156016002,
        "leverage": 0.7556604540405151,
        "net_margin": 0.08295432012111636,
        "operating_margin": 0.07179690557351387,
        "roa_avg2y": 0.09194666461995751,
        "roa_period_end": 0.09038500779343706,
        "roe_avg2y": 0.1606172672729101,
        "roe_period_end": 0.1586853838210812
      }
    },
    {
      "accn": "0001558370-20-001326",
      "filed": "2020-02-25",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 22296000.0,
        "capex": 14156000.0,
        "cash": 134375000.0,
        "eps_diluted": 1.92,
        "free_cash_flow": 62629000.0,
        "gross_profit": 400344000.0,
        "net_income": 72606000.0,
        "operating_cash_flow": 76785000.0,
        "operating_income": 121604000.0,
        "stockholders_equity": 972547000.0,
        "total_assets": 1690119000.0,
        "total_liabilities": 717572000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.7378275805693709,
        "roa_period_end": 0.04295910524643531,
        "roe_period_end": 0.07465551793383765
      }
    }
  ],
  "latest_filing": {
    "accn": "0001104659-26-020481",
    "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": "1700",
  "sic_description": "Construction - Special Trade Contractors",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001633931.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001633931.json"
  },
  "ticker": "BLD"
}
