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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:9958673b-1748-455e-b13e-7a5be198bb63,g:766358ac-236a-41eb-a781-fd3cb9119b73-->
<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.halozyme.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="halo-20230630.xsd#CondensedConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_e4273fed-a628-4d82-b37e-8fa589cc5f71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b395370a-f423-48ba-8b99-ca00598e160a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e4273fed-a628-4d82-b37e-8fa589cc5f71" xlink:to="loc_us-gaap_Liabilities_b395370a-f423-48ba-8b99-ca00598e160a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_c040de4a-5731-4796-80f2-47562a80e412" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e4273fed-a628-4d82-b37e-8fa589cc5f71" xlink:to="loc_us-gaap_StockholdersEquity_c040de4a-5731-4796-80f2-47562a80e412" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_9591b6f9-7504-469b-9c85-eec3a4354382" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_e4273fed-a628-4d82-b37e-8fa589cc5f71" xlink:to="loc_us-gaap_CommitmentsAndContingencies_9591b6f9-7504-469b-9c85-eec3a4354382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b345069c-1fcd-413a-aec0-d96c2e779bbe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_db2f0e8b-6be3-476a-8fe5-e5a292533869" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_b345069c-1fcd-413a-aec0-d96c2e779bbe" xlink:to="loc_us-gaap_PreferredStockValue_db2f0e8b-6be3-476a-8fe5-e5a292533869" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_51e0e6df-941d-4b7b-be95-e888cc87d58d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_b345069c-1fcd-413a-aec0-d96c2e779bbe" xlink:to="loc_us-gaap_CommonStockValue_51e0e6df-941d-4b7b-be95-e888cc87d58d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b5856aab-05ee-4885-b82b-60551eca2803" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_b345069c-1fcd-413a-aec0-d96c2e779bbe" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b5856aab-05ee-4885-b82b-60551eca2803" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d0f556ce-bb6e-4bab-9b27-3e22a06be6d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_b345069c-1fcd-413a-aec0-d96c2e779bbe" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d0f556ce-bb6e-4bab-9b27-3e22a06be6d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7a44418c-4248-4863-9977-f5eda81ba239" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_b345069c-1fcd-413a-aec0-d96c2e779bbe" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7a44418c-4248-4863-9977-f5eda81ba239" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_61c5c035-adf9-4b0a-88d3-9fc4f2fbcbd4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_81bd783b-8e0a-4d07-a0e4-f568b03063d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61c5c035-adf9-4b0a-88d3-9fc4f2fbcbd4" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_81bd783b-8e0a-4d07-a0e4-f568b03063d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_7a7030ec-9de9-458f-af15-bf68f9c3e179" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61c5c035-adf9-4b0a-88d3-9fc4f2fbcbd4" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_7a7030ec-9de9-458f-af15-bf68f9c3e179" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_7299675e-f6c9-4679-ba00-048cf2903825" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61c5c035-adf9-4b0a-88d3-9fc4f2fbcbd4" xlink:to="loc_us-gaap_LiabilitiesCurrent_7299675e-f6c9-4679-ba00-048cf2903825" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_33d01625-06a4-44b2-89ab-7091fc476f77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61c5c035-adf9-4b0a-88d3-9fc4f2fbcbd4" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_33d01625-06a4-44b2-89ab-7091fc476f77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_e57ddcef-2a91-40f2-afd7-df8ed0071105" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61c5c035-adf9-4b0a-88d3-9fc4f2fbcbd4" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_e57ddcef-2a91-40f2-afd7-df8ed0071105" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_3a00d558-b532-4558-970b-e004f8bd20a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_4bbb180c-543f-4b67-acf6-02d89e9eb825" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a00d558-b532-4558-970b-e004f8bd20a0" xlink:to="loc_us-gaap_AccountsPayableCurrent_4bbb180c-543f-4b67-acf6-02d89e9eb825" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_4fe387da-cca7-43ec-9d5f-ee5bfcf3eedd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a00d558-b532-4558-970b-e004f8bd20a0" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_4fe387da-cca7-43ec-9d5f-ee5bfcf3eedd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2e33d5ec-cb68-42bb-81e3-1eda98175ab8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a00d558-b532-4558-970b-e004f8bd20a0" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2e33d5ec-cb68-42bb-81e3-1eda98175ab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_f202aea5-f394-4220-811b-8d1a9aec45ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a00d558-b532-4558-970b-e004f8bd20a0" xlink:to="loc_us-gaap_LongTermDebtCurrent_f202aea5-f394-4220-811b-8d1a9aec45ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_e7b62c55-419d-4d52-9e21-f35e96a8dc12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e518e200-840b-4f2d-ad7b-9ee7edef7345" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e7b62c55-419d-4d52-9e21-f35e96a8dc12" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e518e200-840b-4f2d-ad7b-9ee7edef7345" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterestCurrent_e801b03a-b1d1-41e3-afb9-869d1c15019e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterestCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e7b62c55-419d-4d52-9e21-f35e96a8dc12" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterestCurrent_e801b03a-b1d1-41e3-afb9-869d1c15019e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent_e782d4c7-85c6-410c-addf-af914609dae4" xlink:href="halo-20230630.xsd#halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e7b62c55-419d-4d52-9e21-f35e96a8dc12" xlink:to="loc_halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent_e782d4c7-85c6-410c-addf-af914609dae4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_20f7c7e5-057a-479f-9ad8-4e47500f2dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e7b62c55-419d-4d52-9e21-f35e96a8dc12" xlink:to="loc_us-gaap_InventoryNet_20f7c7e5-057a-479f-9ad8-4e47500f2dc3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_5791d26e-f4ca-4e46-bfb5-681831f1c25e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e7b62c55-419d-4d52-9e21-f35e96a8dc12" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_5791d26e-f4ca-4e46-bfb5-681831f1c25e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_088fd657-febf-4321-90b9-ad9177025ea0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_b1873943-6ade-48e8-8eda-ec25703efc12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_088fd657-febf-4321-90b9-ad9177025ea0" xlink:to="loc_us-gaap_AssetsCurrent_b1873943-6ade-48e8-8eda-ec25703efc12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_02d4d8cf-811f-4067-950a-952a9b46b488" xlink:href="halo-20230630.xsd#halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_088fd657-febf-4321-90b9-ad9177025ea0" xlink:to="loc_halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_02d4d8cf-811f-4067-950a-952a9b46b488" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent_98cfc7e6-60bd-4f60-a265-7853206f02de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_088fd657-febf-4321-90b9-ad9177025ea0" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent_98cfc7e6-60bd-4f60-a265-7853206f02de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_ad3aa4fb-f7b6-455e-ae97-ccf2d0b67c78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_088fd657-febf-4321-90b9-ad9177025ea0" xlink:to="loc_us-gaap_Goodwill_ad3aa4fb-f7b6-455e-ae97-ccf2d0b67c78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_be088851-c396-4faf-bade-61e04ad6c9fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_088fd657-febf-4321-90b9-ad9177025ea0" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_be088851-c396-4faf-bade-61e04ad6c9fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_5e40ab58-7361-49e8-a265-4fa4f8fce53d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_088fd657-febf-4321-90b9-ad9177025ea0" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_5e40ab58-7361-49e8-a265-4fa4f8fce53d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_bd916127-9435-4350-ae5b-6eefdabe87d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_088fd657-febf-4321-90b9-ad9177025ea0" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_bd916127-9435-4350-ae5b-6eefdabe87d3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CondensedConsolidatedStatementsofIncomeUnaudited" xlink:type="simple" xlink:href="halo-20230630.xsd#CondensedConsolidatedStatementsofIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CondensedConsolidatedStatementsofIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ee9621b5-0ecb-4075-ab23-542cefbc94d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d6453230-713b-4fda-bdd0-ff06e1c2a567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ee9621b5-0ecb-4075-ab23-542cefbc94d7" xlink:to="loc_us-gaap_OperatingIncomeLoss_d6453230-713b-4fda-bdd0-ff06e1c2a567" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_c776e29b-2fe0-4893-a9d4-cb31ad3faf14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ee9621b5-0ecb-4075-ab23-542cefbc94d7" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_c776e29b-2fe0-4893-a9d4-cb31ad3faf14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_4ce7e9fa-7afe-49af-b2a7-240c344f5a44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ee9621b5-0ecb-4075-ab23-542cefbc94d7" xlink:to="loc_us-gaap_InterestExpense_4ce7e9fa-7afe-49af-b2a7-240c344f5a44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_f94273b2-bee2-4d93-847d-c9111de9da01" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_a9d60a6c-d115-462c-a5e9-a2dcf61cda8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_f94273b2-bee2-4d93-847d-c9111de9da01" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_a9d60a6c-d115-462c-a5e9-a2dcf61cda8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_f6e0fe6e-d699-4ff8-85b0-7d438f5141ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_f94273b2-bee2-4d93-847d-c9111de9da01" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_f6e0fe6e-d699-4ff8-85b0-7d438f5141ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_45830177-4f88-441d-b44f-5c7fc5714f84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_f94273b2-bee2-4d93-847d-c9111de9da01" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_45830177-4f88-441d-b44f-5c7fc5714f84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_91bd86db-50e3-48a7-93be-9e30ce550d9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_f94273b2-bee2-4d93-847d-c9111de9da01" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_91bd86db-50e3-48a7-93be-9e30ce550d9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3f09396f-8449-4834-aa28-19e7414d3f96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0465ea9e-17fc-42d2-9447-c45a9cb20230" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_3f09396f-8449-4834-aa28-19e7414d3f96" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0465ea9e-17fc-42d2-9447-c45a9cb20230" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9dd49a6d-c4aa-4fa1-a543-9908232c9ac5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_3f09396f-8449-4834-aa28-19e7414d3f96" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9dd49a6d-c4aa-4fa1-a543-9908232c9ac5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c7fce519-f72c-4085-99c1-1e6e545a4e61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_a77c4f98-2c79-47ef-adf8-a7b8c20ba32a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c7fce519-f72c-4085-99c1-1e6e545a4e61" xlink:to="loc_us-gaap_CostsAndExpenses_a77c4f98-2c79-47ef-adf8-a7b8c20ba32a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b728620a-6315-4cc1-be80-40ba3e4bc65c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c7fce519-f72c-4085-99c1-1e6e545a4e61" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b728620a-6315-4cc1-be80-40ba3e4bc65c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="halo-20230630.xsd#CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_03b16d94-35a7-4b21-ae31-168b2920fe2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e9456de1-08dc-4d7f-9d46-069ffbe68518" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_03b16d94-35a7-4b21-ae31-168b2920fe2f" xlink:to="loc_us-gaap_NetIncomeLoss_e9456de1-08dc-4d7f-9d46-069ffbe68518" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_621648fe-16d5-4a16-9cda-6fec2ff5a4bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_03b16d94-35a7-4b21-ae31-168b2920fe2f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_621648fe-16d5-4a16-9cda-6fec2ff5a4bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_63930c0b-c55a-46d4-863b-8c877607973d" xlink:href="halo-20230630.xsd#halo_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_03b16d94-35a7-4b21-ae31-168b2920fe2f" xlink:to="loc_halo_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_63930c0b-c55a-46d4-863b-8c877607973d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_0bda2370-8b71-4bca-b592-7b3f3b54d4c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_03b16d94-35a7-4b21-ae31-168b2920fe2f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_0bda2370-8b71-4bca-b592-7b3f3b54d4c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_OtherComprehensiveIncomeLossCashFlowHedgeUnrealizedHoldingGainLossBeforeAdjustmentAfterTax_bb47d0cf-3d20-49d6-b852-232291a6b62f" xlink:href="halo-20230630.xsd#halo_OtherComprehensiveIncomeLossCashFlowHedgeUnrealizedHoldingGainLossBeforeAdjustmentAfterTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_03b16d94-35a7-4b21-ae31-168b2920fe2f" xlink:to="loc_halo_OtherComprehensiveIncomeLossCashFlowHedgeUnrealizedHoldingGainLossBeforeAdjustmentAfterTax_bb47d0cf-3d20-49d6-b852-232291a6b62f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_54aabcb5-44ce-4763-82d0-4dc2e12735d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_03b16d94-35a7-4b21-ae31-168b2920fe2f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_54aabcb5-44ce-4763-82d0-4dc2e12735d7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="halo-20230630.xsd#CondensedConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c49c2a17-efd2-4ab9-a53f-a079592e7a34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_NetIncomeLoss_c49c2a17-efd2-4ab9-a53f-a079592e7a34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_7b06f5fc-d09f-41d9-8b81-b5d434995978" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_ShareBasedCompensation_7b06f5fc-d09f-41d9-8b81-b5d434995978" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_ed362b00-aba7-4e3d-a807-18f1159aa789" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_ed362b00-aba7-4e3d-a807-18f1159aa789" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_24cb7576-f1c8-412e-9efd-156c0111c257" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_24cb7576-f1c8-412e-9efd-156c0111c257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_8c8c5eb5-03fa-403d-b057-abe7b4738fb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_8c8c5eb5-03fa-403d-b057-abe7b4738fb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_106ce287-8b9f-4d89-99c6-e9420d2d3c89" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_106ce287-8b9f-4d89-99c6-e9420d2d3c89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_96cfe528-4e2b-4470-93e6-5aa0ceb1e660" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_96cfe528-4e2b-4470-93e6-5aa0ceb1e660" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DeferredRentPayments_1949e9b1-dce5-405a-921c-3d3d977eafd3" xlink:href="halo-20230630.xsd#halo_DeferredRentPayments"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_halo_DeferredRentPayments_1949e9b1-dce5-405a-921c-3d3d977eafd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_b4887089-3df1-48a5-97a8-ef1b3b296ddb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_b4887089-3df1-48a5-97a8-ef1b3b296ddb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_2b22e199-a78d-4d28-af4a-d6d61fada9a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_2b22e199-a78d-4d28-af4a-d6d61fada9a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_35695747-6c21-43ae-ab0b-5a60b2ca4630" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_35695747-6c21-43ae-ab0b-5a60b2ca4630" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_8bb53fc4-292b-4c50-b6e5-755d180999ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_8bb53fc4-292b-4c50-b6e5-755d180999ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_ec58cc48-3cb0-4ba7-bf09-7ff6fe4d741f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_ec58cc48-3cb0-4ba7-bf09-7ff6fe4d741f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_912a9945-ffb4-433f-a358-42f173016826" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_912a9945-ffb4-433f-a358-42f173016826" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_dfd7137d-e2d1-4c5e-a161-180e3b93fe85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_dfd7137d-e2d1-4c5e-a161-180e3b93fe85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_db7c6586-cce2-425f-b9b8-cdb97893dc48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e4229297-0fb6-4d7b-8d35-de60ae568920" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_db7c6586-cce2-425f-b9b8-cdb97893dc48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5a6f92c8-afc6-49d1-9fcd-f495ea0d1e80" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5387a910-8e34-4e29-a700-727eaa762570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5a6f92c8-afc6-49d1-9fcd-f495ea0d1e80" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5387a910-8e34-4e29-a700-727eaa762570" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e95083e3-8e5a-4891-bbe8-413746a33be2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5a6f92c8-afc6-49d1-9fcd-f495ea0d1e80" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e95083e3-8e5a-4891-bbe8-413746a33be2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_be854b22-2c17-44ab-9eb7-4dcc98216936" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5a6f92c8-afc6-49d1-9fcd-f495ea0d1e80" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_be854b22-2c17-44ab-9eb7-4dcc98216936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4953c988-0d9c-4c03-baff-6e95470aa2f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_27105c02-ea5d-4f9d-84cf-17fb5bf9e763" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4953c988-0d9c-4c03-baff-6e95470aa2f8" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_27105c02-ea5d-4f9d-84cf-17fb5bf9e763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_80c0ea06-0374-4293-8d8b-128bbdc8df08" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4953c988-0d9c-4c03-baff-6e95470aa2f8" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_80c0ea06-0374-4293-8d8b-128bbdc8df08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_54a363c7-390a-478b-9022-7e33eedf985e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4953c988-0d9c-4c03-baff-6e95470aa2f8" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_54a363c7-390a-478b-9022-7e33eedf985e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_afd1b30f-fdf9-4067-8a5a-844ea24579dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4953c988-0d9c-4c03-baff-6e95470aa2f8" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_afd1b30f-fdf9-4067-8a5a-844ea24579dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSalesOfAssetsInvestingActivities_f5dcff78-9782-4b90-8084-06a553a10634" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSalesOfAssetsInvestingActivities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4953c988-0d9c-4c03-baff-6e95470aa2f8" xlink:to="loc_us-gaap_ProceedsFromSalesOfAssetsInvestingActivities_f5dcff78-9782-4b90-8084-06a553a10634" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4c24eb61-c61e-4a36-9313-c9c41ec84012" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_34f78db5-aa65-44fe-9523-3dfdee6824fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4c24eb61-c61e-4a36-9313-c9c41ec84012" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_34f78db5-aa65-44fe-9523-3dfdee6824fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_5cdc0f10-4445-4c15-9980-7a822ba39b89" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4c24eb61-c61e-4a36-9313-c9c41ec84012" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_5cdc0f10-4445-4c15-9980-7a822ba39b89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_ea632f35-f81f-476c-a385-94c8364ab931" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4c24eb61-c61e-4a36-9313-c9c41ec84012" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_ea632f35-f81f-476c-a385-94c8364ab931" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ProceedsFromPaymentsForIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercised_3e04e220-9353-423a-a6d2-cfda0a389c42" xlink:href="halo-20230630.xsd#halo_ProceedsFromPaymentsForIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercised"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4c24eb61-c61e-4a36-9313-c9c41ec84012" xlink:to="loc_halo_ProceedsFromPaymentsForIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercised_3e04e220-9353-423a-a6d2-cfda0a389c42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_8bf5cf78-2324-4ec9-8cad-101e35232fd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4c24eb61-c61e-4a36-9313-c9c41ec84012" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_8bf5cf78-2324-4ec9-8cad-101e35232fd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a7e02d76-e655-4a69-a1e7-27f10368a310" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4c24eb61-c61e-4a36-9313-c9c41ec84012" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a7e02d76-e655-4a69-a1e7-27f10368a310" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/FairValueMeasurementComponentsofAvailableforsaleMarketableSecuritiesDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#FairValueMeasurementComponentsofAvailableforsaleMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/FairValueMeasurementComponentsofAvailableforsaleMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_d18e566e-48aa-47b9-9d0e-e14f73e51c16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ac4656b7-76d1-4c21-9197-a7de7baacbc1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_d18e566e-48aa-47b9-9d0e-e14f73e51c16" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ac4656b7-76d1-4c21-9197-a7de7baacbc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_774d71e2-a758-4372-b149-ea5b8c8752f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_d18e566e-48aa-47b9-9d0e-e14f73e51c16" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_774d71e2-a758-4372-b149-ea5b8c8752f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_55185390-51f7-4a5d-be32-566b880cd717" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_d18e566e-48aa-47b9-9d0e-e14f73e51c16" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_55185390-51f7-4a5d-be32-566b880cd717" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/FairValueMeasurementContractualMaturitiesofAvailableforSaleDebtSecuritiesDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#FairValueMeasurementContractualMaturitiesofAvailableforSaleDebtSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/FairValueMeasurementContractualMaturitiesofAvailableforSaleDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_b48cd70c-674e-42e8-a865-007bc3e125ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_1eb574da-23e5-4206-8103-f7aa775266ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_b48cd70c-674e-42e8-a865-007bc3e125ce" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_1eb574da-23e5-4206-8103-f7aa775266ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_6a0ce59e-e470-404a-8bcd-a3950c5b5f90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_b48cd70c-674e-42e8-a865-007bc3e125ce" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_6a0ce59e-e470-404a-8bcd-a3950c5b5f90" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/FairValueMeasurementAssetsMeasuredatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#FairValueMeasurementAssetsMeasuredatFairValueonaRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/FairValueMeasurementAssetsMeasuredatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_a2d5d8d5-5f91-4812-99b5-e61ff4ebf55b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_55ba90a5-2e2c-42f1-b260-02d3a5b30179" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a2d5d8d5-5f91-4812-99b5-e61ff4ebf55b" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_55ba90a5-2e2c-42f1-b260-02d3a5b30179" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_6aaad163-a29b-4ffa-bfb1-fd8026657ad6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a2d5d8d5-5f91-4812-99b5-e61ff4ebf55b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_6aaad163-a29b-4ffa-bfb1-fd8026657ad6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_f8acc568-6089-43da-9f97-7668a26ca1e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a2d5d8d5-5f91-4812-99b5-e61ff4ebf55b" xlink:to="loc_us-gaap_DerivativeAssets_f8acc568-6089-43da-9f97-7668a26ca1e8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsAccountsReceivablenetDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#CertainBalanceSheetItemsAccountsReceivablenetDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsAccountsReceivablenetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_6660dfc5-cb4f-400b-8221-a52389ff062c" xlink:href="halo-20230630.xsd#halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_05941d66-2d23-40b7-a0d4-718f4bbb3d39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_6660dfc5-cb4f-400b-8221-a52389ff062c" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_05941d66-2d23-40b7-a0d4-718f4bbb3d39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_60bf03ee-4cc6-401f-9487-9c9dfcd10e18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerAssetGrossCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_6660dfc5-cb4f-400b-8221-a52389ff062c" xlink:to="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_60bf03ee-4cc6-401f-9487-9c9dfcd10e18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_254c4b38-eb09-4e80-a98e-69b8d1e5ab94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherReceivables"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_6660dfc5-cb4f-400b-8221-a52389ff062c" xlink:to="loc_us-gaap_OtherReceivables_254c4b38-eb09-4e80-a98e-69b8d1e5ab94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent_c290efad-559f-4659-8441-1703c537523d" xlink:href="halo-20230630.xsd#halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_46e3c56f-fef4-4450-9874-040c6c14ef08" xlink:href="halo-20230630.xsd#halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent_c290efad-559f-4659-8441-1703c537523d" xlink:to="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_46e3c56f-fef4-4450-9874-040c6c14ef08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetAllowanceForCreditLossCurrent_e01474e1-4b18-42f5-85e6-3146e4a5748c" xlink:href="halo-20230630.xsd#halo_AccountsReceivableAndContractWithCustomerAssetAllowanceForCreditLossCurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent_c290efad-559f-4659-8441-1703c537523d" xlink:to="loc_halo_AccountsReceivableAndContractWithCustomerAssetAllowanceForCreditLossCurrent_e01474e1-4b18-42f5-85e6-3146e4a5748c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsInventoriesDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#CertainBalanceSheetItemsInventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsInventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_3ee62a27-94e6-409c-b945-4d9bdb438f20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_a4ec8d33-a6a3-45f3-b81d-f5fda89769a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_3ee62a27-94e6-409c-b945-4d9bdb438f20" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_a4ec8d33-a6a3-45f3-b81d-f5fda89769a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_1fdd34e3-8731-4cb1-814e-7c203af602b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_3ee62a27-94e6-409c-b945-4d9bdb438f20" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_1fdd34e3-8731-4cb1-814e-7c203af602b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_96576e32-569c-4fcb-9f00-f051775b7544" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_3ee62a27-94e6-409c-b945-4d9bdb438f20" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_96576e32-569c-4fcb-9f00-f051775b7544" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsPrepaidExpensesandOtherAssetsDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#CertainBalanceSheetItemsPrepaidExpensesandOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsPrepaidExpensesandOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_6cb237b9-c630-49db-8ffc-c27dc08ecfaa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent_b6f77445-90ae-4099-8868-e03353591f46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssets_6cb237b9-c630-49db-8ffc-c27dc08ecfaa" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent_b6f77445-90ae-4099-8868-e03353591f46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_6abf1a99-79af-42cf-8644-d17619af7588" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssets_6cb237b9-c630-49db-8ffc-c27dc08ecfaa" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_6abf1a99-79af-42cf-8644-d17619af7588" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsPrepaidExpensesandOtherAssetsDetails_1" xlink:type="simple" xlink:href="halo-20230630.xsd#CertainBalanceSheetItemsPrepaidExpensesandOtherAssetsDetails_1"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsPrepaidExpensesandOtherAssetsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_7f008503-7b29-4633-acf5-2e9fd4c367f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_5cbff22e-3abc-47c4-a263-509007cb545e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssets_7f008503-7b29-4633-acf5-2e9fd4c367f2" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_5cbff22e-3abc-47c4-a263-509007cb545e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_683216fc-d73e-4efa-b612-a6eb3b0ed4f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherPrepaidExpenseCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssets_7f008503-7b29-4633-acf5-2e9fd4c367f2" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_683216fc-d73e-4efa-b612-a6eb3b0ed4f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_5c2d586d-b685-42f2-9a02-7abb25d0569b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssets_7f008503-7b29-4633-acf5-2e9fd4c367f2" xlink:to="loc_us-gaap_OtherAssets_5c2d586d-b685-42f2-9a02-7abb25d0569b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsPropertyandEquipmentnetDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#CertainBalanceSheetItemsPropertyandEquipmentnetDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsPropertyandEquipmentnetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_747b0b23-34ca-4316-9b5f-18cec62e4505" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_97720206-b778-401a-8e8e-a16cb97c3b6e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_747b0b23-34ca-4316-9b5f-18cec62e4505" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_97720206-b778-401a-8e8e-a16cb97c3b6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_f71e5aae-b432-4f2d-8ded-158b1bab82bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_747b0b23-34ca-4316-9b5f-18cec62e4505" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_f71e5aae-b432-4f2d-8ded-158b1bab82bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_246e810c-8496-445b-b89b-946240c2d2cd" xlink:href="halo-20230630.xsd#halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b1a45fde-ddb5-4972-8d0f-f292118ad2bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_246e810c-8496-445b-b89b-946240c2d2cd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_b1a45fde-ddb5-4972-8d0f-f292118ad2bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_f40d8aa5-a6e1-48e1-8e66-b3edc1b57567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_246e810c-8496-445b-b89b-946240c2d2cd" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_f40d8aa5-a6e1-48e1-8e66-b3edc1b57567" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsAccruedExpensesDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#CertainBalanceSheetItemsAccruedExpensesDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsAccruedExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_6f8e5b58-c3ba-44dc-8d61-3eb2dad4223e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_cd3137e3-6161-4fc9-a869-d291fd35482e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_6f8e5b58-c3ba-44dc-8d61-3eb2dad4223e" xlink:to="loc_us-gaap_TaxesPayableCurrent_cd3137e3-6161-4fc9-a869-d291fd35482e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccruedOutsourcedManufacturingExpenses_4b085821-1e7a-4a80-ba50-4da2251192dd" xlink:href="halo-20230630.xsd#halo_AccruedOutsourcedManufacturingExpenses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_6f8e5b58-c3ba-44dc-8d61-3eb2dad4223e" xlink:to="loc_halo_AccruedOutsourcedManufacturingExpenses_4b085821-1e7a-4a80-ba50-4da2251192dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_f889b5f4-2834-4aac-b4f0-483b8d478052" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_6f8e5b58-c3ba-44dc-8d61-3eb2dad4223e" xlink:to="loc_us-gaap_OperatingLeaseLiability_f889b5f4-2834-4aac-b4f0-483b8d478052" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerRefundLiability_9a555151-d8d3-4dbb-b563-6fd7e121d6b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerRefundLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_6f8e5b58-c3ba-44dc-8d61-3eb2dad4223e" xlink:to="loc_us-gaap_ContractWithCustomerRefundLiability_9a555151-d8d3-4dbb-b563-6fd7e121d6b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent_7bbac5dd-ae5b-4154-9cc8-7d5b03a08bf5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_6f8e5b58-c3ba-44dc-8d61-3eb2dad4223e" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent_7bbac5dd-ae5b-4154-9cc8-7d5b03a08bf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrentAndNoncurrent_844a5a8c-b3fa-431d-b738-7ea9203c2ec6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_6f8e5b58-c3ba-44dc-8d61-3eb2dad4223e" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrentAndNoncurrent_844a5a8c-b3fa-431d-b738-7ea9203c2ec6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsAccruedExpensesDetails_1" xlink:type="simple" xlink:href="halo-20230630.xsd#CertainBalanceSheetItemsAccruedExpensesDetails_1"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsAccruedExpensesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_9b0f7697-5797-4f56-9da1-841b37258236" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccruedLiabilitiesNoncurrent_70080cdd-414a-4096-b426-82d37cef4401" xlink:href="halo-20230630.xsd#halo_AccruedLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_9b0f7697-5797-4f56-9da1-841b37258236" xlink:to="loc_halo_AccruedLiabilitiesNoncurrent_70080cdd-414a-4096-b426-82d37cef4401" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_a02f26e4-02a5-400d-9558-73f3c05757c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_9b0f7697-5797-4f56-9da1-841b37258236" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_a02f26e4-02a5-400d-9558-73f3c05757c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/GoodwillandIntangibleAssetsIntangibleAssetsDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#GoodwillandIntangibleAssetsIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/GoodwillandIntangibleAssetsIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d97b77e3-3f10-48d2-8579-f88e866ccb95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_3e7e8a41-e855-4ad0-9bb0-49c1eb41f4d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d97b77e3-3f10-48d2-8579-f88e866ccb95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_3e7e8a41-e855-4ad0-9bb0-49c1eb41f4d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_2455bc00-e293-450b-a39b-231ec4e39f2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d97b77e3-3f10-48d2-8579-f88e866ccb95" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_2455bc00-e293-450b-a39b-231ec4e39f2f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/GoodwillandIntangibleAssetsFutureAmortizationDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#GoodwillandIntangibleAssetsFutureAmortizationDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/GoodwillandIntangibleAssetsFutureAmortizationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6f1bb1e5-86e2-41a6-b10f-d3dc8b1b5018" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_ac3243cd-9c51-4dff-8155-ab801676b5c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6f1bb1e5-86e2-41a6-b10f-d3dc8b1b5018" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_ac3243cd-9c51-4dff-8155-ab801676b5c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_a351cd30-d14a-4ca3-98a0-2c56795b9a7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6f1bb1e5-86e2-41a6-b10f-d3dc8b1b5018" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_a351cd30-d14a-4ca3-98a0-2c56795b9a7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_ee0d2ce1-bf05-4176-b08f-ad4953277790" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6f1bb1e5-86e2-41a6-b10f-d3dc8b1b5018" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_ee0d2ce1-bf05-4176-b08f-ad4953277790" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_5adebdb2-a277-4b4b-92c1-1227e9af20c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6f1bb1e5-86e2-41a6-b10f-d3dc8b1b5018" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_5adebdb2-a277-4b4b-92c1-1227e9af20c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_3d7e2134-3232-46aa-9fc8-5d41256781ba" xlink:href="halo-20230630.xsd#halo_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6f1bb1e5-86e2-41a6-b10f-d3dc8b1b5018" xlink:to="loc_halo_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_3d7e2134-3232-46aa-9fc8-5d41256781ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_f82fcef2-69d3-481a-b825-b3be30f90c21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6f1bb1e5-86e2-41a6-b10f-d3dc8b1b5018" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_f82fcef2-69d3-481a-b825-b3be30f90c21" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/LongTermDebtNetCarryingAmountofConvertibleNotesDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#LongTermDebtNetCarryingAmountofConvertibleNotesDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/LongTermDebtNetCarryingAmountofConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_1c13ed07-3a99-42f5-b0ea-0523b3461438" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_ca4bbf1e-9615-4bf9-93c6-906393fcceb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_1c13ed07-3a99-42f5-b0ea-0523b3461438" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_ca4bbf1e-9615-4bf9-93c6-906393fcceb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_6c569d1b-62c1-4586-a86a-61d84c822cd4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_1c13ed07-3a99-42f5-b0ea-0523b3461438" xlink:to="loc_us-gaap_LongTermDebtCurrent_6c569d1b-62c1-4586-a86a-61d84c822cd4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/EarningspershareComputationDetails" xlink:type="simple" xlink:href="halo-20230630.xsd#EarningspershareComputationDetails"/>
  <link:calculationLink xlink:role="http://www.halozyme.com/role/EarningspershareComputationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e96de4be-9e00-46ec-90d7-5e69e135b96c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_763ef925-5460-4f05-b480-8e26d09b41b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e96de4be-9e00-46ec-90d7-5e69e135b96c" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_763ef925-5460-4f05-b480-8e26d09b41b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_b196f6be-7572-4927-8174-7d0ced056261" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e96de4be-9e00-46ec-90d7-5e69e135b96c" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_b196f6be-7572-4927-8174-7d0ced056261" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
