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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:3bf6ba1f-c1bd-4877-94af-c71a21b3706a,g:20479eba-d6f6-4af9-8c8d-c577945044bc-->
<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.xencor.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="xncr-20251231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019be011-3217-77d6-baed-ac1f38e5ba65" 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_AccountsPayableCurrent_019be011-3217-7d66-9f3a-acabddf07e24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019be011-3217-77d6-baed-ac1f38e5ba65" xlink:to="loc_us-gaap_AccountsPayableCurrent_019be011-3217-7d66-9f3a-acabddf07e24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019be011-3217-7af4-8f48-353a48810d7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019be011-3217-77d6-baed-ac1f38e5ba65" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019be011-3217-7af4-8f48-353a48810d7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_019be011-3217-7898-821c-b8cec1e97de3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019be011-3217-77d6-baed-ac1f38e5ba65" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_019be011-3217-7898-821c-b8cec1e97de3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019be011-3217-761a-a24e-70077f5be7fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019be011-3217-77d6-baed-ac1f38e5ba65" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019be011-3217-761a-a24e-70077f5be7fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_019c325e-e2fd-792c-aaa7-002c54528a36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019be011-3217-77d6-baed-ac1f38e5ba65" xlink:to="loc_us-gaap_DebtCurrent_019c325e-e2fd-792c-aaa7-002c54528a36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019be011-876c-7635-9cba-6659c2b01ffa" 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_019be011-876c-7b9d-8b12-a334030358a0" 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_019be011-876c-7635-9cba-6659c2b01ffa" xlink:to="loc_us-gaap_CommonStockValue_019be011-876c-7b9d-8b12-a334030358a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019be011-876c-7585-92e5-eb0a3bd04ce6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019be011-876c-7635-9cba-6659c2b01ffa" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019be011-876c-7585-92e5-eb0a3bd04ce6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019be011-876c-7056-a37d-2508f6c9ef45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019be011-876c-7635-9cba-6659c2b01ffa" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019be011-876c-7056-a37d-2508f6c9ef45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019be011-876c-71b0-af8c-536cef8f9458" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019be011-876c-7635-9cba-6659c2b01ffa" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019be011-876c-71b0-af8c-536cef8f9458" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019be011-9f84-7d75-b12f-9b29ae3311ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019be011-9f84-7dec-8c50-b81b2a9ef770" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019be011-9f84-7d75-b12f-9b29ae3311ed" xlink:to="loc_us-gaap_StockholdersEquity_019be011-9f84-7dec-8c50-b81b2a9ef770" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019be011-9f84-76ad-afb8-82ba0bfec65d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019be011-9f84-7d75-b12f-9b29ae3311ed" xlink:to="loc_us-gaap_MinorityInterest_019be011-9f84-76ad-afb8-82ba0bfec65d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019be011-d39a-7b8e-9428-e4c7546bae64" 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_019be011-d39a-7a73-999c-1c88b39d904e" 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_019be011-d39a-7b8e-9428-e4c7546bae64" xlink:to="loc_us-gaap_Liabilities_019be011-d39a-7a73-999c-1c88b39d904e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019be011-d39a-7720-b5d4-d4e906f9b947" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019be011-d39a-7b8e-9428-e4c7546bae64" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019be011-d39a-7720-b5d4-d4e906f9b947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019be011-d39a-7c74-a853-e92def03b856" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019be011-d39a-7b8e-9428-e4c7546bae64" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019be011-d39a-7c74-a853-e92def03b856" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019be010-d3d7-7547-8725-f6d1300dd3c9" 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_019be010-d3d7-7677-bcf5-def1e7bb98d1" 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_019be010-d3d7-7547-8725-f6d1300dd3c9" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019be010-d3d7-7677-bcf5-def1e7bb98d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesCurrent_019be010-d3d7-7eab-a55e-19fdb96efe18" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019be010-d3d7-7547-8725-f6d1300dd3c9" xlink:to="loc_us-gaap_DebtSecuritiesCurrent_019be010-d3d7-7eab-a55e-19fdb96efe18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_019be010-d3d7-716d-8bae-05362278badb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019be010-d3d7-7547-8725-f6d1300dd3c9" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_019be010-d3d7-716d-8bae-05362278badb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019be010-d3d7-7625-bc9e-f26e46bf4bca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019be010-d3d7-7547-8725-f6d1300dd3c9" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019be010-d3d7-7625-bc9e-f26e46bf4bca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019be010-d3d7-7242-9a2b-65640e600c4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019be010-d3d7-7547-8725-f6d1300dd3c9" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019be010-d3d7-7242-9a2b-65640e600c4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019be011-0244-7cb5-8d43-0bdc02980998" 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_019be011-0244-743c-b4e1-96c72c834b6c" 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_019be011-0244-7cb5-8d43-0bdc02980998" xlink:to="loc_us-gaap_AssetsCurrent_019be011-0244-743c-b4e1-96c72c834b6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019be011-0244-7dd2-a8d7-b252504df916" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019be011-0244-7cb5-8d43-0bdc02980998" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019be011-0244-7dd2-a8d7-b252504df916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019be011-0244-7085-a98b-164c42b34592" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019be011-0244-7cb5-8d43-0bdc02980998" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019be011-0244-7085-a98b-164c42b34592" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_019be011-0244-7d29-b497-ac00c10c75cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019be011-0244-7cb5-8d43-0bdc02980998" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_019be011-0244-7d29-b497-ac00c10c75cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesNoncurrent_019be011-0244-7a38-ab75-a003a41fad59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019be011-0244-7cb5-8d43-0bdc02980998" xlink:to="loc_us-gaap_DebtSecuritiesNoncurrent_019be011-0244-7a38-ab75-a003a41fad59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019be011-0244-7b5c-9298-02120ad07571" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019be011-0244-7cb5-8d43-0bdc02980998" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019be011-0244-7b5c-9298-02120ad07571" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019be011-0244-7f13-874a-2f93cb743c81" 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_019be011-0244-7cb5-8d43-0bdc02980998" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019be011-0244-7f13-874a-2f93cb743c81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019be011-4ab2-7cc1-97d0-7ac9981c5899" 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_019be011-4ab2-7312-9700-8bbdb8246719" 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_019be011-4ab2-7cc1-97d0-7ac9981c5899" xlink:to="loc_us-gaap_LiabilitiesCurrent_019be011-4ab2-7312-9700-8bbdb8246719" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019be011-4ab2-7691-bcc1-6ed6b3feda29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019be011-4ab2-7cc1-97d0-7ac9981c5899" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019be011-4ab2-7691-bcc1-6ed6b3feda29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019be011-4ab2-79b8-819b-1f6e1aa373be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019be011-4ab2-7cc1-97d0-7ac9981c5899" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019be011-4ab2-79b8-819b-1f6e1aa373be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019be011-4ab2-7d28-959c-fb4cf70cbdc9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019be011-4ab2-7cc1-97d0-7ac9981c5899" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019be011-4ab2-7d28-959c-fb4cf70cbdc9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/ConsolidatedStatementsofOperationsandComprehensiveLoss" xlink:type="simple" xlink:href="xncr-20251231.xsd#ConsolidatedStatementsofOperationsandComprehensiveLoss"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/ConsolidatedStatementsofOperationsandComprehensiveLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-34a0-7fd4-ad5a-44547e1da7a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019bd66f-34a0-7acc-8849-d3b2d3780d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-34a0-7fd4-ad5a-44547e1da7a2" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019bd66f-34a0-7acc-8849-d3b2d3780d6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019bd66f-34a0-790c-81d6-e27ad62dfcd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-34a0-7fd4-ad5a-44547e1da7a2" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019bd66f-34a0-790c-81d6-e27ad62dfcd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_019bd66f-34a0-7dc4-aeec-ad599e0a0d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-34a0-7fd4-ad5a-44547e1da7a2" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_019bd66f-34a0-7dc4-aeec-ad599e0a0d7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019bd66f-34a0-756c-b078-5755e4f58f0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-34a0-7fd4-ad5a-44547e1da7a2" xlink:to="loc_us-gaap_AssetImpairmentCharges_019bd66f-34a0-756c-b078-5755e4f58f0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019bd66f-34a0-72d3-81c7-193f665fefe1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-34a0-7fd4-ad5a-44547e1da7a2" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019bd66f-34a0-72d3-81c7-193f665fefe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019bd671-9213-7c9b-8392-081fee07f596" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019bd671-9213-7646-8625-1447f752d2d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019bd671-9213-7c9b-8392-081fee07f596" xlink:to="loc_us-gaap_ProfitLoss_019bd671-9213-7646-8625-1447f752d2d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019bd671-9213-7cf9-9db6-94666c68ac7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019bd671-9213-7c9b-8392-081fee07f596" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019bd671-9213-7cf9-9db6-94666c68ac7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019bd66f-fdc8-7620-b276-7cb4b4bd5623" 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_019bd66f-fdc8-735c-a4f4-9fa5e6be53f1" 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_019bd66f-fdc8-7620-b276-7cb4b4bd5623" xlink:to="loc_us-gaap_OperatingIncomeLoss_019bd66f-fdc8-735c-a4f4-9fa5e6be53f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-fdc8-7f1e-98c2-b30696d9c9e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019bd66f-fdc8-7620-b276-7cb4b4bd5623" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019bd66f-fdc8-7f1e-98c2-b30696d9c9e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019bd66e-0191-7fea-9f10-bede590aea01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019bd66e-0191-7c2e-bd30-6031522aae0a" 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_OperatingExpenses_019bd66e-0191-7fea-9f10-bede590aea01" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019bd66e-0191-7c2e-bd30-6031522aae0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019bd66e-0191-70f7-be62-c2a5e85dcc30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019bd66e-0191-7fea-9f10-bede590aea01" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019bd66e-0191-70f7-be62-c2a5e85dcc30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019bd670-78aa-7b7d-9984-0daa27cf01c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019bd670-78aa-7171-b760-8e2acfb80f1d" 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_ProfitLoss_019bd670-78aa-7b7d-9984-0daa27cf01c2" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019bd670-78aa-7171-b760-8e2acfb80f1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019bd670-78aa-74f9-bf98-c25064a1cbff" 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_ProfitLoss_019bd670-78aa-7b7d-9984-0daa27cf01c2" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019bd670-78aa-74f9-bf98-c25064a1cbff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019bd671-ef7c-729f-adeb-b028330bcb19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019bd671-ef7c-7deb-9f6b-5e4d357a0a00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019bd671-ef7c-729f-adeb-b028330bcb19" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019bd671-ef7c-7deb-9f6b-5e4d357a0a00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019bd671-ef7c-78a4-a12f-d1109128b080" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019bd671-ef7c-729f-adeb-b028330bcb19" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019bd671-ef7c-78a4-a12f-d1109128b080" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019bd670-b616-73a0-a187-ce22c869d44d" 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_ProfitLoss_019bd670-b616-726c-8a26-4a36e89d75f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019bd670-b616-73a0-a187-ce22c869d44d" xlink:to="loc_us-gaap_ProfitLoss_019bd670-b616-726c-8a26-4a36e89d75f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019bd670-b616-7685-9c3a-bb31715c2eb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019bd670-b616-73a0-a187-ce22c869d44d" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019bd670-b616-7685-9c3a-bb31715c2eb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019bd66e-d604-77fb-824b-0d7132f863e1" 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_019bd66e-d604-79e6-bddc-fdb73d7c4684" 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_019bd66e-d604-77fb-824b-0d7132f863e1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019bd66e-d604-79e6-bddc-fdb73d7c4684" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019bd66e-d604-7f58-9dd3-1112a44c0190" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019bd66e-d604-77fb-824b-0d7132f863e1" xlink:to="loc_us-gaap_OperatingExpenses_019bd66e-d604-7f58-9dd3-1112a44c0190" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="xncr-20251231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019bd716-fd6f-786c-bbcd-c0e0a1f852a1" 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_019bd716-fd6f-7a2d-9461-61a886cd7382" 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_019bd716-fd6f-786c-bbcd-c0e0a1f852a1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd716-fd6f-7a2d-9461-61a886cd7382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-fd6f-7f90-adc7-b7686fd7da74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019bd716-fd6f-786c-bbcd-c0e0a1f852a1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-fd6f-7f90-adc7-b7686fd7da74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-fd6f-78df-9181-a66577549e0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019bd716-fd6f-786c-bbcd-c0e0a1f852a1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-fd6f-78df-9181-a66577549e0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-31c9-7872-8784-ee8ed493c899" 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_PaymentsToAcquireMarketableSecurities_019bd716-31c9-706b-a9ac-9659727b534b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-31c9-7872-8784-ee8ed493c899" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019bd716-31c9-706b-a9ac-9659727b534b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019bd716-31c9-743b-84fa-907936845306" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-31c9-7872-8784-ee8ed493c899" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019bd716-31c9-743b-84fa-907936845306" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019bd716-31c9-734a-bb17-a0b3f446d646" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-31c9-7872-8784-ee8ed493c899" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019bd716-31c9-734a-bb17-a0b3f446d646" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_019bd716-31c9-7505-b9b5-c09f080b7ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-31c9-7872-8784-ee8ed493c899" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_019bd716-31c9-7505-b9b5-c09f080b7ea1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_019bd716-31c9-73d6-88f3-809dde163424" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-31c9-7872-8784-ee8ed493c899" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_019bd716-31c9-73d6-88f3-809dde163424" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019bd716-31c9-7de7-9d98-b01799846f8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019bd716-31c9-7872-8784-ee8ed493c899" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019bd716-31c9-7de7-9d98-b01799846f8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" 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_ProfitLoss_019bd715-faf8-723d-9d96-69f90bdf01e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_ProfitLoss_019bd715-faf8-723d-9d96-69f90bdf01e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019bd715-faf8-7bcb-9bb5-edfac301ae2d" 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_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019bd715-faf8-7bcb-9bb5-edfac301ae2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019bd715-faf8-7fca-92db-c2d768a7936e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019bd715-faf8-7fca-92db-c2d768a7936e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019bd715-faf8-7463-b876-3eb4f137b471" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_ShareBasedCompensation_019bd715-faf8-7463-b876-3eb4f137b471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleGainLoss_019bd715-faf8-7b54-a0c2-1e25d9582da8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleGainLoss"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleGainLoss_019bd715-faf8-7b54-a0c2-1e25d9582da8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_019bd715-faf8-73bd-82c6-a01c7aeecaef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_019bd715-faf8-73bd-82c6-a01c7aeecaef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019bd715-faf8-79c3-94af-474fd39f8df3" 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_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_AssetImpairmentCharges_019bd715-faf8-79c3-94af-474fd39f8df3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_NonCashRoyaltyRevenueRelatedToSaleOfFutureRoyalties_019bd715-faf8-7512-a246-c74e23b06dca" xlink:href="xncr-20251231.xsd#xncr_NonCashRoyaltyRevenueRelatedToSaleOfFutureRoyalties"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_xncr_NonCashRoyaltyRevenueRelatedToSaleOfFutureRoyalties_019bd715-faf8-7512-a246-c74e23b06dca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_019bd715-faf8-7f1d-8710-160b38a04f72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaidInKindInterest"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_PaidInKindInterest_019bd715-faf8-7f1d-8710-160b38a04f72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_NoncashConsiderationReceivedFromRevenueContracts_019bd715-faf8-7b90-aa8f-83c8ef2a487a" xlink:href="xncr-20251231.xsd#xncr_NoncashConsiderationReceivedFromRevenueContracts"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_xncr_NoncashConsiderationReceivedFromRevenueContracts_019bd715-faf8-7b90-aa8f-83c8ef2a487a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncashProjectAbandonmentCosts_019c882e-7d6e-78c4-b4ae-73181b4a28b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoncashProjectAbandonmentCosts"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_NoncashProjectAbandonmentCosts_019c882e-7d6e-78c4-b4ae-73181b4a28b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019c882e-bc14-7cb3-8017-400d48f801ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019c882e-bc14-7cb3-8017-400d48f801ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019bd715-faf8-7336-ad90-1a3caff6555a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019bd715-faf8-7336-ad90-1a3caff6555a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_019c882f-1c3d-7f10-846f-1500bdba0c06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_019c882f-1c3d-7f10-846f-1500bdba0c06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019bd715-faf8-7677-990b-c594b04224a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019bd715-faf8-7677-990b-c594b04224a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019bd715-faf8-793d-ba98-8d09c10ee0c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019bd715-faf8-793d-ba98-8d09c10ee0c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019bd715-faf8-7f31-8386-e8e2279ba03b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019bd715-faf8-7f31-8386-e8e2279ba03b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_IncreaseDecreaseInLeaseLiabilitiesAndRightOfUseAssets_019bd715-faf8-7b9d-95b4-5af5bc7d130b" xlink:href="xncr-20251231.xsd#xncr_IncreaseDecreaseInLeaseLiabilitiesAndRightOfUseAssets"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_xncr_IncreaseDecreaseInLeaseLiabilitiesAndRightOfUseAssets_019bd715-faf8-7b9d-95b4-5af5bc7d130b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019bd715-faf8-7ec3-aefb-f3bdcce12706" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019bd715-faf8-7ec3-aefb-f3bdcce12706" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019bd715-faf8-7644-add3-ccbdbfc839bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019bd715-faf8-7644-add3-ccbdbfc839bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019c3262-32bc-72e4-b32d-f3405393b71b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019bd715-faf8-776b-bd3f-05c6d96c5047" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019c3262-32bc-72e4-b32d-f3405393b71b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" 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_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019bd716-52b9-7a64-842c-199f686ba479" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019bd716-52b9-7a64-842c-199f686ba479" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_019bd716-52b9-7dec-b947-489a36413e78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" xlink:to="loc_us-gaap_ProceedsFromStockPlans_019bd716-52b9-7dec-b947-489a36413e78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019bd716-52b9-78b6-adc0-a59b1434c497" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019bd716-52b9-78b6-adc0-a59b1434c497" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_019bd716-52b9-7db1-844a-17ae3219fca0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_019bd716-52b9-7db1-844a-17ae3219fca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_ProceedsFromFutureSaleOfRoyalties_019bd716-52b9-7fe9-b1e5-168ae88cdb61" xlink:href="xncr-20251231.xsd#xncr_ProceedsFromFutureSaleOfRoyalties"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" xlink:to="loc_xncr_ProceedsFromFutureSaleOfRoyalties_019bd716-52b9-7fe9-b1e5-168ae88cdb61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_019bd716-52b9-7c67-a13e-088224270d30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMinorityShareholders"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_019bd716-52b9-7c67-a13e-088224270d30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_AdvanceFutureRoyaltyAndMilestonePayments_019bd716-52b9-72e5-8214-613e05e077b0" xlink:href="xncr-20251231.xsd#xncr_AdvanceFutureRoyaltyAndMilestonePayments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019bd716-52b9-74b8-8aa1-362ed84456b5" xlink:to="loc_xncr_AdvanceFutureRoyaltyAndMilestonePayments_019bd716-52b9-72e5-8214-613e05e077b0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/OrganizationandSummaryofSignificantAccountingPoliciesCashCashEquivalentsandRestrictedCashDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#OrganizationandSummaryofSignificantAccountingPoliciesCashCashEquivalentsandRestrictedCashDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/OrganizationandSummaryofSignificantAccountingPoliciesCashCashEquivalentsandRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c4b62-365c-7bba-9748-0fb3876c0798" 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_019c4b62-365c-7aa7-9a3b-9a2bf137d4bc" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c4b62-365c-7bba-9748-0fb3876c0798" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c4b62-365c-7aa7-9a3b-9a2bf137d4bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019c4b62-365c-7175-8cd2-07f76ac37d74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c4b62-365c-7bba-9748-0fb3876c0798" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019c4b62-365c-7175-8cd2-07f76ac37d74" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/CashEquivalentsMarketableDebtandEquitySecuritiesScheduleofMarketableSecuritiesDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#CashEquivalentsMarketableDebtandEquitySecuritiesScheduleofMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/CashEquivalentsMarketableDebtandEquitySecuritiesScheduleofMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_xncr_CashAndCashEquivalentsAndMarketableSecuritiesAmortizedCost_062afeb7-dffc-42e2-b318-b4c8a86580f6" xlink:href="xncr-20251231.xsd#xncr_CashAndCashEquivalentsAndMarketableSecuritiesAmortizedCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_8a831815-55b5-4cf5-8521-b18671b660ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xncr_CashAndCashEquivalentsAndMarketableSecuritiesAmortizedCost_062afeb7-dffc-42e2-b318-b4c8a86580f6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_8a831815-55b5-4cf5-8521-b18671b660ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Investments_b071747c-1946-4c36-9fdd-ca1bb8219c10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Investments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xncr_CashAndCashEquivalentsAndMarketableSecuritiesAmortizedCost_062afeb7-dffc-42e2-b318-b4c8a86580f6" xlink:to="loc_us-gaap_Investments_b071747c-1946-4c36-9fdd-ca1bb8219c10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ce600508-8c5f-4aca-86ee-2d796d2b9c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xncr_CashAndCashEquivalentsAndMarketableSecuritiesAmortizedCost_062afeb7-dffc-42e2-b318-b4c8a86580f6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ce600508-8c5f-4aca-86ee-2d796d2b9c2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_266b9f63-e2ed-461b-b9d2-02f380b1df63" 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_279f2b63-0992-4af5-a863-851a9747c96c" 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_266b9f63-e2ed-461b-b9d2-02f380b1df63" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_279f2b63-0992-4af5-a863-851a9747c96c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_c873a7e7-4d6f-4d56-ae8d-202a29784c22" 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_266b9f63-e2ed-461b-b9d2-02f380b1df63" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_c873a7e7-4d6f-4d56-ae8d-202a29784c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_26e1b981-47cd-407a-a010-30f95d6b3357" 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_266b9f63-e2ed-461b-b9d2-02f380b1df63" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_26e1b981-47cd-407a-a010-30f95d6b3357" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/CashEquivalentsMarketableDebtandEquitySecuritiesMaturitiesofMarketableSecuritiesDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#CashEquivalentsMarketableDebtandEquitySecuritiesMaturitiesofMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/CashEquivalentsMarketableDebtandEquitySecuritiesMaturitiesofMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019bdae9-f72e-7d73-acd2-a10f7e8738a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019bdae9-f72e-76b1-b1d8-0f3cee00729e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019bdae9-f72e-7d73-acd2-a10f7e8738a6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019bdae9-f72e-76b1-b1d8-0f3cee00729e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019bdae9-f72e-7d13-9e34-84cac11ddd91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019bdae9-f72e-7d73-acd2-a10f7e8738a6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019bdae9-f72e-7d13-9e34-84cac11ddd91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019bdae9-d3f1-7a18-b1b1-f5f8e0c0c53e" 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_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019bdae9-d3f1-70e4-abf0-eabdc19e0a1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019bdae9-d3f1-7a18-b1b1-f5f8e0c0c53e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019bdae9-d3f1-70e4-abf0-eabdc19e0a1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019bdae9-d3f1-7ba3-98c8-bf0353fb5f49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019bdae9-d3f1-7a18-b1b1-f5f8e0c0c53e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019bdae9-d3f1-7ba3-98c8-bf0353fb5f49" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/CashEquivalentsMarketableDebtandEquitySecuritiesNetRealizedandUnrealizedGainsLossesonMarketableEquitySecuritiesDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#CashEquivalentsMarketableDebtandEquitySecuritiesNetRealizedandUnrealizedGainsLossesonMarketableEquitySecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/CashEquivalentsMarketableDebtandEquitySecuritiesNetRealizedandUnrealizedGainsLossesonMarketableEquitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_e369c367-3ade-41d5-a563-58372f762789" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_40302c1e-ab49-4b16-8094-796fc618442f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_e369c367-3ade-41d5-a563-58372f762789" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_40302c1e-ab49-4b16-8094-796fc618442f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_9efd6953-76c3-4ff0-8869-b1ef080b716e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_e369c367-3ade-41d5-a563-58372f762789" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_9efd6953-76c3-4ff0-8869-b1ef080b716e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/FairValueMeasurementDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#FairValueMeasurementDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/FairValueMeasurementDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019c76fa-6768-7479-806b-b40470abe1a5" 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_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019c76fa-6768-76e9-b272-0a2a1e166776" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019c76fa-6768-7479-806b-b40470abe1a5" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019c76fa-6768-76e9-b272-0a2a1e166776" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019c76fa-6768-7087-a8e5-12fb90a5f884" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019c76fa-6768-7479-806b-b40470abe1a5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019c76fa-6768-7087-a8e5-12fb90a5f884" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_019c76fa-6768-7338-88b1-efbace3db3d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019c76fa-6768-7479-806b-b40470abe1a5" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_019c76fa-6768-7338-88b1-efbace3db3d9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/BalanceSheetAccountsPropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#BalanceSheetAccountsPropertyPlantandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/BalanceSheetAccountsPropertyPlantandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6959c2f7-43c7-4940-930c-5209f26a6ce3" 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_c988a66f-51f3-4263-bd42-4c3d86c5ba61" 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_6959c2f7-43c7-4940-930c-5209f26a6ce3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_c988a66f-51f3-4263-bd42-4c3d86c5ba61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_719f34e6-a8f8-49db-90e5-f50bf26f2c80" 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_6959c2f7-43c7-4940-930c-5209f26a6ce3" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_719f34e6-a8f8-49db-90e5-f50bf26f2c80" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/BalanceSheetAccountsIndefiniteandFiniteLivedIntangibleAssetsDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#BalanceSheetAccountsIndefiniteandFiniteLivedIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/BalanceSheetAccountsIndefiniteandFiniteLivedIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b3ee1021-6f33-410f-bc07-47ad108f63b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5868e283-ea4a-4485-acc0-a396d1f5a2e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b3ee1021-6f33-410f-bc07-47ad108f63b9" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5868e283-ea4a-4485-acc0-a396d1f5a2e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_75f21015-ee8c-4b94-97b4-f4acb3a65acc" 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_IntangibleAssetsNetExcludingGoodwill_b3ee1021-6f33-410f-bc07-47ad108f63b9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_75f21015-ee8c-4b94-97b4-f4acb3a65acc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_4a7a4670-1719-421e-b588-859ca85c423c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_c351e38f-eda6-4b16-a7b2-55234707e7a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_4a7a4670-1719-421e-b588-859ca85c423c" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_c351e38f-eda6-4b16-a7b2-55234707e7a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_f96f85e1-da6b-4d0c-b10b-0ee1b937d57c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_4a7a4670-1719-421e-b588-859ca85c423c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_f96f85e1-da6b-4d0c-b10b-0ee1b937d57c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/BalanceSheetAccountsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#BalanceSheetAccountsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/BalanceSheetAccountsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019be070-70b1-71f8-bbec-61f4538f0ce4" 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_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019be070-70b1-7954-a718-c883b6496cc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019be070-70b1-71f8-bbec-61f4538f0ce4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019be070-70b1-7954-a718-c883b6496cc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019be070-70b1-7663-afd6-55691108006b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019be070-70b1-71f8-bbec-61f4538f0ce4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019be070-70b1-7663-afd6-55691108006b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019be070-70b1-7040-860d-1c604c30c5f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019be070-70b1-71f8-bbec-61f4538f0ce4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019be070-70b1-7040-860d-1c604c30c5f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019be070-70b1-71bb-b44e-6a853348691b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019be070-70b1-71f8-bbec-61f4538f0ce4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019be070-70b1-71bb-b44e-6a853348691b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_019be070-70b1-79cb-9df6-0faaf69f905e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019be070-70b1-71f8-bbec-61f4538f0ce4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_019be070-70b1-79cb-9df6-0faaf69f905e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_019be070-70b1-7df6-998f-842193540dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019be070-70b1-71f8-bbec-61f4538f0ce4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_019be070-70b1-7df6-998f-842193540dc3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/BalanceSheetAccountsAccruedExpensesDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#BalanceSheetAccountsAccruedExpensesDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/BalanceSheetAccountsAccruedExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_b34cdae0-dfe5-4137-aacc-8ee1dbd138b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_70b18102-d827-4642-9290-8df9835a7da9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_b34cdae0-dfe5-4137-aacc-8ee1dbd138b5" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_70b18102-d827-4642-9290-8df9835a7da9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_6eaf3075-6f58-4ec3-960a-081c74575220" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_b34cdae0-dfe5-4137-aacc-8ee1dbd138b5" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_6eaf3075-6f58-4ec3-960a-081c74575220" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_AccruedResearchAndDevelopmentExpenses_c0418c51-e1e9-4a50-9e85-f2ae18aa1df3" xlink:href="xncr-20251231.xsd#xncr_AccruedResearchAndDevelopmentExpenses"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_b34cdae0-dfe5-4137-aacc-8ee1dbd138b5" xlink:to="loc_xncr_AccruedResearchAndDevelopmentExpenses_c0418c51-e1e9-4a50-9e85-f2ae18aa1df3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/LiabilitiesRelatedtotheSalesofFutureRoyaltiesDebtofFutureRoyaltiesDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#LiabilitiesRelatedtotheSalesofFutureRoyaltiesDebtofFutureRoyaltiesDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/LiabilitiesRelatedtotheSalesofFutureRoyaltiesDebtofFutureRoyaltiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_xncr_RoyaltyLiabilityDebtLongTermAndShortTermCombinedAmount_3d2db2ec-f025-42fd-88e5-f082a284e662" xlink:href="xncr-20251231.xsd#xncr_RoyaltyLiabilityDebtLongTermAndShortTermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_RoyaltyLiabilitiesLongTermDebt_ea49784b-53d4-4778-a934-4cd102484e44" xlink:href="xncr-20251231.xsd#xncr_RoyaltyLiabilitiesLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xncr_RoyaltyLiabilityDebtLongTermAndShortTermCombinedAmount_3d2db2ec-f025-42fd-88e5-f082a284e662" xlink:to="loc_xncr_RoyaltyLiabilitiesLongTermDebt_ea49784b-53d4-4778-a934-4cd102484e44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_RoyaltyLiabilitiesShortTermDebt_caf44f0c-4833-4489-b865-c3960b7824c8" xlink:href="xncr-20251231.xsd#xncr_RoyaltyLiabilitiesShortTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xncr_RoyaltyLiabilityDebtLongTermAndShortTermCombinedAmount_3d2db2ec-f025-42fd-88e5-f082a284e662" xlink:to="loc_xncr_RoyaltyLiabilitiesShortTermDebt_caf44f0c-4833-4489-b865-c3960b7824c8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/LeasesUndiscountedCashFlowsDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#LeasesUndiscountedCashFlowsDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/LeasesUndiscountedCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fa6f9663-0a3a-4450-b625-913a435a35ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_74a6504e-56f7-4b31-ab7c-68764e8bd2a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fa6f9663-0a3a-4450-b625-913a435a35ac" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_74a6504e-56f7-4b31-ab7c-68764e8bd2a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_11e3e2f4-031d-499c-a864-b99adc70ff2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fa6f9663-0a3a-4450-b625-913a435a35ac" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_11e3e2f4-031d-499c-a864-b99adc70ff2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_cc5472b0-d2db-439f-bcbb-9e556bfdcd22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fa6f9663-0a3a-4450-b625-913a435a35ac" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_cc5472b0-d2db-439f-bcbb-9e556bfdcd22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_b969c696-cad2-470d-aa32-d90ee528435f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fa6f9663-0a3a-4450-b625-913a435a35ac" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_b969c696-cad2-470d-aa32-d90ee528435f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0bfaed17-4613-4892-b66c-a332f40b8c87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fa6f9663-0a3a-4450-b625-913a435a35ac" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0bfaed17-4613-4892-b66c-a332f40b8c87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f060afd5-291a-4e83-93c2-b69b7e67218d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fa6f9663-0a3a-4450-b625-913a435a35ac" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f060afd5-291a-4e83-93c2-b69b7e67218d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/LeasesUndiscountedCashFlowsDetails_1" xlink:type="simple" xlink:href="xncr-20251231.xsd#LeasesUndiscountedCashFlowsDetails_1"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/LeasesUndiscountedCashFlowsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_0dc71cbf-cd11-49cd-9ed2-6d0799b3afbe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_b3a97f0a-3d7a-41f4-b64b-10248bcb0c13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_0dc71cbf-cd11-49cd-9ed2-6d0799b3afbe" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_b3a97f0a-3d7a-41f4-b64b-10248bcb0c13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_eb59edd1-60d4-4c6d-8fd4-c6468b6ce4ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_0dc71cbf-cd11-49cd-9ed2-6d0799b3afbe" xlink:to="loc_us-gaap_OperatingLeaseLiability_eb59edd1-60d4-4c6d-8fd4-c6468b6ce4ba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/LeasesLeaseCostsDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#LeasesLeaseCostsDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/LeasesLeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_99c44776-6862-43ad-ae96-ebcbbaf1a4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_dcd1c9d1-14e0-4953-8c94-fd73694c83f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_99c44776-6862-43ad-ae96-ebcbbaf1a4f8" xlink:to="loc_us-gaap_OperatingLeaseCost_dcd1c9d1-14e0-4953-8c94-fd73694c83f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_188130b0-29e9-47e2-b5ea-3f560f8f1da1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_99c44776-6862-43ad-ae96-ebcbbaf1a4f8" xlink:to="loc_us-gaap_VariableLeaseCost_188130b0-29e9-47e2-b5ea-3f560f8f1da1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/StockBasedCompensationShareBasedPaymentArrangementActivityDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#StockBasedCompensationShareBasedPaymentArrangementActivityDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/StockBasedCompensationShareBasedPaymentArrangementActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_xncr_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAndEquityInstrumentsOtherThanOptionsOutstanding_019c6a8d-ddc3-79b0-bd71-35bc48b63332" xlink:href="xncr-20251231.xsd#xncr_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAndEquityInstrumentsOtherThanOptionsOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019c6a8d-ddc3-7a41-b556-22b66f9acb31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xncr_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAndEquityInstrumentsOtherThanOptionsOutstanding_019c6a8d-ddc3-79b0-bd71-35bc48b63332" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019c6a8d-ddc3-7a41-b556-22b66f9acb31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6a8d-ddc3-76a7-948c-39d1a3775bac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xncr_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAndEquityInstrumentsOtherThanOptionsOutstanding_019c6a8d-ddc3-79b0-bd71-35bc48b63332" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6a8d-ddc3-76a7-948c-39d1a3775bac" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/IncomeTaxesComponentsonIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#IncomeTaxesComponentsonIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/IncomeTaxesComponentsonIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_01c5d3a0-2f2c-42f1-89c5-271d0b37f109" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_4ec1a3ec-462b-40d6-b390-cbbe5fb19985" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_01c5d3a0-2f2c-42f1-89c5-271d0b37f109" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_4ec1a3ec-462b-40d6-b390-cbbe5fb19985" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_9ec1169c-5e10-45fb-b9cb-44952e41d1e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_01c5d3a0-2f2c-42f1-89c5-271d0b37f109" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_9ec1169c-5e10-45fb-b9cb-44952e41d1e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7ffb81e7-00ef-4e9b-aeab-611db39066ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_208f30b3-9952-4544-b189-608082c5efc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7ffb81e7-00ef-4e9b-aeab-611db39066ae" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_208f30b3-9952-4544-b189-608082c5efc3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_afdee59e-e73a-4ded-abbc-165ee423a23a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7ffb81e7-00ef-4e9b-aeab-611db39066ae" xlink:to="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_afdee59e-e73a-4ded-abbc-165ee423a23a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_bf95b14c-a29f-47ce-8cb9-93df2cf6aead" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_708ea600-37c5-4cdc-9de9-3a347d501d1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bf95b14c-a29f-47ce-8cb9-93df2cf6aead" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_708ea600-37c5-4cdc-9de9-3a347d501d1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_e8b423b2-ddf6-4f1c-b439-9302d064801e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bf95b14c-a29f-47ce-8cb9-93df2cf6aead" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_e8b423b2-ddf6-4f1c-b439-9302d064801e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/IncomeTaxesReconciliationtoeffectiveincometaxDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#IncomeTaxesReconciliationtoeffectiveincometaxDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/IncomeTaxesReconciliationtoeffectiveincometaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019c73f0-623d-77e7-8e17-e191784dbe19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019c73f0-623d-77e7-8e17-e191784dbe19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019c73f0-623d-79fe-8427-d6b27c745c13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019c73f0-623d-79fe-8427-d6b27c745c13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c73f0-623d-7d46-ac87-270ce0a6b1e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c73f0-623d-7d46-ac87-270ce0a6b1e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019c73f0-623d-796d-9499-7033bf2e2108" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019c73f0-623d-796d-9499-7033bf2e2108" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019c73f0-623d-78d6-af6d-cbbf4e0318b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019c73f0-623d-78d6-af6d-cbbf4e0318b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019c73f0-623d-7d5f-8a16-edf1760b598b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019c73f0-623d-7d5f-8a16-edf1760b598b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019c73f0-623d-7aaf-ad52-e7891fa31115" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019c73f0-623d-7aaf-ad52-e7891fa31115" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019c73f0-623d-7eff-96b3-f104b97fd1b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c73f0-623d-7af7-83e1-35863b2a6d20" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019c73f0-623d-7eff-96b3-f104b97fd1b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019c73ed-2c03-7d41-b626-994bcced3469" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019c73ed-2c03-7d41-b626-994bcced3469" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019c73ed-2c03-7578-a8a9-72b3e02cd893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019c73ed-2c03-7578-a8a9-72b3e02cd893" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c73ed-2c03-75d2-99e2-be1aa31200bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c73ed-2c03-75d2-99e2-be1aa31200bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019c73ed-2c03-7d66-86df-4cd92d7deffb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019c73ed-2c03-7d66-86df-4cd92d7deffb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019c73ed-2c03-7b39-9240-eca662e83f59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019c73ed-2c03-7b39-9240-eca662e83f59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_019c73ed-2c03-7297-a096-c82b548d6cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_019c73ed-2c03-7297-a096-c82b548d6cd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019c73ed-2c03-78d4-8442-58558375cfc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019c73ed-2c03-78d4-8442-58558375cfc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_EffectiveIncomeTaxRateReconciliationUncertainTaxPositionAmount_019c73ed-2c03-75a6-898e-c64c50405335" xlink:href="xncr-20251231.xsd#xncr_EffectiveIncomeTaxRateReconciliationUncertainTaxPositionAmount"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_xncr_EffectiveIncomeTaxRateReconciliationUncertainTaxPositionAmount_019c73ed-2c03-75a6-898e-c64c50405335" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustment_019c73ef-7b4f-7a34-bf4e-703714925283" xlink:href="xncr-20251231.xsd#xncr_EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustment"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_xncr_EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustment_019c73ef-7b4f-7a34-bf4e-703714925283" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019c73ef-7b4f-786a-9a86-9fdacccc96b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019c73ef-7b4f-786a-9a86-9fdacccc96b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019c7646-a335-7d98-8d4b-af3983b5b179" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019c7646-a335-7d98-8d4b-af3983b5b179" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019c7646-a335-747f-892e-2e6b9999376d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c73ed-2c03-753e-ad9a-da827c0e6520" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019c7646-a335-747f-892e-2e6b9999376d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/IncomeTaxesIncometaxespaidDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#IncomeTaxesIncometaxespaidDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/IncomeTaxesIncometaxespaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019c4b9a-8d5a-7249-bf04-0b2ac2ade3a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019c4b9a-8d5a-70c2-ae84-10071098ae32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidFederalAfterRefundReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019c4b9a-8d5a-7249-bf04-0b2ac2ade3a8" xlink:to="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019c4b9a-8d5a-70c2-ae84-10071098ae32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019c4b9a-8d5a-7fd6-999d-555fd11888d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019c4b9a-8d5a-7249-bf04-0b2ac2ade3a8" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019c4b9a-8d5a-7fd6-999d-555fd11888d4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/IncomeTaxesDeferredtaxassetsandliabilitiesDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#IncomeTaxesDeferredtaxassetsandliabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/IncomeTaxesDeferredtaxassetsandliabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_75e5a9b1-f99f-4303-a0fa-725f42ceac1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_1c4173b5-aa41-477f-be82-faf25ea9430a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_75e5a9b1-f99f-4303-a0fa-725f42ceac1d" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_1c4173b5-aa41-477f-be82-faf25ea9430a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_006f2168-d1b3-4d01-bdcc-c76d3d40508b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_75e5a9b1-f99f-4303-a0fa-725f42ceac1d" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_006f2168-d1b3-4d01-bdcc-c76d3d40508b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_42782cf1-bc46-4d88-8c9e-896ce175e158" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_75e5a9b1-f99f-4303-a0fa-725f42ceac1d" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_42782cf1-bc46-4d88-8c9e-896ce175e158" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestments_3a42b597-5b69-4798-97c4-041d1d2b905b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_75e5a9b1-f99f-4303-a0fa-725f42ceac1d" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestments_3a42b597-5b69-4798-97c4-041d1d2b905b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_c5badd47-235d-4980-9dd7-0fb99352ca73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_c5badd47-235d-4980-9dd7-0fb99352ca73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_DeferredTaxAssetsTaxDeferredExpenseCapitalizedResearchAndExperimentalExpenditures_eefabc77-8594-420d-9b67-42a422dad6eb" xlink:href="xncr-20251231.xsd#xncr_DeferredTaxAssetsTaxDeferredExpenseCapitalizedResearchAndExperimentalExpenditures"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_xncr_DeferredTaxAssetsTaxDeferredExpenseCapitalizedResearchAndExperimentalExpenditures_eefabc77-8594-420d-9b67-42a422dad6eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_aca692ad-c4ff-47e2-8f89-a5ac09a6d3a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_aca692ad-c4ff-47e2-8f89-a5ac09a6d3a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_57d0067d-a7c2-4fd1-bc70-608e3435e4c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_57d0067d-a7c2-4fd1-bc70-608e3435e4c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_DeferredTaxAssetsRoyaltyFinancing_86f175e7-947e-4ac9-b466-2e3b97cf5a0d" xlink:href="xncr-20251231.xsd#xncr_DeferredTaxAssetsRoyaltyFinancing"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_xncr_DeferredTaxAssetsRoyaltyFinancing_86f175e7-947e-4ac9-b466-2e3b97cf5a0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_DeferredTaxAssetsCapitalizedLeaseAssets_f03d768b-c8e9-423c-83b3-5c82f9eaf8f0" xlink:href="xncr-20251231.xsd#xncr_DeferredTaxAssetsCapitalizedLeaseAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_xncr_DeferredTaxAssetsCapitalizedLeaseAssets_f03d768b-c8e9-423c-83b3-5c82f9eaf8f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInvestments_1db7be07-347f-4a61-9eb7-c93e559d22e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsInvestments"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_us-gaap_DeferredTaxAssetsInvestments_1db7be07-347f-4a61-9eb7-c93e559d22e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_9364d693-da87-41e8-9e4e-af8001243b8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d94603fb-2d8d-4c08-876b-353699ec9d5b" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_9364d693-da87-41e8-9e4e-af8001243b8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_641481ea-a5aa-409f-99e0-04a1a9770547" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_151e4555-c13c-41ec-a422-56e4c69da08f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_641481ea-a5aa-409f-99e0-04a1a9770547" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_151e4555-c13c-41ec-a422-56e4c69da08f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_bce86164-ad5b-407c-9e80-49fc949f96cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_641481ea-a5aa-409f-99e0-04a1a9770547" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_bce86164-ad5b-407c-9e80-49fc949f96cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_9b572f78-cdea-4cf0-878f-6f07dc9967e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_12a3c78a-d962-47b3-abfd-2beb8428bf50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_9b572f78-cdea-4cf0-878f-6f07dc9967e9" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_12a3c78a-d962-47b3-abfd-2beb8428bf50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_77c1855f-dcfd-4c1e-8036-d21b32372707" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_9b572f78-cdea-4cf0-878f-6f07dc9967e9" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_77c1855f-dcfd-4c1e-8036-d21b32372707" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xencor.com/role/SegmentReportingSegmentReportingInformationbySegmentDetails" xlink:type="simple" xlink:href="xncr-20251231.xsd#SegmentReportingSegmentReportingInformationbySegmentDetails"/>
  <link:calculationLink xlink:role="http://www.xencor.com/role/SegmentReportingSegmentReportingInformationbySegmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019c7bae-c6ad-741a-b5ea-fc0b3cf7f28d" 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_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019c7bae-c6ad-741a-b5ea-fc0b3cf7f28d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_ResearchAndDevelopmentExpenseExternal_019c7bae-c6ad-7afa-9fe9-b6a7086e812b" xlink:href="xncr-20251231.xsd#xncr_ResearchAndDevelopmentExpenseExternal"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:to="loc_xncr_ResearchAndDevelopmentExpenseExternal_019c7bae-c6ad-7afa-9fe9-b6a7086e812b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xncr_InternalResearchAndDevelopmentExpense_019c7bae-c6ad-764b-9fe1-f35f1d8b8599" xlink:href="xncr-20251231.xsd#xncr_InternalResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:to="loc_xncr_InternalResearchAndDevelopmentExpense_019c7bae-c6ad-764b-9fe1-f35f1d8b8599" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019c7bae-c6ad-7b33-99b0-69087ca36be1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:to="loc_us-gaap_ShareBasedCompensation_019c7bae-c6ad-7b33-99b0-69087ca36be1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019c7bae-c6ad-7b5a-a0da-6890c7af75f5" 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_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019c7bae-c6ad-7b5a-a0da-6890c7af75f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019c7bae-c6ad-7a2c-aa99-ceaf0322eef9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019c7bae-c6ad-7a2c-aa99-ceaf0322eef9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c7bae-c6ad-74f8-8831-9da1e35109fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019c7bae-c6ad-720e-8eb7-3bddcfb67d14" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019c7bae-c6ad-74f8-8831-9da1e35109fc" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
