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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:21061ee5-40a1-47f9-bddd-7c4bd2613a2d,g:d8d565d9-6ae3-402c-a763-92f80601ee41-->
<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/CONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="simple" xlink:href="ggg-20241227.xsd#CONSOLIDATEDSTATEMENTSOFEARNINGS"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/CONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_a8b2ec44-7a11-42d0-a5c3-d8ec22a6098b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_c2e9e207-3ebe-4f5a-b1a2-06fb0f98306c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_a8b2ec44-7a11-42d0-a5c3-d8ec22a6098b" xlink:to="loc_us-gaap_GrossProfit_c2e9e207-3ebe-4f5a-b1a2-06fb0f98306c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_9c5f2907-b536-4b05-a232-90b74842f38e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_a8b2ec44-7a11-42d0-a5c3-d8ec22a6098b" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_9c5f2907-b536-4b05-a232-90b74842f38e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_e496ad86-941a-4974-b99d-98c79e66c64a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a8b2ec44-7a11-42d0-a5c3-d8ec22a6098b" xlink:to="loc_us-gaap_SellingAndMarketingExpense_e496ad86-941a-4974-b99d-98c79e66c64a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_44815d3e-cd76-4e51-acb9-81ed695c31c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a8b2ec44-7a11-42d0-a5c3-d8ec22a6098b" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_44815d3e-cd76-4e51-acb9-81ed695c31c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonrecurringIncomeExpense_58bd1b94-a0b1-4e58-bf7f-1386cd7734f6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_OperatingIncomeLoss_a8b2ec44-7a11-42d0-a5c3-d8ec22a6098b" xlink:to="loc_us-gaap_OtherNonrecurringIncomeExpense_58bd1b94-a0b1-4e58-bf7f-1386cd7734f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_b88c1600-c7db-4609-81cb-0c4cbb5e993d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_a8b2ec44-7a11-42d0-a5c3-d8ec22a6098b" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_b88c1600-c7db-4609-81cb-0c4cbb5e993d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_2fd97499-fe82-487d-8bac-81c8bb4ef923" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3074d175-94c4-471d-a34a-ba348016d99f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NetIncomeLossAvailableToCommonStockholdersBasic_2fd97499-fe82-487d-8bac-81c8bb4ef923" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3074d175-94c4-471d-a34a-ba348016d99f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_021528af-8884-4348-bfbe-bfec8c3afac6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NetIncomeLossAvailableToCommonStockholdersBasic_2fd97499-fe82-487d-8bac-81c8bb4ef923" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_021528af-8884-4348-bfbe-bfec8c3afac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_df2f81f8-2504-42e1-8b26-2ee572afee77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_868adbbd-70be-490e-bc2e-79df84bac629" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_df2f81f8-2504-42e1-8b26-2ee572afee77" xlink:to="loc_us-gaap_InterestExpenseNonoperating_868adbbd-70be-490e-bc2e-79df84bac629" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_6182b537-f319-461c-a569-6dda0937dab3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_df2f81f8-2504-42e1-8b26-2ee572afee77" xlink:to="loc_us-gaap_OperatingIncomeLoss_6182b537-f319-461c-a569-6dda0937dab3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_37aee4f6-81de-4346-b585-089f208a16d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_df2f81f8-2504-42e1-8b26-2ee572afee77" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_37aee4f6-81de-4346-b585-089f208a16d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_fe1a84ac-fca6-4cf3-a366-b0805ec30f10" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_c64e814f-cc0d-4fab-b2ea-24e2f76ff38b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_fe1a84ac-fca6-4cf3-a366-b0805ec30f10" xlink:to="loc_us-gaap_Revenues_c64e814f-cc0d-4fab-b2ea-24e2f76ff38b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_38e40308-d9f3-4b86-91b6-5f05b56c0810" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_fe1a84ac-fca6-4cf3-a366-b0805ec30f10" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_38e40308-d9f3-4b86-91b6-5f05b56c0810" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="ggg-20241227.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_38c0fa65-62c5-4e6f-b1a8-fc66bbc53a3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_13ee4d44-ef9c-437f-98cf-377130e92db9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_38c0fa65-62c5-4e6f-b1a8-fc66bbc53a3a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_13ee4d44-ef9c-437f-98cf-377130e92db9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_79ae857a-aae9-4fab-b118-7f97f840ac69" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_38c0fa65-62c5-4e6f-b1a8-fc66bbc53a3a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_79ae857a-aae9-4fab-b118-7f97f840ac69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_cbf90553-8bde-4881-8228-efe209e497a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_38c0fa65-62c5-4e6f-b1a8-fc66bbc53a3a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_cbf90553-8bde-4881-8228-efe209e497a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_4e01bfa5-564e-4448-9490-b04093aa9a54" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3faf420e-4a90-45fc-a477-bb3756515c07" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_4e01bfa5-564e-4448-9490-b04093aa9a54" xlink:to="loc_us-gaap_NetIncomeLoss_3faf420e-4a90-45fc-a477-bb3756515c07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d698fd77-556b-4b07-8adb-b65b10af1f42" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_4e01bfa5-564e-4448-9490-b04093aa9a54" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d698fd77-556b-4b07-8adb-b65b10af1f42" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="ggg-20241227.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_faa1a4bb-592a-4818-9266-a3cb01f764bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:to="loc_us-gaap_LiabilitiesCurrent_faa1a4bb-592a-4818-9266-a3cb01f764bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_bcb7f0ca-6352-4736-b884-32314b31a62e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_bcb7f0ca-6352-4736-b884-32314b31a62e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_51040d72-7a9c-4891-a87a-919c9d7dacec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_LiabilitiesAndStockholdersEquity_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_51040d72-7a9c-4891-a87a-919c9d7dacec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_93a97fc5-c2eb-4465-aaf4-be13fffb0fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_93a97fc5-c2eb-4465-aaf4-be13fffb0fe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_d71ed156-241c-43e0-b73b-1b7525f22642" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_d71ed156-241c-43e0-b73b-1b7525f22642" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_b88bc984-6bcf-42fb-861c-3298910b2257" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:to="loc_us-gaap_CommitmentsAndContingencies_b88bc984-6bcf-42fb-861c-3298910b2257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b0b02229-478e-43ff-b249-51979fcfecac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_62dea96a-a962-4459-a8d2-b8032dffdacc" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b0b02229-478e-43ff-b249-51979fcfecac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_e58e0fde-87f7-4443-a672-0842a50fa080" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_caea0e6b-8ceb-478c-b584-6a34f051e026" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e58e0fde-87f7-4443-a672-0842a50fa080" xlink:to="loc_us-gaap_CommonStockValue_caea0e6b-8ceb-478c-b584-6a34f051e026" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_461c404b-bafe-4b8c-ac43-14276566e0e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e58e0fde-87f7-4443-a672-0842a50fa080" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_461c404b-bafe-4b8c-ac43-14276566e0e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e6cfebac-6016-4096-a165-6000f4b1e1b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e58e0fde-87f7-4443-a672-0842a50fa080" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e6cfebac-6016-4096-a165-6000f4b1e1b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_17db7639-71ca-4852-ac7a-ca16e28cfc7b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e58e0fde-87f7-4443-a672-0842a50fa080" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_17db7639-71ca-4852-ac7a-ca16e28cfc7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_88a0b701-ec3f-49ed-9f16-e825a963c173" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b4eae796-0a8a-42ab-8f3a-2248afd58b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_88a0b701-ec3f-49ed-9f16-e825a963c173" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b4eae796-0a8a-42ab-8f3a-2248afd58b5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_3010ee9a-e8a9-41a5-8989-5cda279f3d46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_88a0b701-ec3f-49ed-9f16-e825a963c173" xlink:to="loc_us-gaap_ReceivablesNetCurrent_3010ee9a-e8a9-41a5-8989-5cda279f3d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_bfed2592-18d6-44f8-912c-34992bf6b3f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_88a0b701-ec3f-49ed-9f16-e825a963c173" xlink:to="loc_us-gaap_InventoryNet_bfed2592-18d6-44f8-912c-34992bf6b3f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_01906e17-3ee1-4bc4-a0c6-f4d6bd996df6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_88a0b701-ec3f-49ed-9f16-e825a963c173" xlink:to="loc_us-gaap_OtherAssetsCurrent_01906e17-3ee1-4bc4-a0c6-f4d6bd996df6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_a4bea141-feae-4409-9f48-0d3920e66313" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_4e6f3c39-86f5-4828-b3e5-262896cc8ecb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a4bea141-feae-4409-9f48-0d3920e66313" xlink:to="loc_us-gaap_AssetsCurrent_4e6f3c39-86f5-4828-b3e5-262896cc8ecb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_c773a05d-f529-4fc6-bf2b-ce5ab64b1b68" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a4bea141-feae-4409-9f48-0d3920e66313" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_c773a05d-f529-4fc6-bf2b-ce5ab64b1b68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_89b7e1ca-5b88-4135-974d-c6965137e587" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a4bea141-feae-4409-9f48-0d3920e66313" xlink:to="loc_us-gaap_Goodwill_89b7e1ca-5b88-4135-974d-c6965137e587" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_fe575706-37ed-448f-a3c3-45c4fc90905a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a4bea141-feae-4409-9f48-0d3920e66313" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_fe575706-37ed-448f-a3c3-45c4fc90905a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_9b8e689f-8a99-4c20-88b2-cd5a96dded09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a4bea141-feae-4409-9f48-0d3920e66313" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_9b8e689f-8a99-4c20-88b2-cd5a96dded09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_b580f0ad-c58e-433e-8bcf-9aef8abbb257" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a4bea141-feae-4409-9f48-0d3920e66313" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_b580f0ad-c58e-433e-8bcf-9aef8abbb257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_cb4eaf05-9b89-416c-8d64-9497f83e0f70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a4bea141-feae-4409-9f48-0d3920e66313" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_cb4eaf05-9b89-416c-8d64-9497f83e0f70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_f21288e8-d69a-4644-ba93-c37344733ed9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable_f23822e5-1d08-460a-8dfc-8cbec73dcae3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBankLoansAndNotesPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f21288e8-d69a-4644-ba93-c37344733ed9" xlink:to="loc_us-gaap_ShortTermBankLoansAndNotesPayable_f23822e5-1d08-460a-8dfc-8cbec73dcae3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_37e3238c-4d85-4ce6-8da4-4037fc9e1217" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f21288e8-d69a-4644-ba93-c37344733ed9" xlink:to="loc_us-gaap_AccountsPayableCurrent_37e3238c-4d85-4ce6-8da4-4037fc9e1217" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_651ccec7-8a31-4be4-9aaa-0a9912f72f1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f21288e8-d69a-4644-ba93-c37344733ed9" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_651ccec7-8a31-4be4-9aaa-0a9912f72f1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_c3c0a1ff-21b0-44e1-89dd-7addee24c10a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f21288e8-d69a-4644-ba93-c37344733ed9" xlink:to="loc_us-gaap_DividendsPayableCurrent_c3c0a1ff-21b0-44e1-89dd-7addee24c10a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_62d7593a-ef13-4f85-b9f9-ca02cd822dd7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f21288e8-d69a-4644-ba93-c37344733ed9" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_62d7593a-ef13-4f85-b9f9-ca02cd822dd7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="ggg-20241227.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4080d70e-69da-4ecc-be53-ed20129f0a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adb3d7f2-9ba5-44ff-ac33-407555ea3272" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_4080d70e-69da-4ecc-be53-ed20129f0a9a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adb3d7f2-9ba5-44ff-ac33-407555ea3272" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f116e1f2-d3bd-4f65-b991-50296b3e4cbb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_4080d70e-69da-4ecc-be53-ed20129f0a9a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f116e1f2-d3bd-4f65-b991-50296b3e4cbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b478d413-7763-4f9d-84eb-fb90ed3c0377" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_4080d70e-69da-4ecc-be53-ed20129f0a9a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b478d413-7763-4f9d-84eb-fb90ed3c0377" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_ff693668-7df8-4db8-a9f0-19d6189eb756" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_4080d70e-69da-4ecc-be53-ed20129f0a9a" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_ff693668-7df8-4db8-a9f0-19d6189eb756" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_165e5116-4735-4120-996b-db84ac1c2d1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2dfcb1f9-9a7e-459b-b5b8-a86d06b8b228" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_165e5116-4735-4120-996b-db84ac1c2d1d" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2dfcb1f9-9a7e-459b-b5b8-a86d06b8b228" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_2dbc5f22-e06a-4a3e-a85b-7b5bb04aa04b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_165e5116-4735-4120-996b-db84ac1c2d1d" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_2dbc5f22-e06a-4a3e-a85b-7b5bb04aa04b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_1a7c6bdc-1765-44ee-a5a0-da1c1980cfbb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_165e5116-4735-4120-996b-db84ac1c2d1d" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_1a7c6bdc-1765-44ee-a5a0-da1c1980cfbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1b6ead97-bb8b-4de3-a4c7-61ffd220005c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_NetIncomeLoss_1b6ead97-bb8b-4de3-a4c7-61ffd220005c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_23041a41-ff37-4439-b6c0-c688ced36313" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_23041a41-ff37-4439-b6c0-c688ced36313" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9d4b3b35-d22a-4258-a387-0beb3d714f95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9d4b3b35-d22a-4258-a387-0beb3d714f95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_3921515e-41a4-4047-9eb1-1f03a7354570" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_ShareBasedCompensation_3921515e-41a4-4047-9eb1-1f03a7354570" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionExpenseReversalOfExpenseNoncash_36338372-1eff-4c1a-9b36-4c25489e51de" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionExpenseReversalOfExpenseNoncash"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_PensionExpenseReversalOfExpenseNoncash_36338372-1eff-4c1a-9b36-4c25489e51de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_08cf14c7-5c6b-4d09-9934-61e73e34fbbc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_08cf14c7-5c6b-4d09-9934-61e73e34fbbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_b9ad928f-4019-4993-9b37-5bd953680738" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_b9ad928f-4019-4993-9b37-5bd953680738" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_153a59c8-87bf-49f1-afc7-08123e85ee37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_153a59c8-87bf-49f1-afc7-08123e85ee37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_47faeac9-6e8d-4743-be32-0741addd28fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_47faeac9-6e8d-4743-be32-0741addd28fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_843e0ba3-daf7-43f6-b83a-cbfd3263b827" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_843e0ba3-daf7-43f6-b83a-cbfd3263b827" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedSalaries_b6e8eb36-29c3-4261-98c2-e8767bd9cef7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedSalaries"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedSalaries_b6e8eb36-29c3-4261-98c2-e8767bd9cef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_0ed01b76-1f9b-46a0-af69-f4c39b8896a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_0ed01b76-1f9b-46a0-af69-f4c39b8896a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_14c1610e-d0c6-46a1-82e5-6795dd570654" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherAccruedLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_14c1610e-d0c6-46a1-82e5-6795dd570654" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_20afab70-5513-46e5-bc64-e44a4e4e2fb2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_86d11ec7-61b8-4526-b8e0-3ded0b5824a0" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_20afab70-5513-46e5-bc64-e44a4e4e2fb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_7bedcc7a-6d8d-4f48-9733-5f42419fb46e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_7bedcc7a-6d8d-4f48-9733-5f42419fb46e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_d26610e9-abe3-4419-8a0c-7d24ddbc260f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_d26610e9-abe3-4419-8a0c-7d24ddbc260f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_640c9054-651a-4333-b1dd-db19e209e32d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_640c9054-651a-4333-b1dd-db19e209e32d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_390bd188-7f99-4891-b559-435ae8577dc5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_390bd188-7f99-4891-b559-435ae8577dc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_e1f28ad3-6cbe-4d25-aa21-c41c8567a797" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_e1f28ad3-6cbe-4d25-aa21-c41c8567a797" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_c68df7a5-ae37-40ee-844c-fcad45ead0d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_c68df7a5-ae37-40ee-844c-fcad45ead0d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_05ee1a76-d771-4d27-94f1-69db5025d62f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1f7231b7-258b-42c9-8f65-8c01734d758f" xlink:to="loc_us-gaap_PaymentsOfDividends_05ee1a76-d771-4d27-94f1-69db5025d62f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesAssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#SummaryofSignificantAccountingPoliciesAssetsandLiabilitiesMeasuredatFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesAssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_f802b2b2-4c5c-4552-862f-32382a44616e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueFairValueDisclosure_870944cb-def0-447a-bb93-953e36e4bfcb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f802b2b2-4c5c-4552-862f-32382a44616e" xlink:to="loc_us-gaap_CashSurrenderValueFairValueDisclosure_870944cb-def0-447a-bb93-953e36e4bfcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_93bff7a3-a831-4f96-b7b3-6c54efe1ea83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f802b2b2-4c5c-4552-862f-32382a44616e" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_93bff7a3-a831-4f96-b7b3-6c54efe1ea83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_ba271101-0668-4989-a3c5-6c4c0f8ba0fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_46f7a23b-cb80-4b81-b707-3d59e06d4db6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ba271101-0668-4989-a3c5-6c4c0f8ba0fc" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_46f7a23b-cb80-4b81-b707-3d59e06d4db6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_3a0e50d8-db69-499c-8f21-fc8d0a7131b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ba271101-0668-4989-a3c5-6c4c0f8ba0fc" xlink:to="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_3a0e50d8-db69-499c-8f21-fc8d0a7131b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_c08fa4da-8c04-4af4-b8dc-5e8430a6c4dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ba271101-0668-4989-a3c5-6c4c0f8ba0fc" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_c08fa4da-8c04-4af4-b8dc-5e8430a6c4dc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesOtherCurrentAssetsDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#SummaryofSignificantAccountingPoliciesOtherCurrentAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesOtherCurrentAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_3b82bb49-02b4-4171-8681-e72130806e09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidTaxes_5a8e6775-1e56-4103-95d4-69b4e7d7ccd6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_3b82bb49-02b4-4171-8681-e72130806e09" xlink:to="loc_us-gaap_PrepaidTaxes_5a8e6775-1e56-4103-95d4-69b4e7d7ccd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_a6de0dcd-e52a-4f15-9f89-169581127ef9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_3b82bb49-02b4-4171-8681-e72130806e09" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_a6de0dcd-e52a-4f15-9f89-169581127ef9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesIntangibleAssetsDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#SummaryofSignificantAccountingPoliciesIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_39372b85-2dcd-4e6f-b234-33d9d10d098e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_680ca56d-5331-4394-87c3-dec7f7f1c9bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_39372b85-2dcd-4e6f-b234-33d9d10d098e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_680ca56d-5331-4394-87c3-dec7f7f1c9bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_835fb3d0-d3c5-491a-880f-647f070295f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_39372b85-2dcd-4e6f-b234-33d9d10d098e" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_835fb3d0-d3c5-491a-880f-647f070295f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_IntangibleAssetsTranslationAdjustments_088b4929-c6c6-4249-ad11-9e6a8af5d366" xlink:href="ggg-20241227.xsd#ggg_IntangibleAssetsTranslationAdjustments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_25d1cbfe-1388-4db9-98bb-41dc30cbdd8f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ggg_IntangibleAssetsTranslationAdjustments_088b4929-c6c6-4249-ad11-9e6a8af5d366" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_25d1cbfe-1388-4db9-98bb-41dc30cbdd8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_13eb74b2-84a0-45c7-b841-c6b4bff73840" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ggg_IntangibleAssetsTranslationAdjustments_088b4929-c6c6-4249-ad11-9e6a8af5d366" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_13eb74b2-84a0-45c7-b841-c6b4bff73840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_IntangibleAssetAccumulatedAmortization_48e4388c-3a02-44c1-a849-9cf6e69425fb" xlink:href="ggg-20241227.xsd#ggg_IntangibleAssetAccumulatedAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ebe233af-1bd7-4f87-a399-e09cba9ba756" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ggg_IntangibleAssetAccumulatedAmortization_48e4388c-3a02-44c1-a849-9cf6e69425fb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ebe233af-1bd7-4f87-a399-e09cba9ba756" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_28965761-a719-4101-8ec5-a406f7225588" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_519c0dee-8964-4d33-84d4-b34e0a0f97f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedTradeNames"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_28965761-a719-4101-8ec5-a406f7225588" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_519c0dee-8964-4d33-84d4-b34e0a0f97f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_c6499085-84a5-49a2-bd26-7f811402be66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_28965761-a719-4101-8ec5-a406f7225588" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_c6499085-84a5-49a2-bd26-7f811402be66" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesComponentsofOtherAssetsDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#SummaryofSignificantAccountingPoliciesComponentsofOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesComponentsofOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_4160c210-ab2e-4adb-962a-8aa136074479" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueOfLifeInsurance_26970569-bbca-4c72-85d9-4e527ec0709a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashSurrenderValueOfLifeInsurance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_4160c210-ab2e-4adb-962a-8aa136074479" xlink:to="loc_us-gaap_CashSurrenderValueOfLifeInsurance_26970569-bbca-4c72-85d9-4e527ec0709a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareNet_96252db8-444d-4f60-9dad-d8a58dfc9621" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CapitalizedComputerSoftwareNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_4160c210-ab2e-4adb-962a-8aa136074479" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareNet_96252db8-444d-4f60-9dad-d8a58dfc9621" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentAggregateCost_4b526665-8254-4286-8abc-07afd67ea654" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentAggregateCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_4160c210-ab2e-4adb-962a-8aa136074479" xlink:to="loc_us-gaap_EquityMethodInvestmentAggregateCost_4b526665-8254-4286-8abc-07afd67ea654" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_Depositsandother_d748d617-ee21-45b5-8212-4e2d78dda912" xlink:href="ggg-20241227.xsd#ggg_Depositsandother"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_4160c210-ab2e-4adb-962a-8aa136074479" xlink:to="loc_ggg_Depositsandother_d748d617-ee21-45b5-8212-4e2d78dda912" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_0a353ef8-d286-422b-8228-12c75968de17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_4160c210-ab2e-4adb-962a-8aa136074479" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_0a353ef8-d286-422b-8228-12c75968de17" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesComponentsofOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#SummaryofSignificantAccountingPoliciesComponentsofOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesComponentsofOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_a0bcbdd3-0e78-4e25-8d70-486d2c3a0f50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedMarketingCostsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_a0bcbdd3-0e78-4e25-8d70-486d2c3a0f50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_4f7ea29e-0140-4e1d-8a26-07f76c15999a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_4f7ea29e-0140-4e1d-8a26-07f76c15999a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveCurrent_2f69b79f-3148-4a01-b43f-0973588aaf94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SelfInsuranceReserveCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_SelfInsuranceReserveCurrent_2f69b79f-3148-4a01-b43f-0973588aaf94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_f961b0fb-30af-4e81-a3d7-408f4fe2ec67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherEmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_f961b0fb-30af-4e81-a3d7-408f4fe2ec67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_9303820d-c7a5-4f94-b415-8151ade6af38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_9303820d-c7a5-4f94-b415-8151ade6af38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerRefundLiabilityCurrent_c1ddfdeb-7073-450b-a187-821e19177de2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerRefundLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_ContractWithCustomerRefundLiabilityCurrent_c1ddfdeb-7073-450b-a187-821e19177de2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_fd265709-42cd-4e7c-83e3-977de094c439" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_fd265709-42cd-4e7c-83e3-977de094c439" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_2fba20f3-1346-49cc-9aa5-f4d9d2c28b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_2fba20f3-1346-49cc-9aa5-f4d9d2c28b5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_151e9882-b967-4412-ba38-fe2444337ba1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_TaxesPayableCurrent_151e9882-b967-4412-ba38-fe2444337ba1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrual_c9b9aafc-1cd3-4c20-9789-7473fdc832c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrual"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_ProductWarrantyAccrual_c9b9aafc-1cd3-4c20-9789-7473fdc832c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b50812c0-37fb-4044-bc2f-411541c8c280" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6ffa0839-8a90-405b-8d49-fadf944ce35b" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b50812c0-37fb-4044-bc2f-411541c8c280" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesFairMarketValueandClassificationofDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#SummaryofSignificantAccountingPoliciesFairMarketValueandClassificationofDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/SummaryofSignificantAccountingPoliciesFairMarketValueandClassificationofDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeAtFairValueNet_e8a984cd-f21b-46fe-a3e9-a9e7a98a18d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyFairValueHedgeDerivativeAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyFairValueHedgeAssetAtFairValue_3b5ec54f-246e-43fc-98af-5b044bb0f991" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyFairValueHedgeAssetAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeAtFairValueNet_e8a984cd-f21b-46fe-a3e9-a9e7a98a18d2" xlink:to="loc_us-gaap_ForeignCurrencyFairValueHedgeAssetAtFairValue_3b5ec54f-246e-43fc-98af-5b044bb0f991" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyFairValueHedgeLiabilityAtFairValue_eaaec081-c5cc-4682-8793-6691d24ffd57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyFairValueHedgeLiabilityAtFairValue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeAtFairValueNet_e8a984cd-f21b-46fe-a3e9-a9e7a98a18d2" xlink:to="loc_us-gaap_ForeignCurrencyFairValueHedgeLiabilityAtFairValue_eaaec081-c5cc-4682-8793-6691d24ffd57" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/SegmentInformationOperationsandAssetsDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#SegmentInformationOperationsandAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/SegmentInformationOperationsandAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_bbbca8d2-00a2-4e5c-b7cc-172fb8e7e0ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_c9791338-e5de-43e9-b20e-f434bf01dd38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_bbbca8d2-00a2-4e5c-b7cc-172fb8e7e0ab" xlink:to="loc_us-gaap_OperatingExpenses_c9791338-e5de-43e9-b20e-f434bf01dd38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_213c417c-c5ad-45d0-8b8b-a3e619ec193c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_bbbca8d2-00a2-4e5c-b7cc-172fb8e7e0ab" xlink:to="loc_us-gaap_GrossProfit_213c417c-c5ad-45d0-8b8b-a3e619ec193c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/InventoriesDetails" xlink:type="simple" xlink:href="ggg-20241227.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_InventoryNet_f61256ac-a3bb-45ec-b036-542818529ee7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_692ddaa4-2007-40d8-bafd-664a96de7d5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f61256ac-a3bb-45ec-b036-542818529ee7" xlink:to="loc_us-gaap_InventoryGross_692ddaa4-2007-40d8-bafd-664a96de7d5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReserve_496b4179-c1ff-424b-9ffd-8b6722d4ae72" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f61256ac-a3bb-45ec-b036-542818529ee7" xlink:to="loc_us-gaap_InventoryLIFOReserve_496b4179-c1ff-424b-9ffd-8b6722d4ae72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_c1a5d9b7-cbc3-4c64-a6eb-c5e005b459c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_b78b52a1-f5d5-4421-aca7-40c29d68b92e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c1a5d9b7-cbc3-4c64-a6eb-c5e005b459c7" xlink:to="loc_us-gaap_InventoryFinishedGoods_b78b52a1-f5d5-4421-aca7-40c29d68b92e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_9cd3fd36-0cd2-431f-95d4-df800dfeed9b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c1a5d9b7-cbc3-4c64-a6eb-c5e005b459c7" xlink:to="loc_us-gaap_InventoryWorkInProcess_9cd3fd36-0cd2-431f-95d4-df800dfeed9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSupplies_bf718ac3-5d86-4d5a-b741-a21a3b6c3948" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c1a5d9b7-cbc3-4c64-a6eb-c5e005b459c7" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_bf718ac3-5d86-4d5a-b741-a21a3b6c3948" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/PropertyPlantandEquipmentPPEByTypeDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#PropertyPlantandEquipmentPPEByTypeDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/PropertyPlantandEquipmentPPEByTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_c17d68eb-6145-44d9-a1e4-9fcb3bc10972" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_31da39e4-6909-4d47-9db5-d278fb92b5d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c17d68eb-6145-44d9-a1e4-9fcb3bc10972" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_31da39e4-6909-4d47-9db5-d278fb92b5d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7c2cb125-3495-41c4-a551-cf999052ded0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c17d68eb-6145-44d9-a1e4-9fcb3bc10972" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7c2cb125-3495-41c4-a551-cf999052ded0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/IncomeTaxesIncomebeforeIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#IncomeTaxesIncomebeforeIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/IncomeTaxesIncomebeforeIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_31562654-1f9b-4f94-bc9a-9aa0ca6cd277" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_0ec3ad01-91ac-4e00-8e6c-3878dd9509d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_31562654-1f9b-4f94-bc9a-9aa0ca6cd277" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_0ec3ad01-91ac-4e00-8e6c-3878dd9509d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_9fd1646a-83e6-4a9e-b9fd-fee6a9407a50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_31562654-1f9b-4f94-bc9a-9aa0ca6cd277" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_9fd1646a-83e6-4a9e-b9fd-fee6a9407a50" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#IncomeTaxesComponentsofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7eb095b8-5d32-46ba-b209-a7eb5e5b1532" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_ca56919b-64ae-4037-977f-446e2c6384a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7eb095b8-5d32-46ba-b209-a7eb5e5b1532" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_ca56919b-64ae-4037-977f-446e2c6384a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_0bfbc59f-4d56-4106-b5a0-dbc18e105dce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7eb095b8-5d32-46ba-b209-a7eb5e5b1532" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_0bfbc59f-4d56-4106-b5a0-dbc18e105dce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_6836195d-f7d6-46b3-8d1f-8c4155917f4e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7eb095b8-5d32-46ba-b209-a7eb5e5b1532" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_6836195d-f7d6-46b3-8d1f-8c4155917f4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1aa41315-271d-479a-959e-7bceb4e58e75" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_f24ab459-2276-4862-91cf-0f1624e3f732" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_1aa41315-271d-479a-959e-7bceb4e58e75" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_f24ab459-2276-4862-91cf-0f1624e3f732" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_22ffe2cf-dc7d-4fb5-82aa-d8d694b790e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_1aa41315-271d-479a-959e-7bceb4e58e75" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_22ffe2cf-dc7d-4fb5-82aa-d8d694b790e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b2e9b440-1621-4bfa-a58b-02a7c650d828" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DeferredFederalStateAndLocalIncomeTaxExpenseBenefit_5ef5ff4f-a58b-4b2d-8c02-307703659d37" xlink:href="ggg-20241227.xsd#ggg_DeferredFederalStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b2e9b440-1621-4bfa-a58b-02a7c650d828" xlink:to="loc_ggg_DeferredFederalStateAndLocalIncomeTaxExpenseBenefit_5ef5ff4f-a58b-4b2d-8c02-307703659d37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_4f1a9328-9cad-4205-919d-0090e0a1f10c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b2e9b440-1621-4bfa-a58b-02a7c650d828" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_4f1a9328-9cad-4205-919d-0090e0a1f10c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_81261a99-e72f-480c-b74e-b657f53960a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_739c6811-b72e-4f34-9c31-cd3317e57c71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_81261a99-e72f-480c-b74e-b657f53960a0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_739c6811-b72e-4f34-9c31-cd3317e57c71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_1ac2f1a3-9747-402b-a75e-1727dfdd0d85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_81261a99-e72f-480c-b74e-b657f53960a0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_1ac2f1a3-9747-402b-a75e-1727dfdd0d85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_757b3518-025d-49aa-b641-e73dced5fbdf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_81261a99-e72f-480c-b74e-b657f53960a0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_757b3518-025d-49aa-b641-e73dced5fbdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_03dc8a8d-b040-4554-ad52-40780c480002" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_81261a99-e72f-480c-b74e-b657f53960a0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_03dc8a8d-b040-4554-ad52-40780c480002" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_9ec218d5-3b98-4ab0-9fc6-c725ecf1760c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_81261a99-e72f-480c-b74e-b657f53960a0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_9ec218d5-3b98-4ab0-9fc6-c725ecf1760c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_6781d817-dad6-484a-860c-2c4238ba6155" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_81261a99-e72f-480c-b74e-b657f53960a0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_6781d817-dad6-484a-860c-2c4238ba6155" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/IncomeTaxesScheduleofDeferredIncomeTaxesDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#IncomeTaxesScheduleofDeferredIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/IncomeTaxesScheduleofDeferredIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_3ce8621f-d153-4c1f-8f38-c431fe589bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_3ce8621f-d153-4c1f-8f38-c431fe589bfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_13f25522-63e6-405f-af66-6fabd2a560aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_13f25522-63e6-405f-af66-6fabd2a560aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences_c0458f72-7dd3-48d0-be55-e388427486f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences_c0458f72-7dd3-48d0-be55-e388427486f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_30becae2-8029-4fe7-bc83-4b2dc310e665" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_30becae2-8029-4fe7-bc83-4b2dc310e665" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsSelfInsurance_f7079309-e2c3-4424-81a0-e46fa3a73800" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsSelfInsurance"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsSelfInsurance_f7079309-e2c3-4424-81a0-e46fa3a73800" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DeferredTaxAssetsAcquisitionCosts_d2716315-150d-43d8-92f8-116096dd8a77" xlink:href="ggg-20241227.xsd#ggg_DeferredTaxAssetsAcquisitionCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_ggg_DeferredTaxAssetsAcquisitionCosts_d2716315-150d-43d8-92f8-116096dd8a77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_0198313c-de75-4dcf-928e-9f44454a37c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_0198313c-de75-4dcf-928e-9f44454a37c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory_b7a9332f-cffb-4fff-a138-4a767c01e431" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsInventory"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsInventory_b7a9332f-cffb-4fff-a138-4a767c01e431" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_9cd42f98-2650-41f3-bbd3-a73ee67eca0b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_9cd42f98-2650-41f3-bbd3-a73ee67eca0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves_47f064da-dd07-486e-8fe4-b5366185cbb0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves_47f064da-dd07-486e-8fe4-b5366185cbb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_a4506307-2e7b-4d5c-b314-ffda6bf135c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_a4506307-2e7b-4d5c-b314-ffda6bf135c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseOther_d418bb1e-9733-4193-b569-81829b4b19f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseOther"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseOther_d418bb1e-9733-4193-b569-81829b4b19f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_ec8e2948-bb3f-4973-8a4f-8a75c3a1a101" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_ec8e2948-bb3f-4973-8a4f-8a75c3a1a101" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_178a1b2c-91c5-44a9-ab1a-33d2ef696e80" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_178a1b2c-91c5-44a9-ab1a-33d2ef696e80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_ac9e7c37-9203-46a9-bfa0-761869d7da1f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsDeferredIncome"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f4daa67b-ce52-4362-b628-abc7c2eaf810" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_ac9e7c37-9203-46a9-bfa0-761869d7da1f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsPurchasePlansandCompensationCostShareBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#ShareBasedAwardsPurchasePlansandCompensationCostShareBasedCompensationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ShareBasedAwardsPurchasePlansandCompensationCostShareBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_82053f4a-d3f0-4799-b7f7-cdd54949235e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_34cc6848-7e5f-47c1-8223-fdfadf19b763" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_82053f4a-d3f0-4799-b7f7-cdd54949235e" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_34cc6848-7e5f-47c1-8223-fdfadf19b763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_51869f63-6a17-4aa3-aa69-10db9c790ea8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_82053f4a-d3f0-4799-b7f7-cdd54949235e" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_51869f63-6a17-4aa3-aa69-10db9c790ea8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/EarningsperShareScheduleOfEarningsPerShareBasicandDilutedDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#EarningsperShareScheduleOfEarningsPerShareBasicandDilutedDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/EarningsperShareScheduleOfEarningsPerShareBasicandDilutedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_30f4a23f-d936-4e66-83be-c56a2fedb755" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_3ab52a35-9f62-4e13-bbec-0e467c9fd5b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_30f4a23f-d936-4e66-83be-c56a2fedb755" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_3ab52a35-9f62-4e13-bbec-0e467c9fd5b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_c02749d7-fe9b-43d6-a56f-43040ec67084" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_30f4a23f-d936-4e66-83be-c56a2fedb755" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_c02749d7-fe9b-43d6-a56f-43040ec67084" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsAmountsRecognizedinBalanceSheetsDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#RetirementBenefitsAmountsRecognizedinBalanceSheetsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/RetirementBenefitsAmountsRecognizedinBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_381ed88d-c998-4e59-87f0-27108ca87914" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseNoncurrent_6f569c39-58c2-45a0-b483-73f203fe8626" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseNoncurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_381ed88d-c998-4e59-87f0-27108ca87914" xlink:to="loc_us-gaap_PrepaidExpenseNoncurrent_6f569c39-58c2-45a0-b483-73f203fe8626" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_5b5538ad-fac9-4b01-8a02-7ef2d699196b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_381ed88d-c998-4e59-87f0-27108ca87914" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_5b5538ad-fac9-4b01-8a02-7ef2d699196b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_96839b2f-6054-4004-9882-293605666dc8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_381ed88d-c998-4e59-87f0-27108ca87914" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_96839b2f-6054-4004-9882-293605666dc8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsComponentsofNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#RetirementBenefitsComponentsofNetPeriodicBenefitCostDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/RetirementBenefitsComponentsofNetPeriodicBenefitCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_9a16f95d-f9fc-470d-914e-35808e33aba3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_9a16f95d-f9fc-470d-914e-35808e33aba3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_7f2b169d-703e-4759-aa44-35eede860a9b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_7f2b169d-703e-4759-aa44-35eede860a9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_0cd61597-23e6-4ad0-8479-16a31cba87d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_0cd61597-23e6-4ad0-8479-16a31cba87d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_1ce2eb79-55cc-44ea-ba60-72fbf99e5e92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_1ce2eb79-55cc-44ea-ba60-72fbf99e5e92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_bd1d11d4-8e3d-49af-850a-b81f474039f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_bd1d11d4-8e3d-49af-850a-b81f474039f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_b009ea78-1f20-4899-ab32-3fb58177e496" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_b009ea78-1f20-4899-ab32-3fb58177e496" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanOtherCosts_454c09ab-0dd3-4082-b5d8-f8cd0145b509" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanOtherCosts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_761ff000-725d-42da-b0ad-fdaf7a24c8b5" xlink:to="loc_us-gaap_DefinedBenefitPlanOtherCosts_454c09ab-0dd3-4082-b5d8-f8cd0145b509" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsAmountsrecognizedinothercomprehensiveincomelossDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#RetirementBenefitsAmountsrecognizedinothercomprehensiveincomelossDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/RetirementBenefitsAmountsrecognizedinothercomprehensiveincomelossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_9d2db103-9c60-4296-9adb-4f65df12fa81" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_57c94065-69b5-4331-bb1e-c644ce211421" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_9d2db103-9c60-4296-9adb-4f65df12fa81" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_57c94065-69b5-4331-bb1e-c644ce211421" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_8c330466-0ea3-4e3f-b588-becca82876cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_9d2db103-9c60-4296-9adb-4f65df12fa81" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_8c330466-0ea3-4e3f-b588-becca82876cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_bad64a45-27d1-4b2b-bc7d-35ca9033a4fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_9d2db103-9c60-4296-9adb-4f65df12fa81" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_bad64a45-27d1-4b2b-bc7d-35ca9033a4fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_7250e82e-30df-4617-9233-abc881e55e77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_9d2db103-9c60-4296-9adb-4f65df12fa81" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_7250e82e-30df-4617-9233-abc881e55e77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_8fb76930-d349-4ff7-abe8-fe578d8b622d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_9d2db103-9c60-4296-9adb-4f65df12fa81" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_8fb76930-d349-4ff7-abe8-fe578d8b622d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsAmountsincludedinaccumulatedothercomprehensiveincomelossDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#RetirementBenefitsAmountsincludedinaccumulatedothercomprehensiveincomelossDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/RetirementBenefitsAmountsincludedinaccumulatedothercomprehensiveincomelossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetOfTax_a9227723-97b3-483d-8544-9bed6104995f" xlink:href="ggg-20241227.xsd#ggg_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_575efda9-f83c-42e0-987a-9411fc365ce2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ggg_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetOfTax_a9227723-97b3-483d-8544-9bed6104995f" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_575efda9-f83c-42e0-987a-9411fc365ce2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeTaxEffect_29ec369d-5318-4602-95c4-ec21c41f4786" xlink:href="ggg-20241227.xsd#ggg_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeTaxEffect"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ggg_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetOfTax_a9227723-97b3-483d-8544-9bed6104995f" xlink:to="loc_ggg_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeTaxEffect_29ec369d-5318-4602-95c4-ec21c41f4786" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_0ce9155a-e6cf-4bb3-a7de-207fdb1c0f7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_b678081a-4c57-4b94-9696-5e6d4a1432ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_0ce9155a-e6cf-4bb3-a7de-207fdb1c0f7d" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_b678081a-4c57-4b94-9696-5e6d4a1432ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_42688440-7d17-4583-b6a3-17831e6a468a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_0ce9155a-e6cf-4bb3-a7de-207fdb1c0f7d" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_42688440-7d17-4583-b6a3-17831e6a468a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/CommitmentsandContingenciesLeaseCommitmentsDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#CommitmentsandContingenciesLeaseCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/CommitmentsandContingenciesLeaseCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_52e2e68d-e893-49f3-ac8a-831a9dc44d29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_489ae93f-5cc7-4de1-a8a7-c1ac9d55727a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_52e2e68d-e893-49f3-ac8a-831a9dc44d29" xlink:to="loc_us-gaap_OperatingLeaseLiability_489ae93f-5cc7-4de1-a8a7-c1ac9d55727a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7f99f06e-ac37-432c-80cc-fb3a67aa2c08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_52e2e68d-e893-49f3-ac8a-831a9dc44d29" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7f99f06e-ac37-432c-80cc-fb3a67aa2c08" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/CommitmentsandContingenciesLeaseCommitmentsDetails_1" xlink:type="simple" xlink:href="ggg-20241227.xsd#CommitmentsandContingenciesLeaseCommitmentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/CommitmentsandContingenciesLeaseCommitmentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7a31b319-f868-4e15-99c4-5120061d9982" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_aa6f4f51-9ee4-4568-91e6-400d2e46724f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7a31b319-f868-4e15-99c4-5120061d9982" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_aa6f4f51-9ee4-4568-91e6-400d2e46724f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_46fb5248-a30c-4a4f-93bf-9ea7f36e74fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7a31b319-f868-4e15-99c4-5120061d9982" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_46fb5248-a30c-4a4f-93bf-9ea7f36e74fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c646f079-d33a-44af-8ef3-83b3271995a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7a31b319-f868-4e15-99c4-5120061d9982" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c646f079-d33a-44af-8ef3-83b3271995a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_c5dfa597-12a6-4a19-bbb5-2a8c52f0e2ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7a31b319-f868-4e15-99c4-5120061d9982" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_c5dfa597-12a6-4a19-bbb5-2a8c52f0e2ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_ea704594-b072-4383-a438-f98b4e0f0fdb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7a31b319-f868-4e15-99c4-5120061d9982" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_ea704594-b072-4383-a438-f98b4e0f0fdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_c7bdeded-03ec-49f5-aee4-35cb4a233201" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7a31b319-f868-4e15-99c4-5120061d9982" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_c7bdeded-03ec-49f5-aee4-35cb4a233201" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/AcquisitionsScheduleofBusinessAcquisitionsbyAcquisitionDetails" xlink:type="simple" xlink:href="ggg-20241227.xsd#AcquisitionsScheduleofBusinessAcquisitionsbyAcquisitionDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/AcquisitionsScheduleofBusinessAcquisitionsbyAcquisitionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_5b5ced8a-6177-4a8c-b53e-987ebd3ffe7f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_5b5ced8a-6177-4a8c-b53e-987ebd3ffe7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_8203ece3-3bd0-4e66-9979-25ffb86cd075" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_8203ece3-3bd0-4e66-9979-25ffb86cd075" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_ff974cfe-234a-457c-9564-9a8b529063fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_ff974cfe-234a-457c-9564-9a8b529063fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_e5694621-66dc-41b1-a8c3-1241dfaae12b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_Goodwill_e5694621-66dc-41b1-a8c3-1241dfaae12b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_627d0d2e-7f5e-4ebe-8d71-f4cf6f67f7f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_627d0d2e-7f5e-4ebe-8d71-f4cf6f67f7f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_da0a64a5-5f6c-4283-b46c-e2d2dc60f60a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_da0a64a5-5f6c-4283-b46c-e2d2dc60f60a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_11929ad1-53a3-4009-81ae-e73ad4bf5071" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_11929ad1-53a3-4009-81ae-e73ad4bf5071" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_21abcb2f-2b58-4282-af77-e3c3b046c740" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_21abcb2f-2b58-4282-af77-e3c3b046c740" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_3b25c72e-a194-4539-a527-006d3f5654a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_3b25c72e-a194-4539-a527-006d3f5654a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_dbd299e3-25b8-4208-9383-80e36cfd7cb3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_dbd299e3-25b8-4208-9383-80e36cfd7cb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_90beb96c-fc7e-46ac-9f24-564805df9773" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_32d00bd9-bde6-4e1f-b008-ef931c0c6b05" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_90beb96c-fc7e-46ac-9f24-564805df9773" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_94fb83b1-bc9f-4b0b-a1a2-f4fef78c45e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_BusinessCombinationConsiderationTransferredContingentConsideration_9361dbe3-d0f4-4785-8468-b9781ce6fc14" xlink:href="ggg-20241227.xsd#ggg_BusinessCombinationConsiderationTransferredContingentConsideration"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_94fb83b1-bc9f-4b0b-a1a2-f4fef78c45e2" xlink:to="loc_ggg_BusinessCombinationConsiderationTransferredContingentConsideration_9361dbe3-d0f4-4785-8468-b9781ce6fc14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_ff4ee439-62fb-4b33-8f2d-21899cab8a78" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_94fb83b1-bc9f-4b0b-a1a2-f4fef78c45e2" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_ff4ee439-62fb-4b33-8f2d-21899cab8a78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_b3c8b328-150d-4b31-bc85-fc4916d1c12b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_94fb83b1-bc9f-4b0b-a1a2-f4fef78c45e2" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_b3c8b328-150d-4b31-bc85-fc4916d1c12b" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
