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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019f1f39-60d2-7e9f-8393-993f5fd394be,g:f7c9a8ed-55a0-4fe1-a7b0-83673c7f1bad-->
<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/CONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="simple" xlink:href="dci-20260731.xsd#CONSOLIDATEDSTATEMENTSOFEARNINGS"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFEARNINGS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019f1f39-62f8-7eba-9db9-9c0ff63aaa9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019f1f39-62f8-721b-8f36-517c84d0ab32" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019f1f39-62f8-7eba-9db9-9c0ff63aaa9a" xlink:to="loc_us-gaap_CostOfRevenue_019f1f39-62f8-721b-8f36-517c84d0ab32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-62f8-72c4-b0e8-7ec7c8e7b220" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019f1f39-62f8-7eba-9db9-9c0ff63aaa9a" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-62f8-72c4-b0e8-7ec7c8e7b220" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019f25e8-afc3-7d03-b6b2-bf10b70402b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019f25e8-afc3-7b42-8a2d-7aa13e4ece56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f25e8-afc3-7d03-b6b2-bf10b70402b2" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019f25e8-afc3-7b42-8a2d-7aa13e4ece56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f25e8-afc3-7db3-bc01-bd8c98e1e1dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f25e8-afc3-7d03-b6b2-bf10b70402b2" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f25e8-afc3-7db3-bc01-bd8c98e1e1dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019f25e8-afc3-7b7b-ada7-49cdd0f61841" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f25e8-afc3-7d03-b6b2-bf10b70402b2" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019f25e8-afc3-7b7b-ada7-49cdd0f61841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019f25e8-afc3-720f-ad27-803a44234812" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f25e8-afc3-7d03-b6b2-bf10b70402b2" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019f25e8-afc3-720f-ad27-803a44234812" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019f1f39-62f8-76d7-afc9-65bd90c067d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019f1f39-62f8-75fa-9bf2-eea2d1626c02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019f1f39-62f8-76d7-afc9-65bd90c067d5" xlink:to="loc_us-gaap_OperatingExpenses_019f1f39-62f8-75fa-9bf2-eea2d1626c02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019f1f39-62f8-763c-b7b3-be6c8c99a912" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019f1f39-62f8-76d7-afc9-65bd90c067d5" xlink:to="loc_us-gaap_GrossProfit_019f1f39-62f8-763c-b7b3-be6c8c99a912" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019f1f39-62f8-722d-a89e-f1adb98e365c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f1f39-62f8-7fc2-a08f-8f974b581975" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-722d-a89e-f1adb98e365c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f1f39-62f8-7fc2-a08f-8f974b581975" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019f1f39-62f8-75fc-a1b0-a0d7b4032bb5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-722d-a89e-f1adb98e365c" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019f1f39-62f8-75fc-a1b0-a0d7b4032bb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f1f39-62f8-7aad-9af1-ac168c039bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019f1f39-62f8-7ac0-a90b-baff3b4e8658" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-7aad-9af1-ac168c039bdf" xlink:to="loc_us-gaap_OperatingIncomeLoss_019f1f39-62f8-7ac0-a90b-baff3b4e8658" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019f1f39-62f8-755e-af78-27fcc8367fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-7aad-9af1-ac168c039bdf" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019f1f39-62f8-755e-af78-27fcc8367fc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019f1f39-62f8-77f9-b874-84b49e72e1f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-7aad-9af1-ac168c039bdf" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019f1f39-62f8-77f9-b874-84b49e72e1f5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="dci-20260731.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019f1f39-62f8-78f4-87c6-62f3ddc03d60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019f1f39-62f8-734c-9d81-83b3f0d32d28" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019f1f39-62f8-78f4-87c6-62f3ddc03d60" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019f1f39-62f8-734c-9d81-83b3f0d32d28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019f1f39-62f8-773f-8b79-4260a5c19ed8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019f1f39-62f8-78f4-87c6-62f3ddc03d60" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019f1f39-62f8-773f-8b79-4260a5c19ed8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019f1f39-62f8-767f-a401-b068069e8a22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019f1f39-62f8-7d65-b459-b72758bca9ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-767f-a401-b068069e8a22" xlink:to="loc_us-gaap_NetIncomeLoss_019f1f39-62f8-7d65-b459-b72758bca9ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-62f8-7eb4-a72d-6313c17e432a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-767f-a401-b068069e8a22" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-62f8-7eb4-a72d-6313c17e432a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-62f8-749c-940f-d6e7b88cd3f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019f1f39-62f8-7e43-b45c-de00b0e46f38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-62f8-749c-940f-d6e7b88cd3f6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019f1f39-62f8-7e43-b45c-de00b0e46f38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019f1f39-62f8-753a-b6e3-4796b2bd92ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f8-749c-940f-d6e7b88cd3f6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019f1f39-62f8-753a-b6e3-4796b2bd92ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019f1f39-62f8-7f75-897e-f4f98063c03f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-62f8-749c-940f-d6e7b88cd3f6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019f1f39-62f8-7f75-897e-f4f98063c03f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="dci-20260731.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7c5d-9cc1-f15c7eb922d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019f1f39-62f9-73e7-aa72-5189d1f02715" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7c5d-9cc1-f15c7eb922d4" xlink:to="loc_us-gaap_AccountsPayableCurrent_019f1f39-62f9-73e7-aa72-5189d1f02715" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019f1f39-62f9-7024-9d5e-41e332f76df5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7c5d-9cc1-f15c7eb922d4" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019f1f39-62f9-7024-9d5e-41e332f76df5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019f1f39-62f9-724b-80ae-0353fc22242c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7c5d-9cc1-f15c7eb922d4" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019f1f39-62f9-724b-80ae-0353fc22242c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_019f1f39-62f9-7750-a797-1052e9ce5753" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7c5d-9cc1-f15c7eb922d4" xlink:to="loc_us-gaap_ShortTermBorrowings_019f1f39-62f9-7750-a797-1052e9ce5753" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_019f1f39-62f9-7616-b7a0-8e29ba7514d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-7c5d-9cc1-f15c7eb922d4" xlink:to="loc_us-gaap_TaxesPayableCurrent_019f1f39-62f9-7616-b7a0-8e29ba7514d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019f1f39-62f9-73a4-8119-41e1eddc41ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7c5d-9cc1-f15c7eb922d4" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019f1f39-62f9-73a4-8119-41e1eddc41ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019f1f39-62f9-7886-bb5f-3809721e27cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019f1f39-62f9-7401-820a-5ad748e7b7aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-7886-bb5f-3809721e27cd" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019f1f39-62f9-7401-820a-5ad748e7b7aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019f1f39-62f9-7627-ba6f-0939c7eaea1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-7886-bb5f-3809721e27cd" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019f1f39-62f9-7627-ba6f-0939c7eaea1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019f1f39-62f9-7f6a-8989-15898daaeca6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-7886-bb5f-3809721e27cd" xlink:to="loc_us-gaap_InventoryNet_019f1f39-62f9-7f6a-8989-15898daaeca6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019f1f39-62f9-72ee-96cd-a35d695a4b5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-7886-bb5f-3809721e27cd" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019f1f39-62f9-72ee-96cd-a35d695a4b5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019f1f39-62f9-702a-8420-b7e08dd2c741" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7d69-a4e8-8760ce760b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-702a-8420-b7e08dd2c741" xlink:to="loc_us-gaap_LiabilitiesCurrent_019f1f39-62f9-7d69-a4e8-8760ce760b3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019f1f39-62f9-78a4-89b7-6548c9469ce3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-702a-8420-b7e08dd2c741" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019f1f39-62f9-78a4-89b7-6548c9469ce3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019f1f39-62f9-79c7-a726-932b00147751" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019f1f39-62f9-702a-8420-b7e08dd2c741" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019f1f39-62f9-79c7-a726-932b00147751" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019f1f39-62f9-7e8d-bf50-2e5b331b0508" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019f1f39-62f9-702a-8420-b7e08dd2c741" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019f1f39-62f9-7e8d-bf50-2e5b331b0508" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019f1f39-62f9-7d33-9942-47ca7a16b281" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019f1f39-62f9-702a-8420-b7e08dd2c741" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019f1f39-62f9-7d33-9942-47ca7a16b281" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019f5ed6-bd16-75d7-b03d-917f3513f537" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019f5ed6-bd16-7a9b-a59e-9ed7242190d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f5ed6-bd16-75d7-b03d-917f3513f537" xlink:to="loc_us-gaap_AssetsCurrent_019f5ed6-bd16-7a9b-a59e-9ed7242190d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019f5ed6-bd16-7f7d-a899-58137bf64b75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f5ed6-bd16-75d7-b03d-917f3513f537" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019f5ed6-bd16-7f7d-a899-58137bf64b75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019f5ed6-bd16-791a-974c-d55bb9a1e039" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f5ed6-bd16-75d7-b03d-917f3513f537" xlink:to="loc_us-gaap_Goodwill_019f5ed6-bd16-791a-974c-d55bb9a1e039" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019f5ed6-bd16-7bce-aa5d-11eee772eeab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f5ed6-bd16-75d7-b03d-917f3513f537" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019f5ed6-bd16-7bce-aa5d-11eee772eeab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019f5ed6-bd16-7c85-aa9f-94a4926dac4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f5ed6-bd16-75d7-b03d-917f3513f537" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019f5ed6-bd16-7c85-aa9f-94a4926dac4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019f5ef2-97ab-7e0b-98bc-6833bd5f72ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019f5ef2-97ac-7e80-8906-9adae3200262" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f5ef2-97ab-7e0b-98bc-6833bd5f72ef" xlink:to="loc_us-gaap_Liabilities_019f5ef2-97ac-7e80-8906-9adae3200262" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019f5ef2-97ac-7e0c-9663-93e31c7a44ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019f5ef2-97ab-7e0b-98bc-6833bd5f72ef" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019f5ef2-97ac-7e0c-9663-93e31c7a44ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019f5ef2-97ac-75e9-b3bd-4f53c6b2e21a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019f5ef2-97ab-7e0b-98bc-6833bd5f72ef" xlink:to="loc_us-gaap_StockholdersEquity_019f5ef2-97ac-75e9-b3bd-4f53c6b2e21a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019f1f39-62f9-79fb-9c2b-e8442150330a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019f1f39-62f9-7087-92a0-1acf51d7f0eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-79fb-9c2b-e8442150330a" xlink:to="loc_us-gaap_PreferredStockValue_019f1f39-62f9-7087-92a0-1acf51d7f0eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019f1f39-62f9-7e8d-b977-36afad4e50db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-79fb-9c2b-e8442150330a" xlink:to="loc_us-gaap_CommonStockValue_019f1f39-62f9-7e8d-b977-36afad4e50db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019f1f39-62f9-7da2-b835-98784d0b991d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f1f39-62f9-79fb-9c2b-e8442150330a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019f1f39-62f9-7da2-b835-98784d0b991d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019f1f39-62f9-750c-8378-785ad57c08bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f1f39-62f9-79fb-9c2b-e8442150330a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019f1f39-62f9-750c-8378-785ad57c08bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019f1f39-62f9-75b0-b82e-b6387e310125" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f1f39-62f9-79fb-9c2b-e8442150330a" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019f1f39-62f9-75b0-b82e-b6387e310125" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019f1f39-62f9-7332-82d9-4f5a442c9c85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f1f39-62f9-79fb-9c2b-e8442150330a" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019f1f39-62f9-7332-82d9-4f5a442c9c85" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="dci-20260731.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7415-877d-20a4771b5696" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019f1f39-62f9-713a-b49d-babd8405948f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019f1f39-62f9-713a-b49d-babd8405948f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019f1f39-62f9-7753-85b0-9a9347a50a65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019f1f39-62f9-7753-85b0-9a9347a50a65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019f1f39-62f9-7a7b-9ae7-f74fe30002f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019f1f39-62f9-7a7b-9ae7-f74fe30002f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_019f1f39-62f9-7ab9-87c5-967f2f973009" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_019f1f39-62f9-7ab9-87c5-967f2f973009" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019f1f39-62f9-785e-a216-f96f1b5c6948" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019f1f39-62f9-785e-a216-f96f1b5c6948" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_019f1f39-62f9-7ab6-bbe0-b331d1907e29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_019f1f39-62f9-7ab6-bbe0-b331d1907e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019f1f39-62f9-7533-bb53-8ab70ca2acd3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019f1f39-62f9-7533-bb53-8ab70ca2acd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019f1f39-62f9-7ded-9787-40c37579381f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7415-877d-20a4771b5696" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019f1f39-62f9-7ded-9787-40c37579381f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f1f39-62f9-701d-b8ff-a3813f670f7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7571-bde4-cfe77c021fda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f1f39-62f9-701d-b8ff-a3813f670f7a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f1f39-62f9-7571-bde4-cfe77c021fda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019f1f39-62f9-7367-b229-5ca9ac6a0cc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f1f39-62f9-701d-b8ff-a3813f670f7a" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019f1f39-62f9-7367-b229-5ca9ac6a0cc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f1f39-62f9-7fac-aaa4-73ebe0336a5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f1f39-62f9-701d-b8ff-a3813f670f7a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f1f39-62f9-7fac-aaa4-73ebe0336a5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f1f39-62f9-7fb9-aca6-f9afed147eb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f1f39-62f9-701d-b8ff-a3813f670f7a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f1f39-62f9-7fb9-aca6-f9afed147eb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019f2628-9eed-7ca7-9943-c59105bb1f6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_NetIncomeLoss_019f2628-9eed-7ca7-9943-c59105bb1f6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019f2628-9eed-787c-b353-cec152c0d016" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019f2628-9eed-787c-b353-cec152c0d016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_019f2628-9eed-71ef-a12a-fd9f382c5fc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_019f2628-9eed-71ef-a12a-fd9f382c5fc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f2628-9eed-769d-b722-738c079e9dc4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f2628-9eed-769d-b722-738c079e9dc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019f2628-9eed-7245-92a5-b4f0fe97c32f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_ShareBasedCompensation_019f2628-9eed-7245-92a5-b4f0fe97c32f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f2628-9eed-72fc-84e0-7b4320f26139" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f2628-9eed-72fc-84e0-7b4320f26139" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019f2628-9eed-7074-b29d-7930ef840be0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019f2628-9eed-7074-b29d-7930ef840be0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019f2628-9eed-7101-b5c2-33f10802ae21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019f2628-9eed-7101-b5c2-33f10802ae21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019f2628-9eed-7faf-9918-6da127a4c597" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019f2628-9eed-7faf-9918-6da127a4c597" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019f2628-9eed-75fe-9145-7443d7dbde0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019f2628-9eed-75fe-9145-7443d7dbde0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019f2628-9eed-7d7f-b85a-20186aa52794" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019f2628-9eed-7d7f-b85a-20186aa52794" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019f2628-9eed-7ab2-b2ec-d35e9ab21e69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019f2628-9eed-7ab2-b2ec-d35e9ab21e69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019f2628-9eed-7c81-8a8c-2986516f5cab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019f2628-9eed-7c81-8a8c-2986516f5cab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_IncreaseDecreaseInAccruedEmployeeCompensationAndRelatedTaxesAndOtherCurrentLiabilities_019f2628-9eed-7487-88e5-e6e90ed9205f" xlink:href="dci-20260731.xsd#dci_IncreaseDecreaseInAccruedEmployeeCompensationAndRelatedTaxesAndOtherCurrentLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f2628-9eed-7f6a-ad34-e49614132d7d" xlink:to="loc_dci_IncreaseDecreaseInAccruedEmployeeCompensationAndRelatedTaxesAndOtherCurrentLiabilities_019f2628-9eed-7487-88e5-e6e90ed9205f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f1f39-62f9-710a-9027-272e6573403b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019f1f39-62f9-785e-90fa-2597be34fe3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f1f39-62f9-710a-9027-272e6573403b" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019f1f39-62f9-785e-90fa-2597be34fe3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019f1f39-62f9-7b36-8620-e01400d9eae1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f1f39-62f9-710a-9027-272e6573403b" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019f1f39-62f9-7b36-8620-e01400d9eae1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019f1f39-62f9-7e0f-914f-50c3a9b9e48e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f1f39-62f9-710a-9027-272e6573403b" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019f1f39-62f9-7e0f-914f-50c3a9b9e48e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019f1f39-62f9-7ffa-80d8-c79f58b3d7ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f1f39-62f9-710a-9027-272e6573403b" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019f1f39-62f9-7ffa-80d8-c79f58b3d7ba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="dci-20260731.xsd#CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a0a41f-fecb-745a-8ba1-e0abc4a3fd2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_01a0a41f-fecb-723b-8ea4-c7a8ba8db72f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_01a0a41f-fecb-745a-8ba1-e0abc4a3fd2c" xlink:to="loc_us-gaap_NetIncomeLoss_01a0a41f-fecb-723b-8ea4-c7a8ba8db72f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_01a0a41f-fecb-7e91-9723-d20dad4e042c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a0a41f-fecb-745a-8ba1-e0abc4a3fd2c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_01a0a41f-fecb-7e91-9723-d20dad4e042c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_01a0a41f-fecb-72ab-b78c-610d8f33ef68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a0a41f-fecb-745a-8ba1-e0abc4a3fd2c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_01a0a41f-fecb-72ab-b78c-610d8f33ef68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_01a0a41f-fecb-70de-b67c-00ac4281565b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a0a41f-fecb-745a-8ba1-e0abc4a3fd2c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_01a0a41f-fecb-70de-b67c-00ac4281565b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_01a0a41f-fecb-7722-b8fa-9d2f018909ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a0a41f-fecb-745a-8ba1-e0abc4a3fd2c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_01a0a41f-fecb-7722-b8fa-9d2f018909ca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/AcquisitionsandEquityMethodInvestmentsScheduleofComponentsofAcquisitionsNetofCashAcquiredDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#AcquisitionsandEquityMethodInvestmentsScheduleofComponentsofAcquisitionsNetofCashAcquiredDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/AcquisitionsandEquityMethodInvestmentsScheduleofComponentsofAcquisitionsNetofCashAcquiredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_01a043fa-e259-7e43-9508-3bde2eb7b3d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-e259-785a-8040-c85efaadaa7d" xlink:href="dci-20260731.xsd#dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_01a043fa-e259-7e43-9508-3bde2eb7b3d9" xlink:to="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-e259-785a-8040-c85efaadaa7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_01a043fa-e259-779a-b1b2-9762b25cc0ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_01a043fa-e259-7e43-9508-3bde2eb7b3d9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_01a043fa-e259-779a-b1b2-9762b25cc0ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_01a043fa-c6f3-73ec-80f4-2038cddfd5fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_01a043fa-c6f3-7842-9282-9805d4e63c12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_01a043fa-c6f3-73ec-80f4-2038cddfd5fc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_01a043fa-c6f3-7842-9282-9805d4e63c12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_01a043fa-c6f3-7ccf-b66b-59ab1e10ce63" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_01a043fa-c6f3-73ec-80f4-2038cddfd5fc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_01a043fa-c6f3-7ccf-b66b-59ab1e10ce63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_01a043fa-c6f3-7a6d-ab1a-cab1fd8ec36c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_01a043fa-c6f3-73ec-80f4-2038cddfd5fc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_01a043fa-c6f3-7a6d-ab1a-cab1fd8ec36c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_01a043fa-c6f3-723b-a6a8-cb58f27c7aba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_01a043fa-c6f3-73ec-80f4-2038cddfd5fc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_01a043fa-c6f3-723b-a6a8-cb58f27c7aba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_01a043f5-e15c-7cb6-ad05-68cbdc0c1314" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_01a0a4ba-218a-780c-978e-6f7accfd564a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAcquiredFromAcquisition"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_01a043f5-e15c-7cb6-ad05-68cbdc0c1314" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_01a0a4ba-218a-780c-978e-6f7accfd564a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_01a043f5-e15c-7524-b7a6-d415a82bf8cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_01a043f5-e15c-7cb6-ad05-68cbdc0c1314" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_01a043f5-e15c-7524-b7a6-d415a82bf8cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:href="dci-20260731.xsd#dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_01a043fa-160c-7a5b-bd72-e906a2dfc5ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_01a043fa-160c-7a5b-bd72-e906a2dfc5ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_01a043fa-160c-7c98-8e1f-9c111b4ff817" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_01a043fa-160c-7c98-8e1f-9c111b4ff817" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_01a043fa-160c-7fb0-abe9-c376133aff29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_01a043fa-160c-7fb0-abe9-c376133aff29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_01a043fa-160c-7e89-989c-c018cf8e578c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_01a043fa-160c-7e89-989c-c018cf8e578c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_01a043fa-160c-7b70-87e7-afed09408e4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_Goodwill_01a043fa-160c-7b70-87e7-afed09408e4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a043fa-160c-72e1-9a7b-6759802af80c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a043fa-160c-72e1-9a7b-6759802af80c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_01a043fa-160c-7aea-be82-1ba3133fca79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_01a043fa-160c-7aea-be82-1ba3133fca79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_01a043fa-160c-7be7-ab9a-8278be930ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a043fa-160c-7b31-8e99-38d9c6d4d456" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_01a043fa-160c-7be7-ab9a-8278be930ac2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/InventoriesNetDetails" xlink:type="simple" xlink:href="dci-20260731.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_019f1f39-63a2-73d4-ae72-a248db1393f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019f1f39-63a2-7816-9410-c137e5c92893" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-73d4-ae72-a248db1393f9" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019f1f39-63a2-7816-9410-c137e5c92893" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019f1f39-63a2-7e2a-893a-c886b599a4cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-73d4-ae72-a248db1393f9" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019f1f39-63a2-7e2a-893a-c886b599a4cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019f1f39-63a2-7c3e-99b2-fc59981fe618" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-73d4-ae72-a248db1393f9" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019f1f39-63a2-7c3e-99b2-fc59981fe618" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/PropertyPlantandEquipmentNetDetails" xlink:type="simple" xlink:href="dci-20260731.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_019f1f39-63a2-756d-90f5-ea3a59696108" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019f1f39-63a2-7501-9c21-84fe7c91abde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019f1f39-63a2-756d-90f5-ea3a59696108" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019f1f39-63a2-7501-9c21-84fe7c91abde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019f1f39-63a2-7a7e-898e-5d2cd2fa3e30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019f1f39-63a2-756d-90f5-ea3a59696108" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019f1f39-63a2-7a7e-898e-5d2cd2fa3e30" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofReconciliationofIntangibleAssetsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#GoodwillandIntangibleAssetsScheduleofReconciliationofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofReconciliationofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-7715-a44e-3183b348ed59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f1f39-63a2-70b6-96ba-5f93a74dbd40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-7715-a44e-3183b348ed59" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f1f39-63a2-70b6-96ba-5f93a74dbd40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019f1f39-63a2-7c8f-a7eb-dff0028a6f6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-7715-a44e-3183b348ed59" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019f1f39-63a2-7c8f-a7eb-dff0028a6f6a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofAmortizationExpenseRelatingtoExistingIntangibleAssetsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#GoodwillandIntangibleAssetsScheduleofAmortizationExpenseRelatingtoExistingIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofAmortizationExpenseRelatingtoExistingIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-78af-9eb7-711464104ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019f1f39-63a2-79c6-ae33-d142bed2ead6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-78af-9eb7-711464104ba9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019f1f39-63a2-79c6-ae33-d142bed2ead6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019f1f39-63a2-780d-8776-b0afd58d6a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-78af-9eb7-711464104ba9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019f1f39-63a2-780d-8776-b0afd58d6a2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019f1f39-63a2-724a-ae6e-91a5055b118a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-78af-9eb7-711464104ba9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019f1f39-63a2-724a-ae6e-91a5055b118a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019f1f39-63a2-70db-9f19-369f6de7552e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-78af-9eb7-711464104ba9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019f1f39-63a2-70db-9f19-369f6de7552e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_019f1f39-63a2-72b1-9d38-8598cc2b2eb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-78af-9eb7-711464104ba9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_019f1f39-63a2-72b1-9d38-8598cc2b2eb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_019f1f39-63a2-784f-a25e-2bacd92c6690" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-78af-9eb7-711464104ba9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_019f1f39-63a2-784f-a25e-2bacd92c6690" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-7e21-85a0-5d65900bd26c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019f1f39-63a2-7f0f-a29b-003c4fdf21f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-7e21-85a0-5d65900bd26c" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019f1f39-63a2-7f0f-a29b-003c4fdf21f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019f1f39-63a2-72d1-aee2-7b656f971c38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-7e21-85a0-5d65900bd26c" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019f1f39-63a2-72d1-aee2-7b656f971c38" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails_1" xlink:type="simple" xlink:href="dci-20260731.xsd#ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails_1"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-710d-a9b5-c0278d21aa37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019f1f39-63a2-748e-a40e-724f7eed9335" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-710d-a9b5-c0278d21aa37" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019f1f39-63a2-748e-a40e-724f7eed9335" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019f1f39-63a2-7b25-a0e8-5a71fe2c5c29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-710d-a9b5-c0278d21aa37" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019f1f39-63a2-7b25-a0e8-5a71fe2c5c29" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofMaturitiesofLongTermDebtDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#ShortTermBorrowingsandLongTermDebtScheduleofMaturitiesofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofMaturitiesofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019f1f39-63a2-7464-ba9c-23dedca6c255" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019f1f39-63a2-747e-a29e-9a2717b4ecfb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019f1f39-63a2-7464-ba9c-23dedca6c255" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019f1f39-63a2-747e-a29e-9a2717b4ecfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019f1f39-63a2-7cc8-aaf9-10cae2d1f92e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019f1f39-63a2-7464-ba9c-23dedca6c255" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019f1f39-63a2-7cc8-aaf9-10cae2d1f92e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019f1f39-63a2-7e4c-b08f-416b2cf40a1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019f1f39-63a2-7464-ba9c-23dedca6c255" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019f1f39-63a2-7e4c-b08f-416b2cf40a1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019f1f39-63a2-703d-9d80-2bdf71c69a1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019f1f39-63a2-7464-ba9c-23dedca6c255" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019f1f39-63a2-703d-9d80-2bdf71c69a1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019f1f39-63a2-7cb0-9d99-217ff8be5b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019f1f39-63a2-7464-ba9c-23dedca6c255" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019f1f39-63a2-7cb0-9d99-217ff8be5b9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019f1f39-63a2-74be-acc0-5b8d6625fc29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019f1f39-63a2-7464-ba9c-23dedca6c255" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019f1f39-63a2-74be-acc0-5b8d6625fc29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019f1f39-63a2-7025-ba95-10beefe75ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019f1f39-63a2-7cbe-bc51-c761ae41ab21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019f1f39-63a2-7025-ba95-10beefe75ee3" xlink:to="loc_us-gaap_LongTermDebt_019f1f39-63a2-7cbe-bc51-c761ae41ab21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019f1f39-63a2-787b-98a2-78137823d86b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019f1f39-63a2-7025-ba95-10beefe75ee3" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019f1f39-63a2-787b-98a2-78137823d86b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleofComponentsofEarningsBeforeIncomeTaxesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleofComponentsofEarningsBeforeIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleofComponentsofEarningsBeforeIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019f1f39-63a2-721d-89f1-8833e2a1f3c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_019f1f39-63a2-7c20-a22c-0923960540df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019f1f39-63a2-721d-89f1-8833e2a1f3c4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_019f1f39-63a2-7c20-a22c-0923960540df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_019f1f39-63a2-7fed-905f-044e677fdeb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019f1f39-63a2-721d-89f1-8833e2a1f3c4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_019f1f39-63a2-7fed-905f-044e677fdeb3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleofComponentsoftheProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleofComponentsoftheProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleofComponentsoftheProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019f1f39-63a2-7db9-85b7-252e72bb7fa5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019f1f39-63a2-7c3a-8da4-d749dbd2bb0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f1f39-63a2-7db9-85b7-252e72bb7fa5" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019f1f39-63a2-7c3a-8da4-d749dbd2bb0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f1f39-63a2-7892-aa9b-c5b30b498e43" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f1f39-63a2-7db9-85b7-252e72bb7fa5" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f1f39-63a2-7892-aa9b-c5b30b498e43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019f1f39-63a2-7eec-9575-2896e68ffc7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019f1f39-63a2-7b45-87f2-f2b630063c72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019f1f39-63a2-7eec-9575-2896e68ffc7c" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019f1f39-63a2-7b45-87f2-f2b630063c72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019f1f39-63a2-736f-8184-3c2720af93c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019f1f39-63a2-7eec-9575-2896e68ffc7c" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019f1f39-63a2-736f-8184-3c2720af93c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_019f1f39-63a2-7dd5-a749-f7f044465ab8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019f1f39-63a2-7eec-9575-2896e68ffc7c" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_019f1f39-63a2-7dd5-a749-f7f044465ab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f1f39-63a2-7c83-a666-e60ea1081b66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019f1f39-63a2-7ed6-8586-fc4f5e862616" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f1f39-63a2-7c83-a666-e60ea1081b66" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019f1f39-63a2-7ed6-8586-fc4f5e862616" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019f1f39-63a2-7dd2-a7fe-e70d8657eafd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f1f39-63a2-7c83-a666-e60ea1081b66" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019f1f39-63a2-7dd2-a7fe-e70d8657eafd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_019f1f39-63a2-72eb-bfd7-0d485a2a9d99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019f1f39-63a2-7c83-a666-e60ea1081b66" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_019f1f39-63a2-72eb-bfd7-0d485a2a9d99" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleofIncomeTaxPaidDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleofIncomeTaxPaidDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleofIncomeTaxPaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019f4aee-8daa-7050-bbc5-c080861389d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019f4aee-8daa-7c16-85bb-3ff4385d0972" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidFederalAfterRefundReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019f4aee-8daa-7050-bbc5-c080861389d2" xlink:to="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019f4aee-8daa-7c16-85bb-3ff4385d0972" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019f4aee-8daa-7155-9289-be992da4bfca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019f4aee-8daa-7050-bbc5-c080861389d2" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019f4aee-8daa-7155-9289-be992da4bfca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019f4aee-8daa-73c3-87c1-9857d42df901" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019f4aee-8daa-7050-bbc5-c080861389d2" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019f4aee-8daa-73c3-87c1-9857d42df901" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleofReconciliationoftheUSStatutoryIncomeTaxRatewiththeEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleofReconciliationoftheUSStatutoryIncomeTaxRatewiththeEffectiveIncomeTaxRateDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleofReconciliationoftheUSStatutoryIncomeTaxRatewiththeEffectiveIncomeTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019f4b74-3ed8-7ca9-9b59-dd3bdda0f470" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019f4b74-3ed8-7ca9-9b59-dd3bdda0f470" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019f4b74-3ed8-7b5d-a7fa-2a309b88bd65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019f4b74-3ed8-7b5d-a7fa-2a309b88bd65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019f4b74-3ed8-7f93-a328-46a09131c9f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019f4b74-3ed8-7f93-a328-46a09131c9f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_019f4b74-3ed8-7aea-80f9-d45be30b7e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_019f4b74-3ed8-7aea-80f9-d45be30b7e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_EffectiveIncomeTaxRateReconciliationForeignTaxCreditOnWithholdingTaxesAmount_019f4b74-3ed8-7c7c-88fa-ef2a861aa699" xlink:href="dci-20260731.xsd#dci_EffectiveIncomeTaxRateReconciliationForeignTaxCreditOnWithholdingTaxesAmount"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_dci_EffectiveIncomeTaxRateReconciliationForeignTaxCreditOnWithholdingTaxesAmount_019f4b74-3ed8-7c7c-88fa-ef2a861aa699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019f4b74-3ed8-72d1-b1ed-2cce078d0a46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019f4b74-3ed8-72d1-b1ed-2cce078d0a46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019f4b74-3ed8-7699-a239-16969e2ea24b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019f4b74-3ed8-7699-a239-16969e2ea24b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCredits_019f4b74-3ed8-7713-9d27-aa4ae73e34a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationTaxCredits"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCredits_019f4b74-3ed8-7713-9d27-aa4ae73e34a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019f4b74-3ed8-7008-b684-de3188e15112" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019f4b74-3ed8-7008-b684-de3188e15112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019f4b74-3ed8-7fd4-8e93-d6c2fec0ce45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019f4b74-3ed8-7fd4-8e93-d6c2fec0ce45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019f4b74-3ed8-7a4a-88b7-96706a272238" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019f4b74-3ed8-7a4a-88b7-96706a272238" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019f4b74-3ed8-7576-b58f-218d9f4412d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019f4b74-3ed8-7860-b55c-5f18cc119bc2" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019f4b74-3ed8-7576-b58f-218d9f4412d6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleofReconciliationoftheUSStatutoryIncomeTaxRateDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleofReconciliationoftheUSStatutoryIncomeTaxRateDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleofReconciliationoftheUSStatutoryIncomeTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019f5f11-0432-7f48-97f2-818abe8a77d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019f5f11-0432-7f48-97f2-818abe8a77d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019f5f11-0432-7bc8-86c5-c185181dd1f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019f5f11-0432-7bc8-86c5-c185181dd1f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_019f5f11-0432-7cda-a911-2d9e1480f2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_019f5f11-0432-7cda-a911-2d9e1480f2d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017GlobalIntangibleLowTaxIncomePercent_019f5f11-0432-7513-a9f8-c70d61197689" xlink:href="dci-20260731.xsd#dci_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017GlobalIntangibleLowTaxIncomePercent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_dci_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017GlobalIntangibleLowTaxIncomePercent_019f5f11-0432-7513-a9f8-c70d61197689" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_019f5f11-0432-7b70-b7ba-f1e1ccdfccc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_019f5f11-0432-7b70-b7ba-f1e1ccdfccc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019f5f11-0432-7cf7-82d6-9450f33168e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019f5f11-0432-7cf7-82d6-9450f33168e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019f5f11-0432-7db8-b8ee-537ce4219606" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019f5f11-0432-7db8-b8ee-537ce4219606" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_019f5f11-0432-70a4-807e-97fe7d4a3578" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_019f5f11-0432-70a4-807e-97fe7d4a3578" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_EffectiveIncomeTaxRateReconciliationImpactOfUSTaxCutsAndJobsActPercent_019f5f11-0432-7e08-9ef7-0d447480271b" xlink:href="dci-20260731.xsd#dci_EffectiveIncomeTaxRateReconciliationImpactOfUSTaxCutsAndJobsActPercent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_dci_EffectiveIncomeTaxRateReconciliationImpactOfUSTaxCutsAndJobsActPercent_019f5f11-0432-7e08-9ef7-0d447480271b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019f5f11-0432-73a2-ba06-c223b7dad82d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019f5f11-0432-7188-84a6-e42ba42c53ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019f5f11-0432-73a2-ba06-c223b7dad82d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleoftheTaxEffectsofTemporaryDifferencesthatGiveRisetoDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleoftheTaxEffectsofTemporaryDifferencesthatGiveRisetoDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleoftheTaxEffectsofTemporaryDifferencesthatGiveRisetoDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_019f1f39-63a2-7c1a-9d1e-6fc9459b2e4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_019f1f39-63a2-7195-9961-494ee8391cf7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019f1f39-63a2-7c1a-9d1e-6fc9459b2e4a" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_019f1f39-63a2-7195-9961-494ee8391cf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_019f1f39-63a2-7882-ad7f-7fec6bd81129" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019f1f39-63a2-7c1a-9d1e-6fc9459b2e4a" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_019f1f39-63a2-7882-ad7f-7fec6bd81129" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_019f1f39-63a2-7aba-824a-a03ab93b04aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019f1f39-63a2-7c1a-9d1e-6fc9459b2e4a" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_019f1f39-63a2-7aba-824a-a03ab93b04aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_019f1f39-63a2-7381-8a69-19cb4525a885" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_019f1f39-63a2-7da4-9794-6da76effba5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_019f1f39-63a2-7381-8a69-19cb4525a885" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_019f1f39-63a2-7da4-9794-6da76effba5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_019f1f39-63a2-7782-9fdb-eb563c4f34c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_019f1f39-63a2-7381-8a69-19cb4525a885" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_019f1f39-63a2-7782-9fdb-eb563c4f34c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-7cac-ae2d-47d71f809978" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_019f1f39-63a2-70e0-b9a2-f2fb8fcd2bea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-7cac-ae2d-47d71f809978" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_019f1f39-63a2-70e0-b9a2-f2fb8fcd2bea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_019f1f39-63a2-727b-b334-3826c5fe64c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-7cac-ae2d-47d71f809978" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_019f1f39-63a2-727b-b334-3826c5fe64c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_019f1f39-63a2-7b81-8c97-6ca3adb4b4fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-7cac-ae2d-47d71f809978" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_019f1f39-63a2-7b81-8c97-6ca3adb4b4fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_019f1f39-63a2-7635-90fe-24472e1200fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-7cac-ae2d-47d71f809978" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_019f1f39-63a2-7635-90fe-24472e1200fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DeferredTaxAssetsOperatingLeaseAssets_019f1f39-63a2-79fd-a679-7a58f9ae916e" xlink:href="dci-20260731.xsd#dci_DeferredTaxAssetsOperatingLeaseAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-7cac-ae2d-47d71f809978" xlink:to="loc_dci_DeferredTaxAssetsOperatingLeaseAssets_019f1f39-63a2-79fd-a679-7a58f9ae916e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_019f1f39-63a2-72b5-8b89-1677cf8be6cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-7cac-ae2d-47d71f809978" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_019f1f39-63a2-72b5-8b89-1677cf8be6cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_019f1f39-63a2-73c5-94d8-1a78a1918545" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-712a-a347-9530c4f247a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_019f1f39-63a2-73c5-94d8-1a78a1918545" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_019f1f39-63a2-712a-a347-9530c4f247a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019f1f39-63a2-7ff5-9039-8c170801d7af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_019f1f39-63a2-73c5-94d8-1a78a1918545" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019f1f39-63a2-7ff5-9039-8c170801d7af" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#LeasesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_019f1f39-63a2-7cb3-9a5c-508c5ac855ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_019f1f39-63a2-7c87-9cbc-88cdb19f4365" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019f1f39-63a2-7cb3-9a5c-508c5ac855ef" xlink:to="loc_us-gaap_ShortTermLeaseCost_019f1f39-63a2-7c87-9cbc-88cdb19f4365" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_019f1f39-63a2-79a9-b59e-8d78aead19e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019f1f39-63a2-7cb3-9a5c-508c5ac855ef" xlink:to="loc_us-gaap_OperatingLeaseCost_019f1f39-63a2-79a9-b59e-8d78aead19e3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/LeasesScheduleofOperatingLeaseLiabilityDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#LeasesScheduleofOperatingLeaseLiabilityDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/LeasesScheduleofOperatingLeaseLiabilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7637-ae9d-accf698a99b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019f1f39-63a2-74fd-8c2f-4b078ab7ebc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7637-ae9d-accf698a99b0" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019f1f39-63a2-74fd-8c2f-4b078ab7ebc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019f1f39-63a2-781b-b573-11afcac3875e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7637-ae9d-accf698a99b0" xlink:to="loc_us-gaap_OperatingLeaseLiability_019f1f39-63a2-781b-b573-11afcac3875e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/LeasesScheduleofOperatingLeaseLiabilityDetails_1" xlink:type="simple" xlink:href="dci-20260731.xsd#LeasesScheduleofOperatingLeaseLiabilityDetails_1"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/LeasesScheduleofOperatingLeaseLiabilityDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7a65-9a0e-ab9769156784" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019f1f39-63a2-710c-9ca5-52d8d9cf76b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7a65-9a0e-ab9769156784" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019f1f39-63a2-710c-9ca5-52d8d9cf76b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019f1f39-63a2-769e-bddb-ec316a200f11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7a65-9a0e-ab9769156784" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019f1f39-63a2-769e-bddb-ec316a200f11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019f1f39-63a2-7860-9004-de86af8afa78" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7a65-9a0e-ab9769156784" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019f1f39-63a2-7860-9004-de86af8afa78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019f1f39-63a2-702e-87db-47cc35e6df31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7a65-9a0e-ab9769156784" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019f1f39-63a2-702e-87db-47cc35e6df31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019f1f39-63a2-7b29-ab35-9f13a93b3b49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7a65-9a0e-ab9769156784" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019f1f39-63a2-7b29-ab35-9f13a93b3b49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019f1f39-63a2-79a8-8521-5124b57c73f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019f1f39-63a2-7a65-9a0e-ab9769156784" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019f1f39-63a2-79a8-8521-5124b57c73f1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="dci-20260731.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_019f1f39-63a2-7273-a3d4-5e5e570f4203" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019f1f39-63a2-7dfb-aaf3-2d4b3f508ada" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-7273-a3d4-5e5e570f4203" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019f1f39-63a2-7dfb-aaf3-2d4b3f508ada" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019f1f39-63a2-7589-8283-27c0d44262a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-7273-a3d4-5e5e570f4203" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019f1f39-63a2-7589-8283-27c0d44262a6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:type="simple" xlink:href="dci-20260731.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_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019f1f39-63a2-7aa2-bbdf-4a8f19dac790" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019f1f39-63a2-7e64-af17-4b7ee88f615e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019f1f39-63a2-7aa2-bbdf-4a8f19dac790" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019f1f39-63a2-7e64-af17-4b7ee88f615e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_019f1f39-63a2-7227-a3ac-8f7d246c9c5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019f1f39-63a2-7aa2-bbdf-4a8f19dac790" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_019f1f39-63a2-7227-a3ac-8f7d246c9c5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-63a2-7935-978d-ac7c6002cbc2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019f1f39-63a2-7dc2-a047-5d735d8c806f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-7935-978d-ac7c6002cbc2" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019f1f39-63a2-7dc2-a047-5d735d8c806f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019f1f39-63a2-75bc-a5a4-81b1cf906d3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-63a2-7935-978d-ac7c6002cbc2" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019f1f39-63a2-75bc-a5a4-81b1cf906d3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019f1f39-63a2-7464-8272-59c532ab5277" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019f1f39-63a2-7ec6-8e75-d4b5e48fce2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-7464-8272-59c532ab5277" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019f1f39-63a2-7ec6-8e75-d4b5e48fce2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019f1f39-63a2-72f0-a1f6-444ced288d80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a2-7464-8272-59c532ab5277" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019f1f39-63a2-72f0-a1f6-444ced288d80" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofNetPeriodicPensionCostsandAmountsRecognizedinOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofNetPeriodicPensionCostsandAmountsRecognizedinOtherComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofNetPeriodicPensionCostsandAmountsRecognizedinOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax_019f1f39-63a3-7fb9-a008-4e1dc721de95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019f1f39-63a3-7050-9d56-2cbf655908e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax_019f1f39-63a3-7fb9-a008-4e1dc721de95" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019f1f39-63a3-7050-9d56-2cbf655908e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_019f1f39-63a3-7345-b537-2286e2fb3b9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax_019f1f39-63a3-7fb9-a008-4e1dc721de95" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_019f1f39-63a3-7345-b537-2286e2fb3b9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_019f1f39-63a3-71b3-8acd-a981124aeb60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_019f1f39-63a3-71b3-8acd-a981124aeb60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019f1f39-63a3-70c4-b7dc-b642fa5a9dbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019f1f39-63a3-70c4-b7dc-b642fa5a9dbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019f1f39-63a3-7bee-8461-779037e3cb46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019f1f39-63a3-7bee-8461-779037e3cb46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments_019f1f39-63a3-7791-933c-5f01276078af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments_019f1f39-63a3-7791-933c-5f01276078af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019f1f39-63a3-7a6e-aeb2-b6c496c4a115" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019f1f39-63a3-7a6e-aeb2-b6c496c4a115" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_019f1f39-63a3-7349-836f-3d95e9c406b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_019f1f39-63a3-7349-836f-3d95e9c406b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanSettlementCost_019f1f39-63a3-7a16-9cdf-36067be6bbe8" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanSettlementCost"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019f1f39-63a3-755f-8ae5-0dc7f637718f" xlink:to="loc_dci_DefinedBenefitPlanSettlementCost_019f1f39-63a3-7a16-9cdf-36067be6bbe8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_019f1f39-63a3-70d0-91d9-c897d450d441" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_019f1f39-63a3-7e86-883f-529077946099" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_019f1f39-63a3-70d0-91d9-c897d450d441" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_019f1f39-63a3-7e86-883f-529077946099" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019f1f39-63a3-7fd3-8ae6-cbb9f9cbf957" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_019f1f39-63a3-70d0-91d9-c897d450d441" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019f1f39-63a3-7fd3-8ae6-cbb9f9cbf957" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019f1f39-63a3-781c-bd99-42f05a81782a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_019f1f39-63a3-70d0-91d9-c897d450d441" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019f1f39-63a3-781c-bd99-42f05a81782a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_019f1f39-63a3-70c0-9895-9278f73e0ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_019f1f39-63a3-70d0-91d9-c897d450d441" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_019f1f39-63a3-70c0-9895-9278f73e0ef2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofChangesinProjectedBenefitObligationsFairValueofPlanAssetsandFundedStatusDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofChangesinProjectedBenefitObligationsFairValueofPlanAssetsandFundedStatusDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofChangesinProjectedBenefitObligationsFairValueofPlanAssetsandFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019f1f39-63a3-71dc-a6e1-01953b70d752" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_019f1f39-63a3-7182-97d4-76524b2e6601" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019f1f39-63a3-71dc-a6e1-01953b70d752" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_019f1f39-63a3-7182-97d4-76524b2e6601" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019f1f39-63a3-7b53-a6e4-8809c2066fdb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019f1f39-63a3-71dc-a6e1-01953b70d752" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019f1f39-63a3-7b53-a6e4-8809c2066fdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019f1f39-63a3-7d67-8d09-5fabf52b9cc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019f1f39-63a3-71dc-a6e1-01953b70d752" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019f1f39-63a3-7d67-8d09-5fabf52b9cc9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofEstimatedFairValueofPensionPlanAssetsandtheirRespectiveLevelsintheFairValueHierarchyDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofEstimatedFairValueofPensionPlanAssetsandtheirRespectiveLevelsintheFairValueHierarchyDetails"/>
  <link:calculationLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofEstimatedFairValueofPensionPlanAssetsandtheirRespectiveLevelsintheFairValueHierarchyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanAssetsInvestmentAtFairValue_019f5f43-10ae-7aab-801e-3c643fb1ded1" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanAssetsInvestmentAtFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f5f48-7f17-7c85-b760-5d218db2a4d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_DefinedBenefitPlanAssetsInvestmentAtFairValue_019f5f43-10ae-7aab-801e-3c643fb1ded1" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f5f48-7f17-7c85-b760-5d218db2a4d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets_019f5f47-5f2a-77b9-a80f-cf6800aee3af" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dci_DefinedBenefitPlanAssetsInvestmentAtFairValue_019f5f43-10ae-7aab-801e-3c643fb1ded1" xlink:to="loc_dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets_019f5f47-5f2a-77b9-a80f-cf6800aee3af" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
