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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:9ae54905-1a73-464b-b3c0-2b3d322085eb,g:1f69c0eb-65d7-4ac9-a7ff-562ba6bda296-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="bmrn-20250930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_8046a596-9649-43ca-8baf-ce1300fe389e" 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_0cb2a107-180c-4ab4-afa7-3ae0c1e1b031" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8046a596-9649-43ca-8baf-ce1300fe389e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0cb2a107-180c-4ab4-afa7-3ae0c1e1b031" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_945c13eb-2d3e-497b-86c0-49e461775a92" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8046a596-9649-43ca-8baf-ce1300fe389e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_945c13eb-2d3e-497b-86c0-49e461775a92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_74dbe925-f274-49b5-b5c7-92354109ad36" 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_822a67e3-6a24-48d8-b621-21ee7b9522a7" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_74dbe925-f274-49b5-b5c7-92354109ad36" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_822a67e3-6a24-48d8-b621-21ee7b9522a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_153c7069-9f79-4a6a-8f15-1fa0a9bee12d" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_74dbe925-f274-49b5-b5c7-92354109ad36" xlink:to="loc_us-gaap_CostsAndExpenses_153c7069-9f79-4a6a-8f15-1fa0a9bee12d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_cf86c774-76cf-48a2-b659-f49f07d02a29" 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_926edb20-3e6d-4bc1-a1b2-815c82c126ac" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cf86c774-76cf-48a2-b659-f49f07d02a29" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_926edb20-3e6d-4bc1-a1b2-815c82c126ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_26834c66-6d1d-49e1-8309-20eb565a4161" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cf86c774-76cf-48a2-b659-f49f07d02a29" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_26834c66-6d1d-49e1-8309-20eb565a4161" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_3b5b5e25-fdc5-4120-94d1-236321fc0624" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cf86c774-76cf-48a2-b659-f49f07d02a29" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_3b5b5e25-fdc5-4120-94d1-236321fc0624" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_c0ec6db7-35ef-49fd-9cea-65de2ff9da38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cf86c774-76cf-48a2-b659-f49f07d02a29" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_c0ec6db7-35ef-49fd-9cea-65de2ff9da38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_de05ff81-d354-4e20-a2f0-4c6ac353d0c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cf86c774-76cf-48a2-b659-f49f07d02a29" xlink:to="loc_us-gaap_CostOfRevenue_de05ff81-d354-4e20-a2f0-4c6ac353d0c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_00f500b8-b0a3-4720-b377-42ae2fa4a350" 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_b61e4ee8-37c7-424c-95ed-cce7bd92025c" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_00f500b8-b0a3-4720-b377-42ae2fa4a350" xlink:to="loc_us-gaap_OperatingIncomeLoss_b61e4ee8-37c7-424c-95ed-cce7bd92025c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_6450ab9f-b355-4845-89e0-88122ff81257" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_00f500b8-b0a3-4720-b377-42ae2fa4a350" xlink:to="loc_us-gaap_InvestmentIncomeInterest_6450ab9f-b355-4845-89e0-88122ff81257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_32bf03ce-72ec-474f-9247-3c68a894513e" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_00f500b8-b0a3-4720-b377-42ae2fa4a350" xlink:to="loc_us-gaap_InterestExpenseNonoperating_32bf03ce-72ec-474f-9247-3c68a894513e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_194f1eaf-358c-466a-97ef-e2e36f0678fb" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_00f500b8-b0a3-4720-b377-42ae2fa4a350" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_194f1eaf-358c-466a-97ef-e2e36f0678fb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="bmrn-20250930.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_Assets_0df18079-6d9f-4374-96f1-f894231c781a" 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_5e7a1029-b5e7-49fb-8e8f-9c4720c49904" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0df18079-6d9f-4374-96f1-f894231c781a" xlink:to="loc_us-gaap_AssetsCurrent_5e7a1029-b5e7-49fb-8e8f-9c4720c49904" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_f784af08-32d3-4f00-bc6f-d7dc09d18a30" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0df18079-6d9f-4374-96f1-f894231c781a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_f784af08-32d3-4f00-bc6f-d7dc09d18a30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_75cc5ca6-8cd7-4254-9604-dde26e18ccff" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0df18079-6d9f-4374-96f1-f894231c781a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_75cc5ca6-8cd7-4254-9604-dde26e18ccff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2796df91-1c74-459c-9147-41508727f426" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0df18079-6d9f-4374-96f1-f894231c781a" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2796df91-1c74-459c-9147-41508727f426" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_14efc39e-c027-49cb-9352-83a4c3f8614f" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0df18079-6d9f-4374-96f1-f894231c781a" xlink:to="loc_us-gaap_Goodwill_14efc39e-c027-49cb-9352-83a4c3f8614f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_fc837578-28c9-47fd-869c-f12d82e2943c" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0df18079-6d9f-4374-96f1-f894231c781a" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_fc837578-28c9-47fd-869c-f12d82e2943c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_094c85df-63d6-4d9c-8464-a53db3f82936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0df18079-6d9f-4374-96f1-f894231c781a" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_094c85df-63d6-4d9c-8464-a53db3f82936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_8ffcf7b4-cb81-4a75-bc18-6788ae252f74" 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_440413a2-6784-4f52-af17-74a84a4311a5" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_8ffcf7b4-cb81-4a75-bc18-6788ae252f74" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_440413a2-6784-4f52-af17-74a84a4311a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_fc15b1ab-9fab-4cc3-9742-fc22dbeef470" 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_4b5bc9ae-d040-4184-8833-5508f851b805" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_fc15b1ab-9fab-4cc3-9742-fc22dbeef470" xlink:to="loc_us-gaap_Liabilities_4b5bc9ae-d040-4184-8833-5508f851b805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4dc65dc2-fd23-4e46-82df-bebf357ffe84" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_fc15b1ab-9fab-4cc3-9742-fc22dbeef470" xlink:to="loc_us-gaap_StockholdersEquity_4dc65dc2-fd23-4e46-82df-bebf357ffe84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_75918e27-fcf0-49b7-9a83-05d77dd3723d" 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_7bddb732-e067-4791-8d6c-ca04da5c28c7" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_75918e27-fcf0-49b7-9a83-05d77dd3723d" xlink:to="loc_us-gaap_LiabilitiesCurrent_7bddb732-e067-4791-8d6c-ca04da5c28c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_f6b1bdbc-28d0-4b8b-bf1e-17d96f0ed94a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_75918e27-fcf0-49b7-9a83-05d77dd3723d" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_f6b1bdbc-28d0-4b8b-bf1e-17d96f0ed94a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_4f0593f0-21db-419d-bc21-7a099371e1ad" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_75918e27-fcf0-49b7-9a83-05d77dd3723d" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_4f0593f0-21db-419d-bc21-7a099371e1ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2695cdfd-8e57-4232-997d-72f844879b57" 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_bfc33dae-04d1-4744-9748-f3601feab18b" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2695cdfd-8e57-4232-997d-72f844879b57" xlink:to="loc_us-gaap_CommonStockValue_bfc33dae-04d1-4744-9748-f3601feab18b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_ae7ab626-a998-4da7-b020-91dbe46c2d19" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2695cdfd-8e57-4232-997d-72f844879b57" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_ae7ab626-a998-4da7-b020-91dbe46c2d19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockIssuedEmployeeStockTrust_e6272d5a-36da-46db-86a6-a55d513409aa" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2695cdfd-8e57-4232-997d-72f844879b57" xlink:to="loc_us-gaap_CommonStockIssuedEmployeeStockTrust_e6272d5a-36da-46db-86a6-a55d513409aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f4cdc443-c2b7-4716-be99-2c70d6a5108f" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2695cdfd-8e57-4232-997d-72f844879b57" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f4cdc443-c2b7-4716-be99-2c70d6a5108f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1ecc6bdc-4370-426b-8441-e7f22a2f3f75" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2695cdfd-8e57-4232-997d-72f844879b57" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1ecc6bdc-4370-426b-8441-e7f22a2f3f75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_6ed911e5-2434-451d-bd02-65b1093d72cb" 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_ebbd56ab-ebae-4547-9a0a-d62b823f971c" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6ed911e5-2434-451d-bd02-65b1093d72cb" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ebbd56ab-ebae-4547-9a0a-d62b823f971c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_a305aa5e-b5a9-4d32-8a6a-3f8ddb21c4d9" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6ed911e5-2434-451d-bd02-65b1093d72cb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_a305aa5e-b5a9-4d32-8a6a-3f8ddb21c4d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_b06c02f4-6a80-4227-af20-5871ceb8ae46" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6ed911e5-2434-451d-bd02-65b1093d72cb" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_b06c02f4-6a80-4227-af20-5871ceb8ae46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_b498b52b-97c4-43dc-83ca-cc0bfaa3e893" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6ed911e5-2434-451d-bd02-65b1093d72cb" xlink:to="loc_us-gaap_InventoryNet_b498b52b-97c4-43dc-83ca-cc0bfaa3e893" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_32836cae-6d99-45d1-8f37-23c3d303e001" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6ed911e5-2434-451d-bd02-65b1093d72cb" xlink:to="loc_us-gaap_OtherAssetsCurrent_32836cae-6d99-45d1-8f37-23c3d303e001" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="bmrn-20250930.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_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" 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_a4eb87bd-325f-490d-b5a5-d03c7b57dd48" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_a4eb87bd-325f-490d-b5a5-d03c7b57dd48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_f7e378e6-de23-4cb4-9f5a-ffe3034bb27d" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_f7e378e6-de23-4cb4-9f5a-ffe3034bb27d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_3ff2a7e8-291d-4fee-91b8-b3c73f7d52b3" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_3ff2a7e8-291d-4fee-91b8-b3c73f7d52b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_ProceedsFromSaleOfNonfinancialAssets_77e30ef0-be5d-47ca-b471-0fec77af159a" xlink:href="bmrn-20250930.xsd#bmrn_ProceedsFromSaleOfNonfinancialAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" xlink:to="loc_bmrn_ProceedsFromSaleOfNonfinancialAssets_77e30ef0-be5d-47ca-b471-0fec77af159a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_e50ff89d-e341-4048-8467-ad8ac2a6910b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_e50ff89d-e341-4048-8467-ad8ac2a6910b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_PaymentsForAssetAcquisitionsNetOfCashAcquired_b4fb0b8e-2c93-466f-9589-9fe0ce3bafb0" xlink:href="bmrn-20250930.xsd#bmrn_PaymentsForAssetAcquisitionsNetOfCashAcquired"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" xlink:to="loc_bmrn_PaymentsForAssetAcquisitionsNetOfCashAcquired_b4fb0b8e-2c93-466f-9589-9fe0ce3bafb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_97501da9-7885-4aae-91c9-8d3682ab2331" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8bb48d5-ebce-4cb0-969e-c3b97ed337e6" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_97501da9-7885-4aae-91c9-8d3682ab2331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" 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_NetIncomeLoss_bb7e7bdf-61b4-4709-8db3-05665bbb7462" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_NetIncomeLoss_bb7e7bdf-61b4-4709-8db3-05665bbb7462" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_0f80d315-2a17-496a-886e-7c96fb658314" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_0f80d315-2a17-496a-886e-7c96fb658314" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_1f27a5b1-89b2-4cfb-9d75-d1cced638aec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_1f27a5b1-89b2-4cfb-9d75-d1cced638aec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_27a8303b-7518-4d56-804a-8c6d6f035af3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_27a8303b-7518-4d56-804a-8c6d6f035af3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_1a2e57dd-cc75-4694-a27a-730e30ceda07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_ShareBasedCompensation_1a2e57dd-cc75-4694-a27a-730e30ceda07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_143fe5fc-3001-4066-9213-a54fb7003e0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_143fe5fc-3001-4066-9213-a54fb7003e0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_37188fba-9da0-404e-a58a-ff13cf1ac9a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_AssetImpairmentCharges_37188fba-9da0-404e-a58a-ff13cf1ac9a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentAssetAcquiredOtherThanThroughBusinessCombinationWrittenOff_1c3a1528-7ba9-4cad-bb9e-b82fc302562d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentAssetAcquiredOtherThanThroughBusinessCombinationWrittenOff"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_ResearchAndDevelopmentAssetAcquiredOtherThanThroughBusinessCombinationWrittenOff_1c3a1528-7ba9-4cad-bb9e-b82fc302562d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_2a618c5d-2894-4318-b83e-10dfc1b5a737" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_2a618c5d-2894-4318-b83e-10dfc1b5a737" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_912d595b-06c6-45b1-a839-af636b7149c6" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_912d595b-06c6-45b1-a839-af636b7149c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_c604fd53-efe1-47ca-97b6-90187aed6873" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_c604fd53-efe1-47ca-97b6-90187aed6873" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_7438dd61-4919-4d9d-82cf-21116eb3430b" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_7438dd61-4919-4d9d-82cf-21116eb3430b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_49bb3022-d103-4a21-b3ab-469f15236ac8" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_49bb3022-d103-4a21-b3ab-469f15236ac8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_2bb5bd50-e16b-4172-8e91-2ca148710120" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_2bb5bd50-e16b-4172-8e91-2ca148710120" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_f29b7c83-9240-4202-93e6-7987815b9560" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_f29b7c83-9240-4202-93e6-7987815b9560" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_d618cab6-81a5-4df6-b423-0abf97d992c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_d618cab6-81a5-4df6-b423-0abf97d992c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_29556ba3-52cb-4a40-88e7-5586283b1aca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f24bcbe0-fa0a-42b7-a3e8-77adf9914859" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_29556ba3-52cb-4a40-88e7-5586283b1aca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a77bad8d-bb08-4679-8e3f-9be2d29fe547" 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_ProceedsFromPaymentsForOtherFinancingActivities_92764789-bde8-45e0-be1d-48d085cc0aca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a77bad8d-bb08-4679-8e3f-9be2d29fe547" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_92764789-bde8-45e0-be1d-48d085cc0aca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_3b79f6a4-297f-44f5-9962-27744485133e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a77bad8d-bb08-4679-8e3f-9be2d29fe547" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_3b79f6a4-297f-44f5-9962-27744485133e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_2777b09b-77a1-445e-b8a7-a2ee3201e19b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a77bad8d-bb08-4679-8e3f-9be2d29fe547" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_2777b09b-77a1-445e-b8a7-a2ee3201e19b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_38bfc236-cd30-4557-8ed7-075a5a0726a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a77bad8d-bb08-4679-8e3f-9be2d29fe547" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_38bfc236-cd30-4557-8ed7-075a5a0726a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ec49a9cc-dc73-4cbc-bee4-12a6d38ada51" 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_44fdde4c-567a-4557-ba18-d431b9a8fc64" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ec49a9cc-dc73-4cbc-bee4-12a6d38ada51" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44fdde4c-567a-4557-ba18-d431b9a8fc64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_80db809a-6d63-473d-ad94-60e8e6abbe41" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ec49a9cc-dc73-4cbc-bee4-12a6d38ada51" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_80db809a-6d63-473d-ad94-60e8e6abbe41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_7fcceaae-68af-4faf-940e-0cda28f4a7cf" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ec49a9cc-dc73-4cbc-bee4-12a6d38ada51" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_7fcceaae-68af-4faf-940e-0cda28f4a7cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9eae5894-f91d-49f0-89f2-01518af93831" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ec49a9cc-dc73-4cbc-bee4-12a6d38ada51" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9eae5894-f91d-49f0-89f2-01518af93831" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofCashCashEquivalentsandAvailableforSaleSecuritiesbySignificantInvestmentCategoryDetails" xlink:type="simple" xlink:href="bmrn-20250930.xsd#FINANCIALINSTRUMENTSScheduleofCashCashEquivalentsandAvailableforSaleSecuritiesbySignificantInvestmentCategoryDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofCashCashEquivalentsandAvailableforSaleSecuritiesbySignificantInvestmentCategoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_79031349-7e25-403c-a737-581eaef6b9e1" 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_bda525a4-a325-4bb0-8f70-4ade5578d97c" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_79031349-7e25-403c-a737-581eaef6b9e1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_bda525a4-a325-4bb0-8f70-4ade5578d97c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_bc3d6e92-ee52-4f92-96b4-cd47fdc281ae" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_79031349-7e25-403c-a737-581eaef6b9e1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_bc3d6e92-ee52-4f92-96b4-cd47fdc281ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_75bc27cb-91c0-46e7-815d-e8e33d0f7a08" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_79031349-7e25-403c-a737-581eaef6b9e1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_75bc27cb-91c0-46e7-815d-e8e33d0f7a08" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofInventoryDetails" xlink:type="simple" xlink:href="bmrn-20250930.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_8a2885ca-da69-44a8-ac8a-4ff51fc79b64" 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_08d011ee-9dac-45ba-8890-5eb9f737bffc" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_8a2885ca-da69-44a8-ac8a-4ff51fc79b64" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_08d011ee-9dac-45ba-8890-5eb9f737bffc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_43b9d5bb-b176-4ce7-af15-c68a6dbc960e" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_8a2885ca-da69-44a8-ac8a-4ff51fc79b64" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_43b9d5bb-b176-4ce7-af15-c68a6dbc960e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_95df77c0-810f-4c9d-aef1-fd3a2561a436" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_8a2885ca-da69-44a8-ac8a-4ff51fc79b64" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_95df77c0-810f-4c9d-aef1-fd3a2561a436" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofPropertyPlantandEquipmentNetDetails" xlink:type="simple" xlink:href="bmrn-20250930.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_07ed8512-b276-4e0c-9dd7-6c3bc16c0063" 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_f3980a7e-3ef8-45a1-9ffa-c8d3443905d9" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_07ed8512-b276-4e0c-9dd7-6c3bc16c0063" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_f3980a7e-3ef8-45a1-9ffa-c8d3443905d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7b0e8db0-38c5-4019-a7e7-ae085e853958" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_07ed8512-b276-4e0c-9dd7-6c3bc16c0063" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7b0e8db0-38c5-4019-a7e7-ae085e853958" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofIntangibleAssetsNetDetails" xlink:type="simple" xlink:href="bmrn-20250930.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_8f7a2aa9-5e4b-47bb-8cd8-e99850193b5f" 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_b3d60d3b-7896-4ce4-902d-43033123773d" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_8f7a2aa9-5e4b-47bb-8cd8-e99850193b5f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_b3d60d3b-7896-4ce4-902d-43033123773d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_16f0abc3-0906-49fd-857d-4f8e1cda720b" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_8f7a2aa9-5e4b-47bb-8cd8-e99850193b5f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_16f0abc3-0906-49fd-857d-4f8e1cda720b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofAccountsPayableandAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="bmrn-20250930.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_1a8536c6-fc8b-43b0-8777-94b329a841b4" 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_3e4f1598-cb3f-4173-8ab1-e8b136eee925" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent_3e4f1598-cb3f-4173-8ab1-e8b136eee925" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_33452b28-9091-4709-9674-eb7931ee761a" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_33452b28-9091-4709-9674-eb7931ee761a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AccruedGovernmentAndOtherRebates_4d180071-7553-4577-887c-9fc2ea25b565" xlink:href="bmrn-20250930.xsd#bmrn_AccruedGovernmentAndOtherRebates"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_bmrn_AccruedGovernmentAndOtherRebates_4d180071-7553-4577-887c-9fc2ea25b565" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_d066bcc4-cb0f-4d74-b66c-d0f634715fce" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_d066bcc4-cb0f-4d74-b66c-d0f634715fce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_cc7b71a8-793e-49a8-9313-f3f2e845cc9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_cc7b71a8-793e-49a8-9313-f3f2e845cc9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRoyaltiesCurrent_8f739d6f-38d6-4b12-b055-ee9a16e15cce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedRoyaltiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_us-gaap_AccruedRoyaltiesCurrent_8f739d6f-38d6-4b12-b055-ee9a16e15cce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_OperatingAndFinanceLeaseLiabilityCurrent_33b1d17a-5b4d-410e-807a-12654f30e542" xlink:href="bmrn-20250930.xsd#bmrn_OperatingAndFinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_bmrn_OperatingAndFinanceLeaseLiabilityCurrent_33b1d17a-5b4d-410e-807a-12654f30e542" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccountsPayableAndAccruedLiabilities_3732df53-4bc3-4960-a04d-e9eaca10444b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a8536c6-fc8b-43b0-8777-94b329a841b4" xlink:to="loc_us-gaap_OtherAccountsPayableAndAccruedLiabilities_3732df53-4bc3-4960-a04d-e9eaca10444b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="simple" xlink:href="bmrn-20250930.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_26d1dddb-5792-4a92-afea-6ef3029adebc" 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_OtherAssetsCurrentFairValueDisclosure_a4dbc344-a1bd-487a-b5ef-c982e9713841" xlink:href="bmrn-20250930.xsd#bmrn_OtherAssetsCurrentFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_26d1dddb-5792-4a92-afea-6ef3029adebc" xlink:to="loc_bmrn_OtherAssetsCurrentFairValueDisclosure_a4dbc344-a1bd-487a-b5ef-c982e9713841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_OtherAssetsNoncurrentFairValueDisclosure_36886284-e824-4474-8a81-3622f3b1eb44" xlink:href="bmrn-20250930.xsd#bmrn_OtherAssetsNoncurrentFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_26d1dddb-5792-4a92-afea-6ef3029adebc" xlink:to="loc_bmrn_OtherAssetsNoncurrentFairValueDisclosure_36886284-e824-4474-8a81-3622f3b1eb44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_a99debe5-ce46-49c0-ab2a-eeef7a09051c" 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_bmrn_OtherLiabilitiesNoncurrentFairValueDisclosure_57f2efb5-9747-49c4-b21a-1a3a6bbb6983" xlink:href="bmrn-20250930.xsd#bmrn_OtherLiabilitiesNoncurrentFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_a99debe5-ce46-49c0-ab2a-eeef7a09051c" xlink:to="loc_bmrn_OtherLiabilitiesNoncurrentFairValueDisclosure_57f2efb5-9747-49c4-b21a-1a3a6bbb6983" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_OtherLiabilitiesCurrentFairValueDisclosure_672ffcf7-b2df-48e4-b936-565e98336ede" xlink:href="bmrn-20250930.xsd#bmrn_OtherLiabilitiesCurrentFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_a99debe5-ce46-49c0-ab2a-eeef7a09051c" xlink:to="loc_bmrn_OtherLiabilitiesCurrentFairValueDisclosure_672ffcf7-b2df-48e4-b936-565e98336ede" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/DEBTScheduleofConvertibleDebtDetails" xlink:type="simple" xlink:href="bmrn-20250930.xsd#DEBTScheduleofConvertibleDebtDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/DEBTScheduleofConvertibleDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebt_01ed7ed6-c5e9-4ab1-9a2d-74e3b80facbc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_9d5b939c-80fd-4d21-8c86-215004d52914" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ConvertibleDebt_01ed7ed6-c5e9-4ab1-9a2d-74e3b80facbc" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_9d5b939c-80fd-4d21-8c86-215004d52914" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_1dab25d3-fc8b-4ddf-b17a-9f83235fc9b2" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ConvertibleDebt_01ed7ed6-c5e9-4ab1-9a2d-74e3b80facbc" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_1dab25d3-fc8b-4ddf-b17a-9f83235fc9b2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/DEBTScheduleofInterestExpenseonConvertibleDebtDetails" xlink:type="simple" xlink:href="bmrn-20250930.xsd#DEBTScheduleofInterestExpenseonConvertibleDebtDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/DEBTScheduleofInterestExpenseonConvertibleDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_722047d2-1598-4ebe-b377-4e4dcf775b2e" 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_9e9d283f-9222-495e-befd-0cedfb5f08ef" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_722047d2-1598-4ebe-b377-4e4dcf775b2e" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_9e9d283f-9222-495e-befd-0cedfb5f08ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_0fbfaacb-d999-418a-9807-e62890d21f22" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_722047d2-1598-4ebe-b377-4e4dcf775b2e" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_0fbfaacb-d999-418a-9807-e62890d21f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_c40923e1-f5b6-4285-b506-18c799ff2bec" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_722047d2-1598-4ebe-b377-4e4dcf775b2e" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_c40923e1-f5b6-4285-b506-18c799ff2bec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails" xlink:type="simple" xlink:href="bmrn-20250930.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_17ecf415-5f5a-4307-a0d4-dcfd4865845d" 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_01a34976-bce5-4023-84b0-5e2298b982d7" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_17ecf415-5f5a-4307-a0d4-dcfd4865845d" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_01a34976-bce5-4023-84b0-5e2298b982d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_9794bb0c-084a-484c-839f-250f8dffd70f" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_17ecf415-5f5a-4307-a0d4-dcfd4865845d" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_9794bb0c-084a-484c-839f-250f8dffd70f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_161455fd-58dc-4358-a9b0-5252492a492e" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_17ecf415-5f5a-4307-a0d4-dcfd4865845d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_161455fd-58dc-4358-a9b0-5252492a492e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofReportableSegmentInformationDetails" xlink:type="simple" xlink:href="bmrn-20250930.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_0c3bee56-6927-48df-b9fe-de6a1a977eb6" 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_3698e4e1-4628-42c2-a746-084e65576908" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0c3bee56-6927-48df-b9fe-de6a1a977eb6" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_3698e4e1-4628-42c2-a746-084e65576908" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_49808416-803d-4d71-9316-c8c7dd9454fd" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0c3bee56-6927-48df-b9fe-de6a1a977eb6" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_49808416-803d-4d71-9316-c8c7dd9454fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_41096233-eebd-4710-87ce-e290f12c8fbc" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0c3bee56-6927-48df-b9fe-de6a1a977eb6" xlink:to="loc_us-gaap_CostOfRevenue_41096233-eebd-4710-87ce-e290f12c8fbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_17d4e0a3-4fb5-4e6e-8625-381b3940a404" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0c3bee56-6927-48df-b9fe-de6a1a977eb6" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_17d4e0a3-4fb5-4e6e-8625-381b3940a404" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_de9eb797-8b0c-49fb-9d60-4fcafdab2085" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0c3bee56-6927-48df-b9fe-de6a1a977eb6" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_de9eb797-8b0c-49fb-9d60-4fcafdab2085" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_3a03bb4f-bdfc-4892-a657-edb0d87b8632" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0c3bee56-6927-48df-b9fe-de6a1a977eb6" xlink:to="loc_us-gaap_SellingAndMarketingExpense_3a03bb4f-bdfc-4892-a657-edb0d87b8632" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/EARNINGSLOSSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails" xlink:type="simple" xlink:href="bmrn-20250930.xsd#EARNINGSLOSSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/EARNINGSLOSSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_eed57122-b1d5-4672-9ec3-e7b449a11fd9" 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_6f1d0cef-50c1-4114-96d0-c2fad261424e" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_eed57122-b1d5-4672-9ec3-e7b449a11fd9" xlink:to="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_6f1d0cef-50c1-4114-96d0-c2fad261424e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_ab513721-64f6-47f0-bc28-b4be0c7f9c35" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_eed57122-b1d5-4672-9ec3-e7b449a11fd9" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_ab513721-64f6-47f0-bc28-b4be0c7f9c35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7ab3d8d7-bf25-466c-ab55-aa9e16c51b3e" 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_4180daf7-10c2-466b-af6e-84c596b90ebb" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7ab3d8d7-bf25-466c-ab55-aa9e16c51b3e" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_4180daf7-10c2-466b-af6e-84c596b90ebb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_aae88fc0-8d7b-48cc-8f30-f53c96008ebd" 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="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7ab3d8d7-bf25-466c-ab55-aa9e16c51b3e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_aae88fc0-8d7b-48cc-8f30-f53c96008ebd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bmrn.com/role/ASSETACQUISITIONScheduleofTotalConsiderationTransferredAssetsAcquiredLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="bmrn-20250930.xsd#ASSETACQUISITIONScheduleofTotalConsiderationTransferredAssetsAcquiredLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.bmrn.com/role/ASSETACQUISITIONScheduleofTotalConsiderationTransferredAssetsAcquiredLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferred_879e767c-c044-4a97-b1c3-0b5cb410dc49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionConsiderationTransferred"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_96b6c51a-a641-42af-8f6b-0d5abd134ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferred_879e767c-c044-4a97-b1c3-0b5cb410dc49" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_96b6c51a-a641-42af-8f6b-0d5abd134ef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionConsiderationTransferredEmployeeRelatedIncentivePayments_a27d11a5-8534-4d93-b58a-ebc8c5519fde" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionConsiderationTransferredEmployeeRelatedIncentivePayments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferred_879e767c-c044-4a97-b1c3-0b5cb410dc49" xlink:to="loc_bmrn_AssetAcquisitionConsiderationTransferredEmployeeRelatedIncentivePayments_a27d11a5-8534-4d93-b58a-ebc8c5519fde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_8d6a1ab7-7d67-4d02-a067-9bbbea926475" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferred_879e767c-c044-4a97-b1c3-0b5cb410dc49" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_8d6a1ab7-7d67-4d02-a067-9bbbea926475" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionConsiderationTransferredDebtRepayment_7b499157-1e2f-4889-ae6a-e396ab1d7ca0" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionConsiderationTransferredDebtRepayment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferred_879e767c-c044-4a97-b1c3-0b5cb410dc49" xlink:to="loc_bmrn_AssetAcquisitionConsiderationTransferredDebtRepayment_7b499157-1e2f-4889-ae6a-e396ab1d7ca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_5f6d33d8-5150-4bcf-9715-2cbd25c0b2b7" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionCashAndEquivalents_18e2a905-f937-4465-b5bf-293265fef5ec" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionCashAndEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_5f6d33d8-5150-4bcf-9715-2cbd25c0b2b7" xlink:to="loc_bmrn_AssetAcquisitionCashAndEquivalents_18e2a905-f937-4465-b5bf-293265fef5ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionOtherAssets_0589b7d2-4207-4eb7-8227-72e143c7d01d" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionOtherAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_5f6d33d8-5150-4bcf-9715-2cbd25c0b2b7" xlink:to="loc_bmrn_AssetAcquisitionOtherAssets_0589b7d2-4207-4eb7-8227-72e143c7d01d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionDeferredTaxAssets_202e911d-5545-4b72-a54a-9c6e6fe11475" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionDeferredTaxAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_5f6d33d8-5150-4bcf-9715-2cbd25c0b2b7" xlink:to="loc_bmrn_AssetAcquisitionDeferredTaxAssets_202e911d-5545-4b72-a54a-9c6e6fe11475" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionLiabilitiesOther_f23ccce0-2719-4bd6-8e96-09038efa939b" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionLiabilitiesOther"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_5f6d33d8-5150-4bcf-9715-2cbd25c0b2b7" xlink:to="loc_bmrn_AssetAcquisitionLiabilitiesOther_f23ccce0-2719-4bd6-8e96-09038efa939b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_eb47d6f5-89e8-4c19-9392-a85c2cff6f3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableCommonStock_ac00815f-31ba-46e3-88d6-89f3ead0d383" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_eb47d6f5-89e8-4c19-9392-a85c2cff6f3d" xlink:to="loc_bmrn_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableCommonStock_ac00815f-31ba-46e3-88d6-89f3ead0d383" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableEquityAwards_739c4acf-d10b-4d95-bed3-327b62a093e1" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableEquityAwards"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_eb47d6f5-89e8-4c19-9392-a85c2cff6f3d" xlink:to="loc_bmrn_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableEquityAwards_739c4acf-d10b-4d95-bed3-327b62a093e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNetIncludingInProcessResearchAndDevelopmentExpense_a4f6e6b0-6e5e-4d4d-8fdd-c7a5bab8ac46" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNetIncludingInProcessResearchAndDevelopmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_02a62e7b-fbdc-4b23-b7bc-10b6ed964939" xlink:href="bmrn-20250930.xsd#bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNetIncludingInProcessResearchAndDevelopmentExpense_a4f6e6b0-6e5e-4d4d-8fdd-c7a5bab8ac46" xlink:to="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_02a62e7b-fbdc-4b23-b7bc-10b6ed964939" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentAssetAcquiredOtherThanThroughBusinessCombinationWrittenOff_f5a71491-a00f-4710-834c-da3b659b6775" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentAssetAcquiredOtherThanThroughBusinessCombinationWrittenOff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bmrn_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNetIncludingInProcessResearchAndDevelopmentExpense_a4f6e6b0-6e5e-4d4d-8fdd-c7a5bab8ac46" xlink:to="loc_us-gaap_ResearchAndDevelopmentAssetAcquiredOtherThanThroughBusinessCombinationWrittenOff_f5a71491-a00f-4710-834c-da3b659b6775" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
