{
  "cik": 1316835,
  "cik_padded": "0001316835",
  "entityName": "Builders FirstSource, Inc.",
  "fiscal_years": [
    {
      "accn": "0001193125-26-054643",
      "filed": "2026-02-17",
      "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": 413958000.0,
        "capex": 362602000.0,
        "cash": 181753000.0,
        "cost_of_revenue": 10574861000.0,
        "eps_diluted": 3.89,
        "free_cash_flow": 853284000.0,
        "gross_profit": 4615777000.0,
        "net_income": 435199000.0,
        "operating_cash_flow": 1215886000.0,
        "operating_income": 786276000.0,
        "revenue": 15190638000.0,
        "stockholders_equity": 4352251000.0,
        "total_assets": 11237530000.0,
        "total_liabilities": 6885279000.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.30385669120678144,
        "leverage": 1.5820041169500565,
        "net_margin": 0.028649158777926245,
        "operating_margin": 0.05176056463197924,
        "revenue_growth_yoy": -0.07376937228468512,
        "roa_avg2y": 0.039888791407172004,
        "roa_period_end": 0.038727282596798404,
        "roe_avg2y": 0.10063892684247763,
        "roe_period_end": 0.09999400310322176
      }
    },
    {
      "accn": "0001193125-26-054643",
      "filed": "2026-02-17",
      "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": 1517131000.0,
        "capex": 380569000.0,
        "cash": 153624000.0,
        "cost_of_revenue": 11017448000.0,
        "eps_diluted": 9.06,
        "free_cash_flow": 1492123000.0,
        "gross_profit": 5383044000.0,
        "net_income": 1077898000.0,
        "operating_cash_flow": 1872692000.0,
        "operating_income": 1595249000.0,
        "revenue": 16400492000.0,
        "stockholders_equity": 4296470000.0,
        "total_assets": 10583086000.0,
        "total_liabilities": 6286616000.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.3282245435075972,
        "leverage": 1.4632049100773425,
        "net_margin": 0.06572351609939507,
        "operating_margin": 0.09726836243693177,
        "revenue_growth_yoy": -0.04075712406557047,
        "roa_avg2y": 0.10225505107591885,
        "roa_period_end": 0.10185101018738768,
        "roe_avg2y": 0.238768273288395,
        "roe_period_end": 0.2508799083899108
      }
    },
    {
      "accn": "0001193125-26-054643",
      "filed": "2026-02-17",
      "fiscal_year": 2023,
      "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": 1811517000.0,
        "capex": 476335000.0,
        "cash": 66156000.0,
        "cost_of_revenue": 11084996000.0,
        "eps_diluted": 11.94,
        "free_cash_flow": 1830537000.0,
        "gross_profit": 6012334000.0,
        "net_income": 1540555000.0,
        "operating_cash_flow": 2306872000.0,
        "operating_income": 2176319000.0,
        "revenue": 17097330000.0,
        "stockholders_equity": 4732351000.0,
        "total_assets": 10499452000.0,
        "total_liabilities": 5767101000.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.35165338681536823,
        "leverage": 1.2186545334443704,
        "net_margin": 0.09010500469956421,
        "operating_margin": 0.12728999206308822,
        "revenue_growth_yoy": -0.24768918709494828,
        "roa_avg2y": 0.1460614682080903,
        "roa_period_end": 0.1467271815710001,
        "roe_avg2y": 0.3178067434718626,
        "roe_period_end": 0.3255369265720146
      }
    },
    {
      "accn": "0001193125-26-054643",
      "filed": "2026-02-17",
      "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": 2593389000.0,
        "capex": 340152000.0,
        "cash": 80445000.0,
        "cost_of_revenue": 14982039000.0,
        "eps_diluted": 16.82,
        "free_cash_flow": 3259079000.0,
        "gross_profit": 7744379000.0,
        "net_income": 2749369000.0,
        "operating_cash_flow": 3599231000.0,
        "operating_income": 3770206000.0,
        "revenue": 22726418000.0,
        "stockholders_equity": 4962566000.0,
        "total_assets": 10595160000.0,
        "total_liabilities": 5632594000.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.34076549150860463,
        "leverage": 1.1350164410911614,
        "net_margin": 0.12097678569495642,
        "operating_margin": 0.16589530299055488,
        "revenue_growth_yoy": 0.1423837590862224,
        "roa_avg2y": 0.25804158829983037,
        "roa_period_end": 0.2594929194084846,
        "roe_avg2y": 0.563104099754973,
        "roe_period_end": 0.5540216492838584
      }
    },
    {
      "accn": "0000950170-25-023953",
      "filed": "2025-02-20",
      "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": 1714761000.0,
        "capex": 227891000.0,
        "cash": 42603000.0,
        "cost_of_revenue": 14042900000.0,
        "eps_diluted": 8.48,
        "free_cash_flow": 1515658000.0,
        "gross_profit": 5850956000.0,
        "net_income": 1725416000.0,
        "operating_cash_flow": 1743549000.0,
        "operating_income": 2387424000.0,
        "revenue": 19893856000.0,
        "stockholders_equity": 4802481000.0,
        "total_assets": 10714343000.0,
        "total_liabilities": 5911862000.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.29410869365898695,
        "leverage": 1.2310016426926,
        "net_margin": 0.0867310992901527,
        "operating_margin": 0.1200081070256063,
        "revenue_growth_yoy": 1.3243543484808866,
        "roa_avg2y": 0.23178591852479452,
        "roa_period_end": 0.16103796565034365,
        "roe_avg2y": 0.5794591138193034,
        "roe_period_end": 0.3592759659017911
      }
    },
    {
      "accn": "0001564590-22-007980",
      "filed": "2024-02-22",
      "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": 4153000.0,
        "capex": 112082000.0,
        "cash": 423806000.0,
        "cost_of_revenue": 6336290000.0,
        "eps_diluted": 2.66,
        "free_cash_flow": 147985000.0,
        "gross_profit": 2222584000.0,
        "net_income": 313537000.0,
        "operating_cash_flow": 260067000.0,
        "operating_income": 543854000.0,
        "revenue": 8558874000.0,
        "stockholders_equity": 1152783000.0,
        "total_assets": 4173671000.0,
        "total_liabilities": 3020888000.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.2596818226322762,
        "leverage": 2.6205174781376894,
        "net_margin": 0.03663297298219369,
        "operating_margin": 0.06354270433236896,
        "revenue_growth_yoy": 0.17559990610446002,
        "roa_avg2y": 0.0844753333519238,
        "roa_period_end": 0.07512259591136915,
        "roe_avg2y": 0.31706658522674414,
        "roe_period_end": 0.27198267150018696
      }
    },
    {
      "accn": "0001564590-22-007980",
      "filed": "2023-02-28",
      "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": 10392000.0,
        "capex": 112870000.0,
        "cash": 14096000.0,
        "cost_of_revenue": 5303602000.0,
        "eps_diluted": 1.9,
        "free_cash_flow": 391176000.0,
        "gross_profit": 1976829000.0,
        "net_income": 221809000.0,
        "operating_cash_flow": 504046000.0,
        "operating_income": 392306000.0,
        "revenue": 7280431000.0,
        "stockholders_equity": 824953000.0,
        "total_assets": 3249490000.0,
        "total_liabilities": 2424537000.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.2715263697987111,
        "leverage": 2.939000161221306,
        "net_margin": 0.030466465515571813,
        "operating_margin": 0.05388499664374266,
        "revenue_growth_yoy": -0.057521446266821374,
        "roa_avg2y": 0.07176195796725193,
        "roa_period_end": 0.0682596345888124,
        "roe_avg2y": 0.3121232738404732,
        "roe_period_end": 0.26887471165023946
      }
    },
    {
      "accn": "0001564590-22-007980",
      "filed": "2022-03-01",
      "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": 4895000.0,
        "capex": 101411000.0,
        "cash": 10127000.0,
        "cost_of_revenue": 5801831000.0,
        "eps_diluted": 1.76,
        "free_cash_flow": 181419000.0,
        "gross_profit": 1922940000.0,
        "net_income": 205191000.0,
        "operating_cash_flow": 282830000.0,
        "operating_income": 368968000.0,
        "revenue": 7724771000.0,
        "stockholders_equity": 596338000.0,
        "total_assets": 2932309000.0,
        "total_liabilities": 2335971000.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.24893165117775012,
        "leverage": 3.9171929342084524,
        "net_margin": 0.026562729173460288,
        "operating_margin": 0.047764263820895145,
        "revenue_growth_yoy": 0.09817194797595578,
        "roa_avg2y": 0.06910610930526621,
        "roa_period_end": 0.06997591317968195,
        "roe_avg2y": 0.4219662391637628,
        "roe_period_end": 0.34408506585191617
      }
    },
    {
      "accn": "0001564590-21-009308",
      "filed": "2021-02-26",
      "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": 2644000.0,
        "capex": 62407000.0,
        "cash": 57533000.0,
        "cost_of_revenue": 5306818000.0,
        "eps_diluted": 0.34,
        "free_cash_flow": 116121000.0,
        "gross_profit": 1727391000.0,
        "net_income": 38781000.0,
        "operating_cash_flow": 178528000.0,
        "operating_income": 285103000.0,
        "revenue": 7034209000.0,
        "stockholders_equity": 376209000.0,
        "total_assets": 3006124000.0,
        "total_liabilities": 2629915000.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.2455700420615879,
        "leverage": 6.990569071978608,
        "net_margin": 0.005513199849478456,
        "operating_margin": 0.04053092536772791,
        "revenue_growth_yoy": 0.10474246162099884,
        "roa_avg2y": 0.013110523290102065,
        "roa_period_end": 0.012900665441611857,
        "roe_avg2y": 0.11309233059552745,
        "roe_period_end": 0.10308365828568694
      }
    },
    {
      "accn": "0001564590-20-005717",
      "filed": "2020-02-21",
      "fiscal_year": 2016,
      "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": 1092000.0,
        "capex": 42662000.0,
        "cash": 14449000.0,
        "cost_of_revenue": 4770536000.0,
        "eps_diluted": 1.27,
        "free_cash_flow": 115565000.0,
        "gross_profit": 1596748000.0,
        "net_income": 144341000.0,
        "operating_cash_flow": 158227000.0,
        "operating_income": 236336000.0,
        "revenue": 6367284000.0,
        "stockholders_equity": 309620000.0,
        "total_assets": 2909887000.0,
        "total_liabilities": 2600267000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.2507737993153753,
        "leverage": 8.398252696854207,
        "net_margin": 0.02266916317852321,
        "operating_margin": 0.03711723868450033,
        "roa_period_end": 0.04960364440268643,
        "roe_period_end": 0.46618758478134487
      }
    }
  ],
  "latest_filing": {
    "accn": "0001193125-26-054643",
    "filed": "2026-02-17",
    "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": "5211",
  "sic_description": "Retail-Lumber & Other Building Materials Dealers",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001316835.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001316835.json"
  },
  "ticker": "BLDR"
}
