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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019cb4d6-86d0-7e6a-9c8d-d254be46240f,g:d6b40f4a-c0e7-4201-8501-b710a704b9b5-->
<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-20260331.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb4d6-8814-7d5a-ba2f-ff78536848ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019cb4d6-8814-72ff-a95e-789727f30b7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7d5a-ba2f-ff78536848ba" xlink:to="loc_us-gaap_OperatingIncomeLoss_019cb4d6-8814-72ff-a95e-789727f30b7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019cb4d6-8814-7e46-825c-ed54b22c72a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7d5a-ba2f-ff78536848ba" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019cb4d6-8814-7e46-825c-ed54b22c72a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019cb4d6-8814-7d6a-8ab0-5eb796dde79d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7d5a-ba2f-ff78536848ba" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019cb4d6-8814-7d6a-8ab0-5eb796dde79d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_019cb4d6-8814-78de-8ed0-c3ad592015d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7d5a-ba2f-ff78536848ba" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_019cb4d6-8814-78de-8ed0-c3ad592015d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019cb4d6-8814-78d2-8ad1-0ddfe3b38627" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb4d6-8814-7383-851e-1b21f556f4e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-78d2-8ad1-0ddfe3b38627" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb4d6-8814-7383-851e-1b21f556f4e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019cb4d6-8814-71af-bd88-765fb1623560" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-78d2-8ad1-0ddfe3b38627" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019cb4d6-8814-71af-bd88-765fb1623560" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019cb4d6-8814-7b38-910b-00817b63e0c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019cb4d6-8814-7186-8599-708489957980" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7b38-910b-00817b63e0c8" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019cb4d6-8814-7186-8599-708489957980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019cb4d6-8814-78d9-9c7b-3dbc119e6683" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7b38-910b-00817b63e0c8" xlink:to="loc_us-gaap_CostsAndExpenses_019cb4d6-8814-78d9-9c7b-3dbc119e6683" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019cb4d6-8814-7f8c-a47d-f63050525a87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019cb4d6-8814-71c9-96e6-a18e6e3fef0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7f8c-a47d-f63050525a87" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019cb4d6-8814-71c9-96e6-a18e6e3fef0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019cb4d6-8814-7ac2-971d-7188f7f33bdb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7f8c-a47d-f63050525a87" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019cb4d6-8814-7ac2-971d-7188f7f33bdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019cb4d6-8814-798c-9d91-57404570f358" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7f8c-a47d-f63050525a87" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019cb4d6-8814-798c-9d91-57404570f358" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019cb4d6-8814-7a93-b5ab-8fabe9ceb1de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7f8c-a47d-f63050525a87" xlink:to="loc_us-gaap_CostOfRevenue_019cb4d6-8814-7a93-b5ab-8fabe9ceb1de" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="bmrn-20260331.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_StockholdersEquity_019cb4d6-8814-7159-be9b-50c10874f654" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019cb4d6-8814-7d40-8ee4-383f06c7a5d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7159-be9b-50c10874f654" xlink:to="loc_us-gaap_CommonStockValue_019cb4d6-8814-7d40-8ee4-383f06c7a5d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019cb4d6-8814-7332-ba97-8d3bc3feb9fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7159-be9b-50c10874f654" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019cb4d6-8814-7332-ba97-8d3bc3feb9fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockIssuedEmployeeStockTrust_019cb4d6-8814-76c7-9059-4b5ae488b0fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7159-be9b-50c10874f654" xlink:to="loc_us-gaap_CommonStockIssuedEmployeeStockTrust_019cb4d6-8814-76c7-9059-4b5ae488b0fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cb4d6-8814-764f-8e65-5f8a65065f61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7159-be9b-50c10874f654" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cb4d6-8814-764f-8e65-5f8a65065f61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cb4d6-8814-7f23-93c3-3b30acc29fed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7159-be9b-50c10874f654" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cb4d6-8814-7f23-93c3-3b30acc29fed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cb4d6-8814-7a33-adb1-883f0a6b5d38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_AssetsCurrent_019cb4d6-8814-7a33-adb1-883f0a6b5d38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019cb4d6-8814-726b-a2fd-d663d0c6a476" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019cb4d6-8814-726b-a2fd-d663d0c6a476" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019cb4d6-8814-7f3b-a80e-a8afaf33abe2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019cb4d6-8814-7f3b-a80e-a8afaf33abe2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cb4d6-8814-7cb1-ba34-ce45dfe14965" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cb4d6-8814-7cb1-ba34-ce45dfe14965" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019cb4d6-8814-74d5-ba10-823ca729e7e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_Goodwill_019cb4d6-8814-74d5-ba10-823ca729e7e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019cb4d6-8814-72ed-93c2-844aca2e733a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019cb4d6-8814-72ed-93c2-844aca2e733a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashEquivalentsNoncurrent_019cb4d6-8814-7bff-9486-bec353f3fd43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashEquivalentsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_RestrictedCashEquivalentsNoncurrent_019cb4d6-8814-7bff-9486-bec353f3fd43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019d6372-7f8b-7895-972d-b272cd298171" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb4d6-8814-7e38-8f6c-1fedae75eff7" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019d6372-7f8b-7895-972d-b272cd298171" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb4d6-8814-7da0-8195-02d6d4990ea4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019cb4d6-8814-70a6-9ba0-b095a987c3a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7da0-8195-02d6d4990ea4" xlink:to="loc_us-gaap_Liabilities_019cb4d6-8814-70a6-9ba0-b095a987c3a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb4d6-8814-7f30-a11b-62653d92edb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7da0-8195-02d6d4990ea4" xlink:to="loc_us-gaap_StockholdersEquity_019cb4d6-8814-7f30-a11b-62653d92edb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cb4d6-8814-7c48-8205-b6b8efa478b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019cb4d6-8814-70f2-96f1-238724ea6d25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb4d6-8814-7c48-8205-b6b8efa478b8" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019cb4d6-8814-70f2-96f1-238724ea6d25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cb4d6-8814-7646-8cdd-e9ca423a1258" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cb4d6-8814-7db0-9fea-73599b56e8f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7646-8cdd-e9ca423a1258" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cb4d6-8814-7db0-9fea-73599b56e8f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019cb4d6-8814-73b3-8ead-0830cabb871d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7646-8cdd-e9ca423a1258" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019cb4d6-8814-73b3-8ead-0830cabb871d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019cb4d6-8814-78a6-bad4-a240c58daf7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7646-8cdd-e9ca423a1258" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019cb4d6-8814-78a6-bad4-a240c58daf7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019cb4d6-8814-7075-8383-04e94c4c8efd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7646-8cdd-e9ca423a1258" xlink:to="loc_us-gaap_InventoryNet_019cb4d6-8814-7075-8383-04e94c4c8efd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019cb4d6-8814-7cdd-918f-de7f3b5a72c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7646-8cdd-e9ca423a1258" xlink:to="loc_us-gaap_OtherAssetsCurrent_019cb4d6-8814-7cdd-918f-de7f3b5a72c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019cb4d6-8814-73c1-a4a6-5f8099cc0a56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cb4d6-8814-705f-99a2-2124b544204e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-73c1-a4a6-5f8099cc0a56" xlink:to="loc_us-gaap_LiabilitiesCurrent_019cb4d6-8814-705f-99a2-2124b544204e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019cb4d6-8814-7c89-94a0-03388baa07a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb4d6-8814-73c1-a4a6-5f8099cc0a56" xlink:to="loc_us-gaap_LongTermDebt_019cb4d6-8814-7c89-94a0-03388baa07a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019cb4d6-8814-75df-baf3-28ab017d9b31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-73c1-a4a6-5f8099cc0a56" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019cb4d6-8814-75df-baf3-28ab017d9b31" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="bmrn-20260331.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_NetCashProvidedByUsedInFinancingActivities_019cb4d6-8814-79f4-a231-18035b6b930d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019cb4d6-8814-7605-a50d-45dfe5a44992" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb4d6-8814-79f4-a231-18035b6b930d" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019cb4d6-8814-7605-a50d-45dfe5a44992" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_019cb4d6-8814-7a20-941f-0afde1572c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb4d6-8814-79f4-a231-18035b6b930d" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_019cb4d6-8814-7a20-941f-0afde1572c7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019d637f-25e6-7ce3-8dfc-75da9de8a793" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb4d6-8814-79f4-a231-18035b6b930d" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019d637f-25e6-7ce3-8dfc-75da9de8a793" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb4d6-8814-7540-8d2c-5626b1dbdfca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-73bc-b10a-e8c0f2b9625c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7540-8d2c-5626b1dbdfca" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-73bc-b10a-e8c0f2b9625c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb4d6-8814-73cd-ab19-c225377be1e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7540-8d2c-5626b1dbdfca" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb4d6-8814-73cd-ab19-c225377be1e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_019cb4d6-8814-7cbe-ac06-9f7bc70d1c39" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7540-8d2c-5626b1dbdfca" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_019cb4d6-8814-7cbe-ac06-9f7bc70d1c39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb4d6-8814-7876-9996-e8ea3b42af0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7540-8d2c-5626b1dbdfca" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb4d6-8814-7876-9996-e8ea3b42af0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb4d6-8814-75cf-997e-6fb46fec679c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cb4d6-8814-74d6-8bbb-4d8a46cf3374" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-75cf-997e-6fb46fec679c" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cb4d6-8814-74d6-8bbb-4d8a46cf3374" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019cb4d6-8814-7f25-919a-cc5f0f350f25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-75cf-997e-6fb46fec679c" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019cb4d6-8814-7f25-919a-cc5f0f350f25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_019cb4d6-8814-75e3-977d-79741f05c7c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-75cf-997e-6fb46fec679c" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_019cb4d6-8814-75e3-977d-79741f05c7c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019dbdfd-4cad-7747-b261-a75f4f0e0d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb4d6-8814-75cf-997e-6fb46fec679c" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019dbdfd-4cad-7747-b261-a75f4f0e0d6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019cb4d6-8814-7834-a0ca-da9bf0487dde" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019cb4d6-8814-7834-a0ca-da9bf0487dde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019cb4d6-8814-71e6-b95d-5d554e9c7d90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019cb4d6-8814-71e6-b95d-5d554e9c7d90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019cb4d6-8814-7063-8185-8a3f3bbc53df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_AssetImpairmentCharges_019cb4d6-8814-7063-8185-8a3f3bbc53df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019cb4d6-8814-7fb3-bdcb-c50f5e31bb04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019cb4d6-8814-7fb3-bdcb-c50f5e31bb04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019cb4d6-8814-70c9-b00a-59de62c57ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019cb4d6-8814-70c9-b00a-59de62c57ae3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019cb4d6-8814-79bd-b809-d8b5475bcb58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_ShareBasedCompensation_019cb4d6-8814-79bd-b809-d8b5475bcb58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019cb4d6-8814-751d-8beb-3f15dd5eef16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019cb4d6-8814-751d-8beb-3f15dd5eef16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019cb4d6-8814-7bc7-819f-e3531b98a808" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_NetIncomeLoss_019cb4d6-8814-7bc7-819f-e3531b98a808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019cb4d6-8814-7595-846d-11f4c7e87ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019cb4d6-8814-7595-846d-11f4c7e87ee2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019cb4d6-8814-7cdd-a4d4-22d1c17a6b57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019cb4d6-8814-7cdd-a4d4-22d1c17a6b57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019cb4d6-8814-7b59-ba1d-4a5e91fd0aac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019cb4d6-8814-7b59-ba1d-4a5e91fd0aac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019cb4d6-8814-77bf-bd77-e435230ac6e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019cb4d6-8814-77bf-bd77-e435230ac6e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019cb4d6-8814-729c-bd65-702036d7b45d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019cb4d6-8814-729c-bd65-702036d7b45d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_019cb4d6-8814-7a7b-ae73-2c1faef58a56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_019cb4d6-8814-7a7b-ae73-2c1faef58a56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019cb4d6-8814-78a9-a7b0-469b436edc1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb4d6-8814-76d4-a7b6-b844787218ca" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019cb4d6-8814-78a9-a7b0-469b436edc1d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofCashCashEquivalentsRestrictedCashEquivalentsandAvailableforSaleSecuritiesbySignificantInvestmentCategoryDetails" xlink:type="simple" xlink:href="bmrn-20260331.xsd#FINANCIALINSTRUMENTSScheduleofCashCashEquivalentsRestrictedCashEquivalentsandAvailableforSaleSecuritiesbySignificantInvestmentCategoryDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofCashCashEquivalentsRestrictedCashEquivalentsandAvailableforSaleSecuritiesbySignificantInvestmentCategoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019cb4d6-8814-728d-81bf-487e0fe576cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cb4d6-8814-7452-813b-1f611ee44034" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-728d-81bf-487e0fe576cf" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cb4d6-8814-7452-813b-1f611ee44034" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cb4d6-8814-78fb-935e-70c050a4d731" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-728d-81bf-487e0fe576cf" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cb4d6-8814-78fb-935e-70c050a4d731" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019cb4d6-8814-7f17-a537-879d63aae312" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-728d-81bf-487e0fe576cf" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019cb4d6-8814-7f17-a537-879d63aae312" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofReconciliationofCashCashEquivalentsandRestrictedCashEquivalentsDetails" xlink:type="simple" xlink:href="bmrn-20260331.xsd#FINANCIALINSTRUMENTSScheduleofReconciliationofCashCashEquivalentsandRestrictedCashEquivalentsDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofReconciliationofCashCashEquivalentsandRestrictedCashEquivalentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019dadcb-4808-7cf5-8d26-7c561d69c997" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019dadcb-4808-713d-826b-67678fc98fdd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019dadcb-4808-7cf5-8d26-7c561d69c997" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019dadcb-4808-713d-826b-67678fc98fdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashEquivalentsNoncurrent_019dadcb-4808-71bb-9f59-a47ea4d4e138" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashEquivalentsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019dadcb-4808-7cf5-8d26-7c561d69c997" xlink:to="loc_us-gaap_RestrictedCashEquivalentsNoncurrent_019dadcb-4808-71bb-9f59-a47ea4d4e138" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofInventoryDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_019cb4d6-8814-7b3f-bc31-0984ead664bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019cb4d6-8814-7ff5-a2d9-8ed30ea2110c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7b3f-bc31-0984ead664bc" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019cb4d6-8814-7ff5-a2d9-8ed30ea2110c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019cb4d6-8814-7091-ad45-a539243bc119" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7b3f-bc31-0984ead664bc" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019cb4d6-8814-7091-ad45-a539243bc119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019cb4d6-8814-7950-979d-fa54943f1f41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7b3f-bc31-0984ead664bc" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019cb4d6-8814-7950-979d-fa54943f1f41" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofPropertyPlantandEquipmentNetDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_019cb4d6-8814-7b09-94e2-8cc09d2467a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019cb4d6-8814-7cc6-8656-cc993900871b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7b09-94e2-8cc09d2467a4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019cb4d6-8814-7cc6-8656-cc993900871b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019cb4d6-8814-7b6a-bdce-49bf0d7f1a4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7b09-94e2-8cc09d2467a4" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019cb4d6-8814-7b6a-bdce-49bf0d7f1a4b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofIntangibleAssetsNetDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_FiniteLivedIntangibleAssetsNet_019cb4d6-8814-7d1e-affe-ca49eca4dcc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019cb4d6-8814-7fa3-9b7b-890e8e6c763e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_FiniteLivedIntangibleAssetsNet_019cb4d6-8814-7d1e-affe-ca49eca4dcc7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019cb4d6-8814-7fa3-9b7b-890e8e6c763e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cb4d6-8814-7fc9-be0e-3b034cde0669" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7d1e-affe-ca49eca4dcc7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cb4d6-8814-7fc9-be0e-3b034cde0669" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofAccountsPayableandAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent_019cb4d6-8814-7a9b-be3e-c0b80dab58e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent_019cb4d6-8814-7a9b-be3e-c0b80dab58e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cb4d6-8814-754c-8831-0f9417493f44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cb4d6-8814-754c-8831-0f9417493f44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AccruedGovernmentAndOtherRebates_019cb4d6-8814-729a-a3fc-b599675dc302" xlink:href="bmrn-20260331.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_bmrn_AccruedGovernmentAndOtherRebates_019cb4d6-8814-729a-a3fc-b599675dc302" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_019cb4d6-8814-779d-b8ef-3d79200fc191" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_019cb4d6-8814-779d-b8ef-3d79200fc191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_019cb4d6-8814-7c96-ba66-62f22a5fc805" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_us-gaap_InterestPayableCurrent_019cb4d6-8814-7c96-ba66-62f22a5fc805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_OperatingAndFinanceLeaseLiabilityCurrent_019cb4d6-8814-79f4-ad37-d60c7f806a87" xlink:href="bmrn-20260331.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_bmrn_OperatingAndFinanceLeaseLiabilityCurrent_019cb4d6-8814-79f4-ad37-d60c7f806a87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRoyaltiesCurrent_019cb4d6-8814-742e-9ceb-6dafd4fb7aad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_us-gaap_AccruedRoyaltiesCurrent_019cb4d6-8814-742e-9ceb-6dafd4fb7aad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_019cb4d6-8814-70b7-94dc-fe1742592619" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_019cb4d6-8814-70b7-94dc-fe1742592619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccountsPayableAndAccruedLiabilities_019de2dc-71c7-74e0-a995-8717bddfb308" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7a09-8e0c-f9acc780e42f" xlink:to="loc_us-gaap_OtherAccountsPayableAndAccruedLiabilities_019de2dc-71c7-74e0-a995-8717bddfb308" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_AssetsFairValueDisclosure_019cb4d6-8814-746b-a4f3-6383d4f8ec45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_DeferredCompensationPlanAssetsCurrent_019cb4d6-8814-7fb4-acf6-8d6175be6c0f" xlink:href="bmrn-20260331.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_019cb4d6-8814-746b-a4f3-6383d4f8ec45" xlink:to="loc_bmrn_DeferredCompensationPlanAssetsCurrent_019cb4d6-8814-7fb4-acf6-8d6175be6c0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_019cb4d6-8814-7e06-9ee7-088cd56fbadf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-746b-a4f3-6383d4f8ec45" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_019cb4d6-8814-7e06-9ee7-088cd56fbadf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019cb4d6-8814-7785-9d59-cad090fbd275" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_019cb4d6-8814-7216-814e-054a06af2284" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7785-9d59-cad090fbd275" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_019cb4d6-8814-7216-814e-054a06af2284" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019cb4d6-8814-7418-b12b-d6cf9f2f693b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7785-9d59-cad090fbd275" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019cb4d6-8814-7418-b12b-d6cf9f2f693b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/DEBTScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_019cb4d6-8814-7542-b87b-66bb36f71dd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019cb4d6-8814-77e5-a5a5-51d949b64720" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019cb4d6-8814-7542-b87b-66bb36f71dd7" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019cb4d6-8814-77e5-a5a5-51d949b64720" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019cb4d6-8814-77c8-a16e-2b6ba7c34031" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019cb4d6-8814-7542-b87b-66bb36f71dd7" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019cb4d6-8814-77c8-a16e-2b6ba7c34031" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/DEBTScheduleofInterestExpenseonLongTermDebtDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_019cb4d6-8814-79fb-ad45-4f08bea607e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_019cb4d6-8814-7a16-a499-b3f7b497f067" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-79fb-ad45-4f08bea607e9" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_019cb4d6-8814-7a16-a499-b3f7b497f067" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019cb4d6-8814-71ec-a23b-b851d9410b29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-79fb-ad45-4f08bea607e9" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019cb4d6-8814-71ec-a23b-b851d9410b29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_019cb4d6-8814-7f51-88ed-95232e454542" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-79fb-ad45-4f08bea607e9" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_019cb4d6-8814-7f51-88ed-95232e454542" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_019cb4d6-8814-7638-bc61-79dfdc618f28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019cb4d6-8814-7ada-8c84-74d051f13c19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7638-bc61-79dfdc618f28" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019cb4d6-8814-7ada-8c84-74d051f13c19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019cb4d6-8814-7be5-b436-8d74d5298066" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7638-bc61-79dfdc618f28" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019cb4d6-8814-7be5-b436-8d74d5298066" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_019cb4d6-8814-7cde-9ba8-72b6346b1599" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7638-bc61-79dfdc618f28" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_019cb4d6-8814-7cde-9ba8-72b6346b1599" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofReportableSegmentInformationDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_019cb4d6-8814-7856-b504-f552421c207d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019cb4d6-8814-7df9-8590-1ccc1364d68d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7856-b504-f552421c207d" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019cb4d6-8814-7df9-8590-1ccc1364d68d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019cb4d6-8814-7ba1-b913-86354b8c0a5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7856-b504-f552421c207d" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019cb4d6-8814-7ba1-b913-86354b8c0a5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019cb4d6-8814-76da-bdc8-81de5157921a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7856-b504-f552421c207d" xlink:to="loc_us-gaap_CostOfRevenue_019cb4d6-8814-76da-bdc8-81de5157921a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_019cb4d6-8814-7312-9d3d-8f4836beb8c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7856-b504-f552421c207d" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_019cb4d6-8814-7312-9d3d-8f4836beb8c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019cb4d6-8814-729b-8336-f840faa0d6ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7856-b504-f552421c207d" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019cb4d6-8814-729b-8336-f840faa0d6ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019cb4d6-8814-74ca-8a45-1a8ab812233e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-7856-b504-f552421c207d" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019cb4d6-8814-74ca-8a45-1a8ab812233e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/EARNINGSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails" xlink:type="simple" xlink:href="bmrn-20260331.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_NetIncomeLossAvailableToCommonStockholdersDiluted_019cb4d6-8814-74fc-bf31-5954a0113a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_019cb4d6-8814-7261-9ef6-340cf515c74e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-74fc-bf31-5954a0113a0c" xlink:to="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_019cb4d6-8814-7261-9ef6-340cf515c74e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019cb4d6-8814-7d6a-bb5e-7bf74d90b7ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-74fc-bf31-5954a0113a0c" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019cb4d6-8814-7d6a-bb5e-7bf74d90b7ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cb4d6-8814-72f1-a416-270226f04edc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019cb4d6-8814-76c0-8c2f-def966c03496" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-72f1-a416-270226f04edc" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019cb4d6-8814-76c0-8c2f-def966c03496" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cb4d6-8814-775b-a9c4-89c60c696555" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019cb4d6-8814-72f1-a416-270226f04edc" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cb4d6-8814-775b-a9c4-89c60c696555" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
