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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e4110-8ff3-7a21-a187-7f615833f2ff,g:c0c84040-facd-46ac-a790-2f453895f35d-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="bmrn-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e4110-917e-774c-9d86-c2fd947877ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4110-917e-72aa-87b3-4fe101cb8499" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e4110-917e-774c-9d86-c2fd947877ef" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4110-917e-72aa-87b3-4fe101cb8499" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e4110-917e-7770-b93b-bf72601b51f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e4110-917e-774c-9d86-c2fd947877ef" xlink:to="loc_us-gaap_CostsAndExpenses_019e4110-917e-7770-b93b-bf72601b51f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e4110-917e-7cf5-86f9-3bc8e041dad4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4110-917e-75cf-8139-6dc7d7a3ec37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917e-7cf5-86f9-3bc8e041dad4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4110-917e-75cf-8139-6dc7d7a3ec37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e4110-917e-735c-84b7-840815178972" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917e-7cf5-86f9-3bc8e041dad4" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e4110-917e-735c-84b7-840815178972" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4110-917e-7ac8-b74f-a2ec10f710b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e4110-917e-736e-8136-0aaa4f959fc4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4110-917e-7ac8-b74f-a2ec10f710b1" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e4110-917e-736e-8136-0aaa4f959fc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019e4110-917e-7759-8707-4bca5482a747" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4110-917e-7ac8-b74f-a2ec10f710b1" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019e4110-917e-7759-8707-4bca5482a747" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019e4110-917e-7caf-b53a-d84e7630267d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4110-917e-7ac8-b74f-a2ec10f710b1" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019e4110-917e-7caf-b53a-d84e7630267d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_019e4110-917e-784e-abd6-eb6de042b787" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4110-917e-7ac8-b74f-a2ec10f710b1" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_019e4110-917e-784e-abd6-eb6de042b787" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e4110-917e-7c47-a7f4-07a24b303558" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e4110-917e-7533-9d4f-bc852ccec792" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e4110-917e-7c47-a7f4-07a24b303558" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e4110-917e-7533-9d4f-bc852ccec792" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e4110-917e-7dba-8bfb-f96754c9009a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e4110-917e-7c47-a7f4-07a24b303558" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019e4110-917e-7dba-8bfb-f96754c9009a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e4110-917e-731a-9123-14f01851def3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e4110-917e-7c47-a7f4-07a24b303558" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e4110-917e-731a-9123-14f01851def3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019e4110-917e-7ce7-bfee-ef93cf9cf260" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e4110-917e-7c47-a7f4-07a24b303558" xlink:to="loc_us-gaap_CostOfRevenue_019e4110-917e-7ce7-bfee-ef93cf9cf260" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="bmrn-20260630.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e4110-917e-77d5-84ac-06f41bbc7b5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e4110-917e-79a3-9fa4-2af142237bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e4110-917e-77d5-84ac-06f41bbc7b5a" xlink:to="loc_us-gaap_Liabilities_019e4110-917e-79a3-9fa4-2af142237bdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e4110-917e-797b-9713-d1d6bd87b91f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e4110-917e-77d5-84ac-06f41bbc7b5a" xlink:to="loc_us-gaap_StockholdersEquity_019e4110-917e-797b-9713-d1d6bd87b91f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e4110-917e-73f4-8ec3-c952d60fbfae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:to="loc_us-gaap_AssetsCurrent_019e4110-917e-73f4-8ec3-c952d60fbfae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019e4110-917e-7794-abaa-384668b58b4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019e4110-917e-7794-abaa-384668b58b4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e4110-917e-7c79-84c2-1a5f3fd67818" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e4110-917e-7c79-84c2-1a5f3fd67818" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e4110-917e-7903-84b2-099db994bfa3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e4110-917e-7903-84b2-099db994bfa3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e4110-917e-710e-9ce9-2af8ab227434" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:to="loc_us-gaap_Goodwill_019e4110-917e-710e-9ce9-2af8ab227434" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e4110-917e-74d9-8bde-e3f3486f0e74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e4110-917e-74d9-8bde-e3f3486f0e74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e4110-917e-7e09-a8f0-8d6338dc8c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e4110-917e-7989-b61f-55240bb6c514" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e4110-917e-7e09-a8f0-8d6338dc8c8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e4110-917e-75c9-b0f7-a67dbfc5d874" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e4110-917e-79cc-ac6d-3b1ea6cf822b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e4110-917e-75c9-b0f7-a67dbfc5d874" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e4110-917e-79cc-ac6d-3b1ea6cf822b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e4110-917e-748a-a08b-6c1e4657cfde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e4110-917e-75c9-b0f7-a67dbfc5d874" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e4110-917e-748a-a08b-6c1e4657cfde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e4110-917e-73a1-9564-82bb0c6fe9f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e4110-917e-75c9-b0f7-a67dbfc5d874" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e4110-917e-73a1-9564-82bb0c6fe9f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e4110-917e-77c6-a0e2-bd3ae4662a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e4110-917e-75c9-b0f7-a67dbfc5d874" xlink:to="loc_us-gaap_InventoryNet_019e4110-917e-77c6-a0e2-bd3ae4662a0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019e4110-917e-7634-9548-8fbb837342b4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e4110-917e-75c9-b0f7-a67dbfc5d874" xlink:to="loc_us-gaap_OtherAssetsCurrent_019e4110-917e-7634-9548-8fbb837342b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e4110-917e-7475-a963-8964c170482d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019f039f-86d6-72dd-8c56-1e8b2cbed9a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e4110-917e-7475-a963-8964c170482d" xlink:to="loc_us-gaap_LongTermDebtCurrent_019f039f-86d6-72dd-8c56-1e8b2cbed9a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7447-8d75-cb8d5dc8baef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e4110-917e-7475-a963-8964c170482d" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7447-8d75-cb8d5dc8baef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e4110-917e-7bc5-ba98-5fab10f53098" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e4110-917e-7734-9f0d-e4b737990694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e4110-917e-7bc5-ba98-5fab10f53098" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e4110-917e-7734-9f0d-e4b737990694" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019e4110-917e-7857-a2b7-ebf319530ff0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e4110-917e-7bc5-ba98-5fab10f53098" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019e4110-917e-7857-a2b7-ebf319530ff0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e4110-917e-7e40-90da-b460d7e7cc8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e4110-917e-7bc5-ba98-5fab10f53098" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019e4110-917e-7e40-90da-b460d7e7cc8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e4110-917e-727d-addf-5092444e285a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e4110-917e-704a-8db0-6ba47df1fd82" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e4110-917e-727d-addf-5092444e285a" xlink:to="loc_us-gaap_CommonStockValue_019e4110-917e-704a-8db0-6ba47df1fd82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e4110-917e-725a-903d-ffe1ce7517bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e4110-917e-727d-addf-5092444e285a" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e4110-917e-725a-903d-ffe1ce7517bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockIssuedEmployeeStockTrust_019e4110-917e-7cc3-8220-1c52284dbe4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockIssuedEmployeeStockTrust"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e4110-917e-727d-addf-5092444e285a" xlink:to="loc_us-gaap_CommonStockIssuedEmployeeStockTrust_019e4110-917e-7cc3-8220-1c52284dbe4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e4110-917e-7945-8481-c279e08f6d9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e4110-917e-727d-addf-5092444e285a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e4110-917e-7945-8481-c279e08f6d9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e4110-917e-750d-b9e2-1482f1bb34ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e4110-917e-727d-addf-5092444e285a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e4110-917e-750d-b9e2-1482f1bb34ad" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="bmrn-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-740c-8441-e973aeabea35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e4110-917e-7a49-b7a5-c699886b318c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-740c-8441-e973aeabea35" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e4110-917e-7a49-b7a5-c699886b318c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019e4110-917e-7c8b-a0dd-06d857b8a1b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-740c-8441-e973aeabea35" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019e4110-917e-7c8b-a0dd-06d857b8a1b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_019e4110-917e-7d5c-a608-398abc00fc9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-740c-8441-e973aeabea35" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_019e4110-917e-7d5c-a608-398abc00fc9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019e4110-917e-7dbd-9888-0a491970bdb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-740c-8441-e973aeabea35" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019e4110-917e-7dbd-9888-0a491970bdb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_PaymentsForAssetAcquisitionsNetOfCashAcquired_019f114e-592f-7824-b0a0-72c0f27683cb" xlink:href="bmrn-20260630.xsd#bmrn_PaymentsForAssetAcquisitionsNetOfCashAcquired"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-740c-8441-e973aeabea35" xlink:to="loc_bmrn_PaymentsForAssetAcquisitionsNetOfCashAcquired_019f114e-592f-7824-b0a0-72c0f27683cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019f114e-592f-71d0-a66a-59415ec79b7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-740c-8441-e973aeabea35" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019f114e-592f-71d0-a66a-59415ec79b7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e4110-917e-784c-ab52-228e88fdec6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e4110-917e-784c-ab52-228e88fdec6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e4110-917e-7ba4-9d4e-901aede4e64c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e4110-917e-7ba4-9d4e-901aede4e64c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019e4110-917e-7827-b77a-290e94bfdf3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_AssetImpairmentCharges_019e4110-917e-7827-b77a-290e94bfdf3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e4110-917e-74e1-a318-24baef96b6a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e4110-917e-74e1-a318-24baef96b6a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e4110-917e-7f2b-8859-9efb844f5879" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e4110-917e-7f2b-8859-9efb844f5879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e4110-917e-710f-8897-863caf84b716" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_ShareBasedCompensation_019e4110-917e-710f-8897-863caf84b716" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e4110-917e-7d91-93a3-e75f94351aa8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e4110-917e-7d91-93a3-e75f94351aa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e4110-917e-718c-ba89-a71084887742" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_NetIncomeLoss_019e4110-917e-718c-ba89-a71084887742" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e4110-917e-7e56-a9c2-ed002d2ae880" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e4110-917e-7e56-a9c2-ed002d2ae880" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e4110-917e-7db6-abe4-0291743fc5e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e4110-917e-7db6-abe4-0291743fc5e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e4110-917e-7aa5-a395-6abb79950908" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e4110-917e-7aa5-a395-6abb79950908" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019e4110-917e-7f62-a565-44686bdc8e34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019e4110-917e-7f62-a565-44686bdc8e34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_019e4110-917e-7138-9e14-fbac0358716e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_019e4110-917e-7138-9e14-fbac0358716e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019e4110-917e-702c-bded-8284a03697eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-7e87-be7b-1346c54e69ad" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019e4110-917e-702c-bded-8284a03697eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e4110-917e-7ff5-a660-0d39809bb33b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-74d3-ae3a-9e2751a0c73b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e4110-917e-7ff5-a660-0d39809bb33b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4110-917e-74d3-ae3a-9e2751a0c73b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-777d-9cab-f8a037fcd4f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e4110-917e-7ff5-a660-0d39809bb33b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-777d-9cab-f8a037fcd4f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_019e4110-917e-7c47-8ce5-aaa791afc0f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e4110-917e-7ff5-a660-0d39809bb33b" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_019e4110-917e-7c47-8ce5-aaa791afc0f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-7909-a44b-a0df4547c2bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e4110-917e-7ff5-a660-0d39809bb33b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4110-917e-7909-a44b-a0df4547c2bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-77a0-bddd-c316265cdca2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e4110-917e-7ef5-8710-7290ad25dfc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-77a0-bddd-c316265cdca2" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e4110-917e-7ef5-8710-7290ad25dfc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e4110-917e-7d70-95ef-fd19404ab24e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-77a0-bddd-c316265cdca2" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e4110-917e-7d70-95ef-fd19404ab24e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_019f88ab-7bf8-7fce-b563-74fedd47d43c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-77a0-bddd-c316265cdca2" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_019f88ab-7bf8-7fce-b563-74fedd47d43c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019f88ab-7bf8-70dc-a84e-72a35b0cf1fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-77a0-bddd-c316265cdca2" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019f88ab-7bf8-70dc-a84e-72a35b0cf1fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019fd1ea-fd72-7cf6-b0dc-7acea92209c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4110-917e-77a0-bddd-c316265cdca2" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019fd1ea-fd72-7cf6-b0dc-7acea92209c7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/ACQUISITIONSScheduleofTotalConsiderationTransferredfortheAcquisitionDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#ACQUISITIONSScheduleofTotalConsiderationTransferredfortheAcquisitionDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/ACQUISITIONSScheduleofTotalConsiderationTransferredfortheAcquisitionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fb45b-87dc-7cab-a9c3-828db67e183f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fb45b-87dc-7ec1-9c43-b9560e018a60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fb45b-87dc-7cab-a9c3-828db67e183f" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fb45b-87dc-7ec1-9c43-b9560e018a60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_BusinessCombinationConsiderationTransferredCashSettlementForStockUnits_019fb45b-87dc-718a-a5bf-9296ee16b93b" xlink:href="bmrn-20260630.xsd#bmrn_BusinessCombinationConsiderationTransferredCashSettlementForStockUnits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fb45b-87dc-7cab-a9c3-828db67e183f" xlink:to="loc_bmrn_BusinessCombinationConsiderationTransferredCashSettlementForStockUnits_019fb45b-87dc-718a-a5bf-9296ee16b93b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_BusinessCombinationConsiderationTransferredCashSettlementForStockOptions_019fb45b-87dc-74db-9ffc-b3d7859bd812" xlink:href="bmrn-20260630.xsd#bmrn_BusinessCombinationConsiderationTransferredCashSettlementForStockOptions"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fb45b-87dc-7cab-a9c3-828db67e183f" xlink:to="loc_bmrn_BusinessCombinationConsiderationTransferredCashSettlementForStockOptions_019fb45b-87dc-74db-9ffc-b3d7859bd812" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_BusinessCombinationConsiderationTransferredTransactionExpenses_019fb45b-87dc-78e1-af0b-74e6861be7c6" xlink:href="bmrn-20260630.xsd#bmrn_BusinessCombinationConsiderationTransferredTransactionExpenses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fb45b-87dc-7cab-a9c3-828db67e183f" xlink:to="loc_bmrn_BusinessCombinationConsiderationTransferredTransactionExpenses_019fb45b-87dc-78e1-af0b-74e6861be7c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_019fd1f1-097e-7cf3-b90b-71f14d21abaa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fb45b-87dc-7cab-a9c3-828db67e183f" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_019fd1f1-097e-7cf3-b90b-71f14d21abaa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/ACQUISITIONSScheduleofRecognizedAssetAcquiredandLiabilityAssumedDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#ACQUISITIONSScheduleofRecognizedAssetAcquiredandLiabilityAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/ACQUISITIONSScheduleofRecognizedAssetAcquiredandLiabilityAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019fb436-41f1-7a43-b4ac-cfaee5d5848c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019fb436-41f1-7a43-b4ac-cfaee5d5848c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_019fb436-41f1-7f67-a6cd-f869a9f78034" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_019fb436-41f1-7f67-a6cd-f869a9f78034" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_019fb436-41f1-7829-8b5d-cde852a2e0bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_019fb436-41f1-7829-8b5d-cde852a2e0bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_019fb436-41f1-7728-abf9-79f1c070da62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_019fb436-41f1-7728-abf9-79f1c070da62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fb436-41f1-728b-b418-c5fc9421a36b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fb436-41f1-728b-b418-c5fc9421a36b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fb436-41f1-70b6-8915-711664e41ed7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_Goodwill_019fb436-41f1-70b6-8915-711664e41ed7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_019fb436-41f1-79fd-a02e-64194030695d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_019fb436-41f1-79fd-a02e-64194030695d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_019fb436-41f1-7cba-8385-914b17e8a7f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_019fb436-41f1-7cba-8385-914b17e8a7f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_019fb436-41f1-7022-b691-f277dea83971" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_019fb436-41f1-7022-b691-f277dea83971" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_019fb436-41f1-7151-ab81-9026b01862ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_019fb436-41f1-7151-ab81-9026b01862ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fb436-41f1-7e84-b96c-38f6587415a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fb436-41f1-76f5-91ff-4a983a1c957f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fb436-41f1-7e84-b96c-38f6587415a9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/ACQUISITIONSScheduleofthePurchasedIntangibleAssetsAcquiredDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#ACQUISITIONSScheduleofthePurchasedIntangibleAssetsAcquiredDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/ACQUISITIONSScheduleofthePurchasedIntangibleAssetsAcquiredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fbe09-b773-7b10-ba66-c63259db631c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_019fbe09-b773-75a7-bfb2-e902edabd6e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fbe09-b773-7b10-ba66-c63259db631c" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_019fbe09-b773-75a7-bfb2-e902edabd6e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIndefiniteLivedIntangibleAssets_019fbe09-b773-7980-bf4e-6d38a1e373f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIndefiniteLivedIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fbe09-b773-7b10-ba66-c63259db631c" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIndefiniteLivedIntangibleAssets_019fbe09-b773-7980-bf4e-6d38a1e373f4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofCashandAvailableforSaleSecuritiesDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#FINANCIALINSTRUMENTSScheduleofCashandAvailableforSaleSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofCashandAvailableforSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e4110-917e-7da5-94c1-4d4dedfb748e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e4110-917e-7813-a326-53629164fb96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e4110-917e-7da5-94c1-4d4dedfb748e" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e4110-917e-7813-a326-53629164fb96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e4110-917e-7e40-ab53-97a7578c987c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e4110-917e-7da5-94c1-4d4dedfb748e" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e4110-917e-7e40-ab53-97a7578c987c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e4110-917e-7fea-8a79-b693f40a85f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e4110-917e-7da5-94c1-4d4dedfb748e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e4110-917e-7fea-8a79-b693f40a85f2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofInventoryDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofInventoryDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofInventoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e4110-917e-7057-bfb2-f61db0ecacd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019e4110-917e-7c14-ab6f-379c7a91b9e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e4110-917e-7057-bfb2-f61db0ecacd7" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019e4110-917e-7c14-ab6f-379c7a91b9e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019e4110-917e-7ce6-b6ea-206befe2060c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e4110-917e-7057-bfb2-f61db0ecacd7" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019e4110-917e-7ce6-b6ea-206befe2060c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019e4110-917e-7b48-916e-e7387f47a873" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e4110-917e-7057-bfb2-f61db0ecacd7" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019e4110-917e-7b48-916e-e7387f47a873" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofPropertyPlantandEquipmentNetDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofPropertyPlantandEquipmentNetDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofPropertyPlantandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e4110-917e-7655-b38b-e0b5f5a21073" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019e4110-917e-740a-a8b4-c320f78b5fde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019e4110-917e-7655-b38b-e0b5f5a21073" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019e4110-917e-740a-a8b4-c320f78b5fde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e4110-917e-7d4f-b8ce-7e28abbf88d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019e4110-917e-7655-b38b-e0b5f5a21073" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e4110-917e-7d4f-b8ce-7e28abbf88d9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofIntangibleAssetsNetDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofIntangibleAssetsNetDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofIntangibleAssetsNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019f8aad-a6c9-74a7-8b1f-4b9033dbbe66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f8aad-a6c9-7a54-9f78-0a72bd5d6dbf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019f8aad-a6c9-74a7-8b1f-4b9033dbbe66" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f8aad-a6c9-7a54-9f78-0a72bd5d6dbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_019f8aad-a6c9-7fb4-a296-16e27c7d0728" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019f8aad-a6c9-74a7-8b1f-4b9033dbbe66" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_019f8aad-a6c9-7fb4-a296-16e27c7d0728" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e4110-917e-73fb-a4c5-c04c150bead0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019e4110-917e-7464-9d7e-1832ad30a577" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e4110-917e-73fb-a4c5-c04c150bead0" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019e4110-917e-7464-9d7e-1832ad30a577" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e4110-917e-7b15-8c77-b841905e2792" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e4110-917e-73fb-a4c5-c04c150bead0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e4110-917e-7b15-8c77-b841905e2792" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofAccountsPayableandAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofAccountsPayableandAccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofAccountsPayableandAccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent_019e4110-917e-7636-a925-a4f526866315" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent_019e4110-917e-7636-a925-a4f526866315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e4110-917e-7939-a699-646c40378559" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e4110-917e-7939-a699-646c40378559" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AccruedGovernmentAndOtherRebates_019e4110-917e-78f9-8b91-3aebaf5101de" xlink:href="bmrn-20260630.xsd#bmrn_AccruedGovernmentAndOtherRebates"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_bmrn_AccruedGovernmentAndOtherRebates_019e4110-917e-78f9-8b91-3aebaf5101de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_019e4110-917e-7e86-b7d6-813793ab066e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_019e4110-917e-7e86-b7d6-813793ab066e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_019e4110-917e-761f-92b1-689c9fcac226" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_us-gaap_InterestPayableCurrent_019e4110-917e-761f-92b1-689c9fcac226" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_OperatingAndFinanceLeaseLiabilityCurrent_019e4110-917e-7b0d-9a1e-ae5b4d9d203d" xlink:href="bmrn-20260630.xsd#bmrn_OperatingAndFinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_bmrn_OperatingAndFinanceLeaseLiabilityCurrent_019e4110-917e-7b0d-9a1e-ae5b4d9d203d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRoyaltiesCurrent_019e4110-917e-7c49-85b5-9457a4540d75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedRoyaltiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_us-gaap_AccruedRoyaltiesCurrent_019e4110-917e-7c49-85b5-9457a4540d75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_019e4110-917e-7db4-9600-a3112c49ffdd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_019e4110-917e-7db4-9600-a3112c49ffdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccountsPayableAndAccruedLiabilities_019e4110-917e-7c0e-b1fe-bbed90187639" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4110-917e-7502-abfe-feb0c994b8c8" xlink:to="loc_us-gaap_OtherAccountsPayableAndAccruedLiabilities_019e4110-917e-7c0e-b1fe-bbed90187639" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#FAIRVALUEMEASUREMENTSDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019e4110-917e-7bb8-85e9-804aea7f0885" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_019e4110-917e-7171-8b9a-e7f88101ed2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019e4110-917e-7bb8-85e9-804aea7f0885" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_019e4110-917e-7171-8b9a-e7f88101ed2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019e4110-917e-7a7c-b21d-7874cfb96d7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019e4110-917e-7bb8-85e9-804aea7f0885" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019e4110-917e-7a7c-b21d-7874cfb96d7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019e4110-917e-79d8-a411-68cba5d6011a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_DeferredCompensationPlanAssetsCurrent_019e4110-917e-7fa7-b507-551e109bb373" xlink:href="bmrn-20260630.xsd#bmrn_DeferredCompensationPlanAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e4110-917e-79d8-a411-68cba5d6011a" xlink:to="loc_bmrn_DeferredCompensationPlanAssetsCurrent_019e4110-917e-7fa7-b507-551e109bb373" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_019e4110-917e-7131-8123-1726c07d324e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationPlanAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e4110-917e-79d8-a411-68cba5d6011a" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_019e4110-917e-7131-8123-1726c07d324e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/DEBTScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#DEBTScheduleofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/DEBTScheduleofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e4110-917e-788f-b191-ceb22a2f524f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019e4110-917e-7632-a2b7-4e40cfb133ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e4110-917e-788f-b191-ceb22a2f524f" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019e4110-917e-7632-a2b7-4e40cfb133ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019e4110-917e-7444-9d5e-22a9fdca837c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e4110-917e-788f-b191-ceb22a2f524f" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019e4110-917e-7444-9d5e-22a9fdca837c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/DEBTScheduleofInterestExpenseonLongTermDebtDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#DEBTScheduleofInterestExpenseonLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/DEBTScheduleofInterestExpenseonLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_019e4110-917e-71ac-9327-80c3f3f3306d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_019e4110-917e-70bf-af99-e7c70db9bbda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_019e4110-917e-71ac-9327-80c3f3f3306d" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_019e4110-917e-70bf-af99-e7c70db9bbda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e4110-917e-7b1b-a7ff-195be8c6e50f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_019e4110-917e-71ac-9327-80c3f3f3306d" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e4110-917e-7b1b-a7ff-195be8c6e50f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_019e4110-917e-74d8-b721-c752c693ce5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_019e4110-917e-71ac-9327-80c3f3f3306d" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_019e4110-917e-74d8-b721-c752c693ce5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_InterestExpenseBridgeCommitmentFee_019fbe3a-37a5-726a-afcd-fcf2db2ae042" xlink:href="bmrn-20260630.xsd#bmrn_InterestExpenseBridgeCommitmentFee"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_019e4110-917e-71ac-9327-80c3f3f3306d" xlink:to="loc_bmrn_InterestExpenseBridgeCommitmentFee_019fbe3a-37a5-726a-afcd-fcf2db2ae042" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#ACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e4110-917e-7580-b9aa-1268fe4f4aa8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019e4110-917e-7e7d-8367-903c26ac9fb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e4110-917e-7580-b9aa-1268fe4f4aa8" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019e4110-917e-7e7d-8367-903c26ac9fb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019e4110-917e-76fb-9776-95e17cd39602" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e4110-917e-7580-b9aa-1268fe4f4aa8" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019e4110-917e-76fb-9776-95e17cd39602" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_019e4110-917e-7461-bf46-df74f3145bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e4110-917e-7580-b9aa-1268fe4f4aa8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_019e4110-917e-7461-bf46-df74f3145bdf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofReportableSegmentInformationDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#SEGMENTINFORMATIONScheduleofReportableSegmentInformationDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofReportableSegmentInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e4110-917f-741e-8089-f70d47d5b019" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e4110-917f-75d2-9353-652a7b1ffe01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917f-741e-8089-f70d47d5b019" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019e4110-917f-75d2-9353-652a7b1ffe01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4110-917f-7dc6-b96d-fb7f592fdd34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917f-741e-8089-f70d47d5b019" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4110-917f-7dc6-b96d-fb7f592fdd34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019e4110-917f-7ab7-9b6c-de79b1a3414e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917f-741e-8089-f70d47d5b019" xlink:to="loc_us-gaap_CostOfRevenue_019e4110-917f-7ab7-9b6c-de79b1a3414e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_019e4110-917f-77a9-99b1-ac0043ef2f27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingOtherItemAmount"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917f-741e-8089-f70d47d5b019" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_019e4110-917f-77a9-99b1-ac0043ef2f27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e4110-917f-7bec-8a28-5929651430e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917f-741e-8089-f70d47d5b019" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e4110-917f-7bec-8a28-5929651430e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019e4110-917f-7479-af93-ea107d199ecf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e4110-917f-741e-8089-f70d47d5b019" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019e4110-917f-7479-af93-ea107d199ecf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/EARNINGSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails" xlink:type="simple" xlink:href="bmrn-20260630.xsd#EARNINGSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/EARNINGSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e4110-917f-7125-9e58-cca87c57892d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019e4110-917f-7874-8a39-5430887b66a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e4110-917f-7125-9e58-cca87c57892d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019e4110-917f-7874-8a39-5430887b66a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e4110-917f-765b-a79a-6d2ae9328720" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e4110-917f-7125-9e58-cca87c57892d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e4110-917f-765b-a79a-6d2ae9328720" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e4110-917f-7b54-be28-c6a52a7d4bcd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_019e4110-917f-7292-b433-eb46d122d9a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestOnConvertibleDebtNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e4110-917f-7b54-be28-c6a52a7d4bcd" xlink:to="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_019e4110-917f-7292-b433-eb46d122d9a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e4110-917f-7aab-bbe9-64fcc9887dc6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e4110-917f-7b54-be28-c6a52a7d4bcd" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e4110-917f-7aab-bbe9-64fcc9887dc6" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
