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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:b869a05c-0b42-4c6b-b7be-ff34a6e30d09,g:e579cde5-c721-407c-8171-36b9de97a93f-->
<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/Coverpage" xlink:type="simple" xlink:href="nx-20200731.xsd#Coverpage"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Coverpage" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_873e6182-d831-4aaa-8fc3-09e4cd9cc17a" 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_3dede14d-436e-485c-95f6-975ed67f3768" 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_873e6182-d831-4aaa-8fc3-09e4cd9cc17a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_3dede14d-436e-485c-95f6-975ed67f3768" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_54e9acea-0e9b-4e81-8f97-c9b9215fb421" 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_873e6182-d831-4aaa-8fc3-09e4cd9cc17a" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_54e9acea-0e9b-4e81-8f97-c9b9215fb421" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_0591d17e-8494-4708-9ef7-f588d6bb9eb6" 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_873e6182-d831-4aaa-8fc3-09e4cd9cc17a" xlink:to="loc_us-gaap_InventoryNet_0591d17e-8494-4708-9ef7-f588d6bb9eb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e9f32ecb-e52d-42ad-b5a7-92ea1772252f" 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_873e6182-d831-4aaa-8fc3-09e4cd9cc17a" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e9f32ecb-e52d-42ad-b5a7-92ea1772252f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9263230c-e9e7-43b1-90e7-f4f95c85a126" 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_059835f2-2283-42d7-beb6-a810186655cb" 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_9263230c-e9e7-43b1-90e7-f4f95c85a126" xlink:to="loc_us-gaap_PreferredStockValue_059835f2-2283-42d7-beb6-a810186655cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_28421c8f-8ae1-45d7-84d4-85889db383ca" 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_9263230c-e9e7-43b1-90e7-f4f95c85a126" xlink:to="loc_us-gaap_CommonStockValue_28421c8f-8ae1-45d7-84d4-85889db383ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_fc9c4451-b4e6-4b36-9e2e-ce6b63c0826f" 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_9263230c-e9e7-43b1-90e7-f4f95c85a126" xlink:to="loc_us-gaap_AdditionalPaidInCapital_fc9c4451-b4e6-4b36-9e2e-ce6b63c0826f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_baeaf250-2ae6-4fcc-89e8-6d78be66ed90" 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_9263230c-e9e7-43b1-90e7-f4f95c85a126" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_baeaf250-2ae6-4fcc-89e8-6d78be66ed90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4d57ebf0-be12-4831-9cf6-bdb75dbd78ce" 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_9263230c-e9e7-43b1-90e7-f4f95c85a126" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4d57ebf0-be12-4831-9cf6-bdb75dbd78ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_904e816c-82e9-4760-beb3-7824b49d7ddd" 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_9263230c-e9e7-43b1-90e7-f4f95c85a126" xlink:to="loc_us-gaap_TreasuryStockValue_904e816c-82e9-4760-beb3-7824b49d7ddd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_da6ea00e-a748-47b2-ace1-b372bc6ed954" 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_21368442-dbd1-45cd-a2cb-d2e736c943d8" 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_da6ea00e-a748-47b2-ace1-b372bc6ed954" xlink:to="loc_us-gaap_LiabilitiesCurrent_21368442-dbd1-45cd-a2cb-d2e736c943d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_48530ee0-a6b2-4001-8478-91a132c0bf9b" 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_da6ea00e-a748-47b2-ace1-b372bc6ed954" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_48530ee0-a6b2-4001-8478-91a132c0bf9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2348b4fe-02c3-4dc7-867c-82b8c74e85d3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_da6ea00e-a748-47b2-ace1-b372bc6ed954" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2348b4fe-02c3-4dc7-867c-82b8c74e85d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_130a2df3-f62e-4891-a326-59baf35c2ece" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_da6ea00e-a748-47b2-ace1-b372bc6ed954" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_130a2df3-f62e-4891-a326-59baf35c2ece" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_25d84d3a-dd71-4b4e-8d14-6c4da01fba94" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_da6ea00e-a748-47b2-ace1-b372bc6ed954" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_25d84d3a-dd71-4b4e-8d14-6c4da01fba94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_3cf08089-9df2-4e15-888b-2b90fe4a601c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_da6ea00e-a748-47b2-ace1-b372bc6ed954" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_3cf08089-9df2-4e15-888b-2b90fe4a601c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_2faefa31-e0a8-4eef-9fb5-df148ffa5cfb" 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_92d579be-fd8e-4e33-bbc0-520ab48aaf63" 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_2faefa31-e0a8-4eef-9fb5-df148ffa5cfb" xlink:to="loc_us-gaap_AccountsPayableCurrent_92d579be-fd8e-4e33-bbc0-520ab48aaf63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_6240308a-31b0-432e-a975-6308d1eee767" 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_2faefa31-e0a8-4eef-9fb5-df148ffa5cfb" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_6240308a-31b0-432e-a975-6308d1eee767" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_c5bcf919-d469-4ce9-ad3b-197ab3b15b35" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2faefa31-e0a8-4eef-9fb5-df148ffa5cfb" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_c5bcf919-d469-4ce9-ad3b-197ab3b15b35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_ea46809a-efaa-41ec-9162-e5e624260f28" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2faefa31-e0a8-4eef-9fb5-df148ffa5cfb" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_ea46809a-efaa-41ec-9162-e5e624260f28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_6b4b1a67-6409-441f-914b-556f5246c651" 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_2faefa31-e0a8-4eef-9fb5-df148ffa5cfb" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_6b4b1a67-6409-441f-914b-556f5246c651" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_d191c9c4-50f8-4025-aa67-3862947b422c" 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_7b894747-ae50-49be-99af-bb781f7b6153" 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_d191c9c4-50f8-4025-aa67-3862947b422c" xlink:to="loc_us-gaap_Liabilities_7b894747-ae50-49be-99af-bb781f7b6153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_93f91d7d-73c6-4f1b-a766-fedff5e7e647" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d191c9c4-50f8-4025-aa67-3862947b422c" xlink:to="loc_us-gaap_CommitmentsAndContingencies_93f91d7d-73c6-4f1b-a766-fedff5e7e647" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_f2016282-3246-4b64-80a5-52b98115b7db" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d191c9c4-50f8-4025-aa67-3862947b422c" xlink:to="loc_us-gaap_StockholdersEquity_f2016282-3246-4b64-80a5-52b98115b7db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_15a4d778-25d4-4646-9c6d-02b38c2776c3" 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_810d81ab-f074-4f79-b355-c22d58ad51b1" 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_15a4d778-25d4-4646-9c6d-02b38c2776c3" xlink:to="loc_us-gaap_AssetsCurrent_810d81ab-f074-4f79-b355-c22d58ad51b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_124117e7-b5a1-4a2d-8c6b-ad62f8e014c8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_15a4d778-25d4-4646-9c6d-02b38c2776c3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_124117e7-b5a1-4a2d-8c6b-ad62f8e014c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_8fe7b8b6-db67-4b56-ada8-c27451cec25d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_15a4d778-25d4-4646-9c6d-02b38c2776c3" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_8fe7b8b6-db67-4b56-ada8-c27451cec25d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_24e2c953-4ecd-4adb-a985-63fc48d16b2f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_15a4d778-25d4-4646-9c6d-02b38c2776c3" xlink:to="loc_us-gaap_Goodwill_24e2c953-4ecd-4adb-a985-63fc48d16b2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f00cbb4e-a496-41ab-9faa-9a879e92c320" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_15a4d778-25d4-4646-9c6d-02b38c2776c3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f00cbb4e-a496-41ab-9faa-9a879e92c320" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_b0374b9b-e0a8-408e-9004-d93bb7f3a486" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_15a4d778-25d4-4646-9c6d-02b38c2776c3" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_b0374b9b-e0a8-408e-9004-d93bb7f3a486" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedBalanceSheetsUnauditedParenthetical"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofIncomeLossUnaudited" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedStatementsofIncomeLossUnaudited"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofIncomeLossUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_032e547e-18d1-47bd-844a-340c7d598dea" 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_IncomeLossFromContinuingOperations_6e7bf948-3f63-4a21-969b-b83779a77216" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_032e547e-18d1-47bd-844a-340c7d598dea" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_6e7bf948-3f63-4a21-969b-b83779a77216" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b115a477-bee1-49ad-8dea-c9fdba80ac97" 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_032e547e-18d1-47bd-844a-340c7d598dea" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_b115a477-bee1-49ad-8dea-c9fdba80ac97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_2cfa1d48-4107-45a0-abca-bd9402717087" 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_RevenueFromContractWithCustomerExcludingAssessedTax_156d3ccd-5867-47c7-82af-f57c35e726ec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2cfa1d48-4107-45a0-abca-bd9402717087" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_156d3ccd-5867-47c7-82af-f57c35e726ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_e4797be6-4ad9-40f8-b999-a0337ef41fbc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2cfa1d48-4107-45a0-abca-bd9402717087" xlink:to="loc_us-gaap_CostOfRevenue_e4797be6-4ad9-40f8-b999-a0337ef41fbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_00ca401b-3dc3-42f7-bf4a-adbf9aa8f68f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2cfa1d48-4107-45a0-abca-bd9402717087" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_00ca401b-3dc3-42f7-bf4a-adbf9aa8f68f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_4665c126-df6b-4f7d-8ab9-0b43f5af12ce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2cfa1d48-4107-45a0-abca-bd9402717087" xlink:to="loc_us-gaap_RestructuringCharges_4665c126-df6b-4f7d-8ab9-0b43f5af12ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_686078d9-3b30-4198-a408-fdff0cca7123" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2cfa1d48-4107-45a0-abca-bd9402717087" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_686078d9-3b30-4198-a408-fdff0cca7123" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_2b7ce839-e25d-4d1c-9aff-4a9af1d5bbba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2cfa1d48-4107-45a0-abca-bd9402717087" xlink:to="loc_us-gaap_AssetImpairmentCharges_2b7ce839-e25d-4d1c-9aff-4a9af1d5bbba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_3c9392a0-079b-4c4a-bb16-babfa2ad8dcc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c91f2262-41dc-4e70-96c6-b94fd029a890" 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_IncomeLossFromContinuingOperations_3c9392a0-079b-4c4a-bb16-babfa2ad8dcc" xlink:to="loc_us-gaap_OperatingIncomeLoss_c91f2262-41dc-4e70-96c6-b94fd029a890" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ce94d35b-711a-4da2-9ac3-e10c9264f493" 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_IncomeLossFromContinuingOperations_3c9392a0-079b-4c4a-bb16-babfa2ad8dcc" xlink:to="loc_us-gaap_InterestExpense_ce94d35b-711a-4da2-9ac3-e10c9264f493" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_ce334703-37a7-48e9-ae81-25020b6cb85c" 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_IncomeLossFromContinuingOperations_3c9392a0-079b-4c4a-bb16-babfa2ad8dcc" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_ce334703-37a7-48e9-ae81-25020b6cb85c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofIncomeLossUnauditedParenthetical" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedStatementsofIncomeLossUnauditedParenthetical"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofIncomeLossUnauditedParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLossUnaudited" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedStatementsofComprehensiveIncomeLossUnaudited"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLossUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_37384c73-64e4-4f11-818f-207a5e3c5bf7" 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_3632e1a2-45ac-4e74-8e67-d69f8c321fbc" 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_37384c73-64e4-4f11-818f-207a5e3c5bf7" xlink:to="loc_us-gaap_NetIncomeLoss_3632e1a2-45ac-4e74-8e67-d69f8c321fbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_ae34e443-f29e-4c10-ba6c-6ed6f5f2b735" 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_37384c73-64e4-4f11-818f-207a5e3c5bf7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_ae34e443-f29e-4c10-ba6c-6ed6f5f2b735" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_34e7b756-1e94-43e5-8fae-b6cc0ede4cc8" 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_1ac74f1c-38dc-4dbd-8953-30e817ccd734" 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_34e7b756-1e94-43e5-8fae-b6cc0ede4cc8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_1ac74f1c-38dc-4dbd-8953-30e817ccd734" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_27e707d2-7ca2-4871-a9a1-138218e1b84b" 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_34e7b756-1e94-43e5-8fae-b6cc0ede4cc8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_27e707d2-7ca2-4871-a9a1-138218e1b84b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_5729166f-e891-4fa9-9420-88cf926b7f78" 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_34e7b756-1e94-43e5-8fae-b6cc0ede4cc8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_5729166f-e891-4fa9-9420-88cf926b7f78" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofCashFlowUnaudited" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedStatementsofCashFlowUnaudited"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementsofCashFlowUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" 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_325806a9-083a-482a-9fa1-feb8ae1ba868" 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_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_325806a9-083a-482a-9fa1-feb8ae1ba868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_0e64eb2c-4a73-474e-af92-2c9f52163b1f" 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_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_0e64eb2c-4a73-474e-af92-2c9f52163b1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_38c416d0-8868-4ed8-8963-992a8c184e8d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_38c416d0-8868-4ed8-8963-992a8c184e8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_51414c3f-3ea4-4863-9fdc-b95b9b85e501" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_51414c3f-3ea4-4863-9fdc-b95b9b85e501" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_1e742a9c-08a7-486b-a5db-7bb37a1933f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_1e742a9c-08a7-486b-a5db-7bb37a1933f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_04fadd06-a04a-4b63-80a5-a919ca682ae2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_04fadd06-a04a-4b63-80a5-a919ca682ae2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fa7cadc5-a370-4129-9a00-db99e5c06119" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1d54ff-0ae9-4f0c-9c77-d153ca051d23" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fa7cadc5-a370-4129-9a00-db99e5c06119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" 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_bfb7cbeb-f566-4536-b931-b662b26824aa" 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_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_ProfitLoss_bfb7cbeb-f566-4536-b931-b662b26824aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_482db5f7-30db-4fb5-8875-fc8893caf961" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_482db5f7-30db-4fb5-8875-fc8893caf961" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_f3f49902-ea85-4f86-92eb-93833b36c4f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_ShareBasedCompensation_f3f49902-ea85-4f86-92eb-93833b36c4f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ae815f2d-2bd2-49e0-b51d-2d8a0eb17f9a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ae815f2d-2bd2-49e0-b51d-2d8a0eb17f9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_64414ab6-48f3-4e6a-bcb1-4f03a49d0296" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_AssetImpairmentCharges_64414ab6-48f3-4e6a-bcb1-4f03a49d0296" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_7758d881-5d37-457a-99bf-64df51b55bb1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_7758d881-5d37-457a-99bf-64df51b55bb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_7d32e58a-ddc2-4718-9104-4bceef392cb9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_7d32e58a-ddc2-4718-9104-4bceef392cb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_7a2ab225-89b2-484d-b130-d45b370811ab" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_7a2ab225-89b2-484d-b130-d45b370811ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_952f215e-462e-4cb7-9265-4c56e90a2e1d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_952f215e-462e-4cb7-9265-4c56e90a2e1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_8614e80f-5018-4816-b1d7-a8d461952b66" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_8614e80f-5018-4816-b1d7-a8d461952b66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_3af88b00-c4a0-4bd6-ab91-24ace9a5c96f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_3af88b00-c4a0-4bd6-ab91-24ace9a5c96f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_bcd94152-aff9-4f12-885c-ac692ff50bb4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_bcd94152-aff9-4f12-885c-ac692ff50bb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_85cc18df-bdc1-495e-a7b9-7e7e85f60452" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_85cc18df-bdc1-495e-a7b9-7e7e85f60452" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_da68563b-2c4e-4dd2-b636-e3a2e3e24824" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_da68563b-2c4e-4dd2-b636-e3a2e3e24824" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_aac5f44b-101d-4b98-8cd9-825ff9a815a9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f2111f5-6a92-4e7b-b83a-ce6465764221" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_aac5f44b-101d-4b98-8cd9-825ff9a815a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_67d78b7e-4166-4d36-80eb-9763d2b55ef0" 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_7d68fa57-c746-41ff-af0a-f361448b5fb7" 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_67d78b7e-4166-4d36-80eb-9763d2b55ef0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_7d68fa57-c746-41ff-af0a-f361448b5fb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_ab13b4f0-0eec-4fff-b757-10f2fcdb40b8" 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_67d78b7e-4166-4d36-80eb-9763d2b55ef0" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_ab13b4f0-0eec-4fff-b757-10f2fcdb40b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_96a159ed-9f55-41e4-a574-080b65fd2ff4" 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_EffectOfExchangeRateOnCashAndCashEquivalents_53d179a7-b6c9-4c91-91a6-ae8dd6a0259a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_96a159ed-9f55-41e4-a574-080b65fd2ff4" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_53d179a7-b6c9-4c91-91a6-ae8dd6a0259a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bb4d6234-8871-4a78-81c7-c7c8a47d8d6d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_96a159ed-9f55-41e4-a574-080b65fd2ff4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bb4d6234-8871-4a78-81c7-c7c8a47d8d6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_255642d6-5873-456b-a6c1-4431b8a6b516" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_96a159ed-9f55-41e4-a574-080b65fd2ff4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_255642d6-5873-456b-a6c1-4431b8a6b516" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_506fb3d4-0859-42a6-ab63-80ccfde328d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_96a159ed-9f55-41e4-a574-080b65fd2ff4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_506fb3d4-0859-42a6-ab63-80ccfde328d4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementofStockholdersEquity" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedStatementofStockholdersEquity"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementofStockholdersEquity" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementofStockholdersEquityParenthetical" xlink:type="simple" xlink:href="nx-20200731.xsd#CondensedConsolidatedStatementofStockholdersEquityParenthetical"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/CondensedConsolidatedStatementofStockholdersEquityParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentation" xlink:type="simple" xlink:href="nx-20200731.xsd#NatureofOperationsandBasisofPresentation"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationTables" xlink:type="simple" xlink:href="nx-20200731.xsd#NatureofOperationsandBasisofPresentationTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#NatureofOperationsandBasisofPresentationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationSummaryofProductSalesDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#NatureofOperationsandBasisofPresentationSummaryofProductSalesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationSummaryofProductSalesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationCOVID19Details" xlink:type="simple" xlink:href="nx-20200731.xsd#NatureofOperationsandBasisofPresentationCOVID19Details"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NatureofOperationsandBasisofPresentationCOVID19Details" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Leases" xlink:type="simple" xlink:href="nx-20200731.xsd#Leases"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Leases" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesTables" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesAdditionalInformationDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesLeaseRelatedAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesLeaseRelatedAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesLeaseRelatedAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nx_LeasesLiability_b003f859-1928-4bef-acac-aaf551d0701e" xlink:href="nx-20200731.xsd#nx_LeasesLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_6a674cb9-ae59-47af-a3c2-5915ec3f99f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_b003f859-1928-4bef-acac-aaf551d0701e" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_6a674cb9-ae59-47af-a3c2-5915ec3f99f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_68683c94-944f-4e1b-8a9f-1f029156945a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_b003f859-1928-4bef-acac-aaf551d0701e" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_68683c94-944f-4e1b-8a9f-1f029156945a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_44d76eda-fe0c-436f-b9ae-84b1e59b7862" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_b003f859-1928-4bef-acac-aaf551d0701e" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_44d76eda-fe0c-436f-b9ae-84b1e59b7862" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_0393f38e-fb2e-4584-8852-c94d9409f5d5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesLiability_b003f859-1928-4bef-acac-aaf551d0701e" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_0393f38e-fb2e-4584-8852-c94d9409f5d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_LeasesRightofUseAsset_5f39c844-3693-489e-88eb-83f4312872ba" xlink:href="nx-20200731.xsd#nx_LeasesRightofUseAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_efcb644e-fcf6-4894-8cf4-d550a48f2370" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesRightofUseAsset_5f39c844-3693-489e-88eb-83f4312872ba" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_efcb644e-fcf6-4894-8cf4-d550a48f2370" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_60c56ad8-37f0-447a-b695-6e78817ac578" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nx_LeasesRightofUseAsset_5f39c844-3693-489e-88eb-83f4312872ba" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_60c56ad8-37f0-447a-b695-6e78817ac578" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesLeaseCostsDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesLeaseCostsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesLeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_3142a7ce-b35a-44ff-9d51-e2741961841b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_4fd64fe3-9efd-4ee6-9131-4eaae1540d54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_3142a7ce-b35a-44ff-9d51-e2741961841b" xlink:to="loc_us-gaap_OperatingLeaseCost_4fd64fe3-9efd-4ee6-9131-4eaae1540d54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_8f671782-be9b-4cce-bc6a-2438a71cc226" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_3142a7ce-b35a-44ff-9d51-e2741961841b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_8f671782-be9b-4cce-bc6a-2438a71cc226" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_028b1b4c-546d-45d4-b125-d27e57a04d1a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_3142a7ce-b35a-44ff-9d51-e2741961841b" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_028b1b4c-546d-45d4-b125-d27e57a04d1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_a46caf3f-1691-4591-9844-ebf5d2a4e4ea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_3142a7ce-b35a-44ff-9d51-e2741961841b" xlink:to="loc_us-gaap_VariableLeaseCost_a46caf3f-1691-4591-9844-ebf5d2a4e4ea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesSupplementalCashFlowInformationDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesSupplementalCashFlowInformationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesSupplementalCashFlowInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesWeightedAverageRemainingLeaseTermsandWeightedAverageDiscountRatesDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesWeightedAverageRemainingLeaseTermsandWeightedAverageDiscountRatesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesWeightedAverageRemainingLeaseTermsandWeightedAverageDiscountRatesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityofLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesPresentMaturityofLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityofLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4aeb0799-6b3e-47d2-9628-3b3de8d22057" 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_FinanceLeaseLiabilityUndiscountedExcessAmount_3b83e779-02d6-4fce-8db2-2cb85549f787" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4aeb0799-6b3e-47d2-9628-3b3de8d22057" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_3b83e779-02d6-4fce-8db2-2cb85549f787" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_a4a0dd4c-b7bc-4b78-a0ce-a9ea4a4cee63" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4aeb0799-6b3e-47d2-9628-3b3de8d22057" xlink:to="loc_us-gaap_FinanceLeaseLiability_a4a0dd4c-b7bc-4b78-a0ce-a9ea4a4cee63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abd158c6-dae0-43e0-b219-477eadc3a130" 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_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_2bab5d5e-4cdc-4120-8a64-784bec098346" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abd158c6-dae0-43e0-b219-477eadc3a130" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_2bab5d5e-4cdc-4120-8a64-784bec098346" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0884e2a5-f880-45f5-9e7f-daa775741072" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abd158c6-dae0-43e0-b219-477eadc3a130" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0884e2a5-f880-45f5-9e7f-daa775741072" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_040ebda5-c1ec-4ded-88ba-70cded87921e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abd158c6-dae0-43e0-b219-477eadc3a130" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_040ebda5-c1ec-4ded-88ba-70cded87921e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_300b05ca-357d-48a1-a4aa-2e715d9baf37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abd158c6-dae0-43e0-b219-477eadc3a130" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_300b05ca-357d-48a1-a4aa-2e715d9baf37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_3cb3b5a6-ed38-466b-b754-21caf5354085" xlink:href="nx-20200731.xsd#nx_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abd158c6-dae0-43e0-b219-477eadc3a130" xlink:to="loc_nx_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_3cb3b5a6-ed38-466b-b754-21caf5354085" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_001a5d7a-06df-4757-b563-53052f789b89" 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_abd158c6-dae0-43e0-b219-477eadc3a130" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_001a5d7a-06df-4757-b563-53052f789b89" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityofLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesPresentMaturityofLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesPresentMaturityofLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_66a9b099-84cf-4aee-836d-764f5b0fd685" 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_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_38248bd4-d57c-46a7-97f1-94707a8337c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_66a9b099-84cf-4aee-836d-764f5b0fd685" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_38248bd4-d57c-46a7-97f1-94707a8337c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_aa0cfc6a-1bb4-4092-942e-40367c452feb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_66a9b099-84cf-4aee-836d-764f5b0fd685" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_aa0cfc6a-1bb4-4092-942e-40367c452feb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_7d9846ae-83b2-4222-acad-447c46299d4b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_66a9b099-84cf-4aee-836d-764f5b0fd685" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_7d9846ae-83b2-4222-acad-447c46299d4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_96ac1dd8-96ff-46fd-b415-a776276fdb8e" 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_66a9b099-84cf-4aee-836d-764f5b0fd685" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_96ac1dd8-96ff-46fd-b415-a776276fdb8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FinanceLeaseLiabilityToBePaidAfterYearFour_a73574c8-7ad7-4193-8f6a-41a525e0e1da" xlink:href="nx-20200731.xsd#nx_FinanceLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_66a9b099-84cf-4aee-836d-764f5b0fd685" xlink:to="loc_nx_FinanceLeaseLiabilityToBePaidAfterYearFour_a73574c8-7ad7-4193-8f6a-41a525e0e1da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_12b56546-4704-480a-810c-acc5237ebc99" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_66a9b099-84cf-4aee-836d-764f5b0fd685" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_12b56546-4704-480a-810c-acc5237ebc99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_842cc671-2b2c-4f75-9075-9ff067cf5e42" 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_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_828b959b-21ee-4a49-83a6-836818a47c94" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_842cc671-2b2c-4f75-9075-9ff067cf5e42" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_828b959b-21ee-4a49-83a6-836818a47c94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_95782d42-8508-427d-aeed-ba34b59dbee8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_842cc671-2b2c-4f75-9075-9ff067cf5e42" xlink:to="loc_us-gaap_OperatingLeaseLiability_95782d42-8508-427d-aeed-ba34b59dbee8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/LeasesFutureMinimumLeasePaymentsDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#LeasesFutureMinimumLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/LeasesFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_a92eaf98-a36a-4300-a357-8c08b25cd103" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent_02f71bd4-3115-4cd0-9bd9-5072975ec097" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_a92eaf98-a36a-4300-a357-8c08b25cd103" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent_02f71bd4-3115-4cd0-9bd9-5072975ec097" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_79d6579a-e0f0-4fca-9181-a113e0241076" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_a92eaf98-a36a-4300-a357-8c08b25cd103" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_79d6579a-e0f0-4fca-9181-a113e0241076" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_7d74d8d7-e2b1-418b-8d33-bb36731bbb8d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_a92eaf98-a36a-4300-a357-8c08b25cd103" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_7d74d8d7-e2b1-418b-8d33-bb36731bbb8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_c7fd8322-f645-41e4-ac68-f59542789a4b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_a92eaf98-a36a-4300-a357-8c08b25cd103" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_c7fd8322-f645-41e4-ac68-f59542789a4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_a286d6d8-a599-45fc-9c12-5f6e13aa3113" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_a92eaf98-a36a-4300-a357-8c08b25cd103" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_a286d6d8-a599-45fc-9c12-5f6e13aa3113" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_6aa342fb-49f5-4332-920c-7a91c7b3129c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_a92eaf98-a36a-4300-a357-8c08b25cd103" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_6aa342fb-49f5-4332-920c-7a91c7b3129c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_b530840a-ba4d-462d-9a80-170b4d61961b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_c1690266-771d-439b-9cda-36ec1a8cb119" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_b530840a-ba4d-462d-9a80-170b4d61961b" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_c1690266-771d-439b-9cda-36ec1a8cb119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_b2e014a8-c467-4e2c-8587-4b2d529be89f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_b530840a-ba4d-462d-9a80-170b4d61961b" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_b2e014a8-c467-4e2c-8587-4b2d529be89f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_b9f14adf-23d2-4fe7-aa5b-d1291d4912c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_b530840a-ba4d-462d-9a80-170b4d61961b" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_b9f14adf-23d2-4fe7-aa5b-d1291d4912c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_16029d8a-f2c1-4107-b81b-5144160ee03a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_b530840a-ba4d-462d-9a80-170b4d61961b" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_16029d8a-f2c1-4107-b81b-5144160ee03a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_d4a0310a-bb8c-4a22-a1ca-41595f64ca7e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_b530840a-ba4d-462d-9a80-170b4d61961b" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_d4a0310a-bb8c-4a22-a1ca-41595f64ca7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_724b6095-e587-4f41-b8c1-f70988123eea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_b530840a-ba4d-462d-9a80-170b4d61961b" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_724b6095-e587-4f41-b8c1-f70988123eea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_956dfd9b-b53f-446c-9dab-b7584dfb995c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_6ca7cc6e-6b54-4086-bf7b-1779bab29910" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_956dfd9b-b53f-446c-9dab-b7584dfb995c" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1_6ca7cc6e-6b54-4086-bf7b-1779bab29910" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_aedf1cec-0f7c-4854-b28c-ccbbcd10d90f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_956dfd9b-b53f-446c-9dab-b7584dfb995c" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_aedf1cec-0f7c-4854-b28c-ccbbcd10d90f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Inventories" xlink:type="simple" xlink:href="nx-20200731.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-20200731.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-20200731.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_InventoryGross_860f1177-a2fa-4eae-a890-94badf60fe85" 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_21c1e8b4-4c53-4cbd-ac61-5e6dc55b09bd" 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_860f1177-a2fa-4eae-a890-94badf60fe85" xlink:to="loc_us-gaap_InventoryRawMaterials_21c1e8b4-4c53-4cbd-ac61-5e6dc55b09bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcess_d51419f9-0b42-4e09-bb30-a4d5bfcf682b" 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_860f1177-a2fa-4eae-a890-94badf60fe85" xlink:to="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcess_d51419f9-0b42-4e09-bb30-a4d5bfcf682b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventorySupplies_2f7909c2-91b2-4f18-9ed9-0d96a82bed94" 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_860f1177-a2fa-4eae-a890-94badf60fe85" xlink:to="loc_us-gaap_OtherInventorySupplies_2f7909c2-91b2-4f18-9ed9-0d96a82bed94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_1968664b-2e47-4b6f-bef2-ce02f4d4bb7d" 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_10334eb3-b45d-4449-ac6a-266290597065" 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_1968664b-2e47-4b6f-bef2-ce02f4d4bb7d" xlink:to="loc_us-gaap_InventoryGross_10334eb3-b45d-4449-ac6a-266290597065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryValuationReserves_a5cc67be-c806-4442-ba42-491c1ea45a39" 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_1968664b-2e47-4b6f-bef2-ce02f4d4bb7d" xlink:to="loc_us-gaap_InventoryValuationReserves_a5cc67be-c806-4442-ba42-491c1ea45a39" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssets" xlink:type="simple" xlink:href="nx-20200731.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-20200731.xsd#GoodwillandIntangibleAssetsTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsGoodwillDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#GoodwillandIntangibleAssetsGoodwillDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsGoodwillDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="simple" xlink:href="nx-20200731.xsd#GoodwillandIntangibleAssetsIdentifiableIntangibleAssetsDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/GoodwillandIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_739b4230-e634-4ea7-aa8d-1d9228315624" 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_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_a499cab0-fe28-4d8a-b9cd-843dd19ab135" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_739b4230-e634-4ea7-aa8d-1d9228315624" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_a499cab0-fe28-4d8a-b9cd-843dd19ab135" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a0fb4366-ca6a-4976-846a-7207df15cc7f" 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_739b4230-e634-4ea7-aa8d-1d9228315624" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a0fb4366-ca6a-4976-846a-7207df15cc7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_b47c4c33-6dab-42d3-a381-b3744cd0fd91" 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_739b4230-e634-4ea7-aa8d-1d9228315624" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_b47c4c33-6dab-42d3-a381-b3744cd0fd91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_cbf2852f-f1e8-4f4b-9186-e5e3bd142e46" 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_739b4230-e634-4ea7-aa8d-1d9228315624" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_cbf2852f-f1e8-4f4b-9186-e5e3bd142e46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_eee57294-82ea-4b6e-b766-183421300946" xlink:href="nx-20200731.xsd#nx_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_739b4230-e634-4ea7-aa8d-1d9228315624" xlink:to="loc_nx_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_eee57294-82ea-4b6e-b766-183421300946" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_2612e04a-8375-4280-96b8-933157af5d75" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_739b4230-e634-4ea7-aa8d-1d9228315624" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_2612e04a-8375-4280-96b8-933157af5d75" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligations" xlink:type="simple" xlink:href="nx-20200731.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-20200731.xsd#DebtandCapitalLeaseObligationsTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsDetail" xlink:type="simple" xlink:href="nx-20200731.xsd#DebtandCapitalLeaseObligationsDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/DebtandCapitalLeaseObligationsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_491f81af-644b-4915-a485-418c9849a90f" 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_9d8202a9-edd9-4b48-a22a-a7290c505036" 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_491f81af-644b-4915-a485-418c9849a90f" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_9d8202a9-edd9-4b48-a22a-a7290c505036" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_d2c124fa-57d7-4922-9b22-22d486d49a60" 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_491f81af-644b-4915-a485-418c9849a90f" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_d2c124fa-57d7-4922-9b22-22d486d49a60" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/RetirementPlans" xlink:type="simple" xlink:href="nx-20200731.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-20200731.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-20200731.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_DefinedBenefitPlanNetPeriodicBenefitCost_f6cde1f0-304a-4012-85f2-4ec59ad1a639" 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_DefinedBenefitPlanServiceCost_de49027d-7b3d-4341-a308-53d47b7e4f7a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f6cde1f0-304a-4012-85f2-4ec59ad1a639" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_de49027d-7b3d-4341-a308-53d47b7e4f7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_33c6826b-b83c-4f11-9dab-7119c68f644e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f6cde1f0-304a-4012-85f2-4ec59ad1a639" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_33c6826b-b83c-4f11-9dab-7119c68f644e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_45980352-ac7e-4c66-81c4-91efe882a5d7" 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_f6cde1f0-304a-4012-85f2-4ec59ad1a639" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_45980352-ac7e-4c66-81c4-91efe882a5d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2a5091d4-586c-42f4-8c99-6b84dcf9d5f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f6cde1f0-304a-4012-85f2-4ec59ad1a639" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2a5091d4-586c-42f4-8c99-6b84dcf9d5f0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxes" xlink:type="simple" xlink:href="nx-20200731.xsd#IncomeTaxes"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxesIncomeTaxTables" xlink:type="simple" xlink:href="nx-20200731.xsd#IncomeTaxesIncomeTaxTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxesIncomeTaxTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/IncomeTaxesDetail" xlink:type="simple" xlink:href="nx-20200731.xsd#IncomeTaxesDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/IncomeTaxesDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/Contingencies" xlink:type="simple" xlink:href="nx-20200731.xsd#Contingencies"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/Contingencies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/ContingenciesDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#ContingenciesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/ContingenciesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilities" xlink:type="simple" xlink:href="nx-20200731.xsd#FairValueMeasurementofAssetsandLiabilities"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilities" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilitiesTables" xlink:type="simple" xlink:href="nx-20200731.xsd#FairValueMeasurementofAssetsandLiabilitiesTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilitiesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/FairValueMeasurementofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="nx-20200731.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-20200731.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-20200731.xsd#StockBasedCompensationTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#StockBasedCompensationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#StockBasedCompensationRestrictedStockAwardsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationStockOptionsDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#StockBasedCompensationStockOptionsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationStockOptionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#StockBasedCompensationRestrictedStockUnitsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceShareAwardsDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#StockBasedCompensationPerformanceShareAwardsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceShareAwardsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#StockBasedCompensationPerformanceRestrictedStockUnitsDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationPerformanceRestrictedStockUnitsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTreasurySharesDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#StockBasedCompensationTreasurySharesDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/StockBasedCompensationTreasurySharesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/OtherIncomeExpense" xlink:type="simple" xlink:href="nx-20200731.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-20200731.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-20200731.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_f200bc6c-c3d3-4524-ac5f-d4c6f2fc0b2e" 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_ab29fc36-0062-484b-8667-4ded4cb5a650" 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_f200bc6c-c3d3-4524-ac5f-d4c6f2fc0b2e" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_ab29fc36-0062-484b-8667-4ded4cb5a650" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_d04faa54-e40d-41f4-9ef4-6d32385da26e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_f200bc6c-c3d3-4524-ac5f-d4c6f2fc0b2e" xlink:to="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_d04faa54-e40d-41f4-9ef4-6d32385da26e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nx_PensionServiceBenefit_71631b30-23ec-4530-81b0-f332b9f0f447" xlink:href="nx-20200731.xsd#nx_PensionServiceBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_f200bc6c-c3d3-4524-ac5f-d4c6f2fc0b2e" xlink:to="loc_nx_PensionServiceBenefit_71631b30-23ec-4530-81b0-f332b9f0f447" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_fba028cf-83db-4e69-baae-c057074a8cf9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_f200bc6c-c3d3-4524-ac5f-d4c6f2fc0b2e" xlink:to="loc_us-gaap_InvestmentIncomeInterest_fba028cf-83db-4e69-baae-c057074a8cf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonrecurringIncomeExpense_af46235d-6029-4ff9-8fd3-bffed9120f22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonrecurringIncomeExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingGainsLosses_f200bc6c-c3d3-4524-ac5f-d4c6f2fc0b2e" xlink:to="loc_us-gaap_OtherNonrecurringIncomeExpense_af46235d-6029-4ff9-8fd3-bffed9120f22" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationNotes" xlink:type="simple" xlink:href="nx-20200731.xsd#SegmentInformationNotes"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationTables" xlink:type="simple" xlink:href="nx-20200731.xsd#SegmentInformationTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#SegmentInformationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationSegmentReportingInformationDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#SegmentInformationSegmentReportingInformationDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationSegmentReportingInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationGoodwillbySegmentDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#SegmentInformationGoodwillbySegmentDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationGoodwillbySegmentDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/SegmentInformationReconcilliationofOperatingLosstoNetIncomeDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#SegmentInformationReconcilliationofOperatingLosstoNetIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/SegmentInformationReconcilliationofOperatingLosstoNetIncomeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShare" xlink:type="simple" xlink:href="nx-20200731.xsd#EarningsPerShare"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShare" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShareEarningsPerShareTables" xlink:type="simple" xlink:href="nx-20200731.xsd#EarningsPerShareEarningsPerShareTables"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShareEarningsPerShareTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/EarningsPerShareDetail" xlink:type="simple" xlink:href="nx-20200731.xsd#EarningsPerShareDetail"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/EarningsPerShareDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdopted" xlink:type="simple" xlink:href="nx-20200731.xsd#NewAccountingGuidanceAdopted"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdopted" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdoptedDetails" xlink:type="simple" xlink:href="nx-20200731.xsd#NewAccountingGuidanceAdoptedDetails"/>
  <link:calculationLink xlink:role="http://www.quanexbuildingproducts.com/role/NewAccountingGuidanceAdoptedDetails" xlink:type="extended"/>
</link:linkbase>
