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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:c6cf9a68-a7ec-4758-81c6-c3d1788e1b4e,g:1cfbd545-15f1-405f-813c-530abbf53948-->
<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.graco.com/role/ConsolidatedStatementsofEarningsUnaudited" xlink:type="simple" xlink:href="ggg-20230331.xsd#ConsolidatedStatementsofEarningsUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofEarningsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6d68447d-7c97-4095-8641-2b063a3b7d4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_0b80e6ca-17e3-4a50-8c84-575c74de725b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6d68447d-7c97-4095-8641-2b063a3b7d4d" xlink:to="loc_us-gaap_OperatingIncomeLoss_0b80e6ca-17e3-4a50-8c84-575c74de725b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_23f03669-534f-40ea-aff4-95ed19d5460e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6d68447d-7c97-4095-8641-2b063a3b7d4d" xlink:to="loc_us-gaap_InterestExpense_23f03669-534f-40ea-aff4-95ed19d5460e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_7c132b06-213b-402d-aab7-d383a8bb7006" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6d68447d-7c97-4095-8641-2b063a3b7d4d" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7c132b06-213b-402d-aab7-d383a8bb7006" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_12d9d802-e709-422a-abb7-92c19ac348ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_02cfa513-93d8-4a0b-a0b1-7974a524695a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_12d9d802-e709-422a-abb7-92c19ac348ff" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_02cfa513-93d8-4a0b-a0b1-7974a524695a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_e35c2785-13af-42b7-b716-c1b82d0a4e14" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_12d9d802-e709-422a-abb7-92c19ac348ff" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_e35c2785-13af-42b7-b716-c1b82d0a4e14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_848b6887-676e-4e49-b224-f37fcc97e9f4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_fc2ea232-1bbb-499e-a521-6f70f69efd15" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_848b6887-676e-4e49-b224-f37fcc97e9f4" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_fc2ea232-1bbb-499e-a521-6f70f69efd15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_8d8056bc-bcd3-40de-a614-420fba449ded" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_848b6887-676e-4e49-b224-f37fcc97e9f4" xlink:to="loc_us-gaap_GrossProfit_8d8056bc-bcd3-40de-a614-420fba449ded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_c6071ca9-5917-4a34-a893-8df3d35e9da6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_848b6887-676e-4e49-b224-f37fcc97e9f4" xlink:to="loc_us-gaap_SellingAndMarketingExpense_c6071ca9-5917-4a34-a893-8df3d35e9da6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_27c826c5-4d86-477e-a5f8-658d278f564a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_848b6887-676e-4e49-b224-f37fcc97e9f4" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_27c826c5-4d86-477e-a5f8-658d278f564a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_c28aa082-315f-439a-b143-d4944f6a360e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_4aecfbba-4e3e-4cb5-a66b-3524f557578e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_c28aa082-315f-439a-b143-d4944f6a360e" xlink:to="loc_us-gaap_Revenues_4aecfbba-4e3e-4cb5-a66b-3524f557578e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_c371cf0b-478f-4ff9-9f96-226505f40a56" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_c28aa082-315f-439a-b143-d4944f6a360e" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_c371cf0b-478f-4ff9-9f96-226505f40a56" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="ggg-20230331.xsd#ConsolidatedStatementsofComprehensiveIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_c44e39c0-bf67-427f-b63a-f5b8bb2d13ee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_26d339c0-1d11-46dc-831b-44ee5aff76a7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_c44e39c0-bf67-427f-b63a-f5b8bb2d13ee" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_26d339c0-1d11-46dc-831b-44ee5aff76a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_986f46b6-c68d-4f51-a693-6d268c8999e0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_c44e39c0-bf67-427f-b63a-f5b8bb2d13ee" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_986f46b6-c68d-4f51-a693-6d268c8999e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_f0da4b54-68e4-4093-afb2-4e17fd61add7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_c44e39c0-bf67-427f-b63a-f5b8bb2d13ee" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_f0da4b54-68e4-4093-afb2-4e17fd61add7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_ddb5611e-e601-4cde-bd86-3a2971ae92ca" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_11057913-f5a8-41e2-a49a-1005619c6aa5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_ddb5611e-e601-4cde-bd86-3a2971ae92ca" xlink:to="loc_us-gaap_NetIncomeLoss_11057913-f5a8-41e2-a49a-1005619c6aa5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_6a05975d-f985-4d69-899b-f90b92bd5374" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ddb5611e-e601-4cde-bd86-3a2971ae92ca" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_6a05975d-f985-4d69-899b-f90b92bd5374" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="ggg-20230331.xsd#ConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_7e1f3688-d6b0-4c5f-817b-5e6c83cf9fd2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_bac85d3d-cf54-4ca1-ad75-53b1762f8c58" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7e1f3688-d6b0-4c5f-817b-5e6c83cf9fd2" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_bac85d3d-cf54-4ca1-ad75-53b1762f8c58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtCurrent_d9421d8c-16e4-40a8-a095-729b2a5b2c90" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnsecuredDebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7e1f3688-d6b0-4c5f-817b-5e6c83cf9fd2" xlink:to="loc_us-gaap_UnsecuredDebtCurrent_d9421d8c-16e4-40a8-a095-729b2a5b2c90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_4d2f4e65-398a-46a4-8c4f-99415b11eb39" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7e1f3688-d6b0-4c5f-817b-5e6c83cf9fd2" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_4d2f4e65-398a-46a4-8c4f-99415b11eb39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable_92933ffa-4580-4545-a322-13050a1569d7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermBankLoansAndNotesPayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7e1f3688-d6b0-4c5f-817b-5e6c83cf9fd2" xlink:to="loc_us-gaap_ShortTermBankLoansAndNotesPayable_92933ffa-4580-4545-a322-13050a1569d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_d8437c0e-e3df-43d0-83f8-45e0aea8b66f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7e1f3688-d6b0-4c5f-817b-5e6c83cf9fd2" xlink:to="loc_us-gaap_DividendsPayableCurrent_d8437c0e-e3df-43d0-83f8-45e0aea8b66f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_20c21daa-1cc9-46b9-b2ef-eef3f2e584a2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7e1f3688-d6b0-4c5f-817b-5e6c83cf9fd2" xlink:to="loc_us-gaap_AccountsPayableCurrent_20c21daa-1cc9-46b9-b2ef-eef3f2e584a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_03c56ff3-1ce9-4514-b7e2-2b7692778ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:to="loc_us-gaap_AssetsCurrent_03c56ff3-1ce9-4514-b7e2-2b7692778ee3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6d1d4e3f-070c-4681-b0ec-b2ccc31494b0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_6d1d4e3f-070c-4681-b0ec-b2ccc31494b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_0171c3b3-4258-4d9c-876c-c62a44f07176" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:to="loc_us-gaap_Goodwill_0171c3b3-4258-4d9c-876c-c62a44f07176" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ececab8e-0ea1-4f26-8ab1-a2d38d4fe61c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ececab8e-0ea1-4f26-8ab1-a2d38d4fe61c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_5f8df19e-bdde-4337-ad1a-3f1261801a7c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_5f8df19e-bdde-4337-ad1a-3f1261801a7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_a7692d6c-d050-462b-9191-eb430113ee77" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_a7692d6c-d050-462b-9191-eb430113ee77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2aa55387-0bcd-4257-ba46-dc003a03a3d7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_baa77119-ec51-4461-9492-68d4ea9ed333" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2aa55387-0bcd-4257-ba46-dc003a03a3d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_29f64d00-ab51-4594-85da-40d9853765d2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5d9643b9-2aba-4420-8701-1ee4c4862747" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_29f64d00-ab51-4594-85da-40d9853765d2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5d9643b9-2aba-4420-8701-1ee4c4862747" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_4a2f8f71-ea21-42f5-a548-d8fb0e892c94" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReceivablesNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_29f64d00-ab51-4594-85da-40d9853765d2" xlink:to="loc_us-gaap_ReceivablesNetCurrent_4a2f8f71-ea21-42f5-a548-d8fb0e892c94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_d063834f-5d69-445d-9145-11a66840ac5b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_29f64d00-ab51-4594-85da-40d9853765d2" xlink:to="loc_us-gaap_InventoryNet_d063834f-5d69-445d-9145-11a66840ac5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_f40e5c65-d8cb-4a3c-bd9d-592f61aefead" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_29f64d00-ab51-4594-85da-40d9853765d2" xlink:to="loc_us-gaap_OtherAssetsCurrent_f40e5c65-d8cb-4a3c-bd9d-592f61aefead" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_013ef852-b9af-43d8-ac61-accca622ae90" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_9813d9b0-fc65-4dc5-ae26-3b0db5a1b809" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_013ef852-b9af-43d8-ac61-accca622ae90" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_9813d9b0-fc65-4dc5-ae26-3b0db5a1b809" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_3c186b6e-6e92-431e-8b03-333ce6d1da63" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_013ef852-b9af-43d8-ac61-accca622ae90" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_3c186b6e-6e92-431e-8b03-333ce6d1da63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_42cd76c7-4747-40de-bb09-54cc5b33ec32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_2df65af1-f67b-43df-a41e-933398a3e0ee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_42cd76c7-4747-40de-bb09-54cc5b33ec32" xlink:to="loc_us-gaap_CommonStockValue_2df65af1-f67b-43df-a41e-933398a3e0ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_93339689-d87d-44f3-a60c-afc59b2c5e8f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_42cd76c7-4747-40de-bb09-54cc5b33ec32" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_93339689-d87d-44f3-a60c-afc59b2c5e8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_169f74dc-2afd-4f11-b070-a831a196d939" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_42cd76c7-4747-40de-bb09-54cc5b33ec32" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_169f74dc-2afd-4f11-b070-a831a196d939" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_775afad8-d7cf-4a6e-8b69-ce3660c49766" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_42cd76c7-4747-40de-bb09-54cc5b33ec32" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_775afad8-d7cf-4a6e-8b69-ce3660c49766" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_12d831a6-b094-4294-9ab6-68f1e4afbf8d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:to="loc_us-gaap_LiabilitiesCurrent_12d831a6-b094-4294-9ab6-68f1e4afbf8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_f6ecad07-821c-47cc-9d54-e893c32ef55a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_f6ecad07-821c-47cc-9d54-e893c32ef55a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_7f2c0b84-5acc-4bf4-abda-f09b398387ea" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_7f2c0b84-5acc-4bf4-abda-f09b398387ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_adbfb68c-de9a-4468-a5b6-c4fcd3444738" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_adbfb68c-de9a-4468-a5b6-c4fcd3444738" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_49a64637-6952-47b5-b5ea-bfa1cc939d9a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_49a64637-6952-47b5-b5ea-bfa1cc939d9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_62d8fbdc-82ce-4535-8d6d-1ac7e90410a8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_62d8fbdc-82ce-4535-8d6d-1ac7e90410a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_30887988-2e0d-443b-ac15-7aeb7acb87bd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ef0aed80-67a7-4bea-9f59-3f52d722175a" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_30887988-2e0d-443b-ac15-7aeb7acb87bd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="ggg-20230331.xsd#ConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a29557d3-6393-4416-a665-e35921a785de" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a29557d3-6393-4416-a665-e35921a785de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_85002556-fb10-445a-916e-8974445af34f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_85002556-fb10-445a-916e-8974445af34f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_e3b1ea8e-c224-49de-b044-49893460d7d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:to="loc_us-gaap_PaymentsOfDividends_e3b1ea8e-c224-49de-b044-49893460d7d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_95e36e0c-a014-4c4b-8126-71f0516e235b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_95e36e0c-a014-4c4b-8126-71f0516e235b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_95b49cd3-cf67-40b5-991a-33a3fff30280" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_95b49cd3-cf67-40b5-991a-33a3fff30280" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_34010a26-9432-4725-bd26-7815ea7162d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_34010a26-9432-4725-bd26-7815ea7162d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_0bb47d1f-daae-43ae-a698-d3e626e2807b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_569ad08a-7305-4c1f-8a01-5b053645fcf0" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_0bb47d1f-daae-43ae-a698-d3e626e2807b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_83f93753-7f2b-45ec-9566-690abd9b5699" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherAccruedLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_83f93753-7f2b-45ec-9566-690abd9b5699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_112d5f04-f177-46bd-94a0-e9e09bbef1ee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_112d5f04-f177-46bd-94a0-e9e09bbef1ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_d2510f01-f610-4402-9365-0d9cfd99578c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_d2510f01-f610-4402-9365-0d9cfd99578c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_f2f99f22-b6e9-4329-8e9a-337a503fe714" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_f2f99f22-b6e9-4329-8e9a-337a503fe714" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_e75a63eb-b5cd-41d4-943f-e72c1210d1f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_e75a63eb-b5cd-41d4-943f-e72c1210d1f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_3e805f13-6b36-4c13-bf9b-048a159bdbcf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_3e805f13-6b36-4c13-bf9b-048a159bdbcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_5c701f8d-30c5-4041-87ef-d3c91642f959" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_5c701f8d-30c5-4041-87ef-d3c91642f959" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedSalaries_b6d874ff-0c05-465e-8462-8c9a18e4d0d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccruedSalaries"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedSalaries_b6d874ff-0c05-465e-8462-8c9a18e4d0d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4d1afa42-7f93-4a1a-a2a7-5076f914d279" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_NetIncomeLoss_4d1afa42-7f93-4a1a-a2a7-5076f914d279" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_365c9601-b2d6-4936-964e-ebde34936191" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_365c9601-b2d6-4936-964e-ebde34936191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_94028640-3725-4be1-bb93-6fc5f576113b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a31d68fc-3b59-4770-942a-a3f72d1816e7" xlink:to="loc_us-gaap_ShareBasedCompensation_94028640-3725-4be1-bb93-6fc5f576113b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_81c56c73-533c-49d2-b9f8-11251795a14c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_dcf34101-f988-49fa-91e1-88f467867ff1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_81c56c73-533c-49d2-b9f8-11251795a14c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_dcf34101-f988-49fa-91e1-88f467867ff1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f7e77151-10b8-452d-974d-06567498081c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_81c56c73-533c-49d2-b9f8-11251795a14c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f7e77151-10b8-452d-974d-06567498081c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1433557f-21d7-4ff2-9d48-1de8b34b9cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_81c56c73-533c-49d2-b9f8-11251795a14c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1433557f-21d7-4ff2-9d48-1de8b34b9cf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_40058446-3af3-4c24-8a3b-41e6eb35f348" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_81c56c73-533c-49d2-b9f8-11251795a14c" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_40058446-3af3-4c24-8a3b-41e6eb35f348" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2f1af925-3faa-483a-9eff-03599414c34b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ec4ab4ed-9391-4c10-a3fa-7a3d3bd9de89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_2f1af925-3faa-483a-9eff-03599414c34b" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ec4ab4ed-9391-4c10-a3fa-7a3d3bd9de89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_bc580991-4766-4475-a0c0-70921c33db01" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2f1af925-3faa-483a-9eff-03599414c34b" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_bc580991-4766-4475-a0c0-70921c33db01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_9578eeae-0d36-4536-a69d-60a033cace8d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2f1af925-3faa-483a-9eff-03599414c34b" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_9578eeae-0d36-4536-a69d-60a033cace8d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/EarningsperShareDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#EarningsperShareDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/EarningsperShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_185418b3-b655-4ebc-8758-7651ab6b3781" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_97c961ba-11cb-4e09-bd95-f5d703687d0d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_185418b3-b655-4ebc-8758-7651ab6b3781" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_97c961ba-11cb-4e09-bd95-f5d703687d0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_8b66842b-7f34-45e2-aa79-f07608943db2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_185418b3-b655-4ebc-8758-7651ab6b3781" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_8b66842b-7f34-45e2-aa79-f07608943db2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#RetirementBenefitsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_974c4915-5f9a-4d1d-923b-6a1518397edc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_2e290147-77cd-4bc9-a146-13101c49690b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_974c4915-5f9a-4d1d-923b-6a1518397edc" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_2e290147-77cd-4bc9-a146-13101c49690b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_05316e77-6c8e-4940-aba8-eaffe12080c2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_974c4915-5f9a-4d1d-923b-6a1518397edc" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_05316e77-6c8e-4940-aba8-eaffe12080c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_f213aa25-c1cf-486b-92a8-e9d741b74569" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_974c4915-5f9a-4d1d-923b-6a1518397edc" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_f213aa25-c1cf-486b-92a8-e9d741b74569" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_a1ea5a4d-abea-48de-9691-89cda3d53fe0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_974c4915-5f9a-4d1d-923b-6a1518397edc" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_a1ea5a4d-abea-48de-9691-89cda3d53fe0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_d7a77da4-e421-4498-b6a9-e627baeb5699" xlink:href="ggg-20230331.xsd#ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_974c4915-5f9a-4d1d-923b-6a1518397edc" xlink:to="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_d7a77da4-e421-4498-b6a9-e627baeb5699" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/InventoriesDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#InventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/InventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_26effb31-bd28-41ae-b07b-5a2d229ce9ab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_d7445378-b1be-47b1-9a76-add827284adb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_26effb31-bd28-41ae-b07b-5a2d229ce9ab" xlink:to="loc_us-gaap_InventoryFinishedGoods_d7445378-b1be-47b1-9a76-add827284adb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_0b4db303-ac02-4636-89bf-681c8dfaf699" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_26effb31-bd28-41ae-b07b-5a2d229ce9ab" xlink:to="loc_us-gaap_InventoryWorkInProcess_0b4db303-ac02-4636-89bf-681c8dfaf699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSupplies_24fce1f0-4231-434e-be45-af1c08e92fb3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryRawMaterialsAndSupplies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_26effb31-bd28-41ae-b07b-5a2d229ce9ab" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_24fce1f0-4231-434e-be45-af1c08e92fb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_9ebdaa99-28e4-4fc4-9853-d7b109701a91" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_e360a218-06ba-456c-a9f6-42769ae86054" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_9ebdaa99-28e4-4fc4-9853-d7b109701a91" xlink:to="loc_us-gaap_InventoryGross_e360a218-06ba-456c-a9f6-42769ae86054" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReserve_31d9e0e6-acfe-40bd-8836-9cf6af0e81e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryLIFOReserve"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_9ebdaa99-28e4-4fc4-9853-d7b109701a91" xlink:to="loc_us-gaap_InventoryLIFOReserve_31d9e0e6-acfe-40bd-8836-9cf6af0e81e3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/OtherCurrentLiabilitiesComponentsofOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#OtherCurrentLiabilitiesComponentsofOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/OtherCurrentLiabilitiesComponentsofOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerRefundLiabilityCurrent_fd39c9c5-c8e7-4751-a487-245846065f86" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerRefundLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_ContractWithCustomerRefundLiabilityCurrent_fd39c9c5-c8e7-4751-a487-245846065f86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveCurrent_49b2444a-8021-4e5b-b2f9-3b84e7dc18e0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringReserveCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_RestructuringReserveCurrent_49b2444a-8021-4e5b-b2f9-3b84e7dc18e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrual_956b4312-9159-4d58-b812-5338c181cdf7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProductWarrantyAccrual"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_ProductWarrantyAccrual_956b4312-9159-4d58-b812-5338c181cdf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_992a28a1-7356-4ed5-b4e4-8231c623cc6b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_992a28a1-7356-4ed5-b4e4-8231c623cc6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_01e92f5e-911c-4945-bcec-95d27bf8d33a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_TaxesPayableCurrent_01e92f5e-911c-4945-bcec-95d27bf8d33a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveCurrent_cd0bcee2-4c0b-41ad-bb3d-8e50a92fa6b4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SelfInsuranceReserveCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_SelfInsuranceReserveCurrent_cd0bcee2-4c0b-41ad-bb3d-8e50a92fa6b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_7841838a-c51c-4783-8edb-0c17cd634c03" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedMarketingCostsCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_7841838a-c51c-4783-8edb-0c17cd634c03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_be4d1600-7168-4a22-84a8-8e6317c1589f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherEmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_be4d1600-7168-4a22-84a8-8e6317c1589f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_2a51755f-fc0e-48f4-9b9e-6469537cffa9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_2a51755f-fc0e-48f4-9b9e-6469537cffa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_bcc347e9-805e-470c-84af-9cc26873bc53" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_bcc347e9-805e-470c-84af-9cc26873bc53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_a25846ef-8d5f-4b91-a3a8-0cd7a1a206c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_337d3237-2dd5-44e3-ac39-7fc0d06ec10f" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_a25846ef-8d5f-4b91-a3a8-0cd7a1a206c1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/FairValueDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#FairValueDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/FairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_3bdb44b3-fb13-4f6b-b648-e0cbc365f142" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueFairValueDisclosure_8746efbe-5fe3-4a5c-805d-e9949bfbe6b5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashSurrenderValueFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3bdb44b3-fb13-4f6b-b648-e0cbc365f142" xlink:to="loc_us-gaap_CashSurrenderValueFairValueDisclosure_8746efbe-5fe3-4a5c-805d-e9949bfbe6b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_6046144b-df9a-4c7f-aaf4-ed849b5c3812" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3bdb44b3-fb13-4f6b-b648-e0cbc365f142" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_6046144b-df9a-4c7f-aaf4-ed849b5c3812" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_100b478a-5ba0-492b-ae03-aa7cdc76753a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_f8a21690-3abb-4a72-8998-2d5e02c05298" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_100b478a-5ba0-492b-ae03-aa7cdc76753a" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_f8a21690-3abb-4a72-8998-2d5e02c05298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_c37db5b6-189e-4b9b-8b0c-6e58675d9f38" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_100b478a-5ba0-492b-ae03-aa7cdc76753a" xlink:to="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_c37db5b6-189e-4b9b-8b0c-6e58675d9f38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_a8691c4d-0711-41a9-905a-667715a0990f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_100b478a-5ba0-492b-ae03-aa7cdc76753a" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_a8691c4d-0711-41a9-905a-667715a0990f" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
