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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:524d4e07-74b1-4bf1-b650-7e009c385f8f,g:97cab791-4aee-4e6f-90cc-e54f9d631341-->
<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-20221031.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_LiabilitiesCurrent_15d62031-9317-40c3-83b3-41bfa205ec8a" 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_483dc295-5fcb-4387-a842-f2fa0138775e" 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_15d62031-9317-40c3-83b3-41bfa205ec8a" xlink:to="loc_us-gaap_AccountsPayableCurrent_483dc295-5fcb-4387-a842-f2fa0138775e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_aa89fd39-af61-454a-a1d9-60ada30fcbe1" 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_15d62031-9317-40c3-83b3-41bfa205ec8a" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_aa89fd39-af61-454a-a1d9-60ada30fcbe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_8134dd4d-67aa-4ab1-b761-58320fe20d2e" 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_15d62031-9317-40c3-83b3-41bfa205ec8a" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_8134dd4d-67aa-4ab1-b761-58320fe20d2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e849777e-f651-484c-ae4b-06e5640af397" 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_15d62031-9317-40c3-83b3-41bfa205ec8a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e849777e-f651-484c-ae4b-06e5640af397" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d42bf031-9b77-410a-b7bc-a26e608e27b1" 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_0109d8ce-eb96-41e1-a202-4df65e3c4f9d" 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_d42bf031-9b77-410a-b7bc-a26e608e27b1" xlink:to="loc_us-gaap_ShortTermInvestments_0109d8ce-eb96-41e1-a202-4df65e3c4f9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_45f596ee-9133-4838-b707-97a6617048ea" 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_d42bf031-9b77-410a-b7bc-a26e608e27b1" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_45f596ee-9133-4838-b707-97a6617048ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_a9da5a3b-f5e5-41b4-9d9f-647d93740a92" 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_d42bf031-9b77-410a-b7bc-a26e608e27b1" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_a9da5a3b-f5e5-41b4-9d9f-647d93740a92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_e36e9576-dd67-46d3-af31-348660664674" 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_d42bf031-9b77-410a-b7bc-a26e608e27b1" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_e36e9576-dd67-46d3-af31-348660664674" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ee28f057-7751-41c3-80cb-c4bf0bdfa9f7" 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_d42bf031-9b77-410a-b7bc-a26e608e27b1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ee28f057-7751-41c3-80cb-c4bf0bdfa9f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_126345ec-b291-497a-89c6-b4d23eb49553" 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_bdfffd46-a689-422c-910f-4dfe0c180c14" 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_126345ec-b291-497a-89c6-b4d23eb49553" xlink:to="loc_us-gaap_LiabilitiesCurrent_bdfffd46-a689-422c-910f-4dfe0c180c14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_ef19a31b-f5c2-44ff-abcc-d885c10446d0" 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_126345ec-b291-497a-89c6-b4d23eb49553" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_ef19a31b-f5c2-44ff-abcc-d885c10446d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_d1b538b7-bed8-44e4-a65c-42763fdb9733" 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_126345ec-b291-497a-89c6-b4d23eb49553" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_d1b538b7-bed8-44e4-a65c-42763fdb9733" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_87801473-90b1-43bb-afef-90179e888f9c" 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_126345ec-b291-497a-89c6-b4d23eb49553" xlink:to="loc_us-gaap_SeniorNotes_87801473-90b1-43bb-afef-90179e888f9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_919b0a92-2197-4179-b5e9-17734aa01b77" 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_126345ec-b291-497a-89c6-b4d23eb49553" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_919b0a92-2197-4179-b5e9-17734aa01b77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_1c766f56-d0e1-4edc-864c-1e7ef326120d" 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_fe433f65-2b4b-4175-b6ad-b69dd960d861" 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_1c766f56-d0e1-4edc-864c-1e7ef326120d" xlink:to="loc_us-gaap_CommonStockValue_fe433f65-2b4b-4175-b6ad-b69dd960d861" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_45e91ff1-ab58-4584-8922-245fc21e6967" 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_1c766f56-d0e1-4edc-864c-1e7ef326120d" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_45e91ff1-ab58-4584-8922-245fc21e6967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f1c16e6b-383c-4faf-baed-96c62e9ae1ba" 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_1c766f56-d0e1-4edc-864c-1e7ef326120d" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f1c16e6b-383c-4faf-baed-96c62e9ae1ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_fc6f3e10-32dd-4c3f-a4a4-e051532be83f" 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_1c766f56-d0e1-4edc-864c-1e7ef326120d" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_fc6f3e10-32dd-4c3f-a4a4-e051532be83f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_ca71a29e-afa2-4afa-8b53-fb3acddd8c2d" 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_3a30ed03-7a37-4ff7-a41b-6b0bd99d78a4" 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_ca71a29e-afa2-4afa-8b53-fb3acddd8c2d" xlink:to="loc_us-gaap_Liabilities_3a30ed03-7a37-4ff7-a41b-6b0bd99d78a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_acb7f031-2b06-4fe9-b113-6a56c21a2113" 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_ca71a29e-afa2-4afa-8b53-fb3acddd8c2d" xlink:to="loc_us-gaap_StockholdersEquity_acb7f031-2b06-4fe9-b113-6a56c21a2113" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_0e176649-629d-431b-89e2-8d57b6369384" 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_3102c8e8-7341-4122-9021-534989f5a0d0" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_AssetsCurrent_3102c8e8-7341-4122-9021-534989f5a0d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_43ab97f6-d210-477e-8feb-aae06bbdbd65" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_LongTermInvestments_43ab97f6-d210-477e-8feb-aae06bbdbd65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_7de8421c-7d02-4f40-b7f2-79f3b2847f34" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_7de8421c-7d02-4f40-b7f2-79f3b2847f34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetNoncurrent_04b1c6fd-034d-4e24-bf69-1e97ac7083d9" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetNoncurrent_04b1c6fd-034d-4e24-bf69-1e97ac7083d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_17ce64dd-964c-4c6a-a201-4162f78b93a3" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_17ce64dd-964c-4c6a-a201-4162f78b93a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_dc06cc34-e480-45fc-b8ba-c34dfa0e70f1" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_Goodwill_dc06cc34-e480-45fc-b8ba-c34dfa0e70f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_58144a04-f1b6-484e-bf62-d8df3584dfde" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_58144a04-f1b6-484e-bf62-d8df3584dfde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_c2e5b2d3-92a6-40b9-912b-0e8e232c5886" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_c2e5b2d3-92a6-40b9-912b-0e8e232c5886" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_566d6723-b286-4bb3-8150-14bce667413f" 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_0e176649-629d-431b-89e2-8d57b6369384" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_566d6723-b286-4bb3-8150-14bce667413f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="gwre-20221031.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_OperatingExpenses_552f53fe-6345-4715-8ff4-e7102ef32f80" 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_c7b28161-9db9-427d-a9a0-d105d2d9b30c" 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_552f53fe-6345-4715-8ff4-e7102ef32f80" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_c7b28161-9db9-427d-a9a0-d105d2d9b30c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_e69e0750-1c6f-42b6-9003-32cc9061e335" 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_552f53fe-6345-4715-8ff4-e7102ef32f80" xlink:to="loc_us-gaap_SellingAndMarketingExpense_e69e0750-1c6f-42b6-9003-32cc9061e335" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_94045b86-3b3e-4135-8f05-7a75c459450c" 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_552f53fe-6345-4715-8ff4-e7102ef32f80" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_94045b86-3b3e-4135-8f05-7a75c459450c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4a4205e8-ae39-4770-8425-932e58d8e5df" 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_e42e0a1e-4c5c-47b4-a667-6b95724d87a2" 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_4a4205e8-ae39-4770-8425-932e58d8e5df" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e42e0a1e-4c5c-47b4-a667-6b95724d87a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_faeb55b0-e041-47e3-88fe-114a24cebe04" 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_4a4205e8-ae39-4770-8425-932e58d8e5df" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_faeb55b0-e041-47e3-88fe-114a24cebe04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_cec51553-850b-408f-84e0-a7e09e00a8d9" 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_194f55b4-3097-4738-a8fc-c7730fccff98" 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_cec51553-850b-408f-84e0-a7e09e00a8d9" xlink:to="loc_us-gaap_OperatingExpenses_194f55b4-3097-4738-a8fc-c7730fccff98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_388437e0-4efa-4fca-8588-b83108701530" 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_cec51553-850b-408f-84e0-a7e09e00a8d9" xlink:to="loc_us-gaap_GrossProfit_388437e0-4efa-4fca-8588-b83108701530" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_604b46b2-4e96-4df4-bddb-36a54de19e4f" 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_4a291cc6-b46c-4b39-b8db-52436c694b1a" 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_604b46b2-4e96-4df4-bddb-36a54de19e4f" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_4a291cc6-b46c-4b39-b8db-52436c694b1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_InterestIncomeNonoperatingNet_81964ff0-891d-4e57-a8e4-9499bdb4741f" xlink:href="gwre-20221031.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_604b46b2-4e96-4df4-bddb-36a54de19e4f" xlink:to="loc_gwre_InterestIncomeNonoperatingNet_81964ff0-891d-4e57-a8e4-9499bdb4741f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_87b49867-9b2e-4aeb-9752-a3993cde5649" 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_604b46b2-4e96-4df4-bddb-36a54de19e4f" xlink:to="loc_us-gaap_OperatingIncomeLoss_87b49867-9b2e-4aeb-9752-a3993cde5649" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_782241e9-7ad8-4dac-8a30-ce6420f4ad9c" 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_604b46b2-4e96-4df4-bddb-36a54de19e4f" xlink:to="loc_us-gaap_InterestExpense_782241e9-7ad8-4dac-8a30-ce6420f4ad9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_f30edc98-8d29-445d-8253-643da530577e" 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_01c4ff1d-f7c3-44c0-9f76-64a173f08ba2" 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_f30edc98-8d29-445d-8253-643da530577e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_01c4ff1d-f7c3-44c0-9f76-64a173f08ba2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_4c2dc895-2272-4e66-a4b7-852f6097b81c" 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_f30edc98-8d29-445d-8253-643da530577e" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_4c2dc895-2272-4e66-a4b7-852f6097b81c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="gwre-20221031.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_ComprehensiveIncomeNetOfTax_61d789c1-dc8c-471e-a4c3-aae991ac2520" 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_910ce4b2-a8b6-49f2-aaf2-182b003ed4a1" 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_61d789c1-dc8c-471e-a4c3-aae991ac2520" xlink:to="loc_us-gaap_ProfitLoss_910ce4b2-a8b6-49f2-aaf2-182b003ed4a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_5c9d4fd6-5b79-4203-a2a0-5ab2b6394a09" 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_61d789c1-dc8c-471e-a4c3-aae991ac2520" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_5c9d4fd6-5b79-4203-a2a0-5ab2b6394a09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9fda45d7-d286-4603-8b05-4bef9036e999" 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_981a8c6b-0c86-45ee-b50e-7bac15c3e057" 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_9fda45d7-d286-4603-8b05-4bef9036e999" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_981a8c6b-0c86-45ee-b50e-7bac15c3e057" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_d44603ac-b696-48e4-a176-25135cfb34a6" 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_9fda45d7-d286-4603-8b05-4bef9036e999" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_d44603ac-b696-48e4-a176-25135cfb34a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_d5f1abed-3deb-42e8-85dc-6c87a28c758c" 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_9fda45d7-d286-4603-8b05-4bef9036e999" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_d5f1abed-3deb-42e8-85dc-6c87a28c758c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_cccfcac2-6a76-4305-a37f-3668f9601cba" 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_9fda45d7-d286-4603-8b05-4bef9036e999" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_cccfcac2-6a76-4305-a37f-3668f9601cba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="gwre-20221031.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_NetCashProvidedByUsedInOperatingActivities_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" 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_932b789f-0914-4f72-8d79-c3a89319f591" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_932b789f-0914-4f72-8d79-c3a89319f591" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_IncreaseDecreaseInOperatingLeaseRightOfUseAsset_84957a12-860c-41b8-ab46-c1a59f4ea795" xlink:href="gwre-20221031.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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_gwre_IncreaseDecreaseInOperatingLeaseRightOfUseAsset_84957a12-860c-41b8-ab46-c1a59f4ea795" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_7414efa8-e1f5-4ceb-92bf-ef75dfa0303c" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_7414efa8-e1f5-4ceb-92bf-ef75dfa0303c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_6bca0cfe-1624-4ef1-a9d9-7a0e28c9ee26" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_6bca0cfe-1624-4ef1-a9d9-7a0e28c9ee26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_be355266-53f9-4fd7-8be6-bf2064b6ddb9" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_be355266-53f9-4fd7-8be6-bf2064b6ddb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_2cdaa3ff-591a-4442-824a-5a5fcdc71285" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_2cdaa3ff-591a-4442-824a-5a5fcdc71285" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_87d63097-9211-48af-bd62-e4295f1426a0" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_87d63097-9211-48af-bd62-e4295f1426a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_ffeca994-4a5f-44a2-bc37-3accb2bb9017" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_ffeca994-4a5f-44a2-bc37-3accb2bb9017" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_7531e334-71b7-48bd-9196-90fe94a10e62" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_7531e334-71b7-48bd-9196-90fe94a10e62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_AccountsReceivableNetChangeToAllowanceForCreditLossesAndRevenueReserves_f8202368-e070-4498-a539-fb1a19b58fa5" xlink:href="gwre-20221031.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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_gwre_AccountsReceivableNetChangeToAllowanceForCreditLossesAndRevenueReserves_f8202368-e070-4498-a539-fb1a19b58fa5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_65f6b9d4-2aa7-4b95-a50e-118bd09aef08" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_ShareBasedCompensation_65f6b9d4-2aa7-4b95-a50e-118bd09aef08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_307a3f3e-10c9-4d50-b666-a9c57c572116" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_307a3f3e-10c9-4d50-b666-a9c57c572116" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_e90db95a-ca57-4f55-9589-c8590faae56e" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_e90db95a-ca57-4f55-9589-c8590faae56e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_fb9c7eb3-6cb1-419b-8ab4-bcda359aea5f" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_ProfitLoss_fb9c7eb3-6cb1-419b-8ab4-bcda359aea5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_0fcc65f0-97ac-481e-9899-e834e257868b" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_DepreciationAndAmortization_0fcc65f0-97ac-481e-9899-e834e257868b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_05d3bedc-6e87-487b-898e-9d029aa0d18a" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_05d3bedc-6e87-487b-898e-9d029aa0d18a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e3b34b73-6d55-4722-b8ca-585aef21940d" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e3b34b73-6d55-4722-b8ca-585aef21940d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortization_186e5aba-73bf-4ac1-93f5-aa58e88cd281" 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_fa52e292-9711-4d18-8e34-7b8fa2b74ad8" xlink:to="loc_us-gaap_CapitalizedContractCostAmortization_186e5aba-73bf-4ac1-93f5-aa58e88cd281" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a22c3b25-0ddd-47e2-b910-2eb9eec1a0cd" 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_2c40411b-79ad-4bc0-ac47-d6e8e08f5fbb" 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_a22c3b25-0ddd-47e2-b910-2eb9eec1a0cd" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_2c40411b-79ad-4bc0-ac47-d6e8e08f5fbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_a4f5fdc7-935c-40c9-9f6f-ea093d44f47e" 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_a22c3b25-0ddd-47e2-b910-2eb9eec1a0cd" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_a4f5fdc7-935c-40c9-9f6f-ea093d44f47e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" 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_e7d62eee-0912-435d-a6f5-e58c2f9f750e" 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_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_e7d62eee-0912-435d-a6f5-e58c2f9f750e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_c6219f20-2e8d-4ce3-87d0-815030b8235f" 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_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_c6219f20-2e8d-4ce3-87d0-815030b8235f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_e3173cb0-dd18-4119-ada7-4594df3a0a40" 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_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_e3173cb0-dd18-4119-ada7-4594df3a0a40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToDevelopSoftware_c5b5ea72-cba3-422a-990d-df033448180e" 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_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" xlink:to="loc_us-gaap_PaymentsToDevelopSoftware_c5b5ea72-cba3-422a-990d-df033448180e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_80573546-503c-4f0c-bffe-92ed41ad3b9d" 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_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_80573546-503c-4f0c-bffe-92ed41ad3b9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_78726498-4466-40b2-b214-1380770cc230" 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_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_78726498-4466-40b2-b214-1380770cc230" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_3c8687d1-663c-4edb-8faf-ad1a202d6a04" 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_9c664902-6a1a-4eb5-b2ce-b22cfdeeee54" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_3c8687d1-663c-4edb-8faf-ad1a202d6a04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_88331c64-d12a-429f-aef4-bb370fdfb123" 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_97a49828-831a-4cd6-8890-462e373a71a8" 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_88331c64-d12a-429f-aef4-bb370fdfb123" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_97a49828-831a-4cd6-8890-462e373a71a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_da7568b9-e167-461e-a99a-26a0b06c1532" 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_88331c64-d12a-429f-aef4-bb370fdfb123" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_da7568b9-e167-461e-a99a-26a0b06c1532" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c5bcc06-45d3-41a4-928b-02e3d6582e8f" 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_88331c64-d12a-429f-aef4-bb370fdfb123" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c5bcc06-45d3-41a4-928b-02e3d6582e8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_31d31a48-b4ca-40c5-a133-3a328331d50e" 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_88331c64-d12a-429f-aef4-bb370fdfb123" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_31d31a48-b4ca-40c5-a133-3a328331d50e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails1" xlink:type="simple" xlink:href="gwre-20221031.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_cfcdc6dc-8639-4ebf-9ebe-ee458a6f117e" 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_2c1a5451-3fb3-4264-9791-bf7426ee53d5" 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_cfcdc6dc-8639-4ebf-9ebe-ee458a6f117e" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2c1a5451-3fb3-4264-9791-bf7426ee53d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_48bf894d-06d0-486b-aa41-3170b221eff0" 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_cfcdc6dc-8639-4ebf-9ebe-ee458a6f117e" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_48bf894d-06d0-486b-aa41-3170b221eff0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4583bd7d-26e7-428d-b749-73640f8c6055" 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_cfcdc6dc-8639-4ebf-9ebe-ee458a6f117e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4583bd7d-26e7-428d-b749-73640f8c6055" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails2" xlink:type="simple" xlink:href="gwre-20221031.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_d3070bee-114d-44a9-8abe-f5826debc23a" 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_f60a0967-156f-4a8e-9745-3b4ea1c95ba1" xlink:href="gwre-20221031.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_d3070bee-114d-44a9-8abe-f5826debc23a" xlink:to="loc_gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateLessThan12Months_f60a0967-156f-4a8e-9745-3b4ea1c95ba1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateGreaterThan12Months_9b979277-b2c4-4139-9be8-74eb058930fe" xlink:href="gwre-20221031.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_d3070bee-114d-44a9-8abe-f5826debc23a" xlink:to="loc_gwre_DebtSecuritiesAvailableForSaleFairValueMaturityAllocatedAndSingleMaturityDateGreaterThan12Months_9b979277-b2c4-4139-9be8-74eb058930fe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/FairValueofFinancialInstrumentsDetails3" xlink:type="simple" xlink:href="gwre-20221031.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_12a82125-1bab-4058-a0f0-9e34ba6f4cbd" xlink:href="gwre-20221031.xsd#gwre_CashCashEquivalentsAndDebtSecuritiesAvailableForSale"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_4b1ea5ce-23f8-4f13-bca1-af0c185ac61b" 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_12a82125-1bab-4058-a0f0-9e34ba6f4cbd" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_4b1ea5ce-23f8-4f13-bca1-af0c185ac61b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_ea52cd9c-bca0-4b30-befe-715cb8872175" 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_12a82125-1bab-4058-a0f0-9e34ba6f4cbd" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_ea52cd9c-bca0-4b30-befe-715cb8872175" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_16415133-5ea1-4042-a673-b2d474077111" 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_12a82125-1bab-4058-a0f0-9e34ba6f4cbd" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_16415133-5ea1-4042-a673-b2d474077111" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/ConvertibleSeniorNotesNetcarryingvalueoftheliabilitycomponentDetails" xlink:type="simple" xlink:href="gwre-20221031.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_ed748a35-e2db-48e9-bb72-f1feab39dfa7" 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_079ffeb9-0cc6-4710-add0-b726d38e07f1" 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_ed748a35-e2db-48e9-bb72-f1feab39dfa7" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_079ffeb9-0cc6-4710-add0-b726d38e07f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_e7e16181-3f87-4940-ad50-bb451e951fc9" 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_ed748a35-e2db-48e9-bb72-f1feab39dfa7" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_e7e16181-3f87-4940-ad50-bb451e951fc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_0227cfb8-f8d4-4cdb-a987-08ff56175331" 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_ed748a35-e2db-48e9-bb72-f1feab39dfa7" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_0227cfb8-f8d4-4cdb-a987-08ff56175331" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/ConvertibleSeniorNotesScheduleofinterestexpenserecognizedDetails" xlink:type="simple" xlink:href="gwre-20221031.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_d969600b-b8f0-4a54-b778-291dfaf6e7a8" xlink:href="gwre-20221031.xsd#gwre_AmortizationOfDebtIssuanceCostsAndDiscountsAndDebtInterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_6f0e1b28-e01f-4ee9-8fcc-f0e40f68f0ac" 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_d969600b-b8f0-4a54-b778-291dfaf6e7a8" xlink:to="loc_us-gaap_InterestExpense_6f0e1b28-e01f-4ee9-8fcc-f0e40f68f0ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_51a83bfe-9234-4f30-b22d-76607779f270" 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_d969600b-b8f0-4a54-b778-291dfaf6e7a8" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_51a83bfe-9234-4f30-b22d-76607779f270" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_9b36ad7c-3ee1-4de4-9d82-e528005e4e1d" 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_d969600b-b8f0-4a54-b778-291dfaf6e7a8" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_9b36ad7c-3ee1-4de4-9d82-e528005e4e1d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.guidewire.com/role/StockBasedCompensationExpenseandShareholdersEquityDetails1" xlink:type="simple" xlink:href="gwre-20221031.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_1ef47d4c-2172-4e29-b1fa-b4f4797b6570" 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_17c6ce43-ede2-4238-a935-8f2db21b509e" 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_1ef47d4c-2172-4e29-b1fa-b4f4797b6570" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_17c6ce43-ede2-4238-a935-8f2db21b509e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_06683755-610e-49fc-9eda-ce229ca4641d" 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_1ef47d4c-2172-4e29-b1fa-b4f4797b6570" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_06683755-610e-49fc-9eda-ce229ca4641d" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
