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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:40ac10ca-afd2-4686-9c79-0e7d65ad7790,g:747f2f39-293f-4f95-8253-206fc4176a2a-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedStatementsofEarningsUnaudited" xlink:type="simple" xlink:href="ggg-20240628.xsd#ConsolidatedStatementsofEarningsUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofEarningsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b19ecf22-0f97-4384-8560-6cb82487c9c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f2104766-dd7d-4b0c-9afc-a085421ec3df" 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_NetIncomeLoss_b19ecf22-0f97-4384-8560-6cb82487c9c9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f2104766-dd7d-4b0c-9afc-a085421ec3df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_6504a125-92bf-449b-a729-c880d0a9f8a1" 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_NetIncomeLoss_b19ecf22-0f97-4384-8560-6cb82487c9c9" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_6504a125-92bf-449b-a729-c880d0a9f8a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_da2f26ef-aa3e-4a41-aaca-900e02f488d5" 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_OperatingIncomeLoss_66523626-a480-44e0-926e-bf5c3f36a6d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_da2f26ef-aa3e-4a41-aaca-900e02f488d5" xlink:to="loc_us-gaap_OperatingIncomeLoss_66523626-a480-44e0-926e-bf5c3f36a6d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_92e1c878-efcf-47ac-903d-47263ccf75d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_da2f26ef-aa3e-4a41-aaca-900e02f488d5" xlink:to="loc_us-gaap_InterestExpense_92e1c878-efcf-47ac-903d-47263ccf75d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_082dab2d-133c-424c-a00a-9df90f555d51" 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_da2f26ef-aa3e-4a41-aaca-900e02f488d5" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_082dab2d-133c-424c-a00a-9df90f555d51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_97b108c3-083b-41a8-800b-f8ad44187c6c" 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_e461c42d-fbc1-44fc-9b1e-23f9790b6d8a" 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_97b108c3-083b-41a8-800b-f8ad44187c6c" xlink:to="loc_us-gaap_GrossProfit_e461c42d-fbc1-44fc-9b1e-23f9790b6d8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_f0918166-62f0-4541-bac0-00c89639634f" 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_97b108c3-083b-41a8-800b-f8ad44187c6c" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_f0918166-62f0-4541-bac0-00c89639634f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_1731df30-7687-416c-a9ed-d63145a9a87a" 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_97b108c3-083b-41a8-800b-f8ad44187c6c" xlink:to="loc_us-gaap_SellingAndMarketingExpense_1731df30-7687-416c-a9ed-d63145a9a87a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_9653e09d-dc8f-4169-b5eb-d67aa3e08965" 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_97b108c3-083b-41a8-800b-f8ad44187c6c" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_9653e09d-dc8f-4169-b5eb-d67aa3e08965" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_69769fd6-a419-4cf8-a7df-d459a23b78e3" 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_f19e22a1-3cad-4913-ae1d-0f4132db7dd2" 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_69769fd6-a419-4cf8-a7df-d459a23b78e3" xlink:to="loc_us-gaap_Revenues_f19e22a1-3cad-4913-ae1d-0f4132db7dd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_266e0e17-3749-478c-b99d-d4053c0988fe" 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_69769fd6-a419-4cf8-a7df-d459a23b78e3" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_266e0e17-3749-478c-b99d-d4053c0988fe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="ggg-20240628.xsd#ConsolidatedStatementsofComprehensiveIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_897b311a-2bdc-4131-95a8-65cc293be8bd" 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_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_162a13dd-a9ee-493e-8209-206a7c0a45d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_897b311a-2bdc-4131-95a8-65cc293be8bd" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_162a13dd-a9ee-493e-8209-206a7c0a45d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_b1b3c977-aa78-4b40-b42b-6ab66590edab" 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_897b311a-2bdc-4131-95a8-65cc293be8bd" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_b1b3c977-aa78-4b40-b42b-6ab66590edab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_6c6368ee-e9f4-4023-a7a0-b26eea4b9479" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_897b311a-2bdc-4131-95a8-65cc293be8bd" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_6c6368ee-e9f4-4023-a7a0-b26eea4b9479" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_8e9b9888-da31-48a8-9652-3f9099ffdb22" 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_5852bd32-b8c5-474d-8533-2ba4970a0017" 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_8e9b9888-da31-48a8-9652-3f9099ffdb22" xlink:to="loc_us-gaap_NetIncomeLoss_5852bd32-b8c5-474d-8533-2ba4970a0017" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_b4daa8bf-3e15-4e60-8307-e617bca3a3c6" 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_8e9b9888-da31-48a8-9652-3f9099ffdb22" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_b4daa8bf-3e15-4e60-8307-e617bca3a3c6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="ggg-20240628.xsd#ConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b1d6ea2b-5889-49c8-b802-d39933273a77" 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_1fffeb93-c29f-475d-8ded-bfbe8a78be19" 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_b1d6ea2b-5889-49c8-b802-d39933273a77" xlink:to="loc_us-gaap_CommonStockValue_1fffeb93-c29f-475d-8ded-bfbe8a78be19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_4f3c6545-d14d-4379-a373-6bb867542231" 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_b1d6ea2b-5889-49c8-b802-d39933273a77" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_4f3c6545-d14d-4379-a373-6bb867542231" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_15e849ef-6ce8-4f0f-8be6-718af7845784" 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_b1d6ea2b-5889-49c8-b802-d39933273a77" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_15e849ef-6ce8-4f0f-8be6-718af7845784" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_8c316624-8663-4aec-a106-bf75c9090ea2" 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_b1d6ea2b-5889-49c8-b802-d39933273a77" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_8c316624-8663-4aec-a106-bf75c9090ea2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_b84db53e-824f-43d9-9758-d58d18c8b747" 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_AccountsPayableCurrent_4da2f9a9-8beb-4c39-a70c-c80441906752" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b84db53e-824f-43d9-9758-d58d18c8b747" xlink:to="loc_us-gaap_AccountsPayableCurrent_4da2f9a9-8beb-4c39-a70c-c80441906752" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_6aef434f-fd9a-4b0c-8939-542f1e382539" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b84db53e-824f-43d9-9758-d58d18c8b747" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_6aef434f-fd9a-4b0c-8939-542f1e382539" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5158533d-33a5-4b4e-8d66-4f13f605eede" 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_b84db53e-824f-43d9-9758-d58d18c8b747" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5158533d-33a5-4b4e-8d66-4f13f605eede" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_f8bbfe59-1aa1-4b8f-91cb-94b19132dccc" 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_b84db53e-824f-43d9-9758-d58d18c8b747" xlink:to="loc_us-gaap_DividendsPayableCurrent_f8bbfe59-1aa1-4b8f-91cb-94b19132dccc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable_fbcafe51-fb06-46a1-8837-0064a90a6f9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBankLoansAndNotesPayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b84db53e-824f-43d9-9758-d58d18c8b747" xlink:to="loc_us-gaap_ShortTermBankLoansAndNotesPayable_fbcafe51-fb06-46a1-8837-0064a90a6f9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_b3172cb8-a149-4adf-b811-56640e2ef06c" 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_fbda88ba-a0ab-425e-8eec-8a5845388367" 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_b3172cb8-a149-4adf-b811-56640e2ef06c" xlink:to="loc_us-gaap_AssetsCurrent_fbda88ba-a0ab-425e-8eec-8a5845388367" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_36ed13c7-c282-4bc1-adb0-842851ca5191" 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_b3172cb8-a149-4adf-b811-56640e2ef06c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_36ed13c7-c282-4bc1-adb0-842851ca5191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_bd6ce27e-c26c-4732-b89c-d4fb381a08d9" 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_b3172cb8-a149-4adf-b811-56640e2ef06c" xlink:to="loc_us-gaap_Goodwill_bd6ce27e-c26c-4732-b89c-d4fb381a08d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c39f0303-2cfd-448d-a24f-d72f69cf5046" 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_b3172cb8-a149-4adf-b811-56640e2ef06c" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c39f0303-2cfd-448d-a24f-d72f69cf5046" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2b6ac539-b417-4486-9ab1-7f0e35e3b472" 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_b3172cb8-a149-4adf-b811-56640e2ef06c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2b6ac539-b417-4486-9ab1-7f0e35e3b472" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_2eba7979-ed1b-4779-b575-992b4b22ef44" 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_b3172cb8-a149-4adf-b811-56640e2ef06c" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_2eba7979-ed1b-4779-b575-992b4b22ef44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_cefe1130-8f40-4eb0-8b13-321bb4fff952" 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_b3172cb8-a149-4adf-b811-56640e2ef06c" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_cefe1130-8f40-4eb0-8b13-321bb4fff952" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d3ffbf76-867a-4d2c-8202-8a3b98923ec9" 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_a8d973a4-e508-4842-a50e-fe69eda06826" 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_d3ffbf76-867a-4d2c-8202-8a3b98923ec9" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a8d973a4-e508-4842-a50e-fe69eda06826" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_183a2f01-5dab-42ca-81df-a5d4597d98fc" 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_d3ffbf76-867a-4d2c-8202-8a3b98923ec9" xlink:to="loc_us-gaap_ReceivablesNetCurrent_183a2f01-5dab-42ca-81df-a5d4597d98fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_9b6a4173-1699-4b87-a935-19a05f073d8a" 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_d3ffbf76-867a-4d2c-8202-8a3b98923ec9" xlink:to="loc_us-gaap_InventoryNet_9b6a4173-1699-4b87-a935-19a05f073d8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_05d2b136-90ba-4218-80d6-e06c39b8f148" 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_d3ffbf76-867a-4d2c-8202-8a3b98923ec9" xlink:to="loc_us-gaap_OtherAssetsCurrent_05d2b136-90ba-4218-80d6-e06c39b8f148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_dbeea5ba-2711-4073-9b6b-36ad079c352f" 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_9d19e877-c04e-4ce0-ac16-71fae734d175" 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_dbeea5ba-2711-4073-9b6b-36ad079c352f" xlink:to="loc_us-gaap_LiabilitiesCurrent_9d19e877-c04e-4ce0-ac16-71fae734d175" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_b7b314f4-a9f4-4f2d-9bfa-045a10e7f0da" 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_dbeea5ba-2711-4073-9b6b-36ad079c352f" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_b7b314f4-a9f4-4f2d-9bfa-045a10e7f0da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_6d7ccf03-9eab-4b79-a190-34e121df63c6" 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_dbeea5ba-2711-4073-9b6b-36ad079c352f" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_6d7ccf03-9eab-4b79-a190-34e121df63c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5400aa09-250c-47cd-9a5c-5aa05644b79c" 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_dbeea5ba-2711-4073-9b6b-36ad079c352f" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5400aa09-250c-47cd-9a5c-5aa05644b79c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_d17ed4dd-9337-4f1d-b7bb-19cfdfba2ac7" 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_dbeea5ba-2711-4073-9b6b-36ad079c352f" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_d17ed4dd-9337-4f1d-b7bb-19cfdfba2ac7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_1149716c-788d-4b01-bef5-bf15d20f25d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_dbeea5ba-2711-4073-9b6b-36ad079c352f" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_1149716c-788d-4b01-bef5-bf15d20f25d8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="ggg-20240628.xsd#ConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_a20aa5ee-648f-47c0-aa3f-0b6bf13166b8" 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_871f2231-5140-49fb-af6e-e2b7bd96cde9" 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_a20aa5ee-648f-47c0-aa3f-0b6bf13166b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_871f2231-5140-49fb-af6e-e2b7bd96cde9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_773cf324-fad7-471e-8197-963ebe7f84c9" 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_a20aa5ee-648f-47c0-aa3f-0b6bf13166b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_773cf324-fad7-471e-8197-963ebe7f84c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_685a7c64-8dc5-4a03-82f2-57c53a8071f3" 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_a20aa5ee-648f-47c0-aa3f-0b6bf13166b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_685a7c64-8dc5-4a03-82f2-57c53a8071f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3e9b80c2-2a74-4827-8634-a4bee87e11fa" 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_a20aa5ee-648f-47c0-aa3f-0b6bf13166b8" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3e9b80c2-2a74-4827-8634-a4bee87e11fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5060d8e3-5e83-41af-8e87-126f3e0b4ab1" 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_PaymentsForProceedsFromOtherInvestingActivities_355a623d-0458-45a9-8ea7-f449f8c60959" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5060d8e3-5e83-41af-8e87-126f3e0b4ab1" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_355a623d-0458-45a9-8ea7-f449f8c60959" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_daaa44e9-c519-4f3f-bf5d-68090da105bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5060d8e3-5e83-41af-8e87-126f3e0b4ab1" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_daaa44e9-c519-4f3f-bf5d-68090da105bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" 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_adceb9fc-705f-4a1c-8912-13187122dbd9" 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_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_NetIncomeLoss_adceb9fc-705f-4a1c-8912-13187122dbd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_7049d33f-e47b-486b-8618-5c5dc221e739" 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_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_7049d33f-e47b-486b-8618-5c5dc221e739" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1b44c185-b5c0-41ab-baff-463d10313af1" 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_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1b44c185-b5c0-41ab-baff-463d10313af1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_df8c57e9-0f2f-44a5-8056-91bdb068ae54" 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_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_ShareBasedCompensation_df8c57e9-0f2f-44a5-8056-91bdb068ae54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_aa53e69a-ec63-4361-ba25-fce2f9efe0d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_aa53e69a-ec63-4361-ba25-fce2f9efe0d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_11b54777-fcbd-4fc2-bcc5-231e3a1ec3e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_11b54777-fcbd-4fc2-bcc5-231e3a1ec3e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_f6a14679-f4d7-48a0-8b43-d2192ce2c30e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_f6a14679-f4d7-48a0-8b43-d2192ce2c30e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedSalaries_f12c9cd7-160e-46d3-93ee-b983100da2a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedSalaries"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedSalaries_f12c9cd7-160e-46d3-93ee-b983100da2a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_d5408f26-d7c3-4723-971b-b10b661d7cae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_d5408f26-d7c3-4723-971b-b10b661d7cae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_1e298e45-6fbc-4b6a-9607-e2f94da7d676" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherAccruedLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_1e298e45-6fbc-4b6a-9607-e2f94da7d676" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_a95706e2-59ef-497c-8f89-3b04474642d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7cf884c0-7591-4b98-b5fb-180357ee9975" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_a95706e2-59ef-497c-8f89-3b04474642d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6cab9b4-f9b9-4539-b888-e3b89e0b142d" 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_PaymentsOfDividends_49e17ac5-1815-45ed-a61b-dcc7e7534a91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6cab9b4-f9b9-4539-b888-e3b89e0b142d" xlink:to="loc_us-gaap_PaymentsOfDividends_49e17ac5-1815-45ed-a61b-dcc7e7534a91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_7962c77b-4f03-49e3-9380-c6e8a46088ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6cab9b4-f9b9-4539-b888-e3b89e0b142d" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_7962c77b-4f03-49e3-9380-c6e8a46088ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_69e0fdd8-fd45-4c05-95e5-c812f79a2579" 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_b6cab9b4-f9b9-4539-b888-e3b89e0b142d" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_69e0fdd8-fd45-4c05-95e5-c812f79a2579" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4ddc9b4d-81d7-457e-9d8b-3efe396e8678" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6cab9b4-f9b9-4539-b888-e3b89e0b142d" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4ddc9b4d-81d7-457e-9d8b-3efe396e8678" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_d4d385e9-fb0a-42e2-80a0-e9c53a8204c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6cab9b4-f9b9-4539-b888-e3b89e0b142d" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_d4d385e9-fb0a-42e2-80a0-e9c53a8204c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_a732f0a0-27d1-43a4-be5b-f789db011859" 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_b6cab9b4-f9b9-4539-b888-e3b89e0b142d" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_a732f0a0-27d1-43a4-be5b-f789db011859" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/EarningsperShareDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#EarningsperShareDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/EarningsperShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1399118c-92f6-4343-b903-e485615a7def" 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_WeightedAverageNumberDilutedSharesOutstandingAdjustment_3f349df8-780b-459b-9537-e3b5ead58301" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1399118c-92f6-4343-b903-e485615a7def" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_3f349df8-780b-459b-9537-e3b5ead58301" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_a0b213b0-962a-4c11-9790-0cf9f8a7c3f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1399118c-92f6-4343-b903-e485615a7def" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_a0b213b0-962a-4c11-9790-0cf9f8a7c3f9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#RetirementBenefitsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_96084c3b-866c-4adf-b008-6a1669dfecd5" 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_1cf5d25e-7565-43be-bc61-6ceedce3f370" 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_96084c3b-866c-4adf-b008-6a1669dfecd5" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_1cf5d25e-7565-43be-bc61-6ceedce3f370" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_bb0f221b-2586-4359-aaff-e07e68332a8e" 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_96084c3b-866c-4adf-b008-6a1669dfecd5" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_bb0f221b-2586-4359-aaff-e07e68332a8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_0d58bf2b-6bd0-4c93-8fba-855976bb5942" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_96084c3b-866c-4adf-b008-6a1669dfecd5" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_0d58bf2b-6bd0-4c93-8fba-855976bb5942" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_ad90fc44-e981-444a-b381-728c676c1662" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_96084c3b-866c-4adf-b008-6a1669dfecd5" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_ad90fc44-e981-444a-b381-728c676c1662" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_b2109d9b-38cd-47a0-9f81-b06790b97896" xlink:href="ggg-20240628.xsd#ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_96084c3b-866c-4adf-b008-6a1669dfecd5" xlink:to="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_b2109d9b-38cd-47a0-9f81-b06790b97896" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/InventoriesDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#InventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/InventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_d4062114-6307-469b-a2b2-30d1a941a261" 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_6b936d0a-77ca-48dc-8663-117067e22410" 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_d4062114-6307-469b-a2b2-30d1a941a261" xlink:to="loc_us-gaap_InventoryFinishedGoods_6b936d0a-77ca-48dc-8663-117067e22410" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_035b1f06-88d4-4e2b-becc-645eb588dd1b" 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_d4062114-6307-469b-a2b2-30d1a941a261" xlink:to="loc_us-gaap_InventoryWorkInProcess_035b1f06-88d4-4e2b-becc-645eb588dd1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSupplies_df020561-cdef-430e-8c54-785bd9375679" 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_d4062114-6307-469b-a2b2-30d1a941a261" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_df020561-cdef-430e-8c54-785bd9375679" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_564f8c43-be15-4273-855a-2a50781f8c9c" 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_66569a54-fcb8-4a77-9fc7-bb893a2330a3" 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_564f8c43-be15-4273-855a-2a50781f8c9c" xlink:to="loc_us-gaap_InventoryGross_66569a54-fcb8-4a77-9fc7-bb893a2330a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReserve_b624311b-f673-4558-b1ae-098fd8c5f681" 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_564f8c43-be15-4273-855a-2a50781f8c9c" xlink:to="loc_us-gaap_InventoryLIFOReserve_b624311b-f673-4558-b1ae-098fd8c5f681" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/IntangibleAssetsOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#IntangibleAssetsOtherIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/IntangibleAssetsOtherIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ggg_IntangibleAssetsTranslationAdjustments_461fb4be-377c-4699-ab48-f34125ec4e26" xlink:href="ggg-20240628.xsd#ggg_IntangibleAssetsTranslationAdjustments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_cd68eebf-314f-4ac0-b402-b94c13a517e8" 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_461fb4be-377c-4699-ab48-f34125ec4e26" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_cd68eebf-314f-4ac0-b402-b94c13a517e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_10fe2b6a-cf58-415b-b789-195cedda231f" 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_461fb4be-377c-4699-ab48-f34125ec4e26" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_10fe2b6a-cf58-415b-b789-195cedda231f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b635742a-9f6d-4516-a99f-a2138e217fa9" 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_742062be-1e3c-499b-89ca-11e8ff027301" 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_b635742a-9f6d-4516-a99f-a2138e217fa9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_742062be-1e3c-499b-89ca-11e8ff027301" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_642744ce-00b8-4dbc-98e1-1d3de47f7db9" 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_b635742a-9f6d-4516-a99f-a2138e217fa9" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_642744ce-00b8-4dbc-98e1-1d3de47f7db9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_bab3d81a-3505-4c26-ae4d-28a702238451" 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_FiniteLivedIntangibleAssetsGross_fcaeca70-a0ef-4294-a6ce-2053a5dd0295" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_bab3d81a-3505-4c26-ae4d-28a702238451" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_fcaeca70-a0ef-4294-a6ce-2053a5dd0295" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_270e8503-40d8-4c4b-a359-4df78db0a85d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedTradeNames"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_bab3d81a-3505-4c26-ae4d-28a702238451" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_270e8503-40d8-4c4b-a359-4df78db0a85d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/OtherCurrentLiabilitiesComponentsofOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#OtherCurrentLiabilitiesComponentsofOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/OtherCurrentLiabilitiesComponentsofOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" 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_ContractWithCustomerRefundLiabilityCurrent_6d946449-a24a-4868-b193-e54060c9c5f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerRefundLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_ContractWithCustomerRefundLiabilityCurrent_6d946449-a24a-4868-b193-e54060c9c5f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrual_175036eb-a7e5-4784-adbe-51d188ef85ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrual"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_ProductWarrantyAccrual_175036eb-a7e5-4784-adbe-51d188ef85ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_be96027d-b428-48b3-9add-e6eea0c0b05b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_be96027d-b428-48b3-9add-e6eea0c0b05b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_b4e665ca-d52b-4261-9635-47f7ea14fd38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_TaxesPayableCurrent_b4e665ca-d52b-4261-9635-47f7ea14fd38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveCurrent_01f29747-b6c1-41ef-a0fd-3ef1e53419ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SelfInsuranceReserveCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_SelfInsuranceReserveCurrent_01f29747-b6c1-41ef-a0fd-3ef1e53419ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_65cc866c-7463-4361-a139-c27c1c092b93" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedMarketingCostsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_65cc866c-7463-4361-a139-c27c1c092b93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_ba6792e2-4a05-42df-85e9-4019581419d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherEmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_OtherEmployeeRelatedLiabilitiesCurrent_ba6792e2-4a05-42df-85e9-4019581419d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_20b0ff79-b36c-488c-80f5-c3490ddd8f41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_20b0ff79-b36c-488c-80f5-c3490ddd8f41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_46d7aa97-230a-4afb-9ace-ddf35717295f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_46d7aa97-230a-4afb-9ace-ddf35717295f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_30df3ad9-ab30-4f27-8246-1ca978f9612d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_7d8d9f33-38b8-4b5b-a9ce-65d52c36078b" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_30df3ad9-ab30-4f27-8246-1ca978f9612d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.graco.com/role/FairValueDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#FairValueDetails"/>
  <link:calculationLink xlink:role="http://www.graco.com/role/FairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_91c7e572-7823-47e8-acfd-62007cdc67be" 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_ForeignCurrencyContractAssetFairValueDisclosure_c256aa85-1438-4004-b30c-b618922d74e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_91c7e572-7823-47e8-acfd-62007cdc67be" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_c256aa85-1438-4004-b30c-b618922d74e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueFairValueDisclosure_7f823854-26e7-4efa-88f9-9b622670d014" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashSurrenderValueFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_91c7e572-7823-47e8-acfd-62007cdc67be" xlink:to="loc_us-gaap_CashSurrenderValueFairValueDisclosure_7f823854-26e7-4efa-88f9-9b622670d014" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_ef4fcd45-5f28-422a-a384-c845e6aec954" 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_7f780a99-315a-4905-9181-2a857a5534aa" 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_ef4fcd45-5f28-422a-a384-c845e6aec954" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_7f780a99-315a-4905-9181-2a857a5534aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_6be7b85e-ba87-4afa-b63f-ec4b502dca57" 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_ef4fcd45-5f28-422a-a384-c845e6aec954" xlink:to="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_6be7b85e-ba87-4afa-b63f-ec4b502dca57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_81b82de0-672a-4bc3-81f9-538a6c41cdae" 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_ef4fcd45-5f28-422a-a384-c845e6aec954" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_81b82de0-672a-4bc3-81f9-538a6c41cdae" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
