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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2017 Workiva-->
<!--r:563134ec-a340-440a-9a04-de6daa58ca5a,g:8bac8b40-52cb-4df4-9899-7fd31d8902c4-->
<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://macrogenics.com/role/CoverPage" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CoverPage"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CoverPage" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_c41e6d2a-1265-4bb6-9740-ab7f3d074230" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_fc1de0a2-73a3-4a9f-94ef-f63004bb00c2" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_c41e6d2a-1265-4bb6-9740-ab7f3d074230" xlink:to="loc_us-gaap_Liabilities_fc1de0a2-73a3-4a9f-94ef-f63004bb00c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_febf2c6c-eb63-448e-b77d-9e19b451ab89" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c41e6d2a-1265-4bb6-9740-ab7f3d074230" xlink:to="loc_us-gaap_StockholdersEquity_febf2c6c-eb63-448e-b77d-9e19b451ab89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_45148647-dbec-43d1-9df2-64a4eab7643d" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_d5b8e760-8a94-4fc6-af04-31424a2e5842" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_45148647-dbec-43d1-9df2-64a4eab7643d" xlink:to="loc_us-gaap_CommonStockValue_d5b8e760-8a94-4fc6-af04-31424a2e5842" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_3bbd7c14-0203-4180-b7f2-6fd6e137cd87" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_45148647-dbec-43d1-9df2-64a4eab7643d" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_3bbd7c14-0203-4180-b7f2-6fd6e137cd87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_21e3fe03-565e-4569-8eab-3b45e608852f" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_45148647-dbec-43d1-9df2-64a4eab7643d" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_21e3fe03-565e-4569-8eab-3b45e608852f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_df54a1a3-f93e-4813-9272-9a23a5707cb4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_45148647-dbec-43d1-9df2-64a4eab7643d" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_df54a1a3-f93e-4813-9272-9a23a5707cb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_eb7582a9-3651-4069-8974-a731e0e7d5b6" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_24e3d3d1-d80c-4c01-809d-ce959175a4df" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_eb7582a9-3651-4069-8974-a731e0e7d5b6" xlink:to="loc_us-gaap_AccountsPayableCurrent_24e3d3d1-d80c-4c01-809d-ce959175a4df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_97d16dff-f2f5-4f24-b91d-3667a16619f5" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_eb7582a9-3651-4069-8974-a731e0e7d5b6" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_97d16dff-f2f5-4f24-b91d-3667a16619f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRentCreditCurrent_52634cf0-c0e6-4b2e-8ac1-04d8fba41934" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRentCreditCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_eb7582a9-3651-4069-8974-a731e0e7d5b6" xlink:to="loc_us-gaap_DeferredRentCreditCurrent_52634cf0-c0e6-4b2e-8ac1-04d8fba41934" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_9dc54189-39c0-43e3-a91a-ff83ad95c340" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_eb7582a9-3651-4069-8974-a731e0e7d5b6" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_9dc54189-39c0-43e3-a91a-ff83ad95c340" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9ece4161-8cd0-4acf-bd09-79870cdd8cdb" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_eb7582a9-3651-4069-8974-a731e0e7d5b6" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9ece4161-8cd0-4acf-bd09-79870cdd8cdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_d530ed7b-4778-4042-8029-c91dce5cc6bf" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_eb7582a9-3651-4069-8974-a731e0e7d5b6" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_d530ed7b-4778-4042-8029-c91dce5cc6bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_6630ca30-6120-4fc7-80b0-4bed45e94da5" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_0198bd13-2ebe-4e3d-bc77-bcbc2a97967b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_6630ca30-6120-4fc7-80b0-4bed45e94da5" xlink:to="loc_us-gaap_LiabilitiesCurrent_0198bd13-2ebe-4e3d-bc77-bcbc2a97967b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRentCreditNoncurrent_a684746c-24bc-4e70-9561-51cb058cd71b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRentCreditNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6630ca30-6120-4fc7-80b0-4bed45e94da5" xlink:to="loc_us-gaap_DeferredRentCreditNoncurrent_a684746c-24bc-4e70-9561-51cb058cd71b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_87cb55ec-a0a3-4f34-afde-ea26649f2b40" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_6630ca30-6120-4fc7-80b0-4bed45e94da5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_87cb55ec-a0a3-4f34-afde-ea26649f2b40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_fa05260b-d9fb-4d60-8681-715c98f5aa70" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6630ca30-6120-4fc7-80b0-4bed45e94da5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_fa05260b-d9fb-4d60-8681-715c98f5aa70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_c9876630-22a1-492d-9b3b-67f207736c45" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_88ba5f9b-2933-422a-8da3-174c5c3808c1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_c9876630-22a1-492d-9b3b-67f207736c45" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_88ba5f9b-2933-422a-8da3-174c5c3808c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Investments_e443dd3b-ca93-4db3-92a3-73a84cf6273a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Investments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c9876630-22a1-492d-9b3b-67f207736c45" xlink:to="loc_us-gaap_Investments_e443dd3b-ca93-4db3-92a3-73a84cf6273a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_7e66a6de-0128-4590-8546-9bc0b4e73b49" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c9876630-22a1-492d-9b3b-67f207736c45" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_7e66a6de-0128-4590-8546-9bc0b4e73b49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_832d0fc5-363f-4e18-a6ed-3f661273b62a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c9876630-22a1-492d-9b3b-67f207736c45" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_832d0fc5-363f-4e18-a6ed-3f661273b62a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_e6b4cd21-51b0-4422-a913-4f81cb593940" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c9876630-22a1-492d-9b3b-67f207736c45" xlink:to="loc_us-gaap_OtherAssets_e6b4cd21-51b0-4422-a913-4f81cb593940" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_075c9c93-d287-408a-b34b-80d385166eec" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_026ffa70-590c-480c-b910-033dfe19148c" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_075c9c93-d287-408a-b34b-80d385166eec" xlink:to="loc_us-gaap_AssetsCurrent_026ffa70-590c-480c-b910-033dfe19148c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0e55fdfd-cc5e-4a84-839d-1fc132934ace" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_075c9c93-d287-408a-b34b-80d385166eec" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0e55fdfd-cc5e-4a84-839d-1fc132934ace" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_36740562-2c65-40f7-a90e-8043670e0659" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_075c9c93-d287-408a-b34b-80d385166eec" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_36740562-2c65-40f7-a90e-8043670e0659" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_3636dcb3-fb75-4d10-9f71-e3c665d38c9c" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_de0c7b4a-d1a0-4caf-b60a-1b0e239a9481" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_CostsAndExpenses_3636dcb3-fb75-4d10-9f71-e3c665d38c9c" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_de0c7b4a-d1a0-4caf-b60a-1b0e239a9481" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_b01b2881-f5a5-4a82-be54-f9012b2e6e58" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_CostsAndExpenses_3636dcb3-fb75-4d10-9f71-e3c665d38c9c" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_b01b2881-f5a5-4a82-be54-f9012b2e6e58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3d92c218-8155-46c4-aa2b-d849468a1cf6" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_6ce0bc0a-92c8-4db4-8b4e-73ef46886703" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3d92c218-8155-46c4-aa2b-d849468a1cf6" xlink:to="loc_us-gaap_NetIncomeLoss_6ce0bc0a-92c8-4db4-8b4e-73ef46886703" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_f61b4142-8f7a-40b9-8e33-67442fb6a4bc" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3d92c218-8155-46c4-aa2b-d849468a1cf6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_f61b4142-8f7a-40b9-8e33-67442fb6a4bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_58e4eeee-d873-4070-a01c-37e542fe9ed1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_0e38a582-23aa-4711-b335-b833034d8dea" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_NetIncomeLoss_58e4eeee-d873-4070-a01c-37e542fe9ed1" xlink:to="loc_us-gaap_OperatingIncomeLoss_0e38a582-23aa-4711-b335-b833034d8dea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_2fe7cf5f-81a2-4fb2-b78c-3574bd536f7a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_58e4eeee-d873-4070-a01c-37e542fe9ed1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_2fe7cf5f-81a2-4fb2-b78c-3574bd536f7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_0657e2df-6ef1-4f91-9482-1fb923ca72f1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_0e2dfdb1-7437-4a59-b551-d69c5b17b855" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0657e2df-6ef1-4f91-9482-1fb923ca72f1" xlink:to="loc_us-gaap_Revenues_0e2dfdb1-7437-4a59-b551-d69c5b17b855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_bcb338ab-d403-44e5-92df-c32fc689e2e0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0657e2df-6ef1-4f91-9482-1fb923ca72f1" xlink:to="loc_us-gaap_CostsAndExpenses_bcb338ab-d403-44e5-92df-c32fc689e2e0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_19864e7b-314f-4d04-ae2c-19689acc4e15" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_2377dba8-28f8-4ca2-9f8e-8e6bf2f6c106" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_19864e7b-314f-4d04-ae2c-19689acc4e15" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_2377dba8-28f8-4ca2-9f8e-8e6bf2f6c106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ProceedsfromStockOptionsExercisedAndESPPPurchases_cf4b4982-061b-4937-994b-abe18b6146f0" xlink:href="mgnx-20190630.xsd#mgnx_ProceedsfromStockOptionsExercisedAndESPPPurchases"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_19864e7b-314f-4d04-ae2c-19689acc4e15" xlink:to="loc_mgnx_ProceedsfromStockOptionsExercisedAndESPPPurchases_cf4b4982-061b-4937-994b-abe18b6146f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e5171514-bf65-4319-977a-be8d67fab37c" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_NetIncomeLoss_e5171514-bf65-4319-977a-be8d67fab37c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_2790df62-9654-45b1-91f3-83ae6d342183" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_2790df62-9654-45b1-91f3-83ae6d342183" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_9e874032-da8a-4862-a54a-8b6e3c71d32b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_ShareBasedCompensation_9e874032-da8a-4862-a54a-8b6e3c71d32b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_0e26f772-5c9d-4c62-8b6b-5122ade4f140" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_0e26f772-5c9d-4c62-8b6b-5122ade4f140" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_889e7cd6-f9b2-4114-8fcc-460255b2fcbc" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_889e7cd6-f9b2-4114-8fcc-460255b2fcbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f1657463-bae6-4b01-901d-3fbb7d74b6f7" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f1657463-bae6-4b01-901d-3fbb7d74b6f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndOtherOperatingLiabilities_8f584bf2-08c4-4742-927f-ffa8bef73d90" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndOtherOperatingLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndOtherOperatingLiabilities_8f584bf2-08c4-4742-927f-ffa8bef73d90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_302b39d3-00fd-4046-95a9-06a3d0ef53ff" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_302b39d3-00fd-4046-95a9-06a3d0ef53ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInRestructuringReserve_e898add9-a2bd-4fb0-8558-a2af1c7e2e5b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInRestructuringReserve"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_IncreaseDecreaseInRestructuringReserve_e898add9-a2bd-4fb0-8558-a2af1c7e2e5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncreaseDecreaseInDeferredRent_0c09565b-1374-4a0e-82dc-446b4cfeb00a" xlink:href="mgnx-20190630.xsd#mgnx_IncreaseDecreaseInDeferredRent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_mgnx_IncreaseDecreaseInDeferredRent_0c09565b-1374-4a0e-82dc-446b4cfeb00a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_728d8b3f-b240-4e00-b4ea-6d4377d8e73e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_728d8b3f-b240-4e00-b4ea-6d4377d8e73e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncreaseDecreaseInLeaseLiabilities_37a2c417-9f96-4ecc-9eaa-14c18cce8855" xlink:href="mgnx-20190630.xsd#mgnx_IncreaseDecreaseInLeaseLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_3317df0b-43e9-4acf-b96a-df004e063ed8" xlink:to="loc_mgnx_IncreaseDecreaseInLeaseLiabilities_37a2c417-9f96-4ecc-9eaa-14c18cce8855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_8d71252b-cf80-48fc-b474-511d0758e2ba" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6c0a57d4-9d7b-4a94-b7aa-4734180d36a0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_8d71252b-cf80-48fc-b474-511d0758e2ba" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6c0a57d4-9d7b-4a94-b7aa-4734180d36a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_a7d741c7-0978-4099-b55e-b637e4778b4a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_8d71252b-cf80-48fc-b474-511d0758e2ba" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_a7d741c7-0978-4099-b55e-b637e4778b4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_675d7382-b19c-4d8e-913d-636f9c91a6c6" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_8d71252b-cf80-48fc-b474-511d0758e2ba" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_675d7382-b19c-4d8e-913d-636f9c91a6c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_144788b9-a6a2-40d3-a7dd-b70a8b24bd07" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_785c1277-2d5a-4067-9252-916edab00a93" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_144788b9-a6a2-40d3-a7dd-b70a8b24bd07" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_785c1277-2d5a-4067-9252-916edab00a93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_7173886a-fdc5-4495-9341-2deb308087f4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_144788b9-a6a2-40d3-a7dd-b70a8b24bd07" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_7173886a-fdc5-4495-9341-2deb308087f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_148b1854-2776-486a-82b9-c899d66c3d08" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_144788b9-a6a2-40d3-a7dd-b70a8b24bd07" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_148b1854-2776-486a-82b9-c899d66c3d08" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/Details" xlink:type="simple" xlink:href="mgnx-20190630.xsd#Details"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/Details" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPolicies" xlink:type="simple" xlink:href="mgnx-20190630.xsd#BasisofPresentationandSignificantAccountingPolicies"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="mgnx-20190630.xsd#BasisofPresentationandSignificantAccountingPoliciesPolicies"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#BasisofPresentationandSignificantAccountingPoliciesNarrativeDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/FairValueofFinancialInstruments" xlink:type="simple" xlink:href="mgnx-20190630.xsd#FairValueofFinancialInstruments"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/FairValueofFinancialInstruments" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/FairValueofFinancialInstrumentsTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#FairValueofFinancialInstrumentsTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/FairValueofFinancialInstrumentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/FairValueofFinancialInstrumentsDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#FairValueofFinancialInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/FairValueofFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_7a742113-fcc9-4b19-92e4-865bfd7321b3" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_4f46d71a-ea38-4d1f-b5de-5f372e5be407" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_7a742113-fcc9-4b19-92e4-865bfd7321b3" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_4f46d71a-ea38-4d1f-b5de-5f372e5be407" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8425f3f7-e22c-41aa-9084-b72561a8b614" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_7a742113-fcc9-4b19-92e4-865bfd7321b3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8425f3f7-e22c-41aa-9084-b72561a8b614" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecurities" xlink:type="simple" xlink:href="mgnx-20190630.xsd#MarketableSecurities"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/MarketableSecurities" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecuritiesTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#MarketableSecuritiesTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/MarketableSecuritiesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecuritiesDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#MarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/MarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7287fd3f-cf00-4a48-8650-d07032bf6ad4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_2fb64524-6296-4366-93b9-77dfa2b9c946" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_7287fd3f-cf00-4a48-8650-d07032bf6ad4" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_2fb64524-6296-4366-93b9-77dfa2b9c946" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_540aaba5-4fea-44cf-aead-edf1105e00dd" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_7287fd3f-cf00-4a48-8650-d07032bf6ad4" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_540aaba5-4fea-44cf-aead-edf1105e00dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a7c606f2-f7bc-48e1-9c27-a35d9a3651e3" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_7287fd3f-cf00-4a48-8650-d07032bf6ad4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a7c606f2-f7bc-48e1-9c27-a35d9a3651e3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/Leases" xlink:type="simple" xlink:href="mgnx-20190630.xsd#Leases"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/Leases" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/LeasesTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#LeasesTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/LeasesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#LeasesNarrativeDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/LeasesNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/LeaseCostsDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#LeaseCostsDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/LeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_38c4af3b-1096-42ca-827a-8b2eabe508e9" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_38c4af3b-1096-42ca-827a-8b2eabe508e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_2f1c3214-8192-4415-9ddb-d1f03c2fa8fb" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_2f1c3214-8192-4415-9ddb-d1f03c2fa8fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_7b81bf7b-da72-49b5-87ee-91b7ca2e6e9a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_7b81bf7b-da72-49b5-87ee-91b7ca2e6e9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_121f09c0-3ccb-47d5-939a-34ad3f951cd2" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_121f09c0-3ccb-47d5-939a-34ad3f951cd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ef8e9733-df17-49c1-a017-777c359efaef" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ef8e9733-df17-49c1-a017-777c359efaef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_LesseeOperatingLeaseLiabilityPaymentsDueYearSix_b7aab223-bf21-4f9e-82bf-acc874fe999e" xlink:href="mgnx-20190630.xsd#mgnx_LesseeOperatingLeaseLiabilityPaymentsDueYearSix"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:to="loc_mgnx_LesseeOperatingLeaseLiabilityPaymentsDueYearSix_b7aab223-bf21-4f9e-82bf-acc874fe999e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearSix_2bf45a12-773d-45fe-b2ef-4e9d49347351" xlink:href="mgnx-20190630.xsd#mgnx_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearSix"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_86075438-ecf2-4e09-9180-6de6e8a7b179" xlink:to="loc_mgnx_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearSix_2bf45a12-773d-45fe-b2ef-4e9d49347351" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_e6fa3d9e-66ed-42af-bc39-e8e7c74ccc58" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_b0b410d6-8153-4597-9a76-0a0917b39ba0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_e6fa3d9e-66ed-42af-bc39-e8e7c74ccc58" xlink:to="loc_us-gaap_OperatingLeaseCost_b0b410d6-8153-4597-9a76-0a0917b39ba0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_98d97897-6c87-4c16-aa77-c60250f64ee5" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_e6fa3d9e-66ed-42af-bc39-e8e7c74ccc58" xlink:to="loc_us-gaap_SubleaseIncome_98d97897-6c87-4c16-aa77-c60250f64ee5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_eff089e4-72f9-4080-8017-201c08352061" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_e6fa3d9e-66ed-42af-bc39-e8e7c74ccc58" xlink:to="loc_us-gaap_VariableLeaseCost_eff089e4-72f9-4080-8017-201c08352061" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/LeaseCostsDetails_1" xlink:type="simple" xlink:href="mgnx-20190630.xsd#LeaseCostsDetails_1"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/LeaseCostsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2395fa33-8d84-44d3-8623-4666436bd2b5" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_337e4a58-118e-44eb-a391-8972cc87376e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_2395fa33-8d84-44d3-8623-4666436bd2b5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_337e4a58-118e-44eb-a391-8972cc87376e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e6fb7a97-6522-40d5-8b92-4bae524303a0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.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_2395fa33-8d84-44d3-8623-4666436bd2b5" xlink:to="loc_us-gaap_OperatingLeaseLiability_e6fb7a97-6522-40d5-8b92-4bae524303a0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/StockholdersEquity" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockholdersEquity"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockholdersEquity" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockholdersEquityDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockholdersEquityDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockholdersEquityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreements" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreements"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreements" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsIncyteDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsIncyteDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsIncyteDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsLesLaboratoiresServierDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsLesLaboratoiresServierDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsLesLaboratoiresServierDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsRocheDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsRocheDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsRocheDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsZaiLabDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsZaiLabDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsZaiLabDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsProventionDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsProventionDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsProventionDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsNIAIDContractDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsNIAIDContractDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsNIAIDContractDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensation" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensation"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockBasedCompensation" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockBasedCompensationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationStockBasedCompensationExpenseDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_9eee18aa-2e7a-46c9-969d-4328f2f2ebe0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_6dfa8f39-d952-4fa0-90f0-1b5bbfe04dae" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensation_9eee18aa-2e7a-46c9-969d-4328f2f2ebe0" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_6dfa8f39-d952-4fa0-90f0-1b5bbfe04dae" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationOptionPricingAssumptionsDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationOptionPricingAssumptionsDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockBasedCompensationOptionPricingAssumptionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationStockOptionActivityDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/Notes" xlink:type="simple" xlink:href="mgnx-20190630.xsd#Notes"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/Notes" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SubsequentEventsNarrativeDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#SubsequentEventsNarrativeDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SubsequentEventsNarrativeDetails" xlink:type="extended"/>
</link:linkbase>
