<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:c1069701-7194-4096-bfcc-2e51b4e2541f,g:8d96af37-2af5-45e5-ba35-4e41a01481c5-->
<link:linkbase 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" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Cover" xlink:type="simple" xlink:href="nx-20201031.xsd#Cover"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Cover" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_90948379-1593-4951-ad8d-5ecf42c95454" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:to="loc_us-gaap_LiabilitiesCurrent_90948379-1593-4951-ad8d-5ecf42c95454" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_6889b954-3695-4fac-889b-ac52fbc4c70b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_6889b954-3695-4fac-889b-ac52fbc4c70b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_95da89fa-abfe-466c-a8ea-fb139913514a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_95da89fa-abfe-466c-a8ea-fb139913514a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_6eee8d4d-03da-4cee-928c-790abe36aff7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_6eee8d4d-03da-4cee-928c-790abe36aff7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4feb076c-6224-4522-a506-83f595bf541a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4feb076c-6224-4522-a506-83f595bf541a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUncertainTaxPositionsNoncurrent_40b713f9-0be6-4018-91de-9aa144fe8402" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilityForUncertainTaxPositionsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:to="loc_us-gaap_LiabilityForUncertainTaxPositionsNoncurrent_40b713f9-0be6-4018-91de-9aa144fe8402" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_11932d63-4a92-42cf-8945-5f2a9a6caf46" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_22152756-dc71-4594-9752-49f3cb78f2dc" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_11932d63-4a92-42cf-8945-5f2a9a6caf46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_74079e6a-0f8a-4a20-86b1-2ec3ab3b91e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_6a0bafad-33de-4e88-a7e1-0421c42b6c13" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_74079e6a-0f8a-4a20-86b1-2ec3ab3b91e9" xlink:to="loc_us-gaap_AssetsCurrent_6a0bafad-33de-4e88-a7e1-0421c42b6c13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_5515172c-4b8a-4e3b-9acd-60f396e9c751" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_74079e6a-0f8a-4a20-86b1-2ec3ab3b91e9" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_5515172c-4b8a-4e3b-9acd-60f396e9c751" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_dea9b9de-6ce1-49dd-b0a3-dea774d69e39" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_74079e6a-0f8a-4a20-86b1-2ec3ab3b91e9" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_dea9b9de-6ce1-49dd-b0a3-dea774d69e39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0b61755b-1176-4715-b8fc-5ed1278ee2ae" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_74079e6a-0f8a-4a20-86b1-2ec3ab3b91e9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0b61755b-1176-4715-b8fc-5ed1278ee2ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_435da6a0-bb68-4a57-b869-24c654b8a3dc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_74079e6a-0f8a-4a20-86b1-2ec3ab3b91e9" xlink:to="loc_us-gaap_Goodwill_435da6a0-bb68-4a57-b869-24c654b8a3dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_920ac437-3fd1-435b-9b2f-bfb3ae23eeec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_74079e6a-0f8a-4a20-86b1-2ec3ab3b91e9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_920ac437-3fd1-435b-9b2f-bfb3ae23eeec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_dbc433cd-96e5-42e5-9f4a-e31b26acb687" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9b6a7599-b130-4ae5-9bb2-16032eec64bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbc433cd-96e5-42e5-9f4a-e31b26acb687" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9b6a7599-b130-4ae5-9bb2-16032eec64bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_71da8907-6e0b-4cd9-9dc0-958200b31ed4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbc433cd-96e5-42e5-9f4a-e31b26acb687" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_71da8907-6e0b-4cd9-9dc0-958200b31ed4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_12d097c1-3262-48f1-be70-c2c132e893af" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbc433cd-96e5-42e5-9f4a-e31b26acb687" xlink:to="loc_us-gaap_InventoryNet_12d097c1-3262-48f1-be70-c2c132e893af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_7ff87793-4361-47a0-b56f-b1a37403eb7e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbc433cd-96e5-42e5-9f4a-e31b26acb687" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_7ff87793-4361-47a0-b56f-b1a37403eb7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4614a128-2074-433a-a6a6-04980a404432" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_40218420-4f62-42c8-914f-539635faf9ec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4614a128-2074-433a-a6a6-04980a404432" xlink:to="loc_us-gaap_PreferredStockValue_40218420-4f62-42c8-914f-539635faf9ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_0cb4dcaa-791d-4df4-9c9e-d128eb7e397b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4614a128-2074-433a-a6a6-04980a404432" xlink:to="loc_us-gaap_CommonStockValue_0cb4dcaa-791d-4df4-9c9e-d128eb7e397b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_8702a934-2f3d-49e1-9346-a07eab4a96d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4614a128-2074-433a-a6a6-04980a404432" xlink:to="loc_us-gaap_AdditionalPaidInCapital_8702a934-2f3d-49e1-9346-a07eab4a96d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8ad95527-f8f9-48e5-b23a-b73946bf668e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4614a128-2074-433a-a6a6-04980a404432" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8ad95527-f8f9-48e5-b23a-b73946bf668e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_dd4a42a1-8635-423b-9c60-b47d60eb7b2e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4614a128-2074-433a-a6a6-04980a404432" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_dd4a42a1-8635-423b-9c60-b47d60eb7b2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_dab8e90b-6032-42ab-b7d4-79afc975cec7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4614a128-2074-433a-a6a6-04980a404432" xlink:to="loc_us-gaap_TreasuryStockValue_dab8e90b-6032-42ab-b7d4-79afc975cec7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_9c81a676-f32a-413c-9b1e-ff64770df73a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_57d0c4b9-9f99-4fa7-bf62-0889d9f16587" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9c81a676-f32a-413c-9b1e-ff64770df73a" xlink:to="loc_us-gaap_AccountsPayableCurrent_57d0c4b9-9f99-4fa7-bf62-0889d9f16587" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_6fd57601-ef7b-422a-8fa8-eb6d3cd7f980" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9c81a676-f32a-413c-9b1e-ff64770df73a" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_6fd57601-ef7b-422a-8fa8-eb6d3cd7f980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_e1605bf8-9f44-4677-877f-04cce47ef2b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9c81a676-f32a-413c-9b1e-ff64770df73a" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_e1605bf8-9f44-4677-877f-04cce47ef2b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_ce9dbf47-f7db-41ba-9efa-733befbb37f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9c81a676-f32a-413c-9b1e-ff64770df73a" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_ce9dbf47-f7db-41ba-9efa-733befbb37f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_c49e9b18-122c-4817-a143-6986c7e7505e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9c81a676-f32a-413c-9b1e-ff64770df73a" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_c49e9b18-122c-4817-a143-6986c7e7505e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_dc8890a2-db1f-4f7b-9755-8eb250daee83" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_fcca98ac-56ef-4d01-b973-869473a8a1e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_dc8890a2-db1f-4f7b-9755-8eb250daee83" xlink:to="loc_us-gaap_Liabilities_fcca98ac-56ef-4d01-b973-869473a8a1e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_00faa92e-08f5-4f08-b871-c16dcced7bbc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_dc8890a2-db1f-4f7b-9755-8eb250daee83" xlink:to="loc_us-gaap_StockholdersEquity_00faa92e-08f5-4f08-b871-c16dcced7bbc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedBalanceSheetsParenthetical"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofIncomeLoss" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedStatementsofIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_643914d5-35fd-4a79-92e4-ab03b248995e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_310774b0-8dfc-45ba-8ec6-ce99276f7d27" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_643914d5-35fd-4a79-92e4-ab03b248995e" xlink:to="loc_us-gaap_OperatingIncomeLoss_310774b0-8dfc-45ba-8ec6-ce99276f7d27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_f496878f-d16f-41f9-8ce1-fb1ee945b8d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_643914d5-35fd-4a79-92e4-ab03b248995e" xlink:to="loc_us-gaap_InterestExpense_f496878f-d16f-41f9-8ce1-fb1ee945b8d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_4ade6135-0970-4b10-8a3c-f8578ab26ca9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_643914d5-35fd-4a79-92e4-ab03b248995e" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_4ade6135-0970-4b10-8a3c-f8578ab26ca9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_5e6a126f-1fe6-4e09-8ed5-4f64f0303688" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_12cc7f4b-5b63-4768-96b7-0f6eba70da55" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5e6a126f-1fe6-4e09-8ed5-4f64f0303688" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_12cc7f4b-5b63-4768-96b7-0f6eba70da55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_62a62ba7-cd1f-4f1d-9df5-1c9460c37c5f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5e6a126f-1fe6-4e09-8ed5-4f64f0303688" xlink:to="loc_us-gaap_RestructuringCharges_62a62ba7-cd1f-4f1d-9df5-1c9460c37c5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_19ffb17f-c4f9-417c-a096-527cf4168878" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5e6a126f-1fe6-4e09-8ed5-4f64f0303688" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_19ffb17f-c4f9-417c-a096-527cf4168878" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_1ab7ea75-3628-4851-b345-44ed74d6d710" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5e6a126f-1fe6-4e09-8ed5-4f64f0303688" xlink:to="loc_us-gaap_AssetImpairmentCharges_1ab7ea75-3628-4851-b345-44ed74d6d710" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_d2e2eea0-929f-4d8e-b222-a2a244653426" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5e6a126f-1fe6-4e09-8ed5-4f64f0303688" xlink:to="loc_us-gaap_Revenues_d2e2eea0-929f-4d8e-b222-a2a244653426" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_33f7bb28-1121-4031-8faa-8e7ef10d2ab4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5e6a126f-1fe6-4e09-8ed5-4f64f0303688" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_33f7bb28-1121-4031-8faa-8e7ef10d2ab4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a7015ac2-a3c4-495d-a9b1-f261894bfb7d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_7e77bbf5-b3f1-4375-8457-9ceef00cefa3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a7015ac2-a3c4-495d-a9b1-f261894bfb7d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_7e77bbf5-b3f1-4375-8457-9ceef00cefa3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_4d48251d-5b7c-4d69-bb00-fa9aa675851b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a7015ac2-a3c4-495d-a9b1-f261894bfb7d" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_4d48251d-5b7c-4d69-bb00-fa9aa675851b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofIncomeLossParenthetical" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedStatementsofIncomeLossParenthetical"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofIncomeLossParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_e99725c5-cd0d-4b23-b514-f0ef1f535b48" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_47d51f32-6489-4079-b2b5-531727139497" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_e99725c5-cd0d-4b23-b514-f0ef1f535b48" xlink:to="loc_us-gaap_NetIncomeLoss_47d51f32-6489-4079-b2b5-531727139497" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_8bf32939-9eca-46ce-a1e0-f82efabda179" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_e99725c5-cd0d-4b23-b514-f0ef1f535b48" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_8bf32939-9eca-46ce-a1e0-f82efabda179" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6b79d50f-546e-48cb-aca9-dd36cbfea19f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_c2c47ff2-96a1-4b32-97da-ecffba1a6245" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6b79d50f-546e-48cb-aca9-dd36cbfea19f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_c2c47ff2-96a1-4b32-97da-ecffba1a6245" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_b274e9b2-a66f-408f-b3ff-5155055569d1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6b79d50f-546e-48cb-aca9-dd36cbfea19f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_b274e9b2-a66f-408f-b3ff-5155055569d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_69f66894-bb8d-4380-9a3b-aff806b99b3a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6b79d50f-546e-48cb-aca9-dd36cbfea19f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_69f66894-bb8d-4380-9a3b-aff806b99b3a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementofStockholdersEquity" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedStatementofStockholdersEquity"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementofStockholdersEquity" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementofStockholdersEquityParenthetical" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedStatementofStockholdersEquityParenthetical"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementofStockholdersEquityParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofCashFlow" xlink:type="simple" xlink:href="nx-20201031.xsd#ConsolidatedStatementsofCashFlow"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ConsolidatedStatementsofCashFlow" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6ab048fb-1e49-4221-a1f2-7bab83f00859" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2eda9a3c-bbc5-4190-82ba-86df87e64846" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6ab048fb-1e49-4221-a1f2-7bab83f00859" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2eda9a3c-bbc5-4190-82ba-86df87e64846" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_cd39f1ee-e09d-4e6f-b01d-2c37714c9523" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6ab048fb-1e49-4221-a1f2-7bab83f00859" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_cd39f1ee-e09d-4e6f-b01d-2c37714c9523" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_3f84011c-0ae8-4697-8204-ac7e0658bd67" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_3f84011c-0ae8-4697-8204-ac7e0658bd67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_1989e7c3-5065-4cd0-8e47-aa120250f449" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_1989e7c3-5065-4cd0-8e47-aa120250f449" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_7521bde1-be6b-4f3b-b406-337c5904486a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_7521bde1-be6b-4f3b-b406-337c5904486a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_49f95c72-25ec-42dd-b452-62ee3f769b8b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_49f95c72-25ec-42dd-b452-62ee3f769b8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_2d1287fd-99b4-483a-9f2d-27ed9c8e5ea1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_2d1287fd-99b4-483a-9f2d-27ed9c8e5ea1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_e71060bb-a32e-4949-9572-1e1738f263c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_e71060bb-a32e-4949-9572-1e1738f263c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_b8e86cce-04a2-4a27-bd73-16f9456193cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_b8e86cce-04a2-4a27-bd73-16f9456193cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7c3430ba-a426-4c9b-873b-f84372f58c36" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_36e5b5b3-e68d-4284-a7a4-338d0e91c9ee" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7c3430ba-a426-4c9b-873b-f84372f58c36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a99ca95d-19dd-4366-a633-3e993a46044f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_ProfitLoss_a99ca95d-19dd-4366-a633-3e993a46044f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_da9dbf1d-4bb5-432c-acc8-1c69c00e01e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_da9dbf1d-4bb5-432c-acc8-1c69c00e01e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_0833f782-cce0-4834-b031-95300fa7eadb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_0833f782-cce0-4834-b031-95300fa7eadb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_e342a912-c35c-45a4-a57a-694415549fc7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_ShareBasedCompensation_e342a912-c35c-45a4-a57a-694415549fc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_23f343a4-8c30-443d-a8bf-ae0af5afcf4c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_23f343a4-8c30-443d-a8bf-ae0af5afcf4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_95bd68b0-ca2d-40c1-b97d-12d56c15b939" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_95bd68b0-ca2d-40c1-b97d-12d56c15b939" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_c07a1a58-6761-40ef-9230-a363703ae283" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_AssetImpairmentCharges_c07a1a58-6761-40ef-9230-a363703ae283" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_a56d7b6e-3276-4049-8256-4d6f681f22bb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_a56d7b6e-3276-4049-8256-4d6f681f22bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_aa0e5e27-82d8-4351-a0d8-a2e85e62905f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_aa0e5e27-82d8-4351-a0d8-a2e85e62905f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_31ce4ecb-a453-485e-b3f0-30b009156ea1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_31ce4ecb-a453-485e-b3f0-30b009156ea1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_9962a21b-b3a9-432b-ae0b-1a85303c1e73" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_9962a21b-b3a9-432b-ae0b-1a85303c1e73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_5586429f-e9f2-4c41-ae13-e0728e27d09b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_5586429f-e9f2-4c41-ae13-e0728e27d09b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_8af6511c-5911-455d-a484-c6199d70e830" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_8af6511c-5911-455d-a484-c6199d70e830" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_9b195441-2466-481d-bcd3-fad5943f511c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_9b195441-2466-481d-bcd3-fad5943f511c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_18ffce0d-8d3a-4aee-90ad-bbfbade4cd50" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_18ffce0d-8d3a-4aee-90ad-bbfbade4cd50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_b83bf49e-fa10-4728-b199-2128f9de09c4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_b83bf49e-fa10-4728-b199-2128f9de09c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_a46f301d-3c2b-49c8-8c55-336c4f15eebf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f541a9b7-4477-4d69-8f4d-1dc0608ea0f5" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_a46f301d-3c2b-49c8-8c55-336c4f15eebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2a91908f-408a-4c7c-9c3d-218ac0fe9929" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_87f2f53f-1c94-47b9-a549-cdd362e9d979" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2a91908f-408a-4c7c-9c3d-218ac0fe9929" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_87f2f53f-1c94-47b9-a549-cdd362e9d979" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e87174f1-9dd0-41b3-bb49-7212c9bd408b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2a91908f-408a-4c7c-9c3d-218ac0fe9929" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e87174f1-9dd0-41b3-bb49-7212c9bd408b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0d091afb-c161-4f96-bb74-33e0b955a0bf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2a91908f-408a-4c7c-9c3d-218ac0fe9929" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0d091afb-c161-4f96-bb74-33e0b955a0bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_5a846fef-fbf2-4231-a29d-0067dbe6a548" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2a91908f-408a-4c7c-9c3d-218ac0fe9929" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_5a846fef-fbf2-4231-a29d-0067dbe6a548" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPolicies" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPolicies"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesPolicies"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesRevenuefromContractswithCustomersDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesRevenuefromContractswithCustomersDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesRevenuefromContractswithCustomersDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesConcentrationDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesConcentrationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesConcentrationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesLongLivedAssetsDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesLongLivedAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesLongLivedAssetsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesGoodwillDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesGoodwillDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesGoodwillDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesIncomeTaxesDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesIncomeTaxesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesStockBasedCompensationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesCashFlowDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesCashFlowDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesCashFlowDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesRelatedPartyTransactionsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsBasisofPresentationandSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ReceivablesAllowance" xlink:type="simple" xlink:href="nx-20201031.xsd#ReceivablesAllowance"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ReceivablesAllowance" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ReceivablesAllowanceTables" xlink:type="simple" xlink:href="nx-20201031.xsd#ReceivablesAllowanceTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ReceivablesAllowanceTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ReceivablesAllowanceDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#ReceivablesAllowanceDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ReceivablesAllowanceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_50adca1f-3182-4fa0-990c-8282fe3db578" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesGrossCurrent_7ba5bb37-8089-4537-aa4c-706789900953" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherReceivablesGrossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableGrossCurrent_50adca1f-3182-4fa0-990c-8282fe3db578" xlink:to="loc_us-gaap_OtherReceivablesGrossCurrent_7ba5bb37-8089-4537-aa4c-706789900953" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_6d225c09-0e0d-4186-a155-5c48aa4f7cf7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableGrossCurrent_50adca1f-3182-4fa0-990c-8282fe3db578" xlink:to="loc_us-gaap_OtherReceivables_6d225c09-0e0d-4186-a155-5c48aa4f7cf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_55fea53d-3be4-4b79-aff7-44121dcda0d6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_0a02cdcb-e8cb-4c89-bb97-6d057682ca01" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_55fea53d-3be4-4b79-aff7-44121dcda0d6" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_0a02cdcb-e8cb-4c89-bb97-6d057682ca01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_d55f5229-7990-4cfa-af21-e943c80ef3b3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_55fea53d-3be4-4b79-aff7-44121dcda0d6" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_d55f5229-7990-4cfa-af21-e943c80ef3b3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Inventories" xlink:type="simple" xlink:href="nx-20201031.xsd#Inventories"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Inventories" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/InventoriesTables" xlink:type="simple" xlink:href="nx-20201031.xsd#InventoriesTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/InventoriesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/InventoriesDetail" xlink:type="simple" xlink:href="nx-20201031.xsd#InventoriesDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/InventoriesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_d7f418b5-76a0-497a-bb9a-3e7c790fa115" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_96bcbbef-27fa-45ed-a74b-f349014a3c17" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_d7f418b5-76a0-497a-bb9a-3e7c790fa115" xlink:to="loc_us-gaap_InventoryGross_96bcbbef-27fa-45ed-a74b-f349014a3c17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryValuationReserves_18cb024e-d5c2-4beb-9669-a07d80c3ce22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryValuationReserves"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_d7f418b5-76a0-497a-bb9a-3e7c790fa115" xlink:to="loc_us-gaap_InventoryValuationReserves_18cb024e-d5c2-4beb-9669-a07d80c3ce22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_d14121b7-addf-4559-afa5-c6a5dd75bd34" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_4166f2fd-5851-4c81-a6cb-bcc42324bba5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_d14121b7-addf-4559-afa5-c6a5dd75bd34" xlink:to="loc_us-gaap_InventoryRawMaterials_4166f2fd-5851-4c81-a6cb-bcc42324bba5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcess_80ffd438-252c-4cca-8d7f-581773c0e6d9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryFinishedGoodsAndWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_d14121b7-addf-4559-afa5-c6a5dd75bd34" xlink:to="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcess_80ffd438-252c-4cca-8d7f-581773c0e6d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventorySupplies_0e66a958-ed3e-41d9-b29a-2d73fb646dd7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherInventorySupplies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_d14121b7-addf-4559-afa5-c6a5dd75bd34" xlink:to="loc_us-gaap_OtherInventorySupplies_0e66a958-ed3e-41d9-b29a-2d73fb646dd7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/PropertyPlantEquipment" xlink:type="simple" xlink:href="nx-20201031.xsd#PropertyPlantEquipment"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/PropertyPlantEquipment" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/PropertyPlantandEquipmentTables" xlink:type="simple" xlink:href="nx-20201031.xsd#PropertyPlantandEquipmentTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/PropertyPlantandEquipmentTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/PropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#PropertyPlantandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/PropertyPlantandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_59a96369-356c-491a-973a-7369b0243bf9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_0be7986d-978c-42f4-bbe7-ef4562c9b46f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_59a96369-356c-491a-973a-7369b0243bf9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_0be7986d-978c-42f4-bbe7-ef4562c9b46f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_d38cee5b-b349-4c4d-ae95-94e6fc68ea4d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_59a96369-356c-491a-973a-7369b0243bf9" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_d38cee5b-b349-4c4d-ae95-94e6fc68ea4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_fa4fa7d2-340b-4425-9b2f-580d2eb58184" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandAndLandImprovements_b09faa66-69f8-4abd-b85b-eedf15ae29be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_fa4fa7d2-340b-4425-9b2f-580d2eb58184" xlink:to="loc_us-gaap_LandAndLandImprovements_b09faa66-69f8-4abd-b85b-eedf15ae29be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_7f337ca4-075b-439b-974f-4001664caa60" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_fa4fa7d2-340b-4425-9b2f-580d2eb58184" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_7f337ca4-075b-439b-974f-4001664caa60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_41c7576a-a0ee-473c-96ad-450e142854af" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_fa4fa7d2-340b-4425-9b2f-580d2eb58184" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_41c7576a-a0ee-473c-96ad-450e142854af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_1b1285a9-2ea7-4a3a-bb96-b885d9dc052c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_fa4fa7d2-340b-4425-9b2f-580d2eb58184" xlink:to="loc_us-gaap_ConstructionInProgressGross_1b1285a9-2ea7-4a3a-bb96-b885d9dc052c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Leases" xlink:type="simple" xlink:href="nx-20201031.xsd#Leases"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Leases" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesCodificationTopic842Tables" xlink:type="simple" xlink:href="nx-20201031.xsd#LeasesCodificationTopic842Tables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesCodificationTopic842Tables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesCodificationTopic842Details" xlink:type="simple" xlink:href="nx-20201031.xsd#LeasesCodificationTopic842Details"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesCodificationTopic842Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fe3d5f99-05a7-4075-a137-f2c458ce017a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_fef02b72-7a27-496c-b5d0-d92d5ee6698c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fe3d5f99-05a7-4075-a137-f2c458ce017a" xlink:to="loc_us-gaap_OperatingLeaseLiability_fef02b72-7a27-496c-b5d0-d92d5ee6698c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_02fdeb98-6d1b-43dd-bf24-cab98d560106" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fe3d5f99-05a7-4075-a137-f2c458ce017a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_02fdeb98-6d1b-43dd-bf24-cab98d560106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_b721e2af-16d7-482b-b8b9-956b718e44d6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_f0fe0671-844d-413d-a1a4-c645733b0249" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_b721e2af-16d7-482b-b8b9-956b718e44d6" xlink:to="loc_us-gaap_FinanceLeaseLiability_f0fe0671-844d-413d-a1a4-c645733b0249" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_4ee72b02-a073-4405-af26-9d02f1a32173" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_b721e2af-16d7-482b-b8b9-956b718e44d6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_4ee72b02-a073-4405-af26-9d02f1a32173" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesCodificationTopic842Details_1" xlink:type="simple" xlink:href="nx-20201031.xsd#LeasesCodificationTopic842Details_1"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesCodificationTopic842Details_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4409e09e-8002-40ae-bf8d-b42dc10d1c8a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_dc22ff65-468d-4fe2-9ecd-f053d87e109b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4409e09e-8002-40ae-bf8d-b42dc10d1c8a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_dc22ff65-468d-4fe2-9ecd-f053d87e109b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_38a46ea1-568f-407a-bffa-ef4b456da6b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4409e09e-8002-40ae-bf8d-b42dc10d1c8a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_38a46ea1-568f-407a-bffa-ef4b456da6b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_51e9f52d-3cb7-472b-9349-d2e0454fd57b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4409e09e-8002-40ae-bf8d-b42dc10d1c8a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_51e9f52d-3cb7-472b-9349-d2e0454fd57b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_1997b797-2ec6-4adc-aae1-182e20723f81" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4409e09e-8002-40ae-bf8d-b42dc10d1c8a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_1997b797-2ec6-4adc-aae1-182e20723f81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5def0de0-5954-4326-adaa-78685cb4748c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4409e09e-8002-40ae-bf8d-b42dc10d1c8a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5def0de0-5954-4326-adaa-78685cb4748c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_052cfcee-6b53-4e58-8e3f-7a78f734555f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4409e09e-8002-40ae-bf8d-b42dc10d1c8a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_052cfcee-6b53-4e58-8e3f-7a78f734555f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4cc9a879-bb03-4f07-be4c-b92844aca4b6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_596d7eee-5fe6-4feb-9412-b591c2c399a8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4cc9a879-bb03-4f07-be4c-b92844aca4b6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_596d7eee-5fe6-4feb-9412-b591c2c399a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_6f26734f-0371-4959-a171-6f7f66625b97" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4cc9a879-bb03-4f07-be4c-b92844aca4b6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_6f26734f-0371-4959-a171-6f7f66625b97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_b9111b83-7050-4fc6-ab0b-bec7a496bf69" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4cc9a879-bb03-4f07-be4c-b92844aca4b6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_b9111b83-7050-4fc6-ab0b-bec7a496bf69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_0d8c9423-58ca-4afb-bd36-049a1030ced0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4cc9a879-bb03-4f07-be4c-b92844aca4b6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_0d8c9423-58ca-4afb-bd36-049a1030ced0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_af3c4a0a-3cee-4959-a9f3-e1c725200b70" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4cc9a879-bb03-4f07-be4c-b92844aca4b6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_af3c4a0a-3cee-4959-a9f3-e1c725200b70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_ea558764-7e2d-4e49-88cc-5a705b49fcbd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4cc9a879-bb03-4f07-be4c-b92844aca4b6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_ea558764-7e2d-4e49-88cc-5a705b49fcbd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssets" xlink:type="simple" xlink:href="nx-20201031.xsd#GoodwillandIntangibleAssets"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssets" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsTables" xlink:type="simple" xlink:href="nx-20201031.xsd#GoodwillandIntangibleAssetsTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsDetail" xlink:type="simple" xlink:href="nx-20201031.xsd#GoodwillandIntangibleAssetsDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45848904-01dd-46c6-940a-5a8125632a72" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_89072a38-d60d-4643-b349-1b849e994d78" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45848904-01dd-46c6-940a-5a8125632a72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_89072a38-d60d-4643-b349-1b849e994d78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_ae2e228d-d5d6-427c-8a71-18993f5c2a72" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45848904-01dd-46c6-940a-5a8125632a72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_ae2e228d-d5d6-427c-8a71-18993f5c2a72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_36bb30bb-71f6-4aee-affa-a3798dfa5c02" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45848904-01dd-46c6-940a-5a8125632a72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_36bb30bb-71f6-4aee-affa-a3798dfa5c02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_c42a385f-5d40-41c5-9e25-32140f632241" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45848904-01dd-46c6-940a-5a8125632a72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_c42a385f-5d40-41c5-9e25-32140f632241" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_43d18a35-32a7-4603-9495-b44d44aa2835" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45848904-01dd-46c6-940a-5a8125632a72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_43d18a35-32a7-4603-9495-b44d44aa2835" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_4e03bbb7-bfb1-434b-be97-ed353eae1442" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45848904-01dd-46c6-940a-5a8125632a72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_4e03bbb7-bfb1-434b-be97-ed353eae1442" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/AccruedLiabilities" xlink:type="simple" xlink:href="nx-20201031.xsd#AccruedLiabilities"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/AccruedLiabilities" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/AccruedLiabilitiesTables" xlink:type="simple" xlink:href="nx-20201031.xsd#AccruedLiabilitiesTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/AccruedLiabilitiesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/AccruedLiabilitiesDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#AccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/AccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_Accruedotherbusinesstaxes_9c75708b-13fa-409f-b9e8-c49127b384ea" xlink:href="nx-20201031.xsd#nx_Accruedotherbusinesstaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_nx_Accruedotherbusinesstaxes_9c75708b-13fa-409f-b9e8-c49127b384ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_bccaf194-1dfc-4b7f-afdc-e4004f5778c8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_bccaf194-1dfc-4b7f-afdc-e4004f5778c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_dc75ece3-2510-4dda-8d5f-33e65257878b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherEmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_dc75ece3-2510-4dda-8d5f-33e65257878b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_797a51fc-17c3-4bf0-bffe-6e9f58f7f2f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_797a51fc-17c3-4bf0-bffe-6e9f58f7f2f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueCurrent_7db6bab5-6cd3-4fee-b317-e005cbaa481a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredRevenueCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_DeferredRevenueCurrent_7db6bab5-6cd3-4fee-b317-e005cbaa481a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRefundLiabilityCurrent_5a541efb-8542-439a-ac99-c47c8e5fdc08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CustomerRefundLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_CustomerRefundLiabilityCurrent_5a541efb-8542-439a-ac99-c47c8e5fdc08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedProfessionalFeesCurrent_44a4846f-71b7-4633-9b83-a999e9367b00" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedProfessionalFeesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_AccruedProfessionalFeesCurrent_44a4846f-71b7-4633-9b83-a999e9367b00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_b685f889-b546-45d9-953d-19c0aae1c444" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredCompensationLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_b685f889-b546-45d9-953d-19c0aae1c444" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_a3cc764e-99af-445e-9506-5ca53d6e2fd3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_1210ef83-788c-48a3-863a-a310957fab73" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_a3cc764e-99af-445e-9506-5ca53d6e2fd3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligations" xlink:type="simple" xlink:href="nx-20201031.xsd#DebtandCapitalLeaseObligations"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligations" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsTables" xlink:type="simple" xlink:href="nx-20201031.xsd#DebtandCapitalLeaseObligationsTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofDebtObligationsDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#DebtandCapitalLeaseObligationsScheduleofDebtObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofDebtObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_c24de553-c0bd-4e29-8952-da9e10890cba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_d54de85d-48c4-4af8-9c7e-d5a268fc911e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_c24de553-c0bd-4e29-8952-da9e10890cba" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_d54de85d-48c4-4af8-9c7e-d5a268fc911e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_f191284f-9c03-40ab-ad76-6b58690ab552" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_c24de553-c0bd-4e29-8952-da9e10890cba" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_f191284f-9c03-40ab-ad76-6b58690ab552" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsNarrativeDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#DebtandCapitalLeaseObligationsNarrativeDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofApplicableMarginsandCommitmentFeesDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#DebtandCapitalLeaseObligationsScheduleofApplicableMarginsandCommitmentFeesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofApplicableMarginsandCommitmentFeesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofDebtMaturitiesDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#DebtandCapitalLeaseObligationsScheduleofDebtMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofDebtMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree_c9ba3cfd-47ae-4170-afdc-66f61c064f32" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearThree_dbbcb6f7-e4da-4434-bad4-e395fde7d4ca" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree_c9ba3cfd-47ae-4170-afdc-66f61c064f32" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearThree_dbbcb6f7-e4da-4434-bad4-e395fde7d4ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_5b320ca8-1abf-45a2-96a4-de6affbb0ac5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree_c9ba3cfd-47ae-4170-afdc-66f61c064f32" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_5b320ca8-1abf-45a2-96a4-de6affbb0ac5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_LongTermDebtAndCapitalLeaseObligationsGross_35c9a857-4b79-493c-b006-cc278f035f50" xlink:href="nx-20201031.xsd#nx_LongTermDebtAndCapitalLeaseObligationsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree_59eeb7c6-0ef3-47a1-bcf8-c8d5f9bb189a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LongTermDebtAndCapitalLeaseObligationsGross_35c9a857-4b79-493c-b006-cc278f035f50" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree_59eeb7c6-0ef3-47a1-bcf8-c8d5f9bb189a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive_760204d6-4960-4319-a7a4-2a4743f5808c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LongTermDebtAndCapitalLeaseObligationsGross_35c9a857-4b79-493c-b006-cc278f035f50" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive_760204d6-4960-4319-a7a4-2a4743f5808c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo_3af94d3d-2cfb-4b0a-8cf6-a8a834b9ca71" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LongTermDebtAndCapitalLeaseObligationsGross_35c9a857-4b79-493c-b006-cc278f035f50" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo_3af94d3d-2cfb-4b0a-8cf6-a8a834b9ca71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive_7dca4f52-4ae1-43ef-bf12-d2dc360a164e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LongTermDebtAndCapitalLeaseObligationsGross_35c9a857-4b79-493c-b006-cc278f035f50" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive_7dca4f52-4ae1-43ef-bf12-d2dc360a164e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour_18da1709-5d3c-4b3a-9a71-1d8a9383533a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LongTermDebtAndCapitalLeaseObligationsGross_35c9a857-4b79-493c-b006-cc278f035f50" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour_18da1709-5d3c-4b3a-9a71-1d8a9383533a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths_a898bf93-95ed-4d3b-9cf6-146d9c475060" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LongTermDebtAndCapitalLeaseObligationsGross_35c9a857-4b79-493c-b006-cc278f035f50" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths_a898bf93-95ed-4d3b-9cf6-146d9c475060" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive_0f7421d0-39af-490b-98db-2dda380a2f77" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_a2718863-67b7-4ac2-b360-ab2b4eff720a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive_0f7421d0-39af-490b-98db-2dda380a2f77" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_a2718863-67b7-4ac2-b360-ab2b4eff720a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidAfterYearFive_96c1dae6-03f2-49ca-ac0c-3a06bcaa0950" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive_0f7421d0-39af-490b-98db-2dda380a2f77" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidAfterYearFive_96c1dae6-03f2-49ca-ac0c-3a06bcaa0950" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths_55a45588-9b7c-44bf-b442-ec5c2e393687" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearOne_01f6e5e6-f811-4012-9408-3daa7abc046f" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths_55a45588-9b7c-44bf-b442-ec5c2e393687" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearOne_01f6e5e6-f811-4012-9408-3daa7abc046f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_5f96fcfc-f936-4d81-b01f-806aadff5e17" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths_55a45588-9b7c-44bf-b442-ec5c2e393687" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_5f96fcfc-f936-4d81-b01f-806aadff5e17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_7de7da7d-a606-432a-9386-4d8e9c71535e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_08b285b3-3dd4-41af-92a6-efde37dc1299" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7de7da7d-a606-432a-9386-4d8e9c71535e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_08b285b3-3dd4-41af-92a6-efde37dc1299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_9e5a037f-8277-4c3f-b0d1-b39a58f68ebd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7de7da7d-a606-432a-9386-4d8e9c71535e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_9e5a037f-8277-4c3f-b0d1-b39a58f68ebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_1ef595f2-1143-4f62-b026-79fe93732d44" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7de7da7d-a606-432a-9386-4d8e9c71535e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_1ef595f2-1143-4f62-b026-79fe93732d44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_09205695-a241-48a1-8821-4c3e10718802" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7de7da7d-a606-432a-9386-4d8e9c71535e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_09205695-a241-48a1-8821-4c3e10718802" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_63c44710-3827-4dd3-9311-fd0cee2c2c84" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7de7da7d-a606-432a-9386-4d8e9c71535e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_63c44710-3827-4dd3-9311-fd0cee2c2c84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_a1c4e9b3-4112-4f2d-bf58-558af2db9377" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7de7da7d-a606-432a-9386-4d8e9c71535e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_a1c4e9b3-4112-4f2d-bf58-558af2db9377" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_f4c05444-35d3-4e45-bea9-15f859611358" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearThree_d3ec8c31-ee65-4f7e-98ba-f688ec713882" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_f4c05444-35d3-4e45-bea9-15f859611358" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearThree_d3ec8c31-ee65-4f7e-98ba-f688ec713882" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFive_802b9c69-6697-44ab-8bae-092681f552b8" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_f4c05444-35d3-4e45-bea9-15f859611358" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFive_802b9c69-6697-44ab-8bae-092681f552b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearOne_9e15b3f0-abf7-4d8d-a159-8417426a944a" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearOne"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_f4c05444-35d3-4e45-bea9-15f859611358" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearOne_9e15b3f0-abf7-4d8d-a159-8417426a944a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearTwo_fc7ebe80-ebd9-49f0-82ef-a1c0d999933b" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_f4c05444-35d3-4e45-bea9-15f859611358" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearTwo_fc7ebe80-ebd9-49f0-82ef-a1c0d999933b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidAfterYearFive_9fa6bfca-3a54-4286-a9d3-b7b00be02612" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_f4c05444-35d3-4e45-bea9-15f859611358" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidAfterYearFive_9fa6bfca-3a54-4286-a9d3-b7b00be02612" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFour_427673e8-fac9-4d1e-a37f-b71d6d32a6cd" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_f4c05444-35d3-4e45-bea9-15f859611358" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFour_427673e8-fac9-4d1e-a37f-b71d6d32a6cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour_af9fa454-358a-44da-ac71-a3a5a92a6221" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_3919e30b-6cc5-43b8-b40e-706bdb6a5eb5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour_af9fa454-358a-44da-ac71-a3a5a92a6221" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_3919e30b-6cc5-43b8-b40e-706bdb6a5eb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFour_2d119e60-2ef7-4373-b24f-31523e5eeff8" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour_af9fa454-358a-44da-ac71-a3a5a92a6221" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFour_2d119e60-2ef7-4373-b24f-31523e5eeff8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive_87a5d746-44a2-4d92-ac51-3ca3b04fde75" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFive_acf61d31-bd6d-495f-ab73-65fbc3227f2a" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive_87a5d746-44a2-4d92-ac51-3ca3b04fde75" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearFive_acf61d31-bd6d-495f-ab73-65fbc3227f2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_08ce3303-2b67-44d5-a089-e9ab2ceecd10" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive_87a5d746-44a2-4d92-ac51-3ca3b04fde75" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_08ce3303-2b67-44d5-a089-e9ab2ceecd10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo_014eeb5f-d9ce-4f9e-b332-0c8a060a99d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearTwo_3e623115-3ce5-43fe-bb92-ffffd5946604" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo_014eeb5f-d9ce-4f9e-b332-0c8a060a99d4" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaidYearTwo_3e623115-3ce5-43fe-bb92-ffffd5946604" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9bac6a60-8173-4489-a2f3-740443485463" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo_014eeb5f-d9ce-4f9e-b332-0c8a060a99d4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9bac6a60-8173-4489-a2f3-740443485463" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_28a684ef-6ee4-4837-8350-2cf299cc94f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree_26af2db4-0514-4a4f-8672-b70ced2d6b55" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_28a684ef-6ee4-4837-8350-2cf299cc94f6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearThree_26af2db4-0514-4a4f-8672-b70ced2d6b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive_d001c9af-b9a1-4ed9-b282-7cab00138e13" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_28a684ef-6ee4-4837-8350-2cf299cc94f6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFive_d001c9af-b9a1-4ed9-b282-7cab00138e13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo_26dde186-9b38-48ce-b685-21a2333acd2a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_28a684ef-6ee4-4837-8350-2cf299cc94f6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearTwo_26dde186-9b38-48ce-b685-21a2333acd2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive_e478c433-3920-4330-98f1-f47d1857167f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_28a684ef-6ee4-4837-8350-2cf299cc94f6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalAfterYearFive_e478c433-3920-4330-98f1-f47d1857167f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour_dd0fc51f-187c-43d2-91d1-fce360dc6884" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_28a684ef-6ee4-4837-8350-2cf299cc94f6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsMaturitiesRepaymentsOfPrincipalInYearFour_dd0fc51f-187c-43d2-91d1-fce360dc6884" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths_829e41a1-2dd6-40af-8b55-1d64cb2145e4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_28a684ef-6ee4-4837-8350-2cf299cc94f6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsRepaymentsOfPrincipalInNextTwelveMonths_829e41a1-2dd6-40af-8b55-1d64cb2145e4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofDebtMaturitiesDetails_1" xlink:type="simple" xlink:href="nx-20201031.xsd#DebtandCapitalLeaseObligationsScheduleofDebtMaturitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsScheduleofDebtMaturitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_1206742b-4800-44d7-891f-70b5707c6c32" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligations_8eec13bd-e4ad-4124-92cc-c41afd320b7e" xlink:href="nx-20201031.xsd#nx_FinanceLeaseLiabilityAndOtherFinancingObligations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligationsToBePaid_1206742b-4800-44d7-891f-70b5707c6c32" xlink:to="loc_nx_FinanceLeaseLiabilityAndOtherFinancingObligations_8eec13bd-e4ad-4124-92cc-c41afd320b7e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/RetirementPlans" xlink:type="simple" xlink:href="nx-20201031.xsd#RetirementPlans"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/RetirementPlans" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/RetirementPlansTables" xlink:type="simple" xlink:href="nx-20201031.xsd#RetirementPlansTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/RetirementPlansTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/RetirementPlansDetail" xlink:type="simple" xlink:href="nx-20201031.xsd#RetirementPlansDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/RetirementPlansDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_ec06319d-d2c2-45de-a4e0-3a1bc2a88b14" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_Postretirementdefinedbenefitplanscurrentliabilities_b65e58b5-d491-4cdf-a378-1452b3f8fe60" xlink:href="nx-20201031.xsd#nx_Postretirementdefinedbenefitplanscurrentliabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_ec06319d-d2c2-45de-a4e0-3a1bc2a88b14" xlink:to="loc_nx_Postretirementdefinedbenefitplanscurrentliabilities_b65e58b5-d491-4cdf-a378-1452b3f8fe60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_Postretirementdefinedbenefitplansnoncurrentliabilities_f997a36f-8762-4ea4-9d73-08473bcd40ea" xlink:href="nx-20201031.xsd#nx_Postretirementdefinedbenefitplansnoncurrentliabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_ec06319d-d2c2-45de-a4e0-3a1bc2a88b14" xlink:to="loc_nx_Postretirementdefinedbenefitplansnoncurrentliabilities_f997a36f-8762-4ea4-9d73-08473bcd40ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_DefinedBenefitPlanExpectedFutureBenefitPayments_a4c2e75a-bc78-44ed-a99b-3cb2b75b2a55" xlink:href="nx-20201031.xsd#nx_DefinedBenefitPlanExpectedFutureBenefitPayments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_9e0a6636-56c9-4778-ad38-1f9769b28704" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_DefinedBenefitPlanExpectedFutureBenefitPayments_a4c2e75a-bc78-44ed-a99b-3cb2b75b2a55" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_9e0a6636-56c9-4778-ad38-1f9769b28704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_10373b58-f5f3-4d37-83dc-088cc9437f01" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_DefinedBenefitPlanExpectedFutureBenefitPayments_a4c2e75a-bc78-44ed-a99b-3cb2b75b2a55" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_10373b58-f5f3-4d37-83dc-088cc9437f01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_ac7e74e3-7f3c-49be-b59b-00cedd1eaf95" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_DefinedBenefitPlanExpectedFutureBenefitPayments_a4c2e75a-bc78-44ed-a99b-3cb2b75b2a55" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_ac7e74e3-7f3c-49be-b59b-00cedd1eaf95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_b828cc14-3b60-48ef-965a-b75825aefb79" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_DefinedBenefitPlanExpectedFutureBenefitPayments_a4c2e75a-bc78-44ed-a99b-3cb2b75b2a55" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_b828cc14-3b60-48ef-965a-b75825aefb79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_db8d4435-133c-431b-986b-03177d52092b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_DefinedBenefitPlanExpectedFutureBenefitPayments_a4c2e75a-bc78-44ed-a99b-3cb2b75b2a55" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_db8d4435-133c-431b-986b-03177d52092b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_d52e0688-7c40-44fb-ae00-ecb5f5149ba3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_DefinedBenefitPlanExpectedFutureBenefitPayments_a4c2e75a-bc78-44ed-a99b-3cb2b75b2a55" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_d52e0688-7c40-44fb-ae00-ecb5f5149ba3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_e87fe48b-8822-45ee-8c3a-eaff5c56cf2e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_DefinedBenefitPlanAmortizationofGainslossesNet_7eb2227e-a088-4230-a7a7-6f5df2f81343" xlink:href="nx-20201031.xsd#nx_DefinedBenefitPlanAmortizationofGainslossesNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_e87fe48b-8822-45ee-8c3a-eaff5c56cf2e" xlink:to="loc_nx_DefinedBenefitPlanAmortizationofGainslossesNet_7eb2227e-a088-4230-a7a7-6f5df2f81343" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_89077521-38d1-4ed3-a7c5-25ad923791a7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_e87fe48b-8822-45ee-8c3a-eaff5c56cf2e" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_89077521-38d1-4ed3-a7c5-25ad923791a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments_7057197e-0629-478c-8bda-808bc6da6ec8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_e87fe48b-8822-45ee-8c3a-eaff5c56cf2e" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments_7057197e-0629-478c-8bda-808bc6da6ec8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_712d7060-b3ce-4203-a5fa-95f7a88da79c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_e87fe48b-8822-45ee-8c3a-eaff5c56cf2e" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_712d7060-b3ce-4203-a5fa-95f7a88da79c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_903df26f-1504-4125-9e53-304d80a743fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_dece8f6d-c140-4b27-91d7-be21f5212a43" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_903df26f-1504-4125-9e53-304d80a743fa" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_dece8f6d-c140-4b27-91d7-be21f5212a43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_af942741-4b6b-41ab-8520-cbdcc04f45a1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_903df26f-1504-4125-9e53-304d80a743fa" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_af942741-4b6b-41ab-8520-cbdcc04f45a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_46c003ae-57f7-4edd-a8ba-b37deedbb0be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_903df26f-1504-4125-9e53-304d80a743fa" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_46c003ae-57f7-4edd-a8ba-b37deedbb0be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_c29c9252-3314-44fb-88da-623b2fdc7a17" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_903df26f-1504-4125-9e53-304d80a743fa" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_c29c9252-3314-44fb-88da-623b2fdc7a17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_1e1d8a76-8e6e-4de6-ab44-ad95b43ff399" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_903df26f-1504-4125-9e53-304d80a743fa" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_1e1d8a76-8e6e-4de6-ab44-ad95b43ff399" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxes" xlink:type="simple" xlink:href="nx-20201031.xsd#IncomeTaxes"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxTables" xlink:type="simple" xlink:href="nx-20201031.xsd#IncomeTaxTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxesDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#IncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_49f6aec2-b566-4dc5-b328-da07e38275d3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_d1635357-a0f6-43f2-8728-e3a3174cd066" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_49f6aec2-b566-4dc5-b328-da07e38275d3" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_d1635357-a0f6-43f2-8728-e3a3174cd066" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_e8e6cd07-175c-4ce9-88ef-3df6b4b0d2d1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_49f6aec2-b566-4dc5-b328-da07e38275d3" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_e8e6cd07-175c-4ce9-88ef-3df6b4b0d2d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_1771b8bb-0295-4eb0-ac5c-7db182c1ef00" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_49f6aec2-b566-4dc5-b328-da07e38275d3" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_1771b8bb-0295-4eb0-ac5c-7db182c1ef00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_ee598f6e-15d3-404d-be35-dcfda8819c99" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_6dc9f73c-9b8f-44cc-8809-476ec237ef9d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ee598f6e-15d3-404d-be35-dcfda8819c99" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_6dc9f73c-9b8f-44cc-8809-476ec237ef9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_c3bdac41-ebe3-4c32-a8a2-a38e79176143" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ee598f6e-15d3-404d-be35-dcfda8819c99" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_c3bdac41-ebe3-4c32-a8a2-a38e79176143" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_a0922fc5-65ac-440e-b857-6e22355b859b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ee598f6e-15d3-404d-be35-dcfda8819c99" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_a0922fc5-65ac-440e-b857-6e22355b859b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory_5d1d55e1-3d36-4e7b-a198-4a51342f57ba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsInventory"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ee598f6e-15d3-404d-be35-dcfda8819c99" xlink:to="loc_us-gaap_DeferredTaxAssetsInventory_5d1d55e1-3d36-4e7b-a198-4a51342f57ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_9e1bf5f3-2110-4889-9f4f-6bdaafe69a9a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ee598f6e-15d3-404d-be35-dcfda8819c99" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_9e1bf5f3-2110-4889-9f4f-6bdaafe69a9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseOther_952c4b16-6965-4809-a08b-22408115f8bc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ee598f6e-15d3-404d-be35-dcfda8819c99" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseOther_952c4b16-6965-4809-a08b-22408115f8bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_12551156-e3ec-4749-bbfa-b093ae340d30" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_a85948e7-f194-4f24-82f3-c6a4cfc80acb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_12551156-e3ec-4749-bbfa-b093ae340d30" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_a85948e7-f194-4f24-82f3-c6a4cfc80acb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_d51dda64-414d-45e0-b407-ab998272617b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_12551156-e3ec-4749-bbfa-b093ae340d30" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_d51dda64-414d-45e0-b407-ab998272617b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_7e563cee-aafb-4473-ae97-cf8eca6d9079" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_105d4095-2919-4697-8d1e-55a7f65026ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7e563cee-aafb-4473-ae97-cf8eca6d9079" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_105d4095-2919-4697-8d1e-55a7f65026ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_21c91a5b-9432-45b9-86b4-cc95c5a519bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7e563cee-aafb-4473-ae97-cf8eca6d9079" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_21c91a5b-9432-45b9-86b4-cc95c5a519bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_5b1e9a9a-5c1b-40c7-9f11-a784699b6f36" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_162d84a8-75f1-43b4-88e8-7d62d3562e79" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_5b1e9a9a-5c1b-40c7-9f11-a784699b6f36" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_162d84a8-75f1-43b4-88e8-7d62d3562e79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_81e729e8-2953-473e-b96d-29a007f0faaa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_5b1e9a9a-5c1b-40c7-9f11-a784699b6f36" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_81e729e8-2953-473e-b96d-29a007f0faaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_0d11b151-38ae-4437-8aa4-94618a86462e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_91388491-1d33-424b-a54e-6f64fe6ce5c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_0d11b151-38ae-4437-8aa4-94618a86462e" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_91388491-1d33-424b-a54e-6f64fe6ce5c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_1c28c9f4-fff4-4e1d-beb5-0d728705bf19" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_0d11b151-38ae-4437-8aa4-94618a86462e" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_1c28c9f4-fff4-4e1d-beb5-0d728705bf19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_9f53a781-88ef-42d9-9abd-bd3bb236eb9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_0d11b151-38ae-4437-8aa4-94618a86462e" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_9f53a781-88ef-42d9-9abd-bd3bb236eb9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f0372701-fca9-482a-993d-3dd26372c793" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_eb6cd82b-f06b-4174-91c7-dd43e3fca90f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_f0372701-fca9-482a-993d-3dd26372c793" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_eb6cd82b-f06b-4174-91c7-dd43e3fca90f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_dc8ab3d0-d73c-477e-ac53-baf06e37dd51" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_f0372701-fca9-482a-993d-3dd26372c793" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_dc8ab3d0-d73c-477e-ac53-baf06e37dd51" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#IncomeTaxesNarrativeDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="nx-20201031.xsd#CommitmentsandContingencies"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CommitmentsandContingencies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#CommitmentsandContingenciesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CommitmentsandContingenciesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilities" xlink:type="simple" xlink:href="nx-20201031.xsd#FairValueMeasurementofAssetsandLiabilities"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilities" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#FairValueMeasurementofAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilitiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensation" xlink:type="simple" xlink:href="nx-20201031.xsd#StockBasedCompensation"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTables" xlink:type="simple" xlink:href="nx-20201031.xsd#StockBasedCompensationTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationDetail" xlink:type="simple" xlink:href="nx-20201031.xsd#StockBasedCompensationDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_4815bda0-5b53-41ee-8a82-fba058ef0e6b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_566de00f-a66b-40c9-a5e6-8bc79678b83f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_4815bda0-5b53-41ee-8a82-fba058ef0e6b" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_566de00f-a66b-40c9-a5e6-8bc79678b83f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_Incometaxeffect_5e703c3f-eb9e-469a-a3f3-32bec3299c43" xlink:href="nx-20201031.xsd#nx_Incometaxeffect"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_4815bda0-5b53-41ee-8a82-fba058ef0e6b" xlink:to="loc_nx_Incometaxeffect_5e703c3f-eb9e-469a-a3f3-32bec3299c43" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockholdersEquity" xlink:type="simple" xlink:href="nx-20201031.xsd#StockholdersEquity"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockholdersEquity" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockholdersEquityDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#StockholdersEquityDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockholdersEquityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/OtherIncomeExpense" xlink:type="simple" xlink:href="nx-20201031.xsd#OtherIncomeExpense"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/OtherIncomeExpense" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseTables" xlink:type="simple" xlink:href="nx-20201031.xsd#OtherIncomeExpenseTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseDetail" xlink:type="simple" xlink:href="nx-20201031.xsd#OtherIncomeExpenseDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/OtherIncomeExpenseDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingGainsLosses_bb5c3497-3287-49ff-a996-2680ed74c187" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingGainsLosses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1848408d-c493-4a2f-b30a-1456f1a6ddfa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_bb5c3497-3287-49ff-a996-2680ed74c187" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1848408d-c493-4a2f-b30a-1456f1a6ddfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_e5989061-f697-442c-9ee0-9ab551210587" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_bb5c3497-3287-49ff-a996-2680ed74c187" xlink:to="loc_us-gaap_InvestmentIncomeInterest_e5989061-f697-442c-9ee0-9ab551210587" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_f86a898d-b68b-4d61-99e5-e95df8064486" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_bb5c3497-3287-49ff-a996-2680ed74c187" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_f86a898d-b68b-4d61-99e5-e95df8064486" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_fffd822d-0614-4516-9e8f-e1212073b1e1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_bb5c3497-3287-49ff-a996-2680ed74c187" xlink:to="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_fffd822d-0614-4516-9e8f-e1212073b1e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_PensionServiceBenefit_ea0ed8de-8cdd-4c88-9b75-6879f877f814" xlink:href="nx-20201031.xsd#nx_PensionServiceBenefit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_bb5c3497-3287-49ff-a996-2680ed74c187" xlink:to="loc_nx_PensionServiceBenefit_ea0ed8de-8cdd-4c88-9b75-6879f877f814" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformation" xlink:type="simple" xlink:href="nx-20201031.xsd#SegmentInformation"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationTables" xlink:type="simple" xlink:href="nx-20201031.xsd#SegmentInformationTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationDetail" xlink:type="simple" xlink:href="nx-20201031.xsd#SegmentInformationDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShare" xlink:type="simple" xlink:href="nx-20201031.xsd#EarningsPerShare"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShare" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShareTables" xlink:type="simple" xlink:href="nx-20201031.xsd#EarningsPerShareTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShareTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShareDetail" xlink:type="simple" xlink:href="nx-20201031.xsd#EarningsPerShareDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShareDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/UnauditedQuarterlyData" xlink:type="simple" xlink:href="nx-20201031.xsd#UnauditedQuarterlyData"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/UnauditedQuarterlyData" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/UnauditedQuarterlyDataTables" xlink:type="simple" xlink:href="nx-20201031.xsd#UnauditedQuarterlyDataTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/UnauditedQuarterlyDataTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/UnauditedQuarterlyDataDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#UnauditedQuarterlyDataDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/UnauditedQuarterlyDataDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NewAccountingGuidance" xlink:type="simple" xlink:href="nx-20201031.xsd#NewAccountingGuidance"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NewAccountingGuidance" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/AccountingChangesandErrorCorrectionsDetails" xlink:type="simple" xlink:href="nx-20201031.xsd#AccountingChangesandErrorCorrectionsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/AccountingChangesandErrorCorrectionsDetails" xlink:type="extended"/>
</link:linkbase>
