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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:fe5b5791-4807-4844-9246-a003329d9871,g:408a427b-fb76-405a-8369-9e4f1610c551-->
<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.guidewire.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="gwre-20230131.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_5bdd95a6-765c-42e0-b715-53ceaf48b5e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_300a8924-161d-4bd5-bf1d-8ef2769b5e4d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5bdd95a6-765c-42e0-b715-53ceaf48b5e5" xlink:to="loc_us-gaap_Liabilities_300a8924-161d-4bd5-bf1d-8ef2769b5e4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e351c769-5aae-4bc2-9c97-947a71a9dc81" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5bdd95a6-765c-42e0-b715-53ceaf48b5e5" xlink:to="loc_us-gaap_StockholdersEquity_e351c769-5aae-4bc2-9c97-947a71a9dc81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d5bd814d-219d-43ef-b6f2-6b14fb735ba6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_73e89d01-e7b4-4ce3-baf8-5cf51a9acee0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d5bd814d-219d-43ef-b6f2-6b14fb735ba6" xlink:to="loc_us-gaap_ShortTermInvestments_73e89d01-e7b4-4ce3-baf8-5cf51a9acee0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_a3ab6a80-fc40-4d90-ba08-2f54f7b9a2a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d5bd814d-219d-43ef-b6f2-6b14fb735ba6" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_a3ab6a80-fc40-4d90-ba08-2f54f7b9a2a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_5bc3e6ea-6e7a-4bc6-979e-4cfb790cd2d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d5bd814d-219d-43ef-b6f2-6b14fb735ba6" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_5bc3e6ea-6e7a-4bc6-979e-4cfb790cd2d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_929ff38a-f748-4daf-a1bc-f47fba4b127f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d5bd814d-219d-43ef-b6f2-6b14fb735ba6" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_929ff38a-f748-4daf-a1bc-f47fba4b127f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_717ae4d4-c1ab-4593-b6f4-18d64cdb27d3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d5bd814d-219d-43ef-b6f2-6b14fb735ba6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_717ae4d4-c1ab-4593-b6f4-18d64cdb27d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_192f69bc-e226-4f91-bc13-562b59c96d94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_9de7d427-483a-4a93-8fd9-5158baab4d35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_192f69bc-e226-4f91-bc13-562b59c96d94" xlink:to="loc_us-gaap_CommonStockValue_9de7d427-483a-4a93-8fd9-5158baab4d35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_6bfd381a-fdae-4844-ad38-e11650f56e20" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_192f69bc-e226-4f91-bc13-562b59c96d94" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_6bfd381a-fdae-4844-ad38-e11650f56e20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f04de07d-6eec-41b6-b3e8-2e8faf973d45" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_192f69bc-e226-4f91-bc13-562b59c96d94" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f04de07d-6eec-41b6-b3e8-2e8faf973d45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_49c85dd1-d12e-485b-b073-ced8bb8ecee6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_192f69bc-e226-4f91-bc13-562b59c96d94" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_49c85dd1-d12e-485b-b073-ced8bb8ecee6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_8e35d2e4-2648-4667-b3f8-6130c246d6f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_AssetsCurrent_8e35d2e4-2648-4667-b3f8-6130c246d6f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_ab8070b6-4d1e-4b48-8298-172ef198785e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_LongTermInvestments_ab8070b6-4d1e-4b48-8298-172ef198785e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_2b2987d1-834c-4130-bd9c-cebe2c907730" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_2b2987d1-834c-4130-bd9c-cebe2c907730" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetNoncurrent_f2407d6e-7b0c-43b5-86ac-9071b1e79df1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerAssetNetNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetNoncurrent_f2407d6e-7b0c-43b5-86ac-9071b1e79df1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_308a4c20-1527-4ca7-b011-edad096db819" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_308a4c20-1527-4ca7-b011-edad096db819" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_a425faea-c1ab-460d-990a-142c1f578d17" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_Goodwill_a425faea-c1ab-460d-990a-142c1f578d17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_b49ab830-f82a-4864-b1e7-c2e5d043b4b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_b49ab830-f82a-4864-b1e7-c2e5d043b4b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_cfb3cd17-e1a1-414c-bc87-3c87a16648fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_cfb3cd17-e1a1-414c-bc87-3c87a16648fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_1cfd35f4-9b04-43ef-9d96-45f99984695a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c35f15f-2515-4212-adbd-820943c34e8e" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_1cfd35f4-9b04-43ef-9d96-45f99984695a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_44df0def-4cec-469f-9e14-2f1c562deed0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_a2dededf-6dca-4179-bfe3-6776f0313f8f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_44df0def-4cec-469f-9e14-2f1c562deed0" xlink:to="loc_us-gaap_AccountsPayableCurrent_a2dededf-6dca-4179-bfe3-6776f0313f8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_92430bc9-c0de-4c8c-bfce-d9a143dd17ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_44df0def-4cec-469f-9e14-2f1c562deed0" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_92430bc9-c0de-4c8c-bfce-d9a143dd17ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_177afb8d-6578-4cca-b955-9b35ace9dc40" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_44df0def-4cec-469f-9e14-2f1c562deed0" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_177afb8d-6578-4cca-b955-9b35ace9dc40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1e926dea-3c72-43b3-8265-e158b8db199d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_44df0def-4cec-469f-9e14-2f1c562deed0" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1e926dea-3c72-43b3-8265-e158b8db199d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_069e5dbe-85cb-4411-8562-e8d3cd4bf423" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_0c9152ad-44c6-4ae1-82b3-f8174eaa859a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_Liabilities_069e5dbe-85cb-4411-8562-e8d3cd4bf423" xlink:to="loc_us-gaap_LiabilitiesCurrent_0c9152ad-44c6-4ae1-82b3-f8174eaa859a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_912a58c1-a4ef-4100-a594-552b178c3682" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_069e5dbe-85cb-4411-8562-e8d3cd4bf423" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_912a58c1-a4ef-4100-a594-552b178c3682" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_83c43650-39e3-4d5f-9cf6-538b94cd05d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_069e5dbe-85cb-4411-8562-e8d3cd4bf423" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_83c43650-39e3-4d5f-9cf6-538b94cd05d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_f942cdf3-3a8d-4136-b085-4ced904f6b31" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SeniorNotes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_069e5dbe-85cb-4411-8562-e8d3cd4bf423" xlink:to="loc_us-gaap_SeniorNotes_f942cdf3-3a8d-4136-b085-4ced904f6b31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b738d2b9-19c8-4a59-b4d0-e2fea85ca8de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_069e5dbe-85cb-4411-8562-e8d3cd4bf423" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b738d2b9-19c8-4a59-b4d0-e2fea85ca8de" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="gwre-20230131.xsd#CondensedConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_99aa8e78-4363-41a7-ac86-778456206c21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_82cdebad-b95f-4316-8349-b55b41997ede" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_ProfitLoss_99aa8e78-4363-41a7-ac86-778456206c21" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_82cdebad-b95f-4316-8349-b55b41997ede" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_dec2067a-ab0c-4c8a-8e74-cae677ea0fa2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_ProfitLoss_99aa8e78-4363-41a7-ac86-778456206c21" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_dec2067a-ab0c-4c8a-8e74-cae677ea0fa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_71d7bd60-41e4-4c4c-a5dc-743fb1065d20" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_dc3d7c4b-39b3-4066-be93-ed470a512d1a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_71d7bd60-41e4-4c4c-a5dc-743fb1065d20" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_dc3d7c4b-39b3-4066-be93-ed470a512d1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_5f072d91-8422-4f1a-8f32-353d29f9b691" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_71d7bd60-41e4-4c4c-a5dc-743fb1065d20" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_5f072d91-8422-4f1a-8f32-353d29f9b691" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_1e3a5af1-7300-4188-9c6f-87ecf6c41c4d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_3e4abb5a-3367-4c2e-b549-1529d8c22118" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_1e3a5af1-7300-4188-9c6f-87ecf6c41c4d" xlink:to="loc_us-gaap_OperatingExpenses_3e4abb5a-3367-4c2e-b549-1529d8c22118" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_096cf1be-6052-4a9c-91cf-8b04b0e898e4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_1e3a5af1-7300-4188-9c6f-87ecf6c41c4d" xlink:to="loc_us-gaap_GrossProfit_096cf1be-6052-4a9c-91cf-8b04b0e898e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9bb92909-2668-4e01-89b3-7b5714986d42" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_13416dd4-51d2-4ea3-80e6-d83a5ee2b3cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9bb92909-2668-4e01-89b3-7b5714986d42" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_13416dd4-51d2-4ea3-80e6-d83a5ee2b3cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_InterestIncomeNonoperatingNet_c1ce8242-ab5f-4d43-a28a-724c79a07c94" xlink:href="gwre-20230131.xsd#gwre_InterestIncomeNonoperatingNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9bb92909-2668-4e01-89b3-7b5714986d42" xlink:to="loc_gwre_InterestIncomeNonoperatingNet_c1ce8242-ab5f-4d43-a28a-724c79a07c94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_32c9a102-c30d-46b5-9806-effce1680fd6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9bb92909-2668-4e01-89b3-7b5714986d42" xlink:to="loc_us-gaap_OperatingIncomeLoss_32c9a102-c30d-46b5-9806-effce1680fd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_5ab23fb2-d963-4f82-80a7-27ceb6161a28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9bb92909-2668-4e01-89b3-7b5714986d42" xlink:to="loc_us-gaap_InterestExpense_5ab23fb2-d963-4f82-80a7-27ceb6161a28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_72c6465c-fc3c-46c1-a6f5-504c7fe81bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_d649d98a-4094-484d-9086-97cd49b2caa5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_72c6465c-fc3c-46c1-a6f5-504c7fe81bfd" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_d649d98a-4094-484d-9086-97cd49b2caa5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_270ccfa9-8a11-4550-bd2b-03253a85237c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_72c6465c-fc3c-46c1-a6f5-504c7fe81bfd" xlink:to="loc_us-gaap_SellingAndMarketingExpense_270ccfa9-8a11-4550-bd2b-03253a85237c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_65f4f5f0-f30f-45fe-baa8-ece3c5dc6985" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_72c6465c-fc3c-46c1-a6f5-504c7fe81bfd" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_65f4f5f0-f30f-45fe-baa8-ece3c5dc6985" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="gwre-20230131.xsd#CondensedConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_30a33ea4-07ef-4c34-ab22-3f7897dc5787" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_0b0ec9a9-dc31-4713-a18c-118ccbfa21a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_30a33ea4-07ef-4c34-ab22-3f7897dc5787" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_0b0ec9a9-dc31-4713-a18c-118ccbfa21a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_edb5728a-1af6-46c1-aee5-b29df7b24a50" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_30a33ea4-07ef-4c34-ab22-3f7897dc5787" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_edb5728a-1af6-46c1-aee5-b29df7b24a50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_b425f2ed-d51f-413b-aa31-898ddff36e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_30a33ea4-07ef-4c34-ab22-3f7897dc5787" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_b425f2ed-d51f-413b-aa31-898ddff36e9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_9d20cb01-7cfd-4bfa-8e6c-b159e59c08f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_30a33ea4-07ef-4c34-ab22-3f7897dc5787" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_9d20cb01-7cfd-4bfa-8e6c-b159e59c08f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_7ef42851-089e-49ed-ab03-b6220f5c48bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_0de7c1a4-b110-4457-9d1d-7afea25b3892" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_7ef42851-089e-49ed-ab03-b6220f5c48bc" xlink:to="loc_us-gaap_ProfitLoss_0de7c1a4-b110-4457-9d1d-7afea25b3892" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f626108d-325a-4843-8e09-531297c82e33" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_7ef42851-089e-49ed-ab03-b6220f5c48bc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f626108d-325a-4843-8e09-531297c82e33" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="gwre-20230131.xsd#CondensedConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dabb88c4-8c20-408d-a196-235483cf2ab6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d46074fd-bba6-476e-8346-fbcdce864f71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dabb88c4-8c20-408d-a196-235483cf2ab6" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d46074fd-bba6-476e-8346-fbcdce864f71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_c35592e6-870a-4ff4-b849-01c4062bb2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dabb88c4-8c20-408d-a196-235483cf2ab6" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_c35592e6-870a-4ff4-b849-01c4062bb2d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_1c9919cb-44bb-45bf-a553-996d5a28414f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_d106871a-465c-41f3-a257-3ef1431b7e19" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_1c9919cb-44bb-45bf-a553-996d5a28414f" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_d106871a-465c-41f3-a257-3ef1431b7e19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3ca3b82f-a9b8-473d-9f2e-e8d65da7cd11" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_1c9919cb-44bb-45bf-a553-996d5a28414f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3ca3b82f-a9b8-473d-9f2e-e8d65da7cd11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fd63e926-f44c-4a1e-8d00-e7b922e5b926" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_1c9919cb-44bb-45bf-a553-996d5a28414f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fd63e926-f44c-4a1e-8d00-e7b922e5b926" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa8e5515-5b92-4a00-9b5b-ffba69c073d3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_1c9919cb-44bb-45bf-a553-996d5a28414f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa8e5515-5b92-4a00-9b5b-ffba69c073d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_394d7ac8-e8de-4cfc-8070-b7601e1f78f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_394d7ac8-e8de-4cfc-8070-b7601e1f78f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3d4a38b6-2838-4b07-abac-d979ef96d70e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3d4a38b6-2838-4b07-abac-d979ef96d70e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_45c01e4e-00d2-4f5e-9dc4-14ba24405e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_45c01e4e-00d2-4f5e-9dc4-14ba24405e6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToDevelopSoftware_bd7169a6-cf80-4200-a8a9-a85224173a24" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToDevelopSoftware"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:to="loc_us-gaap_PaymentsToDevelopSoftware_bd7169a6-cf80-4200-a8a9-a85224173a24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_e571031b-1406-4311-a52b-f261f6a7cfb1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_e571031b-1406-4311-a52b-f261f6a7cfb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_65d1645c-8e96-40a7-9eaa-3e5b4b5908b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_65d1645c-8e96-40a7-9eaa-3e5b4b5908b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_8665722e-44a5-4a72-be47-a202259cbeb2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a2a380f2-2251-4eb8-bd61-cc4f7e8a581a" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_8665722e-44a5-4a72-be47-a202259cbeb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_76f35d11-f9e6-4803-a68d-620c428adf2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_76f35d11-f9e6-4803-a68d-620c428adf2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_IncreaseDecreaseInOperatingLeaseRightOfUseAsset_dbcc2778-4c62-49d9-9ee9-1d5a0cd14b12" xlink:href="gwre-20230131.xsd#gwre_IncreaseDecreaseInOperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_gwre_IncreaseDecreaseInOperatingLeaseRightOfUseAsset_dbcc2778-4c62-49d9-9ee9-1d5a0cd14b12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_570ceaf9-d4b9-46ce-9621-2df3b8d6af59" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_570ceaf9-d4b9-46ce-9621-2df3b8d6af59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_3195eda3-38c0-4cd0-8985-e9e080599602" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_3195eda3-38c0-4cd0-8985-e9e080599602" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_24554b32-96e1-4c8d-afe0-0f1e3dec9482" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_24554b32-96e1-4c8d-afe0-0f1e3dec9482" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_3541d386-0e50-4392-83b2-761c4b52a5fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_3541d386-0e50-4392-83b2-761c4b52a5fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_d68ff425-a734-4365-9652-102163710209" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_d68ff425-a734-4365-9652-102163710209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_eef1512f-c22e-48e4-9ff7-cd3375a0f033" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_eef1512f-c22e-48e4-9ff7-cd3375a0f033" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_0a72aef5-2836-4441-873a-83e97a6e10b6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_0a72aef5-2836-4441-873a-83e97a6e10b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_AccountsReceivableNetChangeToAllowanceForCreditLossesAndRevenueReserves_9c260ba3-0a5a-4e61-8684-a35dd438e198" xlink:href="gwre-20230131.xsd#gwre_AccountsReceivableNetChangeToAllowanceForCreditLossesAndRevenueReserves"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_gwre_AccountsReceivableNetChangeToAllowanceForCreditLossesAndRevenueReserves_9c260ba3-0a5a-4e61-8684-a35dd438e198" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_6d7a4c90-0a00-43b6-888d-65aa0371df1b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_ShareBasedCompensation_6d7a4c90-0a00-43b6-888d-65aa0371df1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_45a449e3-8632-4e62-b766-a30860b65ca4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerAsset"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_45a449e3-8632-4e62-b766-a30860b65ca4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_356410c2-fac3-4b4f-b55d-393d2619349d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_356410c2-fac3-4b4f-b55d-393d2619349d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_20619768-e49a-4be6-b53a-bf409bbb92d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_ProfitLoss_20619768-e49a-4be6-b53a-bf409bbb92d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_71c76865-ffa0-4e50-91b7-c9268eb00a72" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_DepreciationAndAmortization_71c76865-ffa0-4e50-91b7-c9268eb00a72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_eb17281c-3941-4a33-a8e8-92f1faa5a00c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_eb17281c-3941-4a33-a8e8-92f1faa5a00c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_081c6bb1-5ac6-44b4-bee0-aaaaf8104a2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_081c6bb1-5ac6-44b4-bee0-aaaaf8104a2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortization_830aa9af-0e05-4203-adc6-915f5563e3a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostAmortization"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f9b2c117-4f26-4727-b730-f9d94ebe300e" xlink:to="loc_us-gaap_CapitalizedContractCostAmortization_830aa9af-0e05-4203-adc6-915f5563e3a6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails1" xlink:type="simple" xlink:href="gwre-20230131.xsd#FairValueofFinancialInstrumentsDetails1"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7e7e70d8-cb22-41f8-a184-36d621ade15c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e02add6a-a1dc-4e37-bbe4-8b7a8a0f8aae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7e7e70d8-cb22-41f8-a184-36d621ade15c" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e02add6a-a1dc-4e37-bbe4-8b7a8a0f8aae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_62230ee0-3e87-49b5-95f5-13f1d624bc90" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7e7e70d8-cb22-41f8-a184-36d621ade15c" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_62230ee0-3e87-49b5-95f5-13f1d624bc90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_aba691ec-d038-46a9-864d-dd65a4ec60a9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7e7e70d8-cb22-41f8-a184-36d621ade15c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_aba691ec-d038-46a9-864d-dd65a4ec60a9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails2" xlink:type="simple" xlink:href="gwre-20230131.xsd#FairValueofFinancialInstrumentsDetails2"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails2" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_301e43a0-c82d-4940-b373-6f26a12d853f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateLessThan12Months_ec3db583-433d-456b-a2e3-43b172c13e29" xlink:href="gwre-20230131.xsd#gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_301e43a0-c82d-4940-b373-6f26a12d853f" xlink:to="loc_gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateLessThan12Months_ec3db583-433d-456b-a2e3-43b172c13e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateGreaterThan12Months_889bc4f9-07f4-49aa-899e-8b8fdc4fe3bf" xlink:href="gwre-20230131.xsd#gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateGreaterThan12Months"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_301e43a0-c82d-4940-b373-6f26a12d853f" xlink:to="loc_gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateGreaterThan12Months_889bc4f9-07f4-49aa-899e-8b8fdc4fe3bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails3" xlink:type="simple" xlink:href="gwre-20230131.xsd#FairValueofFinancialInstrumentsDetails3"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails3" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_gwre_CashCashEquivalentsAndDebtSecuritiesAvailableForSale_0bf76988-0537-4aa8-948f-b16be865132b" xlink:href="gwre-20230131.xsd#gwre_CashCashEquivalentsAndDebtSecuritiesAvailableForSale"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_c5a385d2-cea2-4508-837e-2b1e1ef3bddb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gwre_CashCashEquivalentsAndDebtSecuritiesAvailableForSale_0bf76988-0537-4aa8-948f-b16be865132b" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_c5a385d2-cea2-4508-837e-2b1e1ef3bddb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3e28ae8e-a2b7-4ff5-a89c-a3fd7a3d58b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gwre_CashCashEquivalentsAndDebtSecuritiesAvailableForSale_0bf76988-0537-4aa8-948f-b16be865132b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3e28ae8e-a2b7-4ff5-a89c-a3fd7a3d58b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_6c84925d-cdfa-41ad-a512-ec2579751dd8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gwre_CashCashEquivalentsAndDebtSecuritiesAvailableForSale_0bf76988-0537-4aa8-948f-b16be865132b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_6c84925d-cdfa-41ad-a512-ec2579751dd8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/ConvertibleSeniorNotesNetcarryingvalueoftheliabilitycomponentDetails" xlink:type="simple" xlink:href="gwre-20230131.xsd#ConvertibleSeniorNotesNetcarryingvalueoftheliabilitycomponentDetails"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/ConvertibleSeniorNotesNetcarryingvalueoftheliabilitycomponentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_a83dd37f-e898-4494-801c-46e0b2d3195e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_c45bd73e-b19b-48ef-8a9a-7e1d11de709e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a83dd37f-e898-4494-801c-46e0b2d3195e" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_c45bd73e-b19b-48ef-8a9a-7e1d11de709e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_6473b643-6e65-4556-a0ca-4f254424c945" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a83dd37f-e898-4494-801c-46e0b2d3195e" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_6473b643-6e65-4556-a0ca-4f254424c945" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_d5f9aae1-c66f-4663-a73a-b3a85b70b258" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a83dd37f-e898-4494-801c-46e0b2d3195e" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_d5f9aae1-c66f-4663-a73a-b3a85b70b258" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/ConvertibleSeniorNotesScheduleofinterestexpenserecognizedDetails" xlink:type="simple" xlink:href="gwre-20230131.xsd#ConvertibleSeniorNotesScheduleofinterestexpenserecognizedDetails"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/ConvertibleSeniorNotesScheduleofinterestexpenserecognizedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_gwre_AmortizationOfDebtIssuanceCostsAndDiscountsAndDebtInterestExpense_d9ad5945-1469-4680-999a-af40d387e60c" xlink:href="gwre-20230131.xsd#gwre_AmortizationOfDebtIssuanceCostsAndDiscountsAndDebtInterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_80053756-4399-4d9e-ba12-f1a7f8925373" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gwre_AmortizationOfDebtIssuanceCostsAndDiscountsAndDebtInterestExpense_d9ad5945-1469-4680-999a-af40d387e60c" xlink:to="loc_us-gaap_InterestExpense_80053756-4399-4d9e-ba12-f1a7f8925373" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_bd1b4373-828d-4321-b969-10f2667ea6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_gwre_AmortizationOfDebtIssuanceCostsAndDiscountsAndDebtInterestExpense_d9ad5945-1469-4680-999a-af40d387e60c" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_bd1b4373-828d-4321-b969-10f2667ea6ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_ee884c7f-3fb1-416c-bb4c-58ba9814a169" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_gwre_AmortizationOfDebtIssuanceCostsAndDiscountsAndDebtInterestExpense_d9ad5945-1469-4680-999a-af40d387e60c" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_ee884c7f-3fb1-416c-bb4c-58ba9814a169" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/StockBasedCompensationExpenseandShareholdersEquityDetails1" xlink:type="simple" xlink:href="gwre-20230131.xsd#StockBasedCompensationExpenseandShareholdersEquityDetails1"/>
  <link:calculationLink xlink:role="http://www.guidewire.com/role/StockBasedCompensationExpenseandShareholdersEquityDetails1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_0d33d56f-ef82-4e66-ac3a-34e66dadd64e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_a4d08041-33d7-43d9-af0a-c8e844e1c3f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_0d33d56f-ef82-4e66-ac3a-34e66dadd64e" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_a4d08041-33d7-43d9-af0a-c8e844e1c3f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_8e074f47-159e-48be-a528-cc8eb3531b42" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_0d33d56f-ef82-4e66-ac3a-34e66dadd64e" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_8e074f47-159e-48be-a528-cc8eb3531b42" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
