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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:9e797170-39b3-48ca-98ae-d67a262215a9,g:a084d117-0825-4331-b864-a5f72f02a638-->
<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.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="simple" xlink:href="gww-20230930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGS"/>
  <link:calculationLink xlink:role="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9f9b19f2-497b-4c05-8dda-df8a60ef056e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_8e5d7cd1-d7ad-4688-8c85-8b09c5cb7b2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9f9b19f2-497b-4c05-8dda-df8a60ef056e" xlink:to="loc_us-gaap_OperatingIncomeLoss_8e5d7cd1-d7ad-4688-8c85-8b09c5cb7b2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_500fa565-8dc9-4c64-b51b-32067c2e268a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9f9b19f2-497b-4c05-8dda-df8a60ef056e" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_500fa565-8dc9-4c64-b51b-32067c2e268a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_5790d8b9-3179-42f1-a7cf-2bb70e44992a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f8a2bfa0-abb9-46bf-8337-df04db8e2a3a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_5790d8b9-3179-42f1-a7cf-2bb70e44992a" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f8a2bfa0-abb9-46bf-8337-df04db8e2a3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_d8b25802-0778-4366-9e29-c07c1785ac41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5790d8b9-3179-42f1-a7cf-2bb70e44992a" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_d8b25802-0778-4366-9e29-c07c1785ac41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_b74beef5-64c5-4967-80b2-448fe73c5a54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_9a33d712-dab5-4910-9bc7-05315a913310" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b74beef5-64c5-4967-80b2-448fe73c5a54" xlink:to="loc_us-gaap_GrossProfit_9a33d712-dab5-4910-9bc7-05315a913310" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9d8aa6db-c95b-4a44-8f0e-3022fb0d4766" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_b74beef5-64c5-4967-80b2-448fe73c5a54" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9d8aa6db-c95b-4a44-8f0e-3022fb0d4766" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_ad2cf2ff-11dd-4bf9-98eb-e7f6b35d35bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_e7ccdd17-85e1-4a98-9a09-e5371f978c1a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_ad2cf2ff-11dd-4bf9-98eb-e7f6b35d35bd" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_e7ccdd17-85e1-4a98-9a09-e5371f978c1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_12d364c5-d271-4857-8700-12aa734bdf8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_ad2cf2ff-11dd-4bf9-98eb-e7f6b35d35bd" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_12d364c5-d271-4857-8700-12aa734bdf8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_940b9228-54d5-4a2e-b6ad-29ac13277548" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0f34f1da-7b41-4f4c-9a59-6d504728bb82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ProfitLoss_940b9228-54d5-4a2e-b6ad-29ac13277548" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0f34f1da-7b41-4f4c-9a59-6d504728bb82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_bdae7c84-69d6-4b96-b99e-b4743dbd6213" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ProfitLoss_940b9228-54d5-4a2e-b6ad-29ac13277548" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_bdae7c84-69d6-4b96-b99e-b4743dbd6213" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1f9775d6-8858-4cdb-af67-2fe9c187a481" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_72f37606-a771-48b3-9e6e-fcbb55aadfad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_1f9775d6-8858-4cdb-af67-2fe9c187a481" xlink:to="loc_us-gaap_ProfitLoss_72f37606-a771-48b3-9e6e-fcbb55aadfad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2e4e548e-18f9-4962-a0ec-03b2a23d1d96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_1f9775d6-8858-4cdb-af67-2fe9c187a481" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2e4e548e-18f9-4962-a0ec-03b2a23d1d96" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEEARNINGS" xlink:type="simple" xlink:href="gww-20230930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEEARNINGS"/>
  <link:calculationLink xlink:role="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEEARNINGS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7f779221-73a3-4a96-85c5-69392cd406e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_f69cd790-b767-4b28-8c0f-0c0438f18f23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7f779221-73a3-4a96-85c5-69392cd406e3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_f69cd790-b767-4b28-8c0f-0c0438f18f23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_45435700-f0b4-4223-af25-89e2cfb136e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7f779221-73a3-4a96-85c5-69392cd406e3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_45435700-f0b4-4223-af25-89e2cfb136e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_6d17368c-562e-4961-9f75-58a4e058d201" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_674992a7-f9a3-483b-a9ea-debcd6a1739b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_6d17368c-562e-4961-9f75-58a4e058d201" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_674992a7-f9a3-483b-a9ea-debcd6a1739b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_c2209b32-7b68-4804-9711-ba851576743a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_6d17368c-562e-4961-9f75-58a4e058d201" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_c2209b32-7b68-4804-9711-ba851576743a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dbbcfa62-2695-4bb1-9881-0142fd900eb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_583f70b7-bc58-49ef-a135-88715be775fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dbbcfa62-2695-4bb1-9881-0142fd900eb9" xlink:to="loc_us-gaap_ProfitLoss_583f70b7-bc58-49ef-a135-88715be775fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_54505399-cd86-4ce4-a40e-d310b9aef479" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dbbcfa62-2695-4bb1-9881-0142fd900eb9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_54505399-cd86-4ce4-a40e-d310b9aef479" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_7a317a28-09a8-45ca-a4c3-105bba96ec62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_2a7af8e6-ce39-4f63-a691-8105598ec562" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_7a317a28-09a8-45ca-a4c3-105bba96ec62" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_2a7af8e6-ce39-4f63-a691-8105598ec562" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_2df5b4a9-7b2f-4b44-ad8c-861edc2821ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_7a317a28-09a8-45ca-a4c3-105bba96ec62" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_2df5b4a9-7b2f-4b44-ad8c-861edc2821ca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="gww-20230930.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_c0a672cf-6d7c-4f43-96db-c672d5c99007" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_dbfc5cbb-358f-40a7-bb0f-c74a5b116954" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c0a672cf-6d7c-4f43-96db-c672d5c99007" xlink:to="loc_us-gaap_LiabilitiesCurrent_dbfc5cbb-358f-40a7-bb0f-c74a5b116954" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_52b7b7af-e10e-41f6-bf4d-7e429b68b789" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c0a672cf-6d7c-4f43-96db-c672d5c99007" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_52b7b7af-e10e-41f6-bf4d-7e429b68b789" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_9c6444d0-2679-40d8-b97a-51c88e196819" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c0a672cf-6d7c-4f43-96db-c672d5c99007" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_9c6444d0-2679-40d8-b97a-51c88e196819" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_f34c3239-73f8-40a6-b1dc-229de33ae42a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c0a672cf-6d7c-4f43-96db-c672d5c99007" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_f34c3239-73f8-40a6-b1dc-229de33ae42a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a87ddf86-fab0-4048-94a6-37813e98ac43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c0a672cf-6d7c-4f43-96db-c672d5c99007" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a87ddf86-fab0-4048-94a6-37813e98ac43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_2256c6b2-bf60-4154-ae33-8d8f63831b73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c0a672cf-6d7c-4f43-96db-c672d5c99007" xlink:to="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_2256c6b2-bf60-4154-ae33-8d8f63831b73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e8e7ca47-5495-4ed1-be5b-60c94cc6342f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_324d630f-ed6f-43e3-9cd4-c7bb903681b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e8e7ca47-5495-4ed1-be5b-60c94cc6342f" xlink:to="loc_us-gaap_PreferredStockValue_324d630f-ed6f-43e3-9cd4-c7bb903681b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_ac61de99-0704-423c-9895-b6ef72d7218a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e8e7ca47-5495-4ed1-be5b-60c94cc6342f" xlink:to="loc_us-gaap_CommonStockValue_ac61de99-0704-423c-9895-b6ef72d7218a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_fdc1970f-f8d5-4ced-911f-640347019594" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e8e7ca47-5495-4ed1-be5b-60c94cc6342f" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_fdc1970f-f8d5-4ced-911f-640347019594" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_00ec8709-e1b1-4354-9cdc-670456078f7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e8e7ca47-5495-4ed1-be5b-60c94cc6342f" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_00ec8709-e1b1-4354-9cdc-670456078f7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_80c88b23-708b-4158-b842-68eadbe807fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e8e7ca47-5495-4ed1-be5b-60c94cc6342f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_80c88b23-708b-4158-b842-68eadbe807fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_dd8f6ff8-e940-4ac1-9b15-485a8f1cb06b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e8e7ca47-5495-4ed1-be5b-60c94cc6342f" xlink:to="loc_us-gaap_TreasuryStockValue_dd8f6ff8-e940-4ac1-9b15-485a8f1cb06b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_bff62f73-c590-4251-a396-cb21b1583a19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_93febd6f-ec1a-4e75-93ed-93e138941d94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_bff62f73-c590-4251-a396-cb21b1583a19" xlink:to="loc_us-gaap_StockholdersEquity_93febd6f-ec1a-4e75-93ed-93e138941d94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_1941a89c-dca6-4ca3-b72e-631fb59f8e00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_bff62f73-c590-4251-a396-cb21b1583a19" xlink:to="loc_us-gaap_MinorityInterest_1941a89c-dca6-4ca3-b72e-631fb59f8e00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_b5a8d559-9a1c-411b-bc21-dced10d26988" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_77d08f53-1cd5-494a-a1b5-374a47f3212c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b5a8d559-9a1c-411b-bc21-dced10d26988" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_77d08f53-1cd5-494a-a1b5-374a47f3212c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_dc849434-4327-45cb-b6fd-4b10e9a206b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b5a8d559-9a1c-411b-bc21-dced10d26988" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_dc849434-4327-45cb-b6fd-4b10e9a206b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a34d7080-5e90-4010-97d1-0028a03dbbd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b5a8d559-9a1c-411b-bc21-dced10d26988" xlink:to="loc_us-gaap_AssetsCurrent_a34d7080-5e90-4010-97d1-0028a03dbbd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2bbf52bd-f922-4ad3-8180-e67b1b33ee51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b5a8d559-9a1c-411b-bc21-dced10d26988" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2bbf52bd-f922-4ad3-8180-e67b1b33ee51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_246948b5-55c6-4180-ab83-2f4982675e3d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b5a8d559-9a1c-411b-bc21-dced10d26988" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_246948b5-55c6-4180-ab83-2f4982675e3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_2857695d-11a2-479b-8fcd-e2408ef3744d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b5a8d559-9a1c-411b-bc21-dced10d26988" xlink:to="loc_us-gaap_Goodwill_2857695d-11a2-479b-8fcd-e2408ef3744d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_96c178a7-35da-498d-942d-212f4cb87885" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_014dacdb-d2d0-4f50-9b9b-862e88bb979b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_96c178a7-35da-498d-942d-212f4cb87885" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_014dacdb-d2d0-4f50-9b9b-862e88bb979b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e452688b-9644-4001-ba1c-cb105b40fb51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_96c178a7-35da-498d-942d-212f4cb87885" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e452688b-9644-4001-ba1c-cb105b40fb51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_89110701-26ea-4055-ac1e-ca4967a40ca2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_96c178a7-35da-498d-942d-212f4cb87885" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_89110701-26ea-4055-ac1e-ca4967a40ca2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrentAndNoncurrent_46273789-ab9e-4376-96d2-66d8ab6f3279" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableTradeCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_96c178a7-35da-498d-942d-212f4cb87885" xlink:to="loc_us-gaap_AccountsPayableTradeCurrentAndNoncurrent_46273789-ab9e-4376-96d2-66d8ab6f3279" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_417cb909-ba39-471a-a745-452554b1c608" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_96c178a7-35da-498d-942d-212f4cb87885" xlink:to="loc_us-gaap_LongTermDebtCurrent_417cb909-ba39-471a-a745-452554b1c608" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_e5c3aab1-0ce4-4e5d-85c1-815c47a8752f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_96c178a7-35da-498d-942d-212f4cb87885" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_e5c3aab1-0ce4-4e5d-85c1-815c47a8752f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d87c6df7-ccf1-4ab6-856c-54a1192a3641" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_759b629c-5250-4859-bffe-2d5315c5eb23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d87c6df7-ccf1-4ab6-856c-54a1192a3641" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_759b629c-5250-4859-bffe-2d5315c5eb23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_0ee31b55-652e-4eb0-bc69-8f0ee1238c9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d87c6df7-ccf1-4ab6-856c-54a1192a3641" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_0ee31b55-652e-4eb0-bc69-8f0ee1238c9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e5dfae6e-c531-45d6-bbc1-39865becd449" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d87c6df7-ccf1-4ab6-856c-54a1192a3641" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e5dfae6e-c531-45d6-bbc1-39865becd449" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_c514b65a-6e14-45c2-902e-635caa38526b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d87c6df7-ccf1-4ab6-856c-54a1192a3641" xlink:to="loc_us-gaap_InventoryNet_c514b65a-6e14-45c2-902e-635caa38526b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="gww-20230930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_675c7da4-36b1-4078-bc28-3411654186da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_675c7da4-36b1-4078-bc28-3411654186da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_53a0af8e-05f4-4f7a-893e-25b01b5e4188" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_53a0af8e-05f4-4f7a-893e-25b01b5e4188" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_38c85f46-d8ff-4b09-959e-2be7b007e74b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_DepreciationAndAmortization_38c85f46-d8ff-4b09-959e-2be7b007e74b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_7e1d3cd3-6cc6-46af-8f34-46dd37f3a496" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_7e1d3cd3-6cc6-46af-8f34-46dd37f3a496" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4cf7adcf-fcb7-41b3-a19d-2a622b3cf567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_ProfitLoss_4cf7adcf-fcb7-41b3-a19d-2a622b3cf567" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_68964aa2-ce54-413d-9fc3-5a937ad9f9ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_68964aa2-ce54-413d-9fc3-5a937ad9f9ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncomeTaxExpenseBenefitContinuingOperations_7766330c-8698-4ef5-acbf-0b02dde18519" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_OtherIncomeTaxExpenseBenefitContinuingOperations_7766330c-8698-4ef5-acbf-0b02dde18519" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_9eaadf9d-12e6-4d40-8037-0605518c074a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherAccruedLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_9eaadf9d-12e6-4d40-8037-0605518c074a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_defe92c0-fffa-4b6e-903d-94520386943c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_defe92c0-fffa-4b6e-903d-94520386943c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_9642ad55-d52b-4374-8af4-08e3f3f5bfaf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_ShareBasedCompensation_9642ad55-d52b-4374-8af4-08e3f3f5bfaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e3afda10-70fa-48af-932c-cf8698569597" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e3afda10-70fa-48af-932c-cf8698569597" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_9f6da057-b75c-4da4-8a4e-98d78d92392e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_9f6da057-b75c-4da4-8a4e-98d78d92392e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_d4841712-3e56-40c3-895a-2c20f64f1745" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44870a93-2419-40fc-94ef-f5603e7a8d1a" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_d4841712-3e56-40c3-895a-2c20f64f1745" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5e11e18b-3119-4698-8b9f-724c6a6d84c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_62f5e73a-3d4b-4b4e-9f24-c1cee2d40391" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5e11e18b-3119-4698-8b9f-724c6a6d84c8" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_62f5e73a-3d4b-4b4e-9f24-c1cee2d40391" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_d07b78cd-cbd7-4c97-81a3-57b9260048ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5e11e18b-3119-4698-8b9f-724c6a6d84c8" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_d07b78cd-cbd7-4c97-81a3-57b9260048ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_536aa612-f642-4ba0-a17a-855911127840" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5e11e18b-3119-4698-8b9f-724c6a6d84c8" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_536aa612-f642-4ba0-a17a-855911127840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_6bd44790-331a-422f-9139-1e477992b870" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5e11e18b-3119-4698-8b9f-724c6a6d84c8" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_6bd44790-331a-422f-9139-1e477992b870" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_96303871-4118-44d8-9499-78843afbc18d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5e11e18b-3119-4698-8b9f-724c6a6d84c8" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_96303871-4118-44d8-9499-78843afbc18d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b868a0a1-6a7f-40d8-bac1-8f20cd74db15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5e11e18b-3119-4698-8b9f-724c6a6d84c8" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b868a0a1-6a7f-40d8-bac1-8f20cd74db15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fad1bd25-bcbd-415f-937b-444de40bc320" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_b91e7be8-c551-4fc1-8e10-8e6dff4989d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fad1bd25-bcbd-415f-937b-444de40bc320" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_b91e7be8-c551-4fc1-8e10-8e6dff4989d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_0296bb7a-5295-4523-80b2-3fa606a956bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fad1bd25-bcbd-415f-937b-444de40bc320" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_0296bb7a-5295-4523-80b2-3fa606a956bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_f5ec10ec-63d0-4b07-8cb0-8ea218348097" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fad1bd25-bcbd-415f-937b-444de40bc320" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_f5ec10ec-63d0-4b07-8cb0-8ea218348097" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_d64d40c4-ce13-4bde-8319-f7ed39d740d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d6ca29f9-b653-4e7e-aa4b-159fe1621144" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d64d40c4-ce13-4bde-8319-f7ed39d740d1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d6ca29f9-b653-4e7e-aa4b-159fe1621144" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e6b1ec92-3120-4e9b-9c59-0ca71bfe4d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d64d40c4-ce13-4bde-8319-f7ed39d740d1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e6b1ec92-3120-4e9b-9c59-0ca71bfe4d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1fffcb85-2dfa-46f9-9c0d-1bb3e1102dc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d64d40c4-ce13-4bde-8319-f7ed39d740d1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1fffcb85-2dfa-46f9-9c0d-1bb3e1102dc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_d314f696-30a7-40a2-aaa0-9d363e391471" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d64d40c4-ce13-4bde-8319-f7ed39d740d1" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_d314f696-30a7-40a2-aaa0-9d363e391471" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.grainger.com/role/PROPERTYBUILDINGSANDEQUIPMENTDetails" xlink:type="simple" xlink:href="gww-20230930.xsd#PROPERTYBUILDINGSANDEQUIPMENTDetails"/>
  <link:calculationLink xlink:role="http://www.grainger.com/role/PROPERTYBUILDINGSANDEQUIPMENTDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b7707b4f-783d-43a2-bb9c-708155f41df8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_53edda2b-26dc-4a84-a5ce-3a9a937b5bc5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b7707b4f-783d-43a2-bb9c-708155f41df8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_53edda2b-26dc-4a84-a5ce-3a9a937b5bc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_a20678b2-c4f5-411a-9665-43f8656d87c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b7707b4f-783d-43a2-bb9c-708155f41df8" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_a20678b2-c4f5-411a-9665-43f8656d87c4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalanceinIntangibleAssetsNetDetails" xlink:type="simple" xlink:href="gww-20230930.xsd#GOODWILLANDOTHERINTANGIBLEASSETSBalanceinIntangibleAssetsNetDetails"/>
  <link:calculationLink xlink:role="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalanceinIntangibleAssetsNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d931b43c-ac43-4cf7-9184-74ee33c21835" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_30fcc117-75d5-48ab-a04a-2dafefda6dfb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_FiniteLivedIntangibleAssetsNet_d931b43c-ac43-4cf7-9184-74ee33c21835" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_30fcc117-75d5-48ab-a04a-2dafefda6dfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_99c842e8-687b-4ade-b5d6-a4226f3b5b90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d931b43c-ac43-4cf7-9184-74ee33c21835" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_99c842e8-687b-4ade-b5d6-a4226f3b5b90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_b2766599-25d4-4ce3-9a7c-44fbe262b73c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_034b36b7-d007-4829-a47b-638077154710" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_b2766599-25d4-4ce3-9a7c-44fbe262b73c" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_034b36b7-d007-4829-a47b-638077154710" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_d2c63f96-2a22-420a-95db-80d1b73bcb25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b2766599-25d4-4ce3-9a7c-44fbe262b73c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_d2c63f96-2a22-420a-95db-80d1b73bcb25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c94effca-fe5a-4ab9-8972-8d0da8e8619c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_03a42e53-d17e-49a0-8393-f1d2d338a570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c94effca-fe5a-4ab9-8972-8d0da8e8619c" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_03a42e53-d17e-49a0-8393-f1d2d338a570" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_10874b55-5aa1-45bb-9535-7fd1472fd9c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c94effca-fe5a-4ab9-8972-8d0da8e8619c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_10874b55-5aa1-45bb-9535-7fd1472fd9c5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DEBTLongTermDebtInstrumentsDetails" xlink:type="simple" xlink:href="gww-20230930.xsd#DEBTLongTermDebtInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.grainger.com/role/DEBTLongTermDebtInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_c1e9b167-9b3d-4eaa-b9a8-ba5d388a1ec3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_50309afa-c354-4897-8f1f-b710281d8691" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_c1e9b167-9b3d-4eaa-b9a8-ba5d388a1ec3" xlink:to="loc_us-gaap_LongTermDebtCurrent_50309afa-c354-4897-8f1f-b710281d8691" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_c649282b-854f-4843-9e35-e305c313df66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_c1e9b167-9b3d-4eaa-b9a8-ba5d388a1ec3" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_c649282b-854f-4843-9e35-e305c313df66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_68d1acbc-2145-4207-8741-14704377047a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_c1e9b167-9b3d-4eaa-b9a8-ba5d388a1ec3" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_68d1acbc-2145-4207-8741-14704377047a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtGrossFairValueDisclosure_eee7288b-f5c1-4d7b-9bfe-8ca1140fdd28" xlink:href="gww-20230930.xsd#gww_LongTermDebtGrossFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure_01225dca-b65d-45e9-a06a-f7c08f6b29ae" xlink:href="gww-20230930.xsd#gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gww_LongTermDebtGrossFairValueDisclosure_eee7288b-f5c1-4d7b-9bfe-8ca1140fdd28" xlink:to="loc_gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure_01225dca-b65d-45e9-a06a-f7c08f6b29ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNetFairValue_a03b2a74-927d-417d-a5af-61ce713df9e8" xlink:href="gww-20230930.xsd#gww_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNetFairValue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gww_LongTermDebtGrossFairValueDisclosure_eee7288b-f5c1-4d7b-9bfe-8ca1140fdd28" xlink:to="loc_gww_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNetFairValue_a03b2a74-927d-417d-a5af-61ce713df9e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtCurrentMaturitiesFairValueDisclosure_1257c599-ac75-4ce0-8323-89160804d71a" xlink:href="gww-20230930.xsd#gww_LongTermDebtCurrentMaturitiesFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gww_LongTermDebtGrossFairValueDisclosure_eee7288b-f5c1-4d7b-9bfe-8ca1140fdd28" xlink:to="loc_gww_LongTermDebtCurrentMaturitiesFairValueDisclosure_1257c599-ac75-4ce0-8323-89160804d71a" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
