<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:href="nx-20200430.xsd#CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="nx-20200430.xsd#CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementOfStockholdersEquity" xlink:href="nx-20200430.xsd#CondensedConsolidatedStatementOfStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementOfStockholdersEquityParenthetical" xlink:href="nx-20200430.xsd#CondensedConsolidatedStatementOfStockholdersEquityParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfCashFlowUnaudited" xlink:href="nx-20200430.xsd#CondensedConsolidatedStatementsOfCashFlowUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLossUnaudited" xlink:href="nx-20200430.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeLossUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfIncomeLossUnaudited" xlink:href="nx-20200430.xsd#CondensedConsolidatedStatementsOfIncomeLossUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfIncomeLossUnauditedParenthetical" xlink:href="nx-20200430.xsd#CondensedConsolidatedStatementsOfIncomeLossUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Contingencies" xlink:href="nx-20200430.xsd#Contingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ContingenciesDetails" xlink:href="nx-20200430.xsd#ContingenciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtAndCapitalLeaseObligations" xlink:href="nx-20200430.xsd#DebtAndCapitalLeaseObligations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtAndCapitalLeaseObligationsDetail" xlink:href="nx-20200430.xsd#DebtAndCapitalLeaseObligationsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtAndCapitalLeaseObligationsTables" xlink:href="nx-20200430.xsd#DebtAndCapitalLeaseObligationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DocumentAndEntityInformation" xlink:href="nx-20200430.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShare" xlink:href="nx-20200430.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShareDetail" xlink:href="nx-20200430.xsd#EarningsPerShareDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShareEarningsPerShareTables" xlink:href="nx-20200430.xsd#EarningsPerShareEarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementOfAssetsAndLiabilities" xlink:href="nx-20200430.xsd#FairValueMeasurementOfAssetsAndLiabilities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementOfAssetsAndLiabilitiesDetails" xlink:href="nx-20200430.xsd#FairValueMeasurementOfAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementOfAssetsAndLiabilitiesTables" xlink:href="nx-20200430.xsd#FairValueMeasurementOfAssetsAndLiabilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssets" xlink:href="nx-20200430.xsd#GoodwillAndIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssetsGoodwillDetails" xlink:href="nx-20200430.xsd#GoodwillAndIntangibleAssetsGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:href="nx-20200430.xsd#GoodwillAndIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssetsTables" xlink:href="nx-20200430.xsd#GoodwillAndIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxes" xlink:href="nx-20200430.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxesDetail" xlink:href="nx-20200430.xsd#IncomeTaxesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxesIncomeTaxTables" xlink:href="nx-20200430.xsd#IncomeTaxesIncomeTaxTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Inventories" xlink:href="nx-20200430.xsd#Inventories" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/InventoriesDetail" xlink:href="nx-20200430.xsd#InventoriesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/InventoriesDetailCalc2" xlink:href="nx-20200430.xsd#InventoriesDetailCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/InventoriesTables" xlink:href="nx-20200430.xsd#InventoriesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Leases" xlink:href="nx-20200430.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesAdditionalInformationDetails" xlink:href="nx-20200430.xsd#LeasesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesFutureMinimumLeasePaymentsDetails" xlink:href="nx-20200430.xsd#LeasesFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesLeaseCostsDetails" xlink:href="nx-20200430.xsd#LeasesLeaseCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesLeaseRelatedAssetsAndLiabilitiesDetails" xlink:href="nx-20200430.xsd#LeasesLeaseRelatedAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityOfLeaseLiabilitiesDetails" xlink:href="nx-20200430.xsd#LeasesPresentMaturityOfLeaseLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityOfLeaseLiabilitiesDetailsCalc2" xlink:href="nx-20200430.xsd#LeasesPresentMaturityOfLeaseLiabilitiesDetailsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesSupplementalCashFlowInformationDetails" xlink:href="nx-20200430.xsd#LeasesSupplementalCashFlowInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesTables" xlink:href="nx-20200430.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails" xlink:href="nx-20200430.xsd#LeasesWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentation" xlink:href="nx-20200430.xsd#NatureOfOperationsAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationCovid19Details" xlink:href="nx-20200430.xsd#NatureOfOperationsAndBasisOfPresentationCovid19Details" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationDetails" xlink:href="nx-20200430.xsd#NatureOfOperationsAndBasisOfPresentationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationSummaryOfProductSalesDetails" xlink:href="nx-20200430.xsd#NatureOfOperationsAndBasisOfPresentationSummaryOfProductSalesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationTables" xlink:href="nx-20200430.xsd#NatureOfOperationsAndBasisOfPresentationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdopted" xlink:href="nx-20200430.xsd#NewAccountingGuidanceAdopted" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdoptedDetails" xlink:href="nx-20200430.xsd#NewAccountingGuidanceAdoptedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/OtherIncomeExpense" xlink:href="nx-20200430.xsd#OtherIncomeExpense" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseDetail" xlink:href="nx-20200430.xsd#OtherIncomeExpenseDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseTables" xlink:href="nx-20200430.xsd#OtherIncomeExpenseTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/RetirementPlans" xlink:href="nx-20200430.xsd#RetirementPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/RetirementPlansDetail" xlink:href="nx-20200430.xsd#RetirementPlansDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/RetirementPlansTables" xlink:href="nx-20200430.xsd#RetirementPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationDetails" xlink:href="nx-20200430.xsd#SegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationGoodwillBySegmentDetails" xlink:href="nx-20200430.xsd#SegmentInformationGoodwillBySegmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationNotes" xlink:href="nx-20200430.xsd#SegmentInformationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationReconcilliationOfOperatingLossToNetIncomeDetails" xlink:href="nx-20200430.xsd#SegmentInformationReconcilliationOfOperatingLossToNetIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationSegmentReportingInformationDetails" xlink:href="nx-20200430.xsd#SegmentInformationSegmentReportingInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationTables" xlink:href="nx-20200430.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensation" xlink:href="nx-20200430.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationDetail" xlink:href="nx-20200430.xsd#StockBasedCompensationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceRestrictedStockUnitsDetails" xlink:href="nx-20200430.xsd#StockBasedCompensationPerformanceRestrictedStockUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceShareAwardsDetails" xlink:href="nx-20200430.xsd#StockBasedCompensationPerformanceShareAwardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:href="nx-20200430.xsd#StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:href="nx-20200430.xsd#StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationStockOptionsDetails" xlink:href="nx-20200430.xsd#StockBasedCompensationStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTables" xlink:href="nx-20200430.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTreasurySharesDetails" xlink:href="nx-20200430.xsd#StockBasedCompensationTreasurySharesDetails" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_d88b9019-0bd3-d7de-96eb-5cd69c504c2c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_bceb5e86-dcaf-e940-c004-d20dda9b81f2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d88b9019-0bd3-d7de-96eb-5cd69c504c2c" xlink:to="loc_us-gaap_AssetsCurrent_bceb5e86-dcaf-e940-c004-d20dda9b81f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_26247a2d-7bac-8834-3dc5-06c993b10b2c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_bceb5e86-dcaf-e940-c004-d20dda9b81f2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_26247a2d-7bac-8834-3dc5-06c993b10b2c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_2107189c-f25f-5667-a3b4-dbf4394a5e32" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_bceb5e86-dcaf-e940-c004-d20dda9b81f2" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_2107189c-f25f-5667-a3b4-dbf4394a5e32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_aa7cc103-d668-cf3b-6875-81c99ffeac19" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_bceb5e86-dcaf-e940-c004-d20dda9b81f2" xlink:to="loc_us-gaap_InventoryNet_aa7cc103-d668-cf3b-6875-81c99ffeac19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_33b4d214-779b-2177-f7ba-19f0abb03b76" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_bceb5e86-dcaf-e940-c004-d20dda9b81f2" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_33b4d214-779b-2177-f7ba-19f0abb03b76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_bf545d72-755b-f46c-4176-2eeaac0328d1" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d88b9019-0bd3-d7de-96eb-5cd69c504c2c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_bf545d72-755b-f46c-4176-2eeaac0328d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_fe7a6688-63e6-c3a8-34a9-6a59f12ca16e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d88b9019-0bd3-d7de-96eb-5cd69c504c2c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_fe7a6688-63e6-c3a8-34a9-6a59f12ca16e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_57088d99-3f43-6bbf-c330-0bf0e1b35b0b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d88b9019-0bd3-d7de-96eb-5cd69c504c2c" xlink:to="loc_us-gaap_Goodwill_57088d99-3f43-6bbf-c330-0bf0e1b35b0b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d88b9019-0bd3-d7de-96eb-5cd69c504c2c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_17a41c51-6fe7-c037-64c3-3ef6c9692a94" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d88b9019-0bd3-d7de-96eb-5cd69c504c2c" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_17a41c51-6fe7-c037-64c3-3ef6c9692a94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae7d1998-6654-2677-8e9f-f36b62210000" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae7d1998-6654-2677-8e9f-f36b62210000" xlink:to="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_723c74a6-b3c0-ab21-b11a-8bd4ce4806f0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:to="loc_us-gaap_LiabilitiesCurrent_723c74a6-b3c0-ab21-b11a-8bd4ce4806f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_95fe5c6d-e90e-6d2c-8e9a-8339666be1b8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_723c74a6-b3c0-ab21-b11a-8bd4ce4806f0" xlink:to="loc_us-gaap_AccountsPayableCurrent_95fe5c6d-e90e-6d2c-8e9a-8339666be1b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_4deaf78d-f730-176a-d6c6-47d6fc92ced8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_723c74a6-b3c0-ab21-b11a-8bd4ce4806f0" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_4deaf78d-f730-176a-d6c6-47d6fc92ced8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_c8e34a68-78cf-1f0f-d260-cfd03835a0ac" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_723c74a6-b3c0-ab21-b11a-8bd4ce4806f0" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_c8e34a68-78cf-1f0f-d260-cfd03835a0ac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_0b15a280-646f-6bd5-2e9d-a4e71ea429af" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_723c74a6-b3c0-ab21-b11a-8bd4ce4806f0" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_0b15a280-646f-6bd5-2e9d-a4e71ea429af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_f5d89653-9412-3469-28ee-c3579ebc0767" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_723c74a6-b3c0-ab21-b11a-8bd4ce4806f0" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_f5d89653-9412-3469-28ee-c3579ebc0767" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_18cd02df-c342-1135-80a4-128981b71541" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_18cd02df-c342-1135-80a4-128981b71541" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_7098604a-0754-f0ec-28b7-b5aa73ca65d5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_7098604a-0754-f0ec-28b7-b5aa73ca65d5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_fd2b3c68-1d9e-e623-1578-0f8df86a7762" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_fd2b3c68-1d9e-e623-1578-0f8df86a7762" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_e498812a-ea06-2933-72f6-8e959ed1c719" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_e498812a-ea06-2933-72f6-8e959ed1c719" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_44e41183-ff71-8a5d-6bae-236dd27ab6c0" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_a0e4a1b3-b018-392a-9b7d-09729b37d6a1" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_44e41183-ff71-8a5d-6bae-236dd27ab6c0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_c8c1ef7d-82ef-ec40-66d0-45806fc53a6e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae7d1998-6654-2677-8e9f-f36b62210000" xlink:to="loc_us-gaap_CommitmentsAndContingencies_c8c1ef7d-82ef-ec40-66d0-45806fc53a6e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae7d1998-6654-2677-8e9f-f36b62210000" xlink:to="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_844e7c43-dfe0-790d-4f5e-8b1150390e12" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:to="loc_us-gaap_PreferredStockValue_844e7c43-dfe0-790d-4f5e-8b1150390e12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_130b8997-2f7a-8192-a853-ff9fb4629d95" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:to="loc_us-gaap_CommonStockValue_130b8997-2f7a-8192-a853-ff9fb4629d95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_26982214-e3a4-a834-1e73-cd58ba2d5ac9" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:to="loc_us-gaap_AdditionalPaidInCapital_26982214-e3a4-a834-1e73-cd58ba2d5ac9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_18ff0284-4873-6ef0-806f-4fb76051c01f" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_18ff0284-4873-6ef0-806f-4fb76051c01f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_355fc088-038d-3905-0784-91db0d020a77" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_355fc088-038d-3905-0784-91db0d020a77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_af531fdd-0099-f49a-729d-64bccce3d7cd" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_444cfce6-fc59-0d4d-1ade-0fdec3499b08" xlink:to="loc_us-gaap_TreasuryStockValue_af531fdd-0099-f49a-729d-64bccce3d7cd" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementOfStockholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementOfStockholdersEquityParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfCashFlowUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7e98a0be-51ae-18d0-54bf-b32eca8c5c1d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_5a50c8d2-c551-fe84-870a-29975db72587" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7e98a0be-51ae-18d0-54bf-b32eca8c5c1d" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_5a50c8d2-c551-fe84-870a-29975db72587" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2794b8a8-762d-d243-a2f5-a00d52d74432" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7e98a0be-51ae-18d0-54bf-b32eca8c5c1d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2794b8a8-762d-d243-a2f5-a00d52d74432" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ca48a49a-2cde-cf3d-6904-e8f08b6e1fbb" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2794b8a8-762d-d243-a2f5-a00d52d74432" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ca48a49a-2cde-cf3d-6904-e8f08b6e1fbb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_69f56f7c-6b1d-6302-b894-93d598209e4e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2794b8a8-762d-d243-a2f5-a00d52d74432" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_69f56f7c-6b1d-6302-b894-93d598209e4e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7e98a0be-51ae-18d0-54bf-b32eca8c5c1d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_82a1dba8-8b5a-130a-edce-afbb0d3a199c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_ProfitLoss_82a1dba8-8b5a-130a-edce-afbb0d3a199c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_fb4a1534-3ea3-3150-f601-42486b71bc63" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_fb4a1534-3ea3-3150-f601-42486b71bc63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_8e70545b-e41a-5c88-3aeb-15f273c05266" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_ShareBasedCompensation_8e70545b-e41a-5c88-3aeb-15f273c05266" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_282d8de6-1466-4351-6593-66c6a3dfd2f5" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_282d8de6-1466-4351-6593-66c6a3dfd2f5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_85606f35-512d-87bf-8e37-0924416c5c8a" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_AssetImpairmentCharges_85606f35-512d-87bf-8e37-0924416c5c8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_0f2b9828-5f8e-5896-c7bd-f8b6ab4926af" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_0f2b9828-5f8e-5896-c7bd-f8b6ab4926af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_bc553c96-8e56-b4b1-0521-334659ab397e" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_bc553c96-8e56-b4b1-0521-334659ab397e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_660d037d-5031-2fde-c0d3-d2b6978292ac" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_660d037d-5031-2fde-c0d3-d2b6978292ac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_5efc4af8-bdb4-9fc6-04da-b12facfc424c" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_5efc4af8-bdb4-9fc6-04da-b12facfc424c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_1aefa3b7-6b7a-d481-5bdc-6b8b587c627e" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_1aefa3b7-6b7a-d481-5bdc-6b8b587c627e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_4b0bcec4-8cac-770b-1104-d9ba7647c257" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_4b0bcec4-8cac-770b-1104-d9ba7647c257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_aff0d730-1c4a-bdf8-50f5-49065c1c5889" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_aff0d730-1c4a-bdf8-50f5-49065c1c5889" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_7bc89a13-20cd-3543-404b-38df8fc8c926" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_7bc89a13-20cd-3543-404b-38df8fc8c926" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_c43c65af-c472-8a37-c1d6-5871b3c0eb16" xlink:type="locator" />
    <link:calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_c43c65af-c472-8a37-c1d6-5871b3c0eb16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_4392a9aa-12d6-0a02-3bb4-a001e4753188" xlink:type="locator" />
    <link:calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_13d5d34e-e391-ca89-d84d-71b1e1c2a78c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_4392a9aa-12d6-0a02-3bb4-a001e4753188" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7e98a0be-51ae-18d0-54bf-b32eca8c5c1d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_4b42fefa-cb55-53fa-a0d9-417928a55a98" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_4b42fefa-cb55-53fa-a0d9-417928a55a98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_d0330b6b-e4ab-7694-da9c-971c7642f3d1" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_d0330b6b-e4ab-7694-da9c-971c7642f3d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_45715ecc-19bf-2c32-98e8-29899e119e5c" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_45715ecc-19bf-2c32-98e8-29899e119e5c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_d5388628-04a8-f9f2-f1f1-9af34cf68c6b" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_d5388628-04a8-f9f2-f1f1-9af34cf68c6b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_48d97f34-0a5c-c855-1d88-050ad7d70f97" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_48d97f34-0a5c-c855-1d88-050ad7d70f97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_1280953b-4e55-e1d6-0c4b-6dfd4307a698" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_1280953b-4e55-e1d6-0c4b-6dfd4307a698" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5438f733-2c2e-cb8b-518a-eb0b0108364e" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0a7e00ec-a1a5-81e8-5255-8844ac6fe87f" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5438f733-2c2e-cb8b-518a-eb0b0108364e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLossUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_61cff5eb-6380-0a99-0b9f-2aa494c88658" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_aaf4fade-f652-62f8-cf02-c59447905641" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_61cff5eb-6380-0a99-0b9f-2aa494c88658" xlink:to="loc_us-gaap_NetIncomeLoss_aaf4fade-f652-62f8-cf02-c59447905641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e4f9ed30-225d-b1c2-4b66-efe0757ad41c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_61cff5eb-6380-0a99-0b9f-2aa494c88658" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e4f9ed30-225d-b1c2-4b66-efe0757ad41c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_982a1de3-51f5-bc18-9d24-037fe2750a8c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e4f9ed30-225d-b1c2-4b66-efe0757ad41c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_982a1de3-51f5-bc18-9d24-037fe2750a8c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_352f17ba-b941-ac2d-17c2-b741a9e67674" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e4f9ed30-225d-b1c2-4b66-efe0757ad41c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_352f17ba-b941-ac2d-17c2-b741a9e67674" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_a38aff73-e867-1fd4-8e1c-837a08c3b4ed" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e4f9ed30-225d-b1c2-4b66-efe0757ad41c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_a38aff73-e867-1fd4-8e1c-837a08c3b4ed" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfIncomeLossUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_aaf4fade-f652-62f8-cf02-c59447905641" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperations" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_9734e242-96e2-288c-5f29-18519f7b91c9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_aaf4fade-f652-62f8-cf02-c59447905641" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_9734e242-96e2-288c-5f29-18519f7b91c9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_9734e242-96e2-288c-5f29-18519f7b91c9" xlink:to="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9ff0f538-863f-dffc-da3e-5378e55a2439" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9ff0f538-863f-dffc-da3e-5378e55a2439" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaap_CostOfRevenue_b6682b3d-3d5b-358e-737a-210d3fd0d794" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:to="loc_us-gaap_CostOfRevenue_b6682b3d-3d5b-358e-737a-210d3fd0d794" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_89404ae6-0808-876c-4ac7-0c429ea9ed38" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_89404ae6-0808-876c-4ac7-0c429ea9ed38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_0e117598-5e59-61cf-d7cd-38957b1c7098" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:to="loc_us-gaap_RestructuringCharges_0e117598-5e59-61cf-d7cd-38957b1c7098" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_fb4a1534-3ea3-3150-f601-42486b71bc63" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_fb4a1534-3ea3-3150-f601-42486b71bc63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_85606f35-512d-87bf-8e37-0924416c5c8a" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_86cfb7da-c050-ac7c-919e-7f811affb4ae" xlink:to="loc_us-gaap_AssetImpairmentCharges_85606f35-512d-87bf-8e37-0924416c5c8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_70961961-6a13-30f4-732a-8e29cef0bea0" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_9734e242-96e2-288c-5f29-18519f7b91c9" xlink:to="loc_us-gaap_InterestExpense_70961961-6a13-30f4-732a-8e29cef0bea0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_497f98e6-8a11-3c53-7076-ee6aaae664ce" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_9734e242-96e2-288c-5f29-18519f7b91c9" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_497f98e6-8a11-3c53-7076-ee6aaae664ce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_6a75c878-dfaf-e368-936e-ce293fe86f6f" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_aaf4fade-f652-62f8-cf02-c59447905641" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_6a75c878-dfaf-e368-936e-ce293fe86f6f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsOfIncomeLossUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Contingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ContingenciesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtAndCapitalLeaseObligations" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtAndCapitalLeaseObligationsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_7e92022d-1815-a8c6-f9d4-6ea045534cf5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_c8e34a68-78cf-1f0f-d260-cfd03835a0ac" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7e92022d-1815-a8c6-f9d4-6ea045534cf5" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_c8e34a68-78cf-1f0f-d260-cfd03835a0ac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_18cd02df-c342-1135-80a4-128981b71541" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7e92022d-1815-a8c6-f9d4-6ea045534cf5" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_18cd02df-c342-1135-80a4-128981b71541" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtAndCapitalLeaseObligationsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShareDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShareEarningsPerShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/FairValueMeasurementOfAssetsAndLiabilities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/FairValueMeasurementOfAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/FairValueMeasurementOfAssetsAndLiabilitiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssetsGoodwillDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_c6d57583-9a53-5756-fb7d-9908ee997d5a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_c6d57583-9a53-5756-fb7d-9908ee997d5a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a62b08c6-b926-9419-35c2-5184d5f81156" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a62b08c6-b926-9419-35c2-5184d5f81156" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_364ac009-3cfc-1b60-d546-7871ab918df1" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_364ac009-3cfc-1b60-d546-7871ab918df1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_49b425f8-7a4e-5485-af48-86d89f0e70f1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_49b425f8-7a4e-5485-af48-86d89f0e70f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_a7a28fd3-d446-0175-bdbb-12b9ff4ac0f3" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_a7a28fd3-d446-0175-bdbb-12b9ff4ac0f3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_1b7bad41-2677-915b-ebe3-eed15240ec5f" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c124af4a-c1a7-5bd7-f6b9-0a8199d145c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_1b7bad41-2677-915b-ebe3-eed15240ec5f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillAndIntangibleAssetsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxesDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxesIncomeTaxTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Inventories" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/InventoriesDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_aa7cc103-d668-cf3b-6875-81c99ffeac19" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryGross" xlink:label="loc_us-gaap_InventoryGross_94fef42f-79e8-6ba5-8b50-111a59f6360d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_aa7cc103-d668-cf3b-6875-81c99ffeac19" xlink:to="loc_us-gaap_InventoryGross_94fef42f-79e8-6ba5-8b50-111a59f6360d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryRawMaterials" xlink:label="loc_us-gaap_InventoryRawMaterials_80b2cab3-30ae-20d1-0cea-6c990f5012bd" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_94fef42f-79e8-6ba5-8b50-111a59f6360d" xlink:to="loc_us-gaap_InventoryRawMaterials_80b2cab3-30ae-20d1-0cea-6c990f5012bd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryFinishedGoodsAndWorkInProcess" xlink:label="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcess_e74a98ca-9d6b-d4f3-c20e-b8b1fb270ff3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_94fef42f-79e8-6ba5-8b50-111a59f6360d" xlink:to="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcess_e74a98ca-9d6b-d4f3-c20e-b8b1fb270ff3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherInventorySupplies" xlink:label="loc_us-gaap_OtherInventorySupplies_697da4af-e18f-70ef-84ec-6e88776f1ccc" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_94fef42f-79e8-6ba5-8b50-111a59f6360d" xlink:to="loc_us-gaap_OtherInventorySupplies_697da4af-e18f-70ef-84ec-6e88776f1ccc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryValuationReserves" xlink:label="loc_us-gaap_InventoryValuationReserves_8ae06fed-5cf2-cf18-5f70-4f609a7c244e" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_aa7cc103-d668-cf3b-6875-81c99ffeac19" xlink:to="loc_us-gaap_InventoryValuationReserves_8ae06fed-5cf2-cf18-5f70-4f609a7c244e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/InventoriesDetailCalc2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/InventoriesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Leases" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_562921ed-0991-530f-fb74-f5e8c1ca7f51" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_562921ed-0991-530f-fb74-f5e8c1ca7f51" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent_84ff027f-6513-7028-42ef-31acf67f42c6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent_84ff027f-6513-7028-42ef-31acf67f42c6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_77cf2b4c-035e-9844-539b-9eb4684e12df" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_77cf2b4c-035e-9844-539b-9eb4684e12df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_7083165f-ca72-db7f-35bd-108c34959794" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_7083165f-ca72-db7f-35bd-108c34959794" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_ab2a18e0-de2b-cff4-2027-5855b5cee3fc" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_ab2a18e0-de2b-cff4-2027-5855b5cee3fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_e2e060b5-ce7f-a246-65d2-a11b525b0d62" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_e2e060b5-ce7f-a246-65d2-a11b525b0d62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_aff97a23-5f83-8b15-11cc-8b11e8065006" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_b486aaad-990a-2214-13f1-ec3d2d500879" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_aff97a23-5f83-8b15-11cc-8b11e8065006" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_547f4aa9-7c00-317e-109e-0cc0c10d8da6" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_562921ed-0991-530f-fb74-f5e8c1ca7f51" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_547f4aa9-7c00-317e-109e-0cc0c10d8da6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2af58bad-5c53-8d37-63b5-e6fa9f421d1f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_43462942-8c94-e21f-ac53-3070c42c6812" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2af58bad-5c53-8d37-63b5-e6fa9f421d1f" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_43462942-8c94-e21f-ac53-3070c42c6812" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_080e7eb6-5adc-43e2-154e-14ddb4e129dc" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2af58bad-5c53-8d37-63b5-e6fa9f421d1f" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_080e7eb6-5adc-43e2-154e-14ddb4e129dc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_f807748e-a275-0847-4034-88edd0955479" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2af58bad-5c53-8d37-63b5-e6fa9f421d1f" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_f807748e-a275-0847-4034-88edd0955479" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_7447cccb-944e-90e9-a941-4b7af48e6b3b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2af58bad-5c53-8d37-63b5-e6fa9f421d1f" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_7447cccb-944e-90e9-a941-4b7af48e6b3b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_ca3050d4-ae4f-efee-bc5a-19b897bb6855" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2af58bad-5c53-8d37-63b5-e6fa9f421d1f" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_ca3050d4-ae4f-efee-bc5a-19b897bb6855" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_21e40c0d-7884-da9f-c8cf-6350f67d6bfa" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2af58bad-5c53-8d37-63b5-e6fa9f421d1f" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_21e40c0d-7884-da9f-c8cf-6350f67d6bfa" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesLeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost_77713e2c-39c0-2928-ada1-44468992f16e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost_33693773-864e-1cc1-3236-0c5155be3c52" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_77713e2c-39c0-2928-ada1-44468992f16e" xlink:to="loc_us-gaap_OperatingLeaseCost_33693773-864e-1cc1-3236-0c5155be3c52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_7f54c327-2f55-648a-30dd-b75d1935dcb8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_77713e2c-39c0-2928-ada1-44468992f16e" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_7f54c327-2f55-648a-30dd-b75d1935dcb8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseInterestExpense" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_1b21795b-5204-edb2-d794-fc2cfeb17363" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_77713e2c-39c0-2928-ada1-44468992f16e" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_1b21795b-5204-edb2-d794-fc2cfeb17363" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableLeaseCost" xlink:label="loc_us-gaap_VariableLeaseCost_255ac63d-d319-d16f-1081-3af76186230c" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_77713e2c-39c0-2928-ada1-44468992f16e" xlink:to="loc_us-gaap_VariableLeaseCost_255ac63d-d319-d16f-1081-3af76186230c" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesLeaseRelatedAssetsAndLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="nx-20200430.xsd#nx_LeasesRightofUseAsset" xlink:label="loc_nx_LeasesRightofUseAsset_c88be5a9-79ba-f295-6c39-d1050115b185" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_fe7a6688-63e6-c3a8-34a9-6a59f12ca16e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesRightofUseAsset_c88be5a9-79ba-f295-6c39-d1050115b185" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_fe7a6688-63e6-c3a8-34a9-6a59f12ca16e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_1b3c3057-5da2-541b-c72f-d6783073603c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesRightofUseAsset_c88be5a9-79ba-f295-6c39-d1050115b185" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_1b3c3057-5da2-541b-c72f-d6783073603c" xlink:type="arc" />
    <link:loc xlink:href="nx-20200430.xsd#nx_LeasesLiability" xlink:label="loc_nx_LeasesLiability_99ab9861-8921-7ab3-f6cd-d10500428bf5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_f5d89653-9412-3469-28ee-c3579ebc0767" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_99ab9861-8921-7ab3-f6cd-d10500428bf5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_f5d89653-9412-3469-28ee-c3579ebc0767" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_1b26ed2d-89b9-5574-412a-b48bbaf33fe0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_99ab9861-8921-7ab3-f6cd-d10500428bf5" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_1b26ed2d-89b9-5574-412a-b48bbaf33fe0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_7098604a-0754-f0ec-28b7-b5aa73ca65d5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_99ab9861-8921-7ab3-f6cd-d10500428bf5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_7098604a-0754-f0ec-28b7-b5aa73ca65d5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_3c3e63f4-630c-b98c-78f0-49ca0fb25e96" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_99ab9861-8921-7ab3-f6cd-d10500428bf5" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_3c3e63f4-630c-b98c-78f0-49ca0fb25e96" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityOfLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_43bc6b71-af9e-673d-6993-b6a02f1641e8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_43bc6b71-af9e-673d-6993-b6a02f1641e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_5b3c8073-78d2-1d8d-4a57-09d002ab65a0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_5b3c8073-78d2-1d8d-4a57-09d002ab65a0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_006a0126-4f87-3b72-3a02-6e918f06be6c" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_006a0126-4f87-3b72-3a02-6e918f06be6c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_e274b476-0799-2889-05dd-d2465fdd0c72" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_e274b476-0799-2889-05dd-d2465fdd0c72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e4a1641c-6f3c-05db-c04b-8ba1da4496d6" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e4a1641c-6f3c-05db-c04b-8ba1da4496d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_fdbcd1b2-5ef3-3ac2-c6f4-6c4e14fae001" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_fdbcd1b2-5ef3-3ac2-c6f4-6c4e14fae001" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_958a279d-3c0f-8321-b7ed-2a7744faba96" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_958a279d-3c0f-8321-b7ed-2a7744faba96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_98bf8d35-5f32-2cd0-5575-add2d99ae37a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_98bf8d35-5f32-2cd0-5575-add2d99ae37a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_408fcf80-f685-9438-290b-4a5f2cdc4600" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_408fcf80-f685-9438-290b-4a5f2cdc4600" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_db8c68a6-539e-d343-414a-712df4cd8591" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_db8c68a6-539e-d343-414a-712df4cd8591" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_14d8376e-53a7-8293-647b-067eebebd96c" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_14d8376e-53a7-8293-647b-067eebebd96c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_c5687571-1d1f-22ed-4fd0-38287a3baba1" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_c5687571-1d1f-22ed-4fd0-38287a3baba1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityOfLeaseLiabilitiesDetailsCalc2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_A34276F6E9162A3117EED10533E70E2E_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_A34276F6E9162A3117EED10533E70E2E_3368cdae-1826-085e-11fa-16248b835ac9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_A34276F6E9162A3117EED10533E70E2E_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_A34276F6E9162A3117EED10533E70E2E_3368cdae-1826-085e-11fa-16248b835ac9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_A34276F6E9162A3117EED10533E70E2E_a31684ed-2356-0d85-eb54-e1db259dd282" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_A34276F6E9162A3117EED10533E70E2E_1745751e-4825-6a0a-827d-0206e7453ce1" xlink:to="loc_us-gaap_FinanceLeaseLiability_A34276F6E9162A3117EED10533E70E2E_a31684ed-2356-0d85-eb54-e1db259dd282" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_A34276F6E9162A3117EED10533E70E2E_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_A34276F6E9162A3117EED10533E70E2E_af2ac898-45af-69b0-d4ab-f13800924909" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_A34276F6E9162A3117EED10533E70E2E_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_A34276F6E9162A3117EED10533E70E2E_af2ac898-45af-69b0-d4ab-f13800924909" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_A34276F6E9162A3117EED10533E70E2E_a8b66d7f-72c7-4ff2-7f1f-84b93ba048de" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_A34276F6E9162A3117EED10533E70E2E_ace8d124-6d5c-421d-3a79-a2bec1d408ae" xlink:to="loc_us-gaap_OperatingLeaseLiability_A34276F6E9162A3117EED10533E70E2E_a8b66d7f-72c7-4ff2-7f1f-84b93ba048de" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesSupplementalCashFlowInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationCovid19Details" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationSummaryOfProductSalesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureOfOperationsAndBasisOfPresentationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdopted" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdoptedDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/OtherIncomeExpense" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingGainsLosses" xlink:label="loc_us-gaap_OtherNonoperatingGainsLosses_dcdb5372-9a1f-d8be-2091-fbb243c4e5c0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_db1ebd38-aa6d-5af7-743b-bd61e9637a33" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_dcdb5372-9a1f-d8be-2091-fbb243c4e5c0" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_db1ebd38-aa6d-5af7-743b-bd61e9637a33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments" xlink:label="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_1bd2c2ed-4312-3404-0ede-fd460753430b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_dcdb5372-9a1f-d8be-2091-fbb243c4e5c0" xlink:to="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_1bd2c2ed-4312-3404-0ede-fd460753430b" xlink:type="arc" />
    <link:loc xlink:href="nx-20200430.xsd#nx_PensionServiceBenefit" xlink:label="loc_nx_PensionServiceBenefit_32cc6b1e-9c12-893d-074e-d1050028e3ee" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_dcdb5372-9a1f-d8be-2091-fbb243c4e5c0" xlink:to="loc_nx_PensionServiceBenefit_32cc6b1e-9c12-893d-074e-d1050028e3ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_b70f4f9b-2100-3b9a-22a9-d96a466186ed" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_dcdb5372-9a1f-d8be-2091-fbb243c4e5c0" xlink:to="loc_us-gaap_InvestmentIncomeInterest_b70f4f9b-2100-3b9a-22a9-d96a466186ed" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonrecurringIncomeExpense" xlink:label="loc_us-gaap_OtherNonrecurringIncomeExpense_e9f28ae9-7c80-e64e-686c-b8ef859e85a4" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_dcdb5372-9a1f-d8be-2091-fbb243c4e5c0" xlink:to="loc_us-gaap_OtherNonrecurringIncomeExpense_e9f28ae9-7c80-e64e-686c-b8ef859e85a4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/RetirementPlans" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/RetirementPlansDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_9a3e5fa3-f592-9914-8b39-afab44a0e241" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_27774c72-98a2-a6f7-d0a8-185e3342a454" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_9a3e5fa3-f592-9914-8b39-afab44a0e241" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_27774c72-98a2-a6f7-d0a8-185e3342a454" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_df78f966-c11b-a83c-f1b8-de344ca8c086" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_9a3e5fa3-f592-9914-8b39-afab44a0e241" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_df78f966-c11b-a83c-f1b8-de344ca8c086" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_9b13b176-4622-d6e6-98c2-3ef130650347" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_9a3e5fa3-f592-9914-8b39-afab44a0e241" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_9b13b176-4622-d6e6-98c2-3ef130650347" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_185a59fd-e099-2d03-b814-fc3933284ac2" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_9a3e5fa3-f592-9914-8b39-afab44a0e241" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_185a59fd-e099-2d03-b814-fc3933284ac2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/RetirementPlansTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationGoodwillBySegmentDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationReconcilliationOfOperatingLossToNetIncomeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationSegmentReportingInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceRestrictedStockUnitsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceShareAwardsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationStockOptionsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTreasurySharesDetails" xlink:type="extended" />
</link:linkbase>
