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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019cb9bd-6721-7626-809d-cb661b637955,g:ae496f7c-9ae7-4c1d-9e2a-8dce57d94c14-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="simple" xlink:href="dci-20260430.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGS"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019cb9bd-6881-7251-9cac-ac31cc9d68fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb9bd-6881-7095-8ddc-ff80c0968bc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019cb9bd-6881-7251-9cac-ac31cc9d68fc" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb9bd-6881-7095-8ddc-ff80c0968bc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019cb9bd-6881-79ae-943e-18d94ea8cd23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019cb9bd-6881-7251-9cac-ac31cc9d68fc" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019cb9bd-6881-79ae-943e-18d94ea8cd23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019cb9bd-6881-7a7e-bc09-191f5f34ebfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019cb9bd-6881-7cd4-8529-a40e5565f3a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019cb9bd-6881-7a7e-bc09-191f5f34ebfa" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019cb9bd-6881-7cd4-8529-a40e5565f3a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019cb9bd-6881-7eaf-b8ce-b99f6cb649d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019cb9bd-6881-7a7e-bc09-191f5f34ebfa" xlink:to="loc_us-gaap_CostOfRevenue_019cb9bd-6881-7eaf-b8ce-b99f6cb649d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019cb9bd-6881-7e25-aee0-5cd0dd0852c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019cb9bd-6881-7872-9c09-72f3514d8a88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cb9bd-6881-7e25-aee0-5cd0dd0852c8" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019cb9bd-6881-7872-9c09-72f3514d8a88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019cb9bd-6881-7bda-ab5a-d57e7cbe4c58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cb9bd-6881-7e25-aee0-5cd0dd0852c8" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019cb9bd-6881-7bda-ab5a-d57e7cbe4c58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019cb9bd-6881-7d5c-96fa-72b2bc283d48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cb9bd-6881-7e25-aee0-5cd0dd0852c8" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019cb9bd-6881-7d5c-96fa-72b2bc283d48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019d1dae-80aa-70ff-967e-e0932c10d734" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cb9bd-6881-7e25-aee0-5cd0dd0852c8" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019d1dae-80aa-70ff-967e-e0932c10d734" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb9bd-6881-77cd-a28d-5f5f59faecc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019cb9bd-6881-7a31-8842-0928fec85bda" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb9bd-6881-77cd-a28d-5f5f59faecc7" xlink:to="loc_us-gaap_OperatingIncomeLoss_019cb9bd-6881-7a31-8842-0928fec85bda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019cb9bd-6881-7edf-8248-3c693e017d2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb9bd-6881-77cd-a28d-5f5f59faecc7" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019cb9bd-6881-7edf-8248-3c693e017d2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019cb9bd-6881-797f-b3ec-b6cc304defeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb9bd-6881-77cd-a28d-5f5f59faecc7" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019cb9bd-6881-797f-b3ec-b6cc304defeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019cb9bd-6881-7fc6-843b-26c62f526b99" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019cb9bd-6881-79a0-9ace-54b49a731997" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019cb9bd-6881-7fc6-843b-26c62f526b99" xlink:to="loc_us-gaap_GrossProfit_019cb9bd-6881-79a0-9ace-54b49a731997" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019cb9bd-6881-793a-b4b1-302ec9b5e095" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019cb9bd-6881-7fc6-843b-26c62f526b99" xlink:to="loc_us-gaap_OperatingExpenses_019cb9bd-6881-793a-b4b1-302ec9b5e095" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="dci-20260430.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019cb9bd-6881-71e9-85bf-188a73bb0a58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019cb9bd-6881-730b-9384-6ea17eca6fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019cb9bd-6881-71e9-85bf-188a73bb0a58" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019cb9bd-6881-730b-9384-6ea17eca6fb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019cb9bd-6881-7ddd-9e4e-4df5f10c7dc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019cb9bd-6881-71e9-85bf-188a73bb0a58" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019cb9bd-6881-7ddd-9e4e-4df5f10c7dc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019cb9bd-6881-7650-b003-0705cf518015" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019cb9bd-6881-7ad6-b8e4-e2f0f7499c57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019cb9bd-6881-7650-b003-0705cf518015" xlink:to="loc_us-gaap_NetIncomeLoss_019cb9bd-6881-7ad6-b8e4-e2f0f7499c57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-72c1-ab9a-b8937bb679aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019cb9bd-6881-7650-b003-0705cf518015" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-72c1-ab9a-b8937bb679aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-7717-b1f6-502de8ec9543" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019cb9bd-6881-72f9-be48-59e506ac21b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-7717-b1f6-502de8ec9543" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019cb9bd-6881-72f9-be48-59e506ac21b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019cb9bd-6881-7340-8b5d-e3bf3b0901fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-7717-b1f6-502de8ec9543" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019cb9bd-6881-7340-8b5d-e3bf3b0901fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019cb9bd-6881-7db8-be4c-242833e0035a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-7717-b1f6-502de8ec9543" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019cb9bd-6881-7db8-be4c-242833e0035a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="dci-20260430.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cb9bd-6881-72e7-87df-defaf53161ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cb9bd-6881-7a12-b657-63bf80bb375a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb9bd-6881-72e7-87df-defaf53161ae" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cb9bd-6881-7a12-b657-63bf80bb375a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019cb9bd-6881-7f02-8ada-5130f325d33b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb9bd-6881-72e7-87df-defaf53161ae" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019cb9bd-6881-7f02-8ada-5130f325d33b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019cb9bd-6881-7974-a202-7476d3a40b8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb9bd-6881-72e7-87df-defaf53161ae" xlink:to="loc_us-gaap_InventoryNet_019cb9bd-6881-7974-a202-7476d3a40b8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019cb9bd-6881-7333-8dea-6ad72233c0cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb9bd-6881-72e7-87df-defaf53161ae" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019cb9bd-6881-7333-8dea-6ad72233c0cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7910-82a3-4009ce810eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019cb9bd-6881-7b52-a393-8f3c0065fa48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7910-82a3-4009ce810eb7" xlink:to="loc_us-gaap_PreferredStockValue_019cb9bd-6881-7b52-a393-8f3c0065fa48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019cb9bd-6881-79b5-88d4-0183171c49ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7910-82a3-4009ce810eb7" xlink:to="loc_us-gaap_CommonStockValue_019cb9bd-6881-79b5-88d4-0183171c49ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019cb9bd-6881-7b15-bd24-f4eb25d2d8a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7910-82a3-4009ce810eb7" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019cb9bd-6881-7b15-bd24-f4eb25d2d8a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cb9bd-6881-7f65-8708-cb5caa17863b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7910-82a3-4009ce810eb7" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cb9bd-6881-7f65-8708-cb5caa17863b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cb9bd-6881-70e4-848a-afe319d6651a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7910-82a3-4009ce810eb7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cb9bd-6881-70e4-848a-afe319d6651a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019cb9bd-6881-7a05-b34e-ce829772504e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7910-82a3-4009ce810eb7" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019cb9bd-6881-7a05-b34e-ce829772504e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019cb9bd-6881-7af6-ae5e-88098223f449" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cb9bd-6881-7ffc-9ff9-2e4a08690509" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb9bd-6881-7af6-ae5e-88098223f449" xlink:to="loc_us-gaap_AssetsCurrent_019cb9bd-6881-7ffc-9ff9-2e4a08690509" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019cb9bd-6881-7882-a41e-9178accae269" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb9bd-6881-7af6-ae5e-88098223f449" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019cb9bd-6881-7882-a41e-9178accae269" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019cb9bd-6881-70ce-8f6d-f8b31435c0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb9bd-6881-7af6-ae5e-88098223f449" xlink:to="loc_us-gaap_Goodwill_019cb9bd-6881-70ce-8f6d-f8b31435c0a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cb9bd-6881-754e-affa-fff612bfe4d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb9bd-6881-7af6-ae5e-88098223f449" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cb9bd-6881-754e-affa-fff612bfe4d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019cb9bd-6881-7e84-8132-b186c322c621" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb9bd-6881-7af6-ae5e-88098223f449" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019cb9bd-6881-7e84-8132-b186c322c621" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-743e-9e57-7c7c1478e20f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_019cb9bd-6881-7393-ad94-c547a2b65d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-743e-9e57-7c7c1478e20f" xlink:to="loc_us-gaap_ShortTermBorrowings_019cb9bd-6881-7393-ad94-c547a2b65d6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019cb9bd-6881-752e-8dde-521a061901a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-743e-9e57-7c7c1478e20f" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019cb9bd-6881-752e-8dde-521a061901a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019cb9bd-6881-755c-a753-c8702bf045ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-743e-9e57-7c7c1478e20f" xlink:to="loc_us-gaap_AccountsPayableCurrent_019cb9bd-6881-755c-a753-c8702bf045ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cb9bd-6881-7b28-9381-9d5e1c203e59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-743e-9e57-7c7c1478e20f" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cb9bd-6881-7b28-9381-9d5e1c203e59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_019cb9bd-6881-7306-8b4b-474bb5e93e72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-743e-9e57-7c7c1478e20f" xlink:to="loc_us-gaap_TaxesPayableCurrent_019cb9bd-6881-7306-8b4b-474bb5e93e72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019cb9bd-6881-719a-9d2f-9df9ac7776ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-743e-9e57-7c7c1478e20f" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019cb9bd-6881-719a-9d2f-9df9ac7776ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb9bd-6881-7f93-a35a-0335632b1716" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019cb9bd-6881-7456-a5cc-8cc805f2b9fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb9bd-6881-7f93-a35a-0335632b1716" xlink:to="loc_us-gaap_Liabilities_019cb9bd-6881-7456-a5cc-8cc805f2b9fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7697-b893-ed512b1e91f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb9bd-6881-7f93-a35a-0335632b1716" xlink:to="loc_us-gaap_StockholdersEquity_019cb9bd-6881-7697-b893-ed512b1e91f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019cb9bd-6881-7462-a707-a66e7a215b27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-73de-959d-c946e3b9689d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb9bd-6881-7462-a707-a66e7a215b27" xlink:to="loc_us-gaap_LiabilitiesCurrent_019cb9bd-6881-73de-959d-c946e3b9689d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019cb9bd-6881-7800-b450-b9cdb3c9f43d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb9bd-6881-7462-a707-a66e7a215b27" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019cb9bd-6881-7800-b450-b9cdb3c9f43d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019cb9bd-6881-78a2-a3ba-5a75f45949ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb9bd-6881-7462-a707-a66e7a215b27" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019cb9bd-6881-78a2-a3ba-5a75f45949ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019cb9bd-6881-76ce-81f6-02ca7a14e3a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb9bd-6881-7462-a707-a66e7a215b27" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019cb9bd-6881-76ce-81f6-02ca7a14e3a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019cb9bd-6881-7256-a225-b24cf100d330" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb9bd-6881-7462-a707-a66e7a215b27" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019cb9bd-6881-7256-a225-b24cf100d330" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="dci-20260430.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019cb9bd-6881-757c-98e5-aa66e3ed0e99" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_NetIncomeLoss_019cb9bd-6881-757c-98e5-aa66e3ed0e99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019cb9bd-6881-75e9-bb45-5907c5befc55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019cb9bd-6881-75e9-bb45-5907c5befc55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019cb9bd-6881-7c68-a964-6066ce10b583" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019cb9bd-6881-7c68-a964-6066ce10b583" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019cb9bd-6881-7e86-a6ad-ef0bfa59fabe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_ShareBasedCompensation_019cb9bd-6881-7e86-a6ad-ef0bfa59fabe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019cb9bd-6881-7de4-8ad2-3c0fcfe15224" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019cb9bd-6881-7de4-8ad2-3c0fcfe15224" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019cb9bd-6881-7850-900c-f1025f3a77fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019cb9bd-6881-7850-900c-f1025f3a77fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019cb9bd-6881-71e7-82f9-aff33bdfbc00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019cb9bd-6881-71e7-82f9-aff33bdfbc00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019d1dbf-5b5a-710e-9e7d-33009d0708cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-7cf4-8dbb-fd57813dcd75" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019d1dbf-5b5a-710e-9e7d-33009d0708cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb9bd-6881-7283-9092-6f0a45867a8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019cb9bd-6881-76f9-94a2-5e917de5b381" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb9bd-6881-7283-9092-6f0a45867a8b" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019cb9bd-6881-76f9-94a2-5e917de5b381" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cb9bd-6881-74e4-ab8a-39f0c84cda0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb9bd-6881-7283-9092-6f0a45867a8b" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cb9bd-6881-74e4-ab8a-39f0c84cda0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019cb9bd-6881-7581-9c1a-d4bbc91727a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb9bd-6881-7283-9092-6f0a45867a8b" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019cb9bd-6881-7581-9c1a-d4bbc91727a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb9bd-6881-72b6-b4c7-a55fe1687054" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-735b-9c3a-e3cf3395350d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb9bd-6881-72b6-b4c7-a55fe1687054" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb9bd-6881-735b-9c3a-e3cf3395350d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb9bd-6881-7a88-a400-5f45bd547d86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb9bd-6881-72b6-b4c7-a55fe1687054" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb9bd-6881-7a88-a400-5f45bd547d86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-7024-b55e-6a057bf2e265" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb9bd-6881-72b6-b4c7-a55fe1687054" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-7024-b55e-6a057bf2e265" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cb9bd-6881-7a37-ba3f-bedd9ac98a4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb9bd-6881-72b6-b4c7-a55fe1687054" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cb9bd-6881-7a37-ba3f-bedd9ac98a4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019cb9bd-6881-7867-b24f-a089311d622b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019cb9bd-6881-7867-b24f-a089311d622b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019cb9bd-6881-75f4-a5b5-1d8d68a25f78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019cb9bd-6881-75f4-a5b5-1d8d68a25f78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019cb9bd-6881-72ff-87c1-85c830ca2c3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019cb9bd-6881-72ff-87c1-85c830ca2c3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019cb9bd-6881-7b64-9a89-10a5590def4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019cb9bd-6881-7b64-9a89-10a5590def4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_019cb9bd-6881-7082-9ed0-de72ce73f279" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_019cb9bd-6881-7082-9ed0-de72ce73f279" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_019cb9bd-6881-7795-953b-ada15380cf20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_019cb9bd-6881-7795-953b-ada15380cf20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019cb9bd-6881-7047-885e-6e00dd1163fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb9bd-6881-73d2-8530-1f4dbab4878a" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019cb9bd-6881-7047-885e-6e00dd1163fd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/InventoriesNetDetails" xlink:type="simple" xlink:href="dci-20260430.xsd#InventoriesNetDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/InventoriesNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019cb9bd-6881-77db-b6c0-664d629342e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019cb9bd-6881-7895-b698-dc0793ac78f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019cb9bd-6881-77db-b6c0-664d629342e2" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019cb9bd-6881-7895-b698-dc0793ac78f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019cb9bd-6881-7259-87a9-c5514d636b73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019cb9bd-6881-77db-b6c0-664d629342e2" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019cb9bd-6881-7259-87a9-c5514d636b73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019cb9bd-6881-788d-8e00-d895d414dbc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019cb9bd-6881-77db-b6c0-664d629342e2" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019cb9bd-6881-788d-8e00-d895d414dbc4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/PropertyPlantandEquipmentNetDetails" xlink:type="simple" xlink:href="dci-20260430.xsd#PropertyPlantandEquipmentNetDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/PropertyPlantandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019cb9bd-6881-7a03-a18c-29821cef3055" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019cb9bd-6881-7cd7-a37c-1b36d47c94e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019cb9bd-6881-7a03-a18c-29821cef3055" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019cb9bd-6881-7cd7-a37c-1b36d47c94e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019cb9bd-6881-79ab-ab4b-8ca23ec8b567" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019cb9bd-6881-7a03-a18c-29821cef3055" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019cb9bd-6881-79ab-ab4b-8ca23ec8b567" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/GoodwillandIntangibleAssetsReconciliationofIntangibleAssetsDetails" xlink:type="simple" xlink:href="dci-20260430.xsd#GoodwillandIntangibleAssetsReconciliationofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/GoodwillandIntangibleAssetsReconciliationofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb9bd-6881-7e13-9675-e1eee7f4013d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cb9bd-6881-7f4a-901d-5f2c78e2d4c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb9bd-6881-7e13-9675-e1eee7f4013d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cb9bd-6881-7f4a-901d-5f2c78e2d4c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019cb9bd-6881-77fa-807a-22a49d03bb4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb9bd-6881-7e13-9675-e1eee7f4013d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019cb9bd-6881-77fa-807a-22a49d03bb4b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="dci-20260430.xsd#EarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cb9bd-6881-7eb4-be14-966c35c404f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cb9bd-6881-7689-acb3-45e577889572" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cb9bd-6881-7eb4-be14-966c35c404f0" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cb9bd-6881-7689-acb3-45e577889572" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019cb9bd-6881-7147-908b-edf676f07ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cb9bd-6881-7eb4-be14-966c35c404f0" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019cb9bd-6881-7147-908b-edf676f07ca7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:type="simple" xlink:href="dci-20260430.xsd#AccumulatedOtherComprehensiveLossDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_019cb9bd-6881-74ba-81b0-9d97265c6ba4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019cb9bd-6881-762c-954f-1fba24e24610" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_019cb9bd-6881-74ba-81b0-9d97265c6ba4" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019cb9bd-6881-762c-954f-1fba24e24610" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_019cb9bd-6881-7a1f-9551-a6ce8a3f8a99" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_019cb9bd-6881-74ba-81b0-9d97265c6ba4" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_019cb9bd-6881-7a1f-9551-a6ce8a3f8a99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019cb9bd-6881-7ed8-bbec-25e59e2ea08e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019cb9bd-6881-7004-af27-ae652ddef06f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019cb9bd-6881-7ed8-bbec-25e59e2ea08e" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019cb9bd-6881-7004-af27-ae652ddef06f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019cb9bd-6881-7d03-a22b-ebc73fb00a0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019cb9bd-6881-7ed8-bbec-25e59e2ea08e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019cb9bd-6881-7d03-a22b-ebc73fb00a0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-7d69-a344-c5b3a48e0e43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019cb9bd-6881-7a1a-93a3-8720c34299ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-7d69-a344-c5b3a48e0e43" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019cb9bd-6881-7a1a-93a3-8720c34299ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_019cb9bd-6881-7d63-ab71-e4d2d32f64ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb9bd-6881-7d69-a344-c5b3a48e0e43" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_019cb9bd-6881-7d63-ab71-e4d2d32f64ad" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansNetPeriodicPensionCostsDetails" xlink:type="simple" xlink:href="dci-20260430.xsd#EmployeeBenefitPlansNetPeriodicPensionCostsDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansNetPeriodicPensionCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019cb9bd-6882-7eae-918b-1f3e847a0676" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_019cb9bd-6882-72ca-80c3-63d5a7af4a71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019cb9bd-6882-7eae-918b-1f3e847a0676" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_019cb9bd-6882-72ca-80c3-63d5a7af4a71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019cb9bd-6882-7ca7-a5f3-328c337ceca6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019cb9bd-6882-7eae-918b-1f3e847a0676" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019cb9bd-6882-7ca7-a5f3-328c337ceca6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019cb9bd-6882-71d2-9fd6-8cf302dacfd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019cb9bd-6882-7eae-918b-1f3e847a0676" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019cb9bd-6882-71d2-9fd6-8cf302dacfd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_019cb9bd-6882-78ea-90fc-d81bf516b471" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019cb9bd-6882-7eae-918b-1f3e847a0676" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_019cb9bd-6882-78ea-90fc-d81bf516b471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanSettlementCost_019d1e1e-e51e-7758-a961-4319c1f2ade9" xlink:href="dci-20260430.xsd#dci_DefinedBenefitPlanSettlementCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019cb9bd-6882-7eae-918b-1f3e847a0676" xlink:to="loc_dci_DefinedBenefitPlanSettlementCost_019d1e1e-e51e-7758-a961-4319c1f2ade9" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
