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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:cf7f48bc-c510-4bbc-96bb-525f11baf54d,g:3bc52c99-06e9-4543-8076-674786270ba9-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CoverPageCoverPage" xlink:type="simple" xlink:href="panw-20200731.xsd#CoverPageCoverPage"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CoverPageCoverPage" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CONSOLIDATEDBALANCESHEETSStatement" xlink:type="simple" xlink:href="panw-20200731.xsd#CONSOLIDATEDBALANCESHEETSStatement"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CONSOLIDATEDBALANCESHEETSStatement" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_50a2c5e4-6db9-4fac-9347-f7a652da40cd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_59275142-15b1-4d7c-abe1-8163648bd03b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_50a2c5e4-6db9-4fac-9347-f7a652da40cd" xlink:to="loc_us-gaap_LiabilitiesCurrent_59275142-15b1-4d7c-abe1-8163648bd03b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_1d858086-11e6-499f-b4f9-a17622b78823" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_50a2c5e4-6db9-4fac-9347-f7a652da40cd" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_1d858086-11e6-499f-b4f9-a17622b78823" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_caaa12d0-93ef-4123-87e4-8c0ff7247971" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_50a2c5e4-6db9-4fac-9347-f7a652da40cd" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_caaa12d0-93ef-4123-87e4-8c0ff7247971" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_184457e9-6c5f-481b-bdab-d09dfedcb124" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_50a2c5e4-6db9-4fac-9347-f7a652da40cd" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_184457e9-6c5f-481b-bdab-d09dfedcb124" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_668a21b6-5901-4516-8c61-3f0c524de38a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_50a2c5e4-6db9-4fac-9347-f7a652da40cd" xlink:to="loc_us-gaap_StockholdersEquity_668a21b6-5901-4516-8c61-3f0c524de38a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_12e2d706-c82a-473b-b546-9861bfff9b76" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_50a2c5e4-6db9-4fac-9347-f7a652da40cd" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_12e2d706-c82a-473b-b546-9861bfff9b76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_3c5bb746-df70-4cb4-a486-547b49f1d95b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_1b7efe6d-3eb5-4388-a214-aa7f14133f9c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3c5bb746-df70-4cb4-a486-547b49f1d95b" xlink:to="loc_us-gaap_AccountsPayableCurrent_1b7efe6d-3eb5-4388-a214-aa7f14133f9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_fc6811c6-a15c-4c41-befb-82636b33aef6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3c5bb746-df70-4cb4-a486-547b49f1d95b" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_fc6811c6-a15c-4c41-befb-82636b33aef6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_4a285407-5017-4adf-a046-3ac819f8f188" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3c5bb746-df70-4cb4-a486-547b49f1d95b" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_4a285407-5017-4adf-a046-3ac819f8f188" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9e909364-1a50-4ff9-8769-0f9999d0cbe5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3c5bb746-df70-4cb4-a486-547b49f1d95b" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9e909364-1a50-4ff9-8769-0f9999d0cbe5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_46e4b568-6332-4f62-b515-499e275f3a04" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_2e63c7c4-6fba-40fd-8771-0b42efda563f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_46e4b568-6332-4f62-b515-499e275f3a04" xlink:to="loc_us-gaap_PreferredStockValue_2e63c7c4-6fba-40fd-8771-0b42efda563f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_23b4374b-18e3-4b18-9867-37d7cc36fda0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStocksIncludingAdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_46e4b568-6332-4f62-b515-499e275f3a04" xlink:to="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_23b4374b-18e3-4b18-9867-37d7cc36fda0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d998df22-c13e-4cb0-9d8e-e41b5e943264" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_46e4b568-6332-4f62-b515-499e275f3a04" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d998df22-c13e-4cb0-9d8e-e41b5e943264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6a886b18-6b95-4f3a-a993-4b18d9da3053" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_46e4b568-6332-4f62-b515-499e275f3a04" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6a886b18-6b95-4f3a-a993-4b18d9da3053" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_79c99a8b-5ed0-4c78-a70c-a349c3a0dfb8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:to="loc_us-gaap_AssetsCurrent_79c99a8b-5ed0-4c78-a70c-a349c3a0dfb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f5e85cb2-57cb-4bf4-9f4b-0f1bab304901" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f5e85cb2-57cb-4bf4-9f4b-0f1bab304901" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_3edc7111-327e-427a-b41c-1b5f5cde66ea" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:to="loc_us-gaap_LongTermInvestments_3edc7111-327e-427a-b41c-1b5f5cde66ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_2bba7ba6-b9e0-4143-b003-773a638c3319" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:to="loc_us-gaap_Goodwill_2bba7ba6-b9e0-4143-b003-773a638c3319" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_bb939040-1fe4-488d-be40-c53cbf70dc1c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_bb939040-1fe4-488d-be40-c53cbf70dc1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_2794b294-fa99-4fdd-b814-5b87dfa4ed64" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_2794b294-fa99-4fdd-b814-5b87dfa4ed64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_9a21a511-f94d-488b-a15a-674df2d4386c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f39b3cae-7241-4c5f-a98c-c64e15f9aaca" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_9a21a511-f94d-488b-a15a-674df2d4386c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_e1310050-23b3-4593-971a-b6b029204b31" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_543321a1-d7e5-484d-8950-6790bab29d2c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e1310050-23b3-4593-971a-b6b029204b31" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_543321a1-d7e5-484d-8950-6790bab29d2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_12aae7d5-9678-41d4-b42e-78ddf4e445db" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e1310050-23b3-4593-971a-b6b029204b31" xlink:to="loc_us-gaap_ShortTermInvestments_12aae7d5-9678-41d4-b42e-78ddf4e445db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_c063f4f3-5d31-4cbb-b5f9-4a1904fd81a2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e1310050-23b3-4593-971a-b6b029204b31" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_c063f4f3-5d31-4cbb-b5f9-4a1904fd81a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ca32c281-dec8-4576-9d5b-a07a6944e534" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e1310050-23b3-4593-971a-b6b029204b31" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ca32c281-dec8-4576-9d5b-a07a6944e534" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="panw-20200731.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSStatement" xlink:type="simple" xlink:href="panw-20200731.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSStatement"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSStatement" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_e707562d-6afd-4045-b90b-6e982c75bff4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_ef1cf37a-b0d5-45aa-9394-de7e48c699dc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_e707562d-6afd-4045-b90b-6e982c75bff4" xlink:to="loc_us-gaap_OperatingExpenses_ef1cf37a-b0d5-45aa-9394-de7e48c699dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_53abf0b9-88de-468c-a815-dd965ef1821e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_e707562d-6afd-4045-b90b-6e982c75bff4" xlink:to="loc_us-gaap_GrossProfit_53abf0b9-88de-468c-a815-dd965ef1821e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_29c7b50d-9ddd-4981-81ce-a60a152866b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7bb8f4cf-ffc9-4e95-ab84-ce694216e17a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_29c7b50d-9ddd-4981-81ce-a60a152866b8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7bb8f4cf-ffc9-4e95-ab84-ce694216e17a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_8cb50efa-b507-49c2-8436-0a97a8dadb1e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_29c7b50d-9ddd-4981-81ce-a60a152866b8" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_8cb50efa-b507-49c2-8436-0a97a8dadb1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_36f8f8cd-7b1e-459c-8f1d-50802c3d6e4e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_8c4c7807-2810-4825-a3cd-137fb74c8c9b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_36f8f8cd-7b1e-459c-8f1d-50802c3d6e4e" xlink:to="loc_us-gaap_OperatingIncomeLoss_8c4c7807-2810-4825-a3cd-137fb74c8c9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_53bd5c03-03ac-4bcf-b6e9-26aecc67aa20" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_36f8f8cd-7b1e-459c-8f1d-50802c3d6e4e" xlink:to="loc_us-gaap_InterestExpense_53bd5c03-03ac-4bcf-b6e9-26aecc67aa20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_OtherNonoperatingIncomeExpenseNet_6634e7b6-20ed-4f8a-acc6-2d57a481e30e" xlink:href="panw-20200731.xsd#panw_OtherNonoperatingIncomeExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_36f8f8cd-7b1e-459c-8f1d-50802c3d6e4e" xlink:to="loc_panw_OtherNonoperatingIncomeExpenseNet_6634e7b6-20ed-4f8a-acc6-2d57a481e30e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_75d60e7a-b9ac-473a-a84a-b7e7d4e04897" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_19903f45-911f-44d0-b9b9-807548a6f715" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_75d60e7a-b9ac-473a-a84a-b7e7d4e04897" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_19903f45-911f-44d0-b9b9-807548a6f715" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d99bef67-5229-4b02-8df5-260f5b382dde" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_75d60e7a-b9ac-473a-a84a-b7e7d4e04897" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d99bef67-5229-4b02-8df5-260f5b382dde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_e717a3a3-8673-41b8-811a-39407b8a229e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_428d4e8c-6ab1-4a07-a7bf-e4c32ad63175" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_e717a3a3-8673-41b8-811a-39407b8a229e" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_428d4e8c-6ab1-4a07-a7bf-e4c32ad63175" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_2dd30ee3-7be5-404c-bd82-93f5dc83f9f1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_e717a3a3-8673-41b8-811a-39407b8a229e" xlink:to="loc_us-gaap_SellingAndMarketingExpense_2dd30ee3-7be5-404c-bd82-93f5dc83f9f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_f239609b-c6d9-42ee-96e7-8c1473e84ece" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_e717a3a3-8673-41b8-811a-39407b8a229e" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_f239609b-c6d9-42ee-96e7-8c1473e84ece" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSStatement" xlink:type="simple" xlink:href="panw-20200731.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSStatement"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSStatement" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_ae55ebf5-c53d-46ff-b7b5-2cbb1da6f06b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_028dff31-f1ad-4af3-af41-23cf84d65a2c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ae55ebf5-c53d-46ff-b7b5-2cbb1da6f06b" xlink:to="loc_us-gaap_NetIncomeLoss_028dff31-f1ad-4af3-af41-23cf84d65a2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_aad35036-03cc-4e70-9da6-b590439ad6e6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ae55ebf5-c53d-46ff-b7b5-2cbb1da6f06b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_aad35036-03cc-4e70-9da6-b590439ad6e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9de14a27-5c8b-4a5b-9c3b-3bb8c27270a3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_33b6bd98-5c62-4dfb-a9df-f3c5acb9a5d1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9de14a27-5c8b-4a5b-9c3b-3bb8c27270a3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_33b6bd98-5c62-4dfb-a9df-f3c5acb9a5d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_7823045a-c235-4480-a65f-bca3cb9909f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9de14a27-5c8b-4a5b-9c3b-3bb8c27270a3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_7823045a-c235-4480-a65f-bca3cb9909f3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYStatement" xlink:type="simple" xlink:href="panw-20200731.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYStatement"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYStatement" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSStatement" xlink:type="simple" xlink:href="panw-20200731.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSStatement"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSStatement" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_RepaymentsOfConvertibleDebtDebtPrincipalandEquityComponent_aca7f401-35d2-4492-8286-221f56030b63" xlink:href="panw-20200731.xsd#panw_RepaymentsOfConvertibleDebtDebtPrincipalandEquityComponent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_panw_RepaymentsOfConvertibleDebtDebtPrincipalandEquityComponent_aca7f401-35d2-4492-8286-221f56030b63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_a703ba1a-a24f-4b79-92fa-8c2c23b61d08" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_a703ba1a-a24f-4b79-92fa-8c2c23b61d08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_f4459901-8cc1-41e8-87d6-e38a368c89a6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_f4459901-8cc1-41e8-87d6-e38a368c89a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfWarrants_2638f19f-636f-49ef-96f8-03c1d1dc996f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfWarrants"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfWarrants_2638f19f-636f-49ef-96f8-03c1d1dc996f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_PurchaseofNoteHedges_acc6c637-becf-4e30-ac40-d1950680fdf2" xlink:href="panw-20200731.xsd#panw_PurchaseofNoteHedges"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_panw_PurchaseofNoteHedges_acc6c637-becf-4e30-ac40-d1950680fdf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b12f9d42-c8ef-4c95-ac83-32eebe51c495" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b12f9d42-c8ef-4c95-ac83-32eebe51c495" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_acd0a1d0-e0fc-4b3c-9fb9-95bf439149bb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_acd0a1d0-e0fc-4b3c-9fb9-95bf439149bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_67413533-2587-4ac3-b59e-36b13fffb4a1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_67413533-2587-4ac3-b59e-36b13fffb4a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_PaymentsForDeferredConsiderationRelatedToBusinessAcquisitions_929d7990-c435-42ab-a72e-ff9cedd672d7" xlink:href="panw-20200731.xsd#panw_PaymentsForDeferredConsiderationRelatedToBusinessAcquisitions"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_675be6ed-5e64-4224-b411-0f1525910c54" xlink:to="loc_panw_PaymentsForDeferredConsiderationRelatedToBusinessAcquisitions_929d7990-c435-42ab-a72e-ff9cedd672d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_fee7951a-48c5-43de-8d46-464ed1810828" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_NetIncomeLoss_fee7951a-48c5-43de-8d46-464ed1810828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_74de0569-8934-432e-8800-c1feb606c6d4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_ShareBasedCompensation_74de0569-8934-432e-8800-c1feb606c6d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_b193d29b-aa3e-437e-afff-8a87f511ddbe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_b193d29b-aa3e-437e-afff-8a87f511ddbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortization_d9b3d343-c9bc-4992-8f4b-30df2764d534" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CapitalizedContractCostAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_CapitalizedContractCostAmortization_d9b3d343-c9bc-4992-8f4b-30df2764d534" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_b486ecd5-b573-4677-b1fd-95318fe25fc6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_b486ecd5-b573-4677-b1fd-95318fe25fc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_d960e2f3-44f9-44ff-9ba7-00665db9c0cb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_d960e2f3-44f9-44ff-9ba7-00665db9c0cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9cd1a7ad-ec96-4a30-91cc-5bbc092746c8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9cd1a7ad-ec96-4a30-91cc-5bbc092746c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_RepaymentsOfConvertibleDebtDebtDiscount_fe92b44e-4bb6-4029-8d25-fb7e63ecdb08" xlink:href="panw-20200731.xsd#panw_RepaymentsOfConvertibleDebtDebtDiscount"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_panw_RepaymentsOfConvertibleDebtDebtDiscount_fe92b44e-4bb6-4029-8d25-fb7e63ecdb08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_cb972f3a-e508-468e-92cf-60f6b2026039" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_cb972f3a-e508-468e-92cf-60f6b2026039" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_a2e11b3c-0bcf-4ea4-ab09-0fc9627a4e7f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_a2e11b3c-0bcf-4ea4-ab09-0fc9627a4e7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_de374c2b-726d-4d45-8329-91a6b3b95879" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_de374c2b-726d-4d45-8329-91a6b3b95879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_b7ef8eb7-4afd-4e7a-9fe0-edeb19f9446e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_b7ef8eb7-4afd-4e7a-9fe0-edeb19f9446e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_9a67525a-3df7-4b43-b906-29f741787fab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_9a67525a-3df7-4b43-b906-29f741787fab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_29cd6158-06c4-49ff-a216-91eb92069c66" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_29cd6158-06c4-49ff-a216-91eb92069c66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnTerminationOfLease_84696b18-a275-47f7-b527-544fa6242e4e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnTerminationOfLease"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_us-gaap_GainLossOnTerminationOfLease_84696b18-a275-47f7-b527-544fa6242e4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_OperatingLeaseRightofUseAssetAmortization_6841ee2e-fe49-4993-ab2f-63183d4037fc" xlink:href="panw-20200731.xsd#panw_OperatingLeaseRightofUseAssetAmortization"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2b1cde78-1565-42d7-9151-cb80fd9b7dd7" xlink:to="loc_panw_OperatingLeaseRightofUseAssetAmortization_6841ee2e-fe49-4993-ab2f-63183d4037fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_6cb37944-cd1b-4435-be9d-8728fcc7fe1d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_098d4e0f-4101-468d-a942-7490e0397b31" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_6cb37944-cd1b-4435-be9d-8728fcc7fe1d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_098d4e0f-4101-468d-a942-7490e0397b31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9f0e545c-31fc-487f-b3a8-cd5f77d2bc6b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_6cb37944-cd1b-4435-be9d-8728fcc7fe1d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9f0e545c-31fc-487f-b3a8-cd5f77d2bc6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9456377c-06fe-45c1-99b0-7b5074b04d63" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_6cb37944-cd1b-4435-be9d-8728fcc7fe1d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9456377c-06fe-45c1-99b0-7b5074b04d63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a71a9242-c362-4fda-83b8-e8edc0ad28c2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_72a15a12-93a2-4a43-82be-adf1a56531d8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a71a9242-c362-4fda-83b8-e8edc0ad28c2" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_72a15a12-93a2-4a43-82be-adf1a56531d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_Proceedsfromthesaleofinvestments_739a2ca8-93fb-4dd6-bcd1-732ccbed2150" xlink:href="panw-20200731.xsd#panw_Proceedsfromthesaleofinvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a71a9242-c362-4fda-83b8-e8edc0ad28c2" xlink:to="loc_panw_Proceedsfromthesaleofinvestments_739a2ca8-93fb-4dd6-bcd1-732ccbed2150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_121cb2cd-1614-459d-863e-a37e3f757202" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a71a9242-c362-4fda-83b8-e8edc0ad28c2" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_121cb2cd-1614-459d-863e-a37e3f757202" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9485a79c-d185-4ab3-ba83-10b3ff6ac0ab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a71a9242-c362-4fda-83b8-e8edc0ad28c2" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9485a79c-d185-4ab3-ba83-10b3ff6ac0ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_2e475c1d-f1e9-4870-a624-f7a5c033b308" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a71a9242-c362-4fda-83b8-e8edc0ad28c2" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_2e475c1d-f1e9-4870-a624-f7a5c033b308" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSReconciliationofcashcashequivalentsandrestrictedcashtotheconsolidatedbalancesheets" xlink:type="simple" xlink:href="panw-20200731.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSReconciliationofcashcashequivalentsandrestrictedcashtotheconsolidatedbalancesheets"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSReconciliationofcashcashequivalentsandrestrictedcashtotheconsolidatedbalancesheets" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesPolicies"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesConcentrationsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesConcentrationsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesConcentrationsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesRevenueRecognitionDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesDeferredContractCostsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesDeferredContractCostsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesDeferredContractCostsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesSoftwareDevelopmentCostsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesSoftwareDevelopmentCostsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesSoftwareDevelopmentCostsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DescriptionofBusinessBasisofPresentationPrinciplesofConsolidationandSummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RevenueNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#RevenueNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RevenueNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RevenueTables" xlink:type="simple" xlink:href="panw-20200731.xsd#RevenueTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RevenueTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RevenueDisaggregationofRevenueGeographicTheaterDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#RevenueDisaggregationofRevenueGeographicTheaterDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RevenueDisaggregationofRevenueGeographicTheaterDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RevenueDisaggregationofRevenueTypeofRevenueDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#RevenueDisaggregationofRevenueTypeofRevenueDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RevenueDisaggregationofRevenueTypeofRevenueDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RevenueDeferredRevenueDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#RevenueDeferredRevenueDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RevenueDeferredRevenueDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#RevenueRemainingPerformanceObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RevenueRemainingPerformanceObligationsDetails_1" xlink:type="simple" xlink:href="panw-20200731.xsd#RevenueRemainingPerformanceObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RevenueRemainingPerformanceObligationsDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/FairValueMeasurementsNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#FairValueMeasurementsNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/FairValueMeasurementsNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/FairValueMeasurementsTables" xlink:type="simple" xlink:href="panw-20200731.xsd#FairValueMeasurementsTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/FairValueMeasurementsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/FairValueMeasurementsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#FairValueMeasurementsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/FairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_9700b29f-dca2-48db-9c5b-94c600cd4091" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_LongTermInvestmentsFairValueDisclosure_4ffc3ce2-43f3-4146-8751-136e7616b0ca" xlink:href="panw-20200731.xsd#panw_LongTermInvestmentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_9700b29f-dca2-48db-9c5b-94c600cd4091" xlink:to="loc_panw_LongTermInvestmentsFairValueDisclosure_4ffc3ce2-43f3-4146-8751-136e7616b0ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_PrepaidExpensesandOtherCurrentAssetsFairValueDisclosure_8fcd6bbf-cf23-461b-915a-9bf4bdcb72ad" xlink:href="panw-20200731.xsd#panw_PrepaidExpensesandOtherCurrentAssetsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_9700b29f-dca2-48db-9c5b-94c600cd4091" xlink:to="loc_panw_PrepaidExpensesandOtherCurrentAssetsFairValueDisclosure_8fcd6bbf-cf23-461b-915a-9bf4bdcb72ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_ShortTermInvestmentsFairValueDisclosure_70ddee2f-f0de-4cd6-b618-4107b918fede" xlink:href="panw-20200731.xsd#panw_ShortTermInvestmentsFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_9700b29f-dca2-48db-9c5b-94c600cd4091" xlink:to="loc_panw_ShortTermInvestmentsFairValueDisclosure_70ddee2f-f0de-4cd6-b618-4107b918fede" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_55a79232-18fb-4a10-afa7-cee7d3b675bd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_9700b29f-dca2-48db-9c5b-94c600cd4091" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_55a79232-18fb-4a10-afa7-cee7d3b675bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_fb570179-cbe6-44ca-941f-9ef2b945afff" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_9700b29f-dca2-48db-9c5b-94c600cd4091" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_fb570179-cbe6-44ca-941f-9ef2b945afff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_6299eb53-820b-42ca-975c-84d46743fd15" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_9700b29f-dca2-48db-9c5b-94c600cd4091" xlink:to="loc_us-gaap_DerivativeAssets_6299eb53-820b-42ca-975c-84d46743fd15" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#CashEquivalentsandInvestmentsNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsTables" xlink:type="simple" xlink:href="panw-20200731.xsd#CashEquivalentsandInvestmentsTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsAvailableforSaleInvestmentsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#CashEquivalentsandInvestmentsAvailableforSaleInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsAvailableforSaleInvestmentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsAvailableforSaleInvestmentsContractualMaturitiesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#CashEquivalentsandInvestmentsAvailableforSaleInvestmentsContractualMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsAvailableforSaleInvestmentsContractualMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_31858fcd-5bb0-4e78-9167-7fb759b45a02" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_cce29b81-9e53-4128-ad23-a9323d0befcc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_31858fcd-5bb0-4e78-9167-7fb759b45a02" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_cce29b81-9e53-4128-ad23-a9323d0befcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_72bc20a0-b900-4010-8494-862f31b06fe1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_31858fcd-5bb0-4e78-9167-7fb759b45a02" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_72bc20a0-b900-4010-8494-862f31b06fe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_5315a126-a01d-4e42-abb9-629d36c57769" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_b1f7dcdd-d296-4466-976a-0174039856cb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_5315a126-a01d-4e42-abb9-629d36c57769" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_b1f7dcdd-d296-4466-976a-0174039856cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_035c6681-1ee3-4807-a9e7-9484524ad988" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_5315a126-a01d-4e42-abb9-629d36c57769" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_035c6681-1ee3-4807-a9e7-9484524ad988" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsMarketableEquitySecuritiesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#CashEquivalentsandInvestmentsMarketableEquitySecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CashEquivalentsandInvestmentsMarketableEquitySecuritiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DerivativeInstrumentsNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#DerivativeInstrumentsNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DerivativeInstrumentsNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DerivativeInstrumentsTables" xlink:type="simple" xlink:href="panw-20200731.xsd#DerivativeInstrumentsTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DerivativeInstrumentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DerivativeInstrumentsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DerivativeInstrumentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/AcquisitionsNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#AcquisitionsNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/AcquisitionsNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/AcquisitionsTables" xlink:type="simple" xlink:href="panw-20200731.xsd#AcquisitionsTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/AcquisitionsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/AcquisitionsConsiderationTransferredDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#AcquisitionsConsiderationTransferredDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/AcquisitionsConsiderationTransferredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_611d50a2-6980-4e7d-8972-0b77b313991c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_bf158417-01be-49df-b073-836bd0f2b333" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_611d50a2-6980-4e7d-8972-0b77b313991c" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_bf158417-01be-49df-b073-836bd0f2b333" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_1b780092-c331-4918-b35a-49b9212e01fd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_611d50a2-6980-4e7d-8972-0b77b313991c" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_1b780092-c331-4918-b35a-49b9212e01fd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/AcquisitionsPurchasePriceAllocationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#AcquisitionsPurchasePriceAllocationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/AcquisitionsPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3a33acdd-31f7-41b6-9f9d-645de8cd8413" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_31016017-c507-4807-bc6d-3651187be37f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3a33acdd-31f7-41b6-9f9d-645de8cd8413" xlink:to="loc_us-gaap_Goodwill_31016017-c507-4807-bc6d-3651187be37f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_d902691f-671e-4977-889e-d16d86a31b7b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3a33acdd-31f7-41b6-9f9d-645de8cd8413" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_d902691f-671e-4977-889e-d16d86a31b7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_83223b1f-b519-49b4-a8f9-039ad7e558b6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3a33acdd-31f7-41b6-9f9d-645de8cd8413" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_83223b1f-b519-49b4-a8f9-039ad7e558b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNetAssetsAcquired_025bca91-b58a-49fe-a8ac-286ca50cb6ed" xlink:href="panw-20200731.xsd#panw_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNetAssetsAcquired"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3a33acdd-31f7-41b6-9f9d-645de8cd8413" xlink:to="loc_panw_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNetAssetsAcquired_025bca91-b58a-49fe-a8ac-286ca50cb6ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNetLiabilitiesAssumed_ffee512d-5714-4d04-b5d7-8c7d145695bf" xlink:href="panw-20200731.xsd#panw_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNetLiabilitiesAssumed"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3a33acdd-31f7-41b6-9f9d-645de8cd8413" xlink:to="loc_panw_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNetLiabilitiesAssumed_ffee512d-5714-4d04-b5d7-8c7d145695bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/AcquisitionsIntangibleassetsacquiredaspartofbusinesscombinationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#AcquisitionsIntangibleassetsacquiredaspartofbusinesscombinationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/AcquisitionsIntangibleassetsacquiredaspartofbusinesscombinationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/AcquisitionsSupplementaryInformationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#AcquisitionsSupplementaryInformationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/AcquisitionsSupplementaryInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#GoodwillandIntangibleAssetsNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsTables" xlink:type="simple" xlink:href="panw-20200731.xsd#GoodwillandIntangibleAssetsTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsGoodwillDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#GoodwillandIntangibleAssetsGoodwillDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsGoodwillDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsPurchasedIntangibleAssetsbyMajorClassDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#GoodwillandIntangibleAssetsPurchasedIntangibleAssetsbyMajorClassDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsPurchasedIntangibleAssetsbyMajorClassDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_61f8da2c-b7c0-46c9-a81f-871d643d98c3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_57f05a7c-1b02-4c10-98dd-6855f60a6731" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_61f8da2c-b7c0-46c9-a81f-871d643d98c3" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_57f05a7c-1b02-4c10-98dd-6855f60a6731" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_4aff53d5-ea90-4d29-ad40-37c5ee0930c1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_61f8da2c-b7c0-46c9-a81f-871d643d98c3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_4aff53d5-ea90-4d29-ad40-37c5ee0930c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a295dabe-5d4c-4460-9a4c-a5b835ee2c2d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_d1464aeb-ba41-440e-aab6-12207a852fd3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a295dabe-5d4c-4460-9a4c-a5b835ee2c2d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_d1464aeb-ba41-440e-aab6-12207a852fd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_0c74a342-1d92-48e4-bd82-b5b592de28f5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a295dabe-5d4c-4460-9a4c-a5b835ee2c2d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_0c74a342-1d92-48e4-bd82-b5b592de28f5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsAmortizationExpenseDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#GoodwillandIntangibleAssetsAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsAmortizationExpenseDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsFutureAmortizationExpenseofIntangibleAssetsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#GoodwillandIntangibleAssetsFutureAmortizationExpenseofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/GoodwillandIntangibleAssetsFutureAmortizationExpenseofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e3aee825-7e5c-4722-a77c-22c0ba83acd8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_249a2d63-5b95-4c76-9920-c2ee7916952b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e3aee825-7e5c-4722-a77c-22c0ba83acd8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_249a2d63-5b95-4c76-9920-c2ee7916952b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7f2aa3c4-8b07-497e-8985-da059116d8f0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e3aee825-7e5c-4722-a77c-22c0ba83acd8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7f2aa3c4-8b07-497e-8985-da059116d8f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_d62cd3c9-7878-4963-a096-3c9919d66cc7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e3aee825-7e5c-4722-a77c-22c0ba83acd8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_d62cd3c9-7878-4963-a096-3c9919d66cc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_958d3599-c459-4902-acee-f2bce44e758f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e3aee825-7e5c-4722-a77c-22c0ba83acd8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_958d3599-c459-4902-acee-f2bce44e758f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_a579d533-dccc-4f58-afa3-99e086ba6380" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e3aee825-7e5c-4722-a77c-22c0ba83acd8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_a579d533-dccc-4f58-afa3-99e086ba6380" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_e8e12cf8-a379-4fb4-a7df-a9fe5a1cc4f5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e3aee825-7e5c-4722-a77c-22c0ba83acd8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_e8e12cf8-a379-4fb4-a7df-a9fe5a1cc4f5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DeferredContractCostsNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#DeferredContractCostsNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DeferredContractCostsNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DeferredContractCostsTables" xlink:type="simple" xlink:href="panw-20200731.xsd#DeferredContractCostsTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DeferredContractCostsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DeferredContractCostsDeferredContractCostsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DeferredContractCostsDeferredContractCostsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DeferredContractCostsDeferredContractCostsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/PropertyandEquipmentNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#PropertyandEquipmentNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/PropertyandEquipmentNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/PropertyandEquipmentTables" xlink:type="simple" xlink:href="panw-20200731.xsd#PropertyandEquipmentTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/PropertyandEquipmentTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/PropertyandEquipmentPropertyandEquipmentbyTypeDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#PropertyandEquipmentPropertyandEquipmentbyTypeDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/PropertyandEquipmentPropertyandEquipmentbyTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f0dcff4e-f9be-4913-aa6d-1580157b65d6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_3d35da24-3101-42b8-96e5-052bf07d31fc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f0dcff4e-f9be-4913-aa6d-1580157b65d6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_3d35da24-3101-42b8-96e5-052bf07d31fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_dc2c3b62-f069-42d1-884a-c13acb8ccf54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f0dcff4e-f9be-4913-aa6d-1580157b65d6" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_dc2c3b62-f069-42d1-884a-c13acb8ccf54" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/PropertyandEquipmentDepreciationExpenseDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#PropertyandEquipmentDepreciationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/PropertyandEquipmentDepreciationExpenseDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtTables" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtAdditionalInformationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/Debt2019NotesConversionsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#Debt2019NotesConversionsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/Debt2019NotesConversionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_4fe9ad8d-5431-4f74-9b1e-1a9ac888579e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_RepaymentsofConvertibleDebtDebtLiabilityComponent_f22a9e45-21d2-4bcf-b7b6-0f8c0d3efcee" xlink:href="panw-20200731.xsd#panw_RepaymentsofConvertibleDebtDebtLiabilityComponent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RepaymentsOfConvertibleDebt_4fe9ad8d-5431-4f74-9b1e-1a9ac888579e" xlink:to="loc_panw_RepaymentsofConvertibleDebtDebtLiabilityComponent_f22a9e45-21d2-4bcf-b7b6-0f8c0d3efcee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_RepaymentsofConvertibleDebtDebtEquityComponent_bd851154-20df-4b17-a04f-97d7d053829d" xlink:href="panw-20200731.xsd#panw_RepaymentsofConvertibleDebtDebtEquityComponent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RepaymentsOfConvertibleDebt_4fe9ad8d-5431-4f74-9b1e-1a9ac888579e" xlink:to="loc_panw_RepaymentsofConvertibleDebtDebtEquityComponent_bd851154-20df-4b17-a04f-97d7d053829d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtComponentsofConvertibleSeniorNotesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtComponentsofConvertibleSeniorNotesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtComponentsofConvertibleSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_c8f2d935-b68e-4851-9bda-0eb73ce08ef2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_c05c2622-43d9-4bc6-ab47-a92f92e4f2c5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_c8f2d935-b68e-4851-9bda-0eb73ce08ef2" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_c05c2622-43d9-4bc6-ab47-a92f92e4f2c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_06553881-48a7-4682-b514-458a22752338" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_c8f2d935-b68e-4851-9bda-0eb73ce08ef2" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_06553881-48a7-4682-b514-458a22752338" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtScheduleofInterestExpenseRecognizedDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtScheduleofInterestExpenseRecognizedDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtScheduleofInterestExpenseRecognizedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_3bb2f44e-fbb6-43dc-a9c1-ef9b4555872e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpenseDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_e5fa2f47-f77f-4582-be89-a9f9e3defbae" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_3bb2f44e-fbb6-43dc-a9c1-ef9b4555872e" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_e5fa2f47-f77f-4582-be89-a9f9e3defbae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_ad264b87-d614-4ed8-b5ee-55b9fff3be88" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_3bb2f44e-fbb6-43dc-a9c1-ef9b4555872e" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_ad264b87-d614-4ed8-b5ee-55b9fff3be88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_e1ac4417-0b2e-442e-8c97-15db8514ad43" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_3bb2f44e-fbb6-43dc-a9c1-ef9b4555872e" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_e1ac4417-0b2e-442e-8c97-15db8514ad43" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtNoteHedgesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtNoteHedgesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtNoteHedgesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtWarrantsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtWarrantsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtWarrantsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/DebtRevolvingCreditFacilityDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#DebtRevolvingCreditFacilityDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/DebtRevolvingCreditFacilityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/LeasesNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#LeasesNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/LeasesNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/LeasesTables" xlink:type="simple" xlink:href="panw-20200731.xsd#LeasesTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/LeasesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/LeasesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#LeasesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/LeasesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/LeasesAdditionalInformationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#LeasesAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/LeasesAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/LeasesMaturitiesofOperatingLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#LeasesMaturitiesofOperatingLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/LeasesMaturitiesofOperatingLeaseLiabilitiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#CommitmentsandContingenciesNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesTables" xlink:type="simple" xlink:href="panw-20200731.xsd#CommitmentsandContingenciesTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesManufacturingPurchaseCommitmentsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#CommitmentsandContingenciesManufacturingPurchaseCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesManufacturingPurchaseCommitmentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesOtherPurchaseCommitmentsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#CommitmentsandContingenciesOtherPurchaseCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/CommitmentsandContingenciesOtherPurchaseCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_f7de8b46-b2d1-432f-bf1f-935647220970" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_767803ea-6378-4478-8f2b-c6f4e59fb2af" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_f7de8b46-b2d1-432f-bf1f-935647220970" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_767803ea-6378-4478-8f2b-c6f4e59fb2af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary_801e9000-a01a-4ea1-8b32-bf7bca280b06" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_f7de8b46-b2d1-432f-bf1f-935647220970" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary_801e9000-a01a-4ea1-8b32-bf7bca280b06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary_7d49f686-303b-4fd0-a444-8187e3776f4c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_f7de8b46-b2d1-432f-bf1f-935647220970" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary_7d49f686-303b-4fd0-a444-8187e3776f4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary_8da7f6dd-453d-42b7-9882-fee075cea915" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_f7de8b46-b2d1-432f-bf1f-935647220970" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary_8da7f6dd-453d-42b7-9882-fee075cea915" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary_f97e8c9f-3a00-4849-b15c-aeda59fe72b3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_f7de8b46-b2d1-432f-bf1f-935647220970" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary_f97e8c9f-3a00-4849-b15c-aeda59fe72b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears_3947f435-d91c-4ab6-9826-35a6cb02c083" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_f7de8b46-b2d1-432f-bf1f-935647220970" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears_3947f435-d91c-4ab6-9826-35a6cb02c083" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/StockholdersEquityNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#StockholdersEquityNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/StockholdersEquityNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/StockholdersEquityTables" xlink:type="simple" xlink:href="panw-20200731.xsd#StockholdersEquityTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/StockholdersEquityTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/StockholdersEquityStockholdersEquityDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#StockholdersEquityStockholdersEquityDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/StockholdersEquityStockholdersEquityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansTables" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansShareBasedCompensationPlansDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansShareBasedCompensationPlansDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansShareBasedCompensationPlansDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansAcquisitionrelatedActivitiesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansAcquisitionrelatedActivitiesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansAcquisitionrelatedActivitiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansStockOptionsActivityDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansStockOptionsActivityDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansStockOptionsActivityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansRSAandPSAActivitiesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansRSAandPSAActivitiesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansRSAandPSAActivitiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansRSUandPSUActivitiesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansRSUandPSUActivitiesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansRSUandPSUActivitiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansSharesAvailableforGrantRollforwardDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansSharesAvailableforGrantRollforwardDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansSharesAvailableforGrantRollforwardDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansFairValueAssumptionsandGrantDateFairValuesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansFairValueAssumptionsandGrantDateFairValuesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansFairValueAssumptionsandGrantDateFairValuesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansAllocationofShareBasedCompensationExpenseByFunctionalAreaDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansAllocationofShareBasedCompensationExpenseByFunctionalAreaDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansAllocationofShareBasedCompensationExpenseByFunctionalAreaDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EquityAwardPlansAllocationofSharebasedCompensationAdditionalInformationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EquityAwardPlansAllocationofSharebasedCompensationAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EquityAwardPlansAllocationofSharebasedCompensationAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesIncomeLossBeforeIncomeTaxesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesIncomeLossBeforeIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesIncomeLossBeforeIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7bfd0c9c-30e3-4865-b9d3-47ad26b53882" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_14184679-e261-40e7-8c0f-33b0efde5bd4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7bfd0c9c-30e3-4865-b9d3-47ad26b53882" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_14184679-e261-40e7-8c0f-33b0efde5bd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_b4470c76-2f97-4c96-9c95-07884f2a4fd7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7bfd0c9c-30e3-4865-b9d3-47ad26b53882" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_b4470c76-2f97-4c96-9c95-07884f2a4fd7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesScheduleofComponentsofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_0c622bc7-d7ad-422c-96df-caa8bb46a589" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_c1aed534-a733-4375-83d2-60b9c20bd874" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c622bc7-d7ad-422c-96df-caa8bb46a589" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_c1aed534-a733-4375-83d2-60b9c20bd874" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_eb767b31-e866-4058-af4d-093656263d24" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c622bc7-d7ad-422c-96df-caa8bb46a589" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_eb767b31-e866-4058-af4d-093656263d24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_07058d2d-62dc-4492-a1a4-5df82a716b40" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c622bc7-d7ad-422c-96df-caa8bb46a589" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_07058d2d-62dc-4492-a1a4-5df82a716b40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_7254a985-8905-4fdf-8d20-81c69b390293" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c622bc7-d7ad-422c-96df-caa8bb46a589" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_7254a985-8905-4fdf-8d20-81c69b390293" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_08dc527d-823a-444a-a7f0-a05fe9044915" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c622bc7-d7ad-422c-96df-caa8bb46a589" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_08dc527d-823a-444a-a7f0-a05fe9044915" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_3b5cc111-e48c-4d9a-8db3-528f03db052d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c622bc7-d7ad-422c-96df-caa8bb46a589" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_3b5cc111-e48c-4d9a-8db3-528f03db052d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesEffectiveTaxRateReconciliationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesEffectiveTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesEffectiveTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_114d6b09-9256-4e47-82ba-12d4ff31835e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_114d6b09-9256-4e47-82ba-12d4ff31835e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_16c484ad-687d-4b0a-ac49-39b387330936" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_16c484ad-687d-4b0a-ac49-39b387330936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_7210dd47-50e5-41e5-9c36-6962c96a944c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_7210dd47-50e5-41e5-9c36-6962c96a944c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_595faeaa-a795-41fb-acfa-e78edec31986" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_595faeaa-a795-41fb-acfa-e78edec31986" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_3452bdfd-a8a0-46f1-9c9b-3fa5528e3c80" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_3452bdfd-a8a0-46f1-9c9b-3fa5528e3c80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_9d4821e9-8263-4198-b13a-2efaa93c339d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_9d4821e9-8263-4198-b13a-2efaa93c339d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAmortization_851c07e1-f1d7-4ded-b9b0-9d4b495ad5df" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAmortization"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAmortization_851c07e1-f1d7-4ded-b9b0-9d4b495ad5df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_ec45beb0-ddce-4d34-8458-b8ee9f1d14dd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_ec45beb0-ddce-4d34-8458-b8ee9f1d14dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_a7db1923-7d69-4438-b658-27089a659c10" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_a7db1923-7d69-4438-b658-27089a659c10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_1f7c02da-6db2-4691-ac12-14acd19097fc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cbe8a14b-98dd-4cde-9720-a248715a0ad9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_1f7c02da-6db2-4691-ac12-14acd19097fc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesComponentsoftheDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesComponentsoftheDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesComponentsoftheDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_f026b406-2f8d-4c63-a123-8eacbcafb830" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_584e222c-f50f-4496-beb2-590ae24ddb2c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_f026b406-2f8d-4c63-a123-8eacbcafb830" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_584e222c-f50f-4496-beb2-590ae24ddb2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_97db38d3-1570-46b0-9c0f-0fc8def1ef4d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsDeferredIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_f026b406-2f8d-4c63-a123-8eacbcafb830" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_97db38d3-1570-46b0-9c0f-0fc8def1ef4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_20404bd5-0d78-44dd-8136-768d36c3ca91" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_f026b406-2f8d-4c63-a123-8eacbcafb830" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_20404bd5-0d78-44dd-8136-768d36c3ca91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_bb2f8553-8f5a-4585-9a3c-ef3b20fd310e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_f026b406-2f8d-4c63-a123-8eacbcafb830" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_bb2f8553-8f5a-4585-9a3c-ef3b20fd310e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_557403de-d77d-4787-9f44-ca19f1303271" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_f026b406-2f8d-4c63-a123-8eacbcafb830" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_557403de-d77d-4787-9f44-ca19f1303271" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_DeferredTaxAssetsFixedAssetsAndIntangibleAssets_9cf2709c-38d3-48f8-b7d2-ba6d8c6bbcd2" xlink:href="panw-20200731.xsd#panw_DeferredTaxAssetsFixedAssetsAndIntangibleAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_f026b406-2f8d-4c63-a123-8eacbcafb830" xlink:to="loc_panw_DeferredTaxAssetsFixedAssetsAndIntangibleAssets_9cf2709c-38d3-48f8-b7d2-ba6d8c6bbcd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b8b96669-1106-4b1f-9e1c-2a5b4e6e7286" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_f3903053-fc31-4d4c-a767-f66938df6410" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b8b96669-1106-4b1f-9e1c-2a5b4e6e7286" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_f3903053-fc31-4d4c-a767-f66938df6410" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_996373cf-b4a2-4427-9aa0-7144d0c54bc2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b8b96669-1106-4b1f-9e1c-2a5b4e6e7286" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_996373cf-b4a2-4427-9aa0-7144d0c54bc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_dd76c6b3-2de7-4f33-803d-b468715fa3aa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_panw_DeferredTaxLiabilitiesPropertyPlantandEquipmentandIntangibleAssets_43b83528-7661-4e39-a3fb-f133c47015d7" xlink:href="panw-20200731.xsd#panw_DeferredTaxLiabilitiesPropertyPlantandEquipmentandIntangibleAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_dd76c6b3-2de7-4f33-803d-b468715fa3aa" xlink:to="loc_panw_DeferredTaxLiabilitiesPropertyPlantandEquipmentandIntangibleAssets_43b83528-7661-4e39-a3fb-f133c47015d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpense_fa3a827d-54a0-4ebb-afa6-e478bccb8423" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_dd76c6b3-2de7-4f33-803d-b468715fa3aa" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpense_fa3a827d-54a0-4ebb-afa6-e478bccb8423" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_b15706e8-1f41-4e09-837f-521a75ffcf2f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_dd76c6b3-2de7-4f33-803d-b468715fa3aa" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_b15706e8-1f41-4e09-837f-521a75ffcf2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_a8c5583e-5d08-4097-97a5-388778bb6e51" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_5983f025-2b7d-4f39-92e2-81d9a1453782" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_a8c5583e-5d08-4097-97a5-388778bb6e51" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_5983f025-2b7d-4f39-92e2-81d9a1453782" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_9481780e-c30d-4931-bbe6-5db77ebc7aab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_a8c5583e-5d08-4097-97a5-388778bb6e51" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_9481780e-c30d-4931-bbe6-5db77ebc7aab" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesNetOperatingLossCarryforwardDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesNetOperatingLossCarryforwardDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesNetOperatingLossCarryforwardDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesTaxCreditCarryforwardsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesTaxCreditCarryforwardsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesTaxCreditCarryforwardsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/IncomeTaxesUnrecognizedTaxBenefitRollForwardDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#IncomeTaxesUnrecognizedTaxBenefitRollForwardDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/IncomeTaxesUnrecognizedTaxBenefitRollForwardDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/NetLossPerShareNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#NetLossPerShareNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/NetLossPerShareNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/NetLossPerShareTables" xlink:type="simple" xlink:href="panw-20200731.xsd#NetLossPerShareTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/NetLossPerShareTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/NetLossPerShareComputationofBasicandDilutedNetLossPerShareDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#NetLossPerShareComputationofBasicandDilutedNetLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/NetLossPerShareComputationofBasicandDilutedNetLossPerShareDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromComputationDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromComputationDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromComputationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/OtherIncomeNetNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#OtherIncomeNetNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/OtherIncomeNetNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/OtherIncomeNetTables" xlink:type="simple" xlink:href="panw-20200731.xsd#OtherIncomeNetTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/OtherIncomeNetTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/OtherIncomeNetDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#OtherIncomeNetDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/OtherIncomeNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_0d16259d-46b4-4479-9a7c-df1893e0463c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOther_8df42e65-d647-454c-afcf-60502b61ee99" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestIncomeOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0d16259d-46b4-4479-9a7c-df1893e0463c" xlink:to="loc_us-gaap_InterestIncomeOther_8df42e65-d647-454c-afcf-60502b61ee99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_114a8907-ff2a-4717-a296-5a6afdfba6a0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0d16259d-46b4-4479-9a7c-df1893e0463c" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_114a8907-ff2a-4717-a296-5a6afdfba6a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingExpense_6f44f69d-9a6e-4c8b-81e8-9ecb226a6336" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0d16259d-46b4-4479-9a7c-df1893e0463c" xlink:to="loc_us-gaap_OtherNonoperatingExpense_6f44f69d-9a6e-4c8b-81e8-9ecb226a6336" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncome_2903dba7-4448-4163-82bf-07252ec8b539" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0d16259d-46b4-4479-9a7c-df1893e0463c" xlink:to="loc_us-gaap_OtherNonoperatingIncome_2903dba7-4448-4163-82bf-07252ec8b539" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EmployeeBenefitPlanNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#EmployeeBenefitPlanNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EmployeeBenefitPlanNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EmployeeBenefitPlanTables" xlink:type="simple" xlink:href="panw-20200731.xsd#EmployeeBenefitPlanTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EmployeeBenefitPlanTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/EmployeeBenefitPlanDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#EmployeeBenefitPlanDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/EmployeeBenefitPlanDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SegmentInformationNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#SegmentInformationNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SegmentInformationNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SegmentInformationTables" xlink:type="simple" xlink:href="panw-20200731.xsd#SegmentInformationTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SegmentInformationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SegmentInformationSegmentsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#SegmentInformationSegmentsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SegmentInformationSegmentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SegmentInformationLonglivedAssetsbyGeographicTheaterDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#SegmentInformationLonglivedAssetsbyGeographicTheaterDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SegmentInformationLonglivedAssetsbyGeographicTheaterDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SelectedQuarterlyFinancialDataUnauditedNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#SelectedQuarterlyFinancialDataUnauditedNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SelectedQuarterlyFinancialDataUnauditedNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SelectedQuarterlyFinancialDataUnauditedTables" xlink:type="simple" xlink:href="panw-20200731.xsd#SelectedQuarterlyFinancialDataUnauditedTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SelectedQuarterlyFinancialDataUnauditedTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SelectedQuarterlyFinancialDataUnauditedDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#SelectedQuarterlyFinancialDataUnauditedDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SelectedQuarterlyFinancialDataUnauditedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3c20e3b4-9ff4-46bb-b87f-864cf22a514a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_32a1d891-5923-4bf8-ab14-8f116d675b3a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3c20e3b4-9ff4-46bb-b87f-864cf22a514a" xlink:to="loc_us-gaap_OperatingIncomeLoss_32a1d891-5923-4bf8-ab14-8f116d675b3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_788b98f9-a34c-486e-8c09-0c3970f856f1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3c20e3b4-9ff4-46bb-b87f-864cf22a514a" xlink:to="loc_us-gaap_InterestExpense_788b98f9-a34c-486e-8c09-0c3970f856f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_2c00082f-68d3-4975-b188-36127815d6ce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3c20e3b4-9ff4-46bb-b87f-864cf22a514a" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_2c00082f-68d3-4975-b188-36127815d6ce" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RelatedPartyTransactionsNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#RelatedPartyTransactionsNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RelatedPartyTransactionsNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RelatedPartyTransactionsTables" xlink:type="simple" xlink:href="panw-20200731.xsd#RelatedPartyTransactionsTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RelatedPartyTransactionsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/RelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#RelatedPartyTransactionsDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/RelatedPartyTransactionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SubsequentEventNotes" xlink:type="simple" xlink:href="panw-20200731.xsd#SubsequentEventNotes"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SubsequentEventNotes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SubsequentEventTables" xlink:type="simple" xlink:href="panw-20200731.xsd#SubsequentEventTables"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SubsequentEventTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.paloaltonetworks.com/role/SubsequentEventDetails" xlink:type="simple" xlink:href="panw-20200731.xsd#SubsequentEventDetails"/>
  <link:calculationLink xlink:role="http://www.paloaltonetworks.com/role/SubsequentEventDetails" xlink:type="extended"/>
</link:linkbase>
