{
  "cik": 1423221,
  "cik_padded": "0001423221",
  "entityName": "Quanex Building Products CORP",
  "fiscal_years": [
    {
      "accn": "0001423221-25-000100",
      "filed": "2025-12-12",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 32360000.0,
        "capex": 62642000.0,
        "cash": 76018000.0,
        "dividends_paid": 14889000.0,
        "eps_diluted": -5.43,
        "free_cash_flow": 102255000.0,
        "net_income": -250806000.0,
        "operating_cash_flow": 164897000.0,
        "operating_income": -193952000.0,
        "revenue": 1837641000.0,
        "stockholders_equity": 726179000.0,
        "total_assets": 1968233000.0,
        "total_liabilities": 1242054000.0
      },
      "period_end": "2025-10-31",
      "ratio_units": {
        "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": {
        "leverage": 1.7103964724950735,
        "net_margin": -0.1364825882748589,
        "operating_margin": -0.10554400995624282,
        "revenue_growth_yoy": 0.4380590392389789,
        "roa_avg2y": -0.11697983755210153,
        "roa_period_end": -0.12742698654071952,
        "roe_avg2y": -0.2887931257826331,
        "roe_period_end": -0.3453776548206434
      }
    },
    {
      "accn": "0001423221-25-000100",
      "filed": "2025-12-12",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "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": 37086000.0,
        "cash": 97744000.0,
        "dividends_paid": 11972000.0,
        "eps_diluted": 0.9,
        "free_cash_flow": 51726000.0,
        "net_income": 33059000.0,
        "operating_cash_flow": 88812000.0,
        "operating_income": 54826000.0,
        "revenue": 1277862000.0,
        "stockholders_equity": 1010746000.0,
        "total_assets": 2319788000.0,
        "total_liabilities": 1309042000.0
      },
      "period_end": "2024-10-31",
      "ratio_units": {
        "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": {
        "leverage": 1.2951245911435711,
        "net_margin": 0.025870555662505026,
        "operating_margin": 0.04290447638320883,
        "payout_ratio": 0.3621404156205572,
        "revenue_growth_yoy": 0.13026818906705656,
        "roa_avg2y": 0.02098363943862941,
        "roa_period_end": 0.014250871200299338,
        "roe_avg2y": 0.04248409689648525,
        "roe_period_end": 0.03270752493702671
      }
    },
    {
      "accn": "0001423221-25-000100",
      "filed": "2025-12-12",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 5593000.0,
        "capex": 37390000.0,
        "cash": 58474000.0,
        "dividends_paid": 10639000.0,
        "eps_diluted": 2.5,
        "free_cash_flow": 109662000.0,
        "net_income": 82501000.0,
        "operating_cash_flow": 147052000.0,
        "operating_income": 110701000.0,
        "revenue": 1130583000.0,
        "stockholders_equity": 545554000.0,
        "total_assets": 831143000.0,
        "total_liabilities": 285589000.0
      },
      "period_end": "2023-10-31",
      "ratio_units": {
        "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": {
        "leverage": 0.5234843846805266,
        "net_margin": 0.07297208608302089,
        "operating_margin": 0.09791496953341772,
        "payout_ratio": 0.12895601265439208,
        "revenue_growth_yoy": -0.07443213355360859,
        "roa_avg2y": 0.10605877513241117,
        "roa_period_end": 0.09926210050496725,
        "roe_avg2y": 0.16330541999170617,
        "roe_period_end": 0.15122426010990664
      }
    },
    {
      "accn": "0001423221-25-000100",
      "filed": "2025-12-12",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 6600000.0,
        "capex": 33121000.0,
        "cash": 55093000.0,
        "dividends_paid": 10598000.0,
        "eps_diluted": 2.66,
        "free_cash_flow": 64844000.0,
        "net_income": 88336000.0,
        "operating_cash_flow": 97965000.0,
        "operating_income": 111281000.0,
        "revenue": 1221502000.0,
        "stockholders_equity": 464835000.0,
        "total_assets": 724617000.0,
        "total_liabilities": 259782000.0
      },
      "period_end": "2022-10-31",
      "ratio_units": {
        "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": {
        "leverage": 0.5588692761947788,
        "net_margin": 0.0723175238354092,
        "operating_margin": 0.09110177470032794,
        "payout_ratio": 0.1199737366419127,
        "revenue_growth_yoy": 0.13930246635495627,
        "roa_avg2y": 0.12252382207304048,
        "roa_period_end": 0.12190715923032443,
        "roe_avg2y": 0.19971580921460927,
        "roe_period_end": 0.1900373250723375
      }
    },
    {
      "accn": "0001423221-24-000015",
      "filed": "2024-12-16",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 11182000.0,
        "capex": 24008000.0,
        "cash": 40061000.0,
        "dividends_paid": 10779000.0,
        "eps_diluted": 1.7,
        "free_cash_flow": 54580000.0,
        "net_income": 56980000.0,
        "operating_cash_flow": 78588000.0,
        "operating_income": 81870000.0,
        "revenue": 1072149000.0,
        "stockholders_equity": 419782000.0,
        "total_assets": 717323000.0,
        "total_liabilities": 297541000.0
      },
      "period_end": "2021-10-31",
      "ratio_units": {
        "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": {
        "leverage": 0.7087988527378496,
        "net_margin": 0.05314559823308141,
        "operating_margin": 0.07636065509551378,
        "payout_ratio": 0.18917163917163918,
        "revenue_growth_yoy": 0.2590218337124357,
        "roa_avg2y": 0.08088533814840998,
        "roa_period_end": 0.07943422976817975,
        "roe_avg2y": 0.14694258588520787,
        "roe_period_end": 0.1357371206959803
      }
    },
    {
      "accn": "0001423221-23-000016",
      "filed": "2023-12-15",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 7233000.0,
        "capex": 25726000.0,
        "cash": 51621000.0,
        "dividends_paid": 10534000.0,
        "eps_diluted": 1.17,
        "free_cash_flow": 75070000.0,
        "net_income": 38496000.0,
        "operating_cash_flow": 100796000.0,
        "operating_income": 55265000.0,
        "revenue": 851573000.0,
        "stockholders_equity": 355759000.0,
        "total_assets": 691585000.0,
        "total_liabilities": 335826000.0
      },
      "period_end": "2020-10-31",
      "ratio_units": {
        "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": {
        "leverage": 0.9439704968813157,
        "net_margin": 0.045205754527210235,
        "operating_margin": 0.06489754841921949,
        "payout_ratio": 0.2736388196176226,
        "revenue_growth_yoy": -0.0472880523493552,
        "roa_avg2y": 0.057598779078248966,
        "roa_period_end": 0.055663439779636635,
        "roe_avg2y": 0.1122420715333277,
        "roe_period_end": 0.10820808468654342
      }
    },
    {
      "accn": "0001423221-22-000014",
      "filed": "2022-12-16",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 9551000.0,
        "capex": 24883000.0,
        "cash": 30868000.0,
        "dividends_paid": 10644000.0,
        "eps_diluted": -1.42,
        "free_cash_flow": 71489000.0,
        "net_income": -46730000.0,
        "operating_cash_flow": 96372000.0,
        "operating_income": -26427000.0,
        "revenue": 893841000.0,
        "stockholders_equity": 330187000.0,
        "total_assets": 645110000.0,
        "total_liabilities": 314923000.0
      },
      "period_end": "2019-10-31",
      "ratio_units": {
        "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": {
        "leverage": 0.9537716506101088,
        "net_margin": -0.05227999163162128,
        "operating_margin": -0.02956566100682336,
        "revenue_growth_yoy": 0.004558404558404558,
        "roa_avg2y": -0.06731857981278146,
        "roa_period_end": -0.07243725876207159,
        "roe_avg2y": -0.12883766261515917,
        "roe_period_end": -0.14152586261724417
      }
    },
    {
      "accn": "0001423221-21-000018",
      "filed": "2021-12-17",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 32034000.0,
        "capex": 26484000.0,
        "cash": 29003000.0,
        "dividends_paid": 7020000.0,
        "eps_diluted": 0.76,
        "free_cash_flow": 78127000.0,
        "net_income": 26553000.0,
        "operating_cash_flow": 104611000.0,
        "operating_income": 35697000.0,
        "revenue": 889785000.0,
        "stockholders_equity": 395222000.0,
        "total_assets": 743214000.0,
        "total_liabilities": 347992000.0
      },
      "period_end": "2018-10-31",
      "ratio_units": {
        "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": {
        "leverage": 0.8804975431529621,
        "net_margin": 0.029842040492928067,
        "operating_margin": 0.04011868035536675,
        "payout_ratio": 0.26437690656423,
        "revenue_growth_yoy": 0.026807300171368235,
        "roa_avg2y": 0.035005105158352194,
        "roa_period_end": 0.03572726025074877,
        "roe_avg2y": 0.06614157929740919,
        "roe_period_end": 0.06718502512511955
      }
    },
    {
      "accn": "0001423221-20-000021",
      "filed": "2020-12-11",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "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": 34564000.0,
        "cash": 17455000.0,
        "dividends_paid": 5516000.0,
        "eps_diluted": 0.54,
        "free_cash_flow": 45214000.0,
        "net_income": 18683000.0,
        "operating_cash_flow": 79778000.0,
        "operating_income": 33937000.0,
        "revenue": 866555000.0,
        "stockholders_equity": 407692000.0,
        "total_assets": 773879000.0,
        "total_liabilities": 367032000.0
      },
      "period_end": "2017-10-31",
      "ratio_units": {
        "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": {
        "leverage": 0.9002678492587541,
        "net_margin": 0.02156008562641725,
        "operating_margin": 0.039163122940840456,
        "payout_ratio": 0.2952416635443986,
        "revenue_growth_yoy": -0.06639739534402661,
        "roa_avg2y": 0.024041455844429918,
        "roa_period_end": 0.024142017033670634,
        "roe_avg2y": 0.04812923768109968,
        "roe_period_end": 0.0458262610009517
      }
    },
    {
      "accn": "0001423221-19-000018",
      "filed": "2019-12-12",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "net_income": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 37243000.0,
        "cash": 25526000.0,
        "dividends_paid": 5470000.0,
        "eps_diluted": -0.05,
        "net_income": -1859000.0,
        "operating_income": 36353000.0,
        "revenue": 928184000.0,
        "stockholders_equity": 368676000.0,
        "total_assets": 780353000.0,
        "total_liabilities": 412522000.0
      },
      "period_end": "2016-10-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.1189282730636114,
        "net_margin": -0.002002835644656663,
        "operating_margin": 0.039165725761271475,
        "roa_period_end": -0.0023822552101420767,
        "roe_period_end": -0.005042367824322711
      }
    },
    {
      "accn": "0001423221-13-000010",
      "filed": "2013-12-18",
      "fiscal_year": 2013,
      "form": "10-K",
      "fundamental_units": {
        "operating_cash_flow": "USD"
      },
      "fundamentals": {
        "operating_cash_flow": 43521000.0
      },
      "period_end": "2013-10-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0001423221-25-000100",
    "filed": "2025-12-12",
    "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": "3350",
  "sic_description": "Rolling Drawing & Extruding of  Nonferrous Metals",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001423221.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001423221.json"
  },
  "ticker": "NX"
}
