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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:027e117c-75c0-47f2-bc63-7ee727579094,g:55d8aba6-2c39-4104-9032-126eaff6334c-->
<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-20201231.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-20201231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_6ea9ede2-baed-491f-9d9f-4f5c8afb0433" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_2649045c-64d0-4947-9a7d-fbdb4547a534" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_6ea9ede2-baed-491f-9d9f-4f5c8afb0433" xlink:to="loc_us-gaap_AccountsPayableCurrent_2649045c-64d0-4947-9a7d-fbdb4547a534" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_ff67f944-aff1-4e33-ab72-1d01a9e167b6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_6ea9ede2-baed-491f-9d9f-4f5c8afb0433" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_ff67f944-aff1-4e33-ab72-1d01a9e167b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueCurrent_60d53d55-6cc7-4834-93f9-089c3d54bfaa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredRevenueCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6ea9ede2-baed-491f-9d9f-4f5c8afb0433" xlink:to="loc_us-gaap_DeferredRevenueCurrent_60d53d55-6cc7-4834-93f9-089c3d54bfaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_b91bb25e-a880-4937-bf8e-e96e56a81cdb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_6ea9ede2-baed-491f-9d9f-4f5c8afb0433" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_b91bb25e-a880-4937-bf8e-e96e56a81cdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_a6e8b1a7-d7c5-4fc7-bdaf-7ae3a41fa0d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f0ede7bb-8441-457e-aa83-1ea86e97f73f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a6e8b1a7-d7c5-4fc7-bdaf-7ae3a41fa0d0" xlink:to="loc_us-gaap_Liabilities_f0ede7bb-8441-457e-aa83-1ea86e97f73f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_51e5012c-eb54-4082-97f7-821888ab96d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a6e8b1a7-d7c5-4fc7-bdaf-7ae3a41fa0d0" xlink:to="loc_us-gaap_StockholdersEquity_51e5012c-eb54-4082-97f7-821888ab96d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c314a131-25fa-4b2d-8921-a0220f45c11f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_45a1644d-aa9d-4e9c-9549-b7a116154841" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_c314a131-25fa-4b2d-8921-a0220f45c11f" xlink:to="loc_us-gaap_AssetsCurrent_45a1644d-aa9d-4e9c-9549-b7a116154841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1570d7a0-607b-45e5-8f6e-316e3ac913cf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_c314a131-25fa-4b2d-8921-a0220f45c11f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1570d7a0-607b-45e5-8f6e-316e3ac913cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_12a36497-b2f0-4a79-8c63-2822509611c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_c314a131-25fa-4b2d-8921-a0220f45c11f" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_12a36497-b2f0-4a79-8c63-2822509611c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b31ba374-b07c-4eab-a2d3-85bd5bd61bd7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_fdba02dd-c9c0-475a-a1db-262666a2831e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_b31ba374-b07c-4eab-a2d3-85bd5bd61bd7" xlink:to="loc_us-gaap_LiabilitiesCurrent_fdba02dd-c9c0-475a-a1db-262666a2831e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_7eed6bbe-09b1-4b83-a54f-ffebb7c1e0ad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredRevenueNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b31ba374-b07c-4eab-a2d3-85bd5bd61bd7" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_7eed6bbe-09b1-4b83-a54f-ffebb7c1e0ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_64c5264c-58e6-4737-bba0-9c384ca0ad11" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_b31ba374-b07c-4eab-a2d3-85bd5bd61bd7" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_64c5264c-58e6-4737-bba0-9c384ca0ad11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_08cd70c3-5502-41bc-8348-29629879defb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Investments_e6dd70ab-3430-47ab-999a-2d96091de79d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Investments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_08cd70c3-5502-41bc-8348-29629879defb" xlink:to="loc_us-gaap_Investments_e6dd70ab-3430-47ab-999a-2d96091de79d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_cd546513-0ef1-47a2-a180-cfdb52767f11" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_08cd70c3-5502-41bc-8348-29629879defb" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_cd546513-0ef1-47a2-a180-cfdb52767f11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c8c79e34-0008-4c80-b911-6c119c30154c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_08cd70c3-5502-41bc-8348-29629879defb" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c8c79e34-0008-4c80-b911-6c119c30154c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_c90c520a-ac75-42f0-a33d-0b94a0350143" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_08cd70c3-5502-41bc-8348-29629879defb" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_c90c520a-ac75-42f0-a33d-0b94a0350143" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_102bcb04-c0ba-4037-aeea-b5167f8653bc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_cc1135e7-8ed9-415e-804a-1fb55e06730a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_102bcb04-c0ba-4037-aeea-b5167f8653bc" xlink:to="loc_us-gaap_CommonStockValue_cc1135e7-8ed9-415e-804a-1fb55e06730a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_7ea03c89-a85a-4129-80bf-f09b17f27e28" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_102bcb04-c0ba-4037-aeea-b5167f8653bc" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_7ea03c89-a85a-4129-80bf-f09b17f27e28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_30b1e853-20ec-410c-8a18-87d57b9c06c2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_102bcb04-c0ba-4037-aeea-b5167f8653bc" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_30b1e853-20ec-410c-8a18-87d57b9c06c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a08b7796-7d9b-485e-8dcd-47cef9d2f9cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_102bcb04-c0ba-4037-aeea-b5167f8653bc" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a08b7796-7d9b-485e-8dcd-47cef9d2f9cc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="mgnx-20201231.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-20201231.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_4da02f46-03bf-4456-aa0b-16d05a2105b8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_75db2de4-7665-4206-9015-ddcfd02b70ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_4da02f46-03bf-4456-aa0b-16d05a2105b8" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_75db2de4-7665-4206-9015-ddcfd02b70ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_9a0f05f4-5471-4b95-a136-02d7308c1c56" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_4da02f46-03bf-4456-aa0b-16d05a2105b8" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_9a0f05f4-5471-4b95-a136-02d7308c1c56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_3dfd15d2-89c9-4334-b1e3-6bd7a84e695e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4e6e9b05-c855-40e0-b9f6-143d1c8a30bb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ComprehensiveIncomeNetOfTax_3dfd15d2-89c9-4334-b1e3-6bd7a84e695e" xlink:to="loc_us-gaap_NetIncomeLoss_4e6e9b05-c855-40e0-b9f6-143d1c8a30bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_f90355d8-3c7c-47b1-8ec7-819d5b0b3f9d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ComprehensiveIncomeNetOfTax_3dfd15d2-89c9-4334-b1e3-6bd7a84e695e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_f90355d8-3c7c-47b1-8ec7-819d5b0b3f9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d13b1a13-8148-4f84-a0df-86c2233efc9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d58359e2-3e51-49da-93a7-4d5f16092517" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_d13b1a13-8148-4f84-a0df-86c2233efc9e" xlink:to="loc_us-gaap_OperatingIncomeLoss_d58359e2-3e51-49da-93a7-4d5f16092517" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_74516846-0ae7-47f1-951c-3cc4f5c601e5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_d13b1a13-8148-4f84-a0df-86c2233efc9e" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_74516846-0ae7-47f1-951c-3cc4f5c601e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_efddc406-df0f-4c33-8cf7-2395493bf684" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_3700a2b6-0c3d-4144-9cd7-be1144630f95" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_efddc406-df0f-4c33-8cf7-2395493bf684" xlink:to="loc_us-gaap_Revenues_3700a2b6-0c3d-4144-9cd7-be1144630f95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_59f2f7a9-b11c-4c21-b2b8-afcb6b11558d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_efddc406-df0f-4c33-8cf7-2395493bf684" xlink:to="loc_us-gaap_CostsAndExpenses_59f2f7a9-b11c-4c21-b2b8-afcb6b11558d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="mgnx-20201231.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-20201231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_43c0bda2-506d-4c94-938d-a2a5320755e8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6604ef33-697d-472e-a785-981fab1078ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_NetCashProvidedByUsedInInvestingActivities_43c0bda2-506d-4c94-938d-a2a5320755e8" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6604ef33-697d-472e-a785-981fab1078ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_5b492aef-e41d-4b24-b842-363d3d57d9cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_NetCashProvidedByUsedInInvestingActivities_43c0bda2-506d-4c94-938d-a2a5320755e8" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_5b492aef-e41d-4b24-b842-363d3d57d9cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_149dc32c-8be3-4774-bd71-aa4b2fc175c0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_NetCashProvidedByUsedInInvestingActivities_43c0bda2-506d-4c94-938d-a2a5320755e8" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_149dc32c-8be3-4774-bd71-aa4b2fc175c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_69b340ae-267d-419e-9454-bbc6fc79497f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_951640ce-2d17-445e-9b57-6775e615ea90" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_69b340ae-267d-419e-9454-bbc6fc79497f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_951640ce-2d17-445e-9b57-6775e615ea90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_496c761d-f0ce-4842-8f28-9cbb29c98771" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_69b340ae-267d-419e-9454-bbc6fc79497f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_496c761d-f0ce-4842-8f28-9cbb29c98771" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_32944a14-71b8-4301-a3ba-142a0947def4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_69b340ae-267d-419e-9454-bbc6fc79497f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_32944a14-71b8-4301-a3ba-142a0947def4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4010701c-2703-46d1-947c-bb20f7e29c37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_4f80526b-978c-48e2-bead-af85ae45d64c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_NetCashProvidedByUsedInFinancingActivities_4010701c-2703-46d1-947c-bb20f7e29c37" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_4f80526b-978c-48e2-bead-af85ae45d64c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ProceedsfromStockOptionsExercisedAndESPPPurchases_178d05ce-7373-48ad-ba41-a71473cad025" xlink:href="mgnx-20201231.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_NetCashProvidedByUsedInFinancingActivities_4010701c-2703-46d1-947c-bb20f7e29c37" xlink:to="loc_mgnx_ProceedsfromStockOptionsExercisedAndESPPPurchases_178d05ce-7373-48ad-ba41-a71473cad025" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_72439408-33bf-45c7-b2f3-ebb541152a96" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4010701c-2703-46d1-947c-bb20f7e29c37" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_72439408-33bf-45c7-b2f3-ebb541152a96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_8e175f78-c990-4f1c-b184-9150f60bb8a9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_8e175f78-c990-4f1c-b184-9150f60bb8a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_2822779f-3f35-4e7a-9dab-0d3f0337352f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_2822779f-3f35-4e7a-9dab-0d3f0337352f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_58858a9e-c270-49e5-83d1-8eea91c6a6d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_NetIncomeLoss_58858a9e-c270-49e5-83d1-8eea91c6a6d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_9b85e494-1d0a-4119-af22-4d8dff0f4242" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_9b85e494-1d0a-4119-af22-4d8dff0f4242" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_a4e901ad-ab79-4c6b-8a43-55120eb1dae9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_a4e901ad-ab79-4c6b-8a43-55120eb1dae9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_9b7c5e19-43fb-4e0f-9f57-100298849da3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_9b7c5e19-43fb-4e0f-9f57-100298849da3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncreaseDecreaseInDeferredRent_8c94328e-c1e1-4451-b542-5deb7017464c" xlink:href="mgnx-20201231.xsd#mgnx_IncreaseDecreaseInDeferredRent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_mgnx_IncreaseDecreaseInDeferredRent_8c94328e-c1e1-4451-b542-5deb7017464c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_05db3ee6-d759-47f3-96ce-d398fa1fd799" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_05db3ee6-d759-47f3-96ce-d398fa1fd799" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4a3e5f8a-ef98-4286-b0c6-0682777338ad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4a3e5f8a-ef98-4286-b0c6-0682777338ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_514c4484-f24a-4cea-83ec-267d51bf9dfe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_514c4484-f24a-4cea-83ec-267d51bf9dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_3d5d93aa-f13b-42ec-a051-95fce8ad9057" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_us-gaap_ShareBasedCompensation_3d5d93aa-f13b-42ec-a051-95fce8ad9057" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncreaseDecreaseInLeaseLiabilities_d99beb08-b2cc-461a-bd44-aee05f8f8c11" xlink:href="mgnx-20201231.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_NetCashProvidedByUsedInOperatingActivities_b1376359-8cf3-48e6-b414-1e0ccb686000" xlink:to="loc_mgnx_IncreaseDecreaseInLeaseLiabilities_d99beb08-b2cc-461a-bd44-aee05f8f8c11" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/OrganizationandNatureofOperations" xlink:type="simple" xlink:href="mgnx-20201231.xsd#OrganizationandNatureofOperations"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/OrganizationandNatureofOperations" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPolicies"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPoliciesTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPoliciesDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesSummaryofFairValueMeasurementFinancialAssetandLiabilitiesDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPoliciesSummaryofFairValueMeasurementFinancialAssetandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesSummaryofFairValueMeasurementFinancialAssetandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_5bb57adb-52a6-41c0-8229-0bedf4f2800f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_46d4888a-4c79-473e-aae4-9dd5861e18d6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_5bb57adb-52a6-41c0-8229-0bedf4f2800f" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_46d4888a-4c79-473e-aae4-9dd5861e18d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b9ed01ad-b926-4b3b-8afa-25c0c9c3251e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_5bb57adb-52a6-41c0-8229-0bedf4f2800f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b9ed01ad-b926-4b3b-8afa-25c0c9c3251e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesSummaryofCollaboratorsthatRepresentMoreThan10ofTotalRevenueEarnedandAccountsReceivableDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPoliciesSummaryofCollaboratorsthatRepresentMoreThan10ofTotalRevenueEarnedandAccountsReceivableDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesSummaryofCollaboratorsthatRepresentMoreThan10ofTotalRevenueEarnedandAccountsReceivableDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesScheduleofAntidilutiveSecuritiesExcludedfromtheCalculationofDilutedLossPerShareDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#SummaryofSignificantAccountingPoliciesScheduleofAntidilutiveSecuritiesExcludedfromtheCalculationofDilutedLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesScheduleofAntidilutiveSecuritiesExcludedfromtheCalculationofDilutedLossPerShareDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecurities" xlink:type="simple" xlink:href="mgnx-20201231.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-20201231.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-20201231.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_4b965018-d39a-409e-baf5-3560cf388f6f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_abeeafd0-f805-4c90-8b4a-a116370e6937" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4b965018-d39a-409e-baf5-3560cf388f6f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_abeeafd0-f805-4c90-8b4a-a116370e6937" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_49e183db-b586-4af0-adb5-0a5e2c629910" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4b965018-d39a-409e-baf5-3560cf388f6f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_49e183db-b586-4af0-adb5-0a5e2c629910" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_10863554-2464-440c-b8c9-44b264837691" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_4b965018-d39a-409e-baf5-3560cf388f6f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_10863554-2464-440c-b8c9-44b264837691" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecuritiesAvailableForSaleSecuritiesDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#MarketableSecuritiesAvailableForSaleSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/MarketableSecuritiesAvailableForSaleSecuritiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/PropertyEquipmentandSoftware" xlink:type="simple" xlink:href="mgnx-20201231.xsd#PropertyEquipmentandSoftware"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/PropertyEquipmentandSoftware" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/PropertyEquipmentandSoftwareTables" xlink:type="simple" xlink:href="mgnx-20201231.xsd#PropertyEquipmentandSoftwareTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/PropertyEquipmentandSoftwareTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/PropertyEquipmentandSoftwareDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#PropertyEquipmentandSoftwareDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/PropertyEquipmentandSoftwareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1fec4e25-9d0a-4c72-9b5f-4ecf3a7649ca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_b0cd6626-8ff7-4f13-a56e-8475aae16f3e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_1fec4e25-9d0a-4c72-9b5f-4ecf3a7649ca" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_b0cd6626-8ff7-4f13-a56e-8475aae16f3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_81057249-5d33-426c-ab01-38d92b92f4d1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_1fec4e25-9d0a-4c72-9b5f-4ecf3a7649ca" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_81057249-5d33-426c-ab01-38d92b92f4d1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/Leases" xlink:type="simple" xlink:href="mgnx-20201231.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-20201231.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-20201231.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-20201231.xsd#LeaseCostsDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/LeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_a720c029-f0cd-44b0-985a-507001858fb1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_811ed84d-2b36-4682-921b-4d4f9c75e04a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_a720c029-f0cd-44b0-985a-507001858fb1" xlink:to="loc_us-gaap_SubleaseIncome_811ed84d-2b36-4682-921b-4d4f9c75e04a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_4329492e-7cb4-4bae-bc77-13fab057c12d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_a720c029-f0cd-44b0-985a-507001858fb1" xlink:to="loc_us-gaap_OperatingLeaseCost_4329492e-7cb4-4bae-bc77-13fab057c12d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_38138fd4-a8f6-41e7-ab29-8d80c8680e4a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a720c029-f0cd-44b0-985a-507001858fb1" xlink:to="loc_us-gaap_VariableLeaseCost_38138fd4-a8f6-41e7-ab29-8d80c8680e4a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/MaturitiesofOperatingLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#MaturitiesofOperatingLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/MaturitiesofOperatingLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7adfd923-c219-4426-8538-8df0bfb9d28d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_1f8b1f46-9503-4d97-b89c-8747ca625c22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7adfd923-c219-4426-8538-8df0bfb9d28d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_1f8b1f46-9503-4d97-b89c-8747ca625c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_3232b5eb-248c-4ae9-b9b9-b85850fa8c98" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7adfd923-c219-4426-8538-8df0bfb9d28d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_3232b5eb-248c-4ae9-b9b9-b85850fa8c98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_447b065f-6be3-4dc6-8939-ad80f2eca5bc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7adfd923-c219-4426-8538-8df0bfb9d28d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_447b065f-6be3-4dc6-8939-ad80f2eca5bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_fdbc1672-ac96-4c9e-b0af-41bcc5efc2f2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7adfd923-c219-4426-8538-8df0bfb9d28d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_fdbc1672-ac96-4c9e-b0af-41bcc5efc2f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f456bfe5-4edf-4da2-ac2c-a41cbd22115d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_7adfd923-c219-4426-8538-8df0bfb9d28d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f456bfe5-4edf-4da2-ac2c-a41cbd22115d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_20a02ea0-b6bc-4239-9c2f-d5af48a32650" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7adfd923-c219-4426-8538-8df0bfb9d28d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_20a02ea0-b6bc-4239-9c2f-d5af48a32650" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/MaturitiesofOperatingLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="mgnx-20201231.xsd#MaturitiesofOperatingLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/MaturitiesofOperatingLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_65269a3a-0279-4db4-a588-6093d327db22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_69042812-31b9-4af2-923c-e8d032182177" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_65269a3a-0279-4db4-a588-6093d327db22" xlink:to="loc_us-gaap_OperatingLeaseLiability_69042812-31b9-4af2-923c-e8d032182177" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_53350448-d190-4086-b700-116e95f4edf7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_65269a3a-0279-4db4-a588-6093d327db22" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_53350448-d190-4086-b700-116e95f4edf7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/StockholdersEquity" xlink:type="simple" xlink:href="mgnx-20201231.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-20201231.xsd#StockholdersEquityDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockholdersEquityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockbasedCompensation" xlink:type="simple" xlink:href="mgnx-20201231.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-20201231.xsd#StockbasedCompensationTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockbasedCompensationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockbasedCompensationEmployeeStockPurchasePlanDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#StockbasedCompensationEmployeeStockPurchasePlanDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockbasedCompensationEmployeeStockPurchasePlanDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockbasedCompensationStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#StockbasedCompensationStockBasedCompensationExpenseDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockbasedCompensationStockBasedCompensationExpenseDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockbasedCompensationOptionPricingAssumptionsDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#StockbasedCompensationOptionPricingAssumptionsDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockbasedCompensationOptionPricingAssumptionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockbasedCompensationStockOptionandRestrictedStockUnitActivityDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#StockbasedCompensationStockOptionandRestrictedStockUnitActivityDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/StockbasedCompensationStockOptionandRestrictedStockUnitActivityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/IncomeTaxes" xlink:type="simple" xlink:href="mgnx-20201231.xsd#IncomeTaxes"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/IncomeTaxes" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="mgnx-20201231.xsd#IncomeTaxesTables"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/IncomeTaxesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/IncomeTaxesComponentsoftheCompanysDeferredTaxAssetsLiabilitiesDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#IncomeTaxesComponentsoftheCompanysDeferredTaxAssetsLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/IncomeTaxesComponentsoftheCompanysDeferredTaxAssetsLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_7a8ddf68-ce55-4daf-a9a8-ddfd487590e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b9632394-82f2-4aca-94fe-eb4545fdc3d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7a8ddf68-ce55-4daf-a9a8-ddfd487590e9" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b9632394-82f2-4aca-94fe-eb4545fdc3d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_DeferredTaxLiabilitiesOperatingLeaseRightOfUseAssets_926822fb-ba24-4813-8c93-e7b4e2db10c4" xlink:href="mgnx-20201231.xsd#mgnx_DeferredTaxLiabilitiesOperatingLeaseRightOfUseAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7a8ddf68-ce55-4daf-a9a8-ddfd487590e9" xlink:to="loc_mgnx_DeferredTaxLiabilitiesOperatingLeaseRightOfUseAssets_926822fb-ba24-4813-8c93-e7b4e2db10c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_e10f99c1-1db0-42cc-8ac8-c12cae6fde11" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7a8ddf68-ce55-4daf-a9a8-ddfd487590e9" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_e10f99c1-1db0-42cc-8ac8-c12cae6fde11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_11707774-d13d-438b-8a06-6d931d70f954" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_d24037bb-138e-4ae7-afd3-ef64825adfa1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_11707774-d13d-438b-8a06-6d931d70f954" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_d24037bb-138e-4ae7-afd3-ef64825adfa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_b02952c0-a510-4e19-ae36-1ccc4f4579e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_11707774-d13d-438b-8a06-6d931d70f954" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_b02952c0-a510-4e19-ae36-1ccc4f4579e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_96ea686b-3786-4e37-8ab5-aef0b78800ce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_c37581d8-4dd0-49c5-9152-deea07d9cf1b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_96ea686b-3786-4e37-8ab5-aef0b78800ce" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_c37581d8-4dd0-49c5-9152-deea07d9cf1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_1089c499-aaea-4e33-a41e-a5e2e7b7afc0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_96ea686b-3786-4e37-8ab5-aef0b78800ce" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_1089c499-aaea-4e33-a41e-a5e2e7b7afc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic_38a4f892-bca1-41f8-91e8-61dd39148bfd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic_38a4f892-bca1-41f8-91e8-61dd39148bfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal_cd9f9681-a29f-4d5f-b458-6c3525ff1956" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal_cd9f9681-a29f-4d5f-b458-6c3525ff1956" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_f29a064b-8b5c-490a-a92f-b5635e4e37a0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_f29a064b-8b5c-490a-a92f-b5635e4e37a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsOther_fff0cd17-b727-4d96-8b4c-c7d1fb6d0102" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsOther_fff0cd17-b727-4d96-8b4c-c7d1fb6d0102" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_799d789f-05d2-4a14-b2f1-2d0be25a771c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsDeferredIncome"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_799d789f-05d2-4a14-b2f1-2d0be25a771c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_8eef3032-8a7a-43ea-8b22-5e62f65c1352" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_8eef3032-8a7a-43ea-8b22-5e62f65c1352" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_DeferredTaxAssetsOperatingLeaseLiabilities_0c1b9cbe-c15e-46d7-a898-75812d525183" xlink:href="mgnx-20201231.xsd#mgnx_DeferredTaxAssetsOperatingLeaseLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_157d081a-4149-44e2-9b9b-50e06180e43b" xlink:to="loc_mgnx_DeferredTaxAssetsOperatingLeaseLiabilities_0c1b9cbe-c15e-46d7-a898-75812d525183" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/IncomeTaxesReconciliationofReportedEstimatedIncomeTaxBenefitDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#IncomeTaxesReconciliationofReportedEstimatedIncomeTaxBenefitDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/IncomeTaxesReconciliationofReportedEstimatedIncomeTaxBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_02cd8371-cd52-4b26-b090-17e7aa715dfa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_02cd8371-cd52-4b26-b090-17e7aa715dfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_d811fde8-d8c0-40bf-9e14-48307f9635cd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_d811fde8-d8c0-40bf-9e14-48307f9635cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustmentsAmount_029fff79-576a-46e5-b875-db7bee171270" xlink:href="mgnx-20201231.xsd#mgnx_EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustmentsAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_mgnx_EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustmentsAmount_029fff79-576a-46e5-b875-db7bee171270" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_b3945920-6b2c-4b67-8b51-da616e9a94dd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_b3945920-6b2c-4b67-8b51-da616e9a94dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_9d082d87-f1ee-49af-a9a3-16b84ea515cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsOther"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_9d082d87-f1ee-49af-a9a3-16b84ea515cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_9d07662f-3b66-4a9c-bad5-2b7c8c658597" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_9d07662f-3b66-4a9c-bad5-2b7c8c658597" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_bd511c58-1882-4fde-982e-a0c2cd96afee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_bd511c58-1882-4fde-982e-a0c2cd96afee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_6f96ce4d-a369-47c8-a684-9b61a25a33f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_8eb08f4d-9285-426d-a3c9-34a664b24f84" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_6f96ce4d-a369-47c8-a684-9b61a25a33f0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://macrogenics.com/role/IncomeTaxesReconciliationoftheBeginningandEndingAmountofGrossUnrecognizedTaxBenefitsDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#IncomeTaxesReconciliationoftheBeginningandEndingAmountofGrossUnrecognizedTaxBenefitsDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/IncomeTaxesReconciliationoftheBeginningandEndingAmountofGrossUnrecognizedTaxBenefitsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreements" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreements"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreements" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsIncyteCorporationDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreementsIncyteCorporationDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsIncyteCorporationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsServierDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreementsServierDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsServierDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsZaiLabDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreementsZaiLabDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsZaiLabDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsJanssenDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreementsJanssenDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsJanssenDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsIMabBiopharmaDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreementsIMabBiopharmaDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsIMabBiopharmaDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsRocheDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreementsRocheDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsRocheDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsProventionDetails" xlink:type="simple" xlink:href="mgnx-20201231.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-20201231.xsd#CollaborationandOtherAgreementsNIAIDContractDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsNIAIDContractDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsBoehringerIngelheimInternationalGmbHDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CollaborationandOtherAgreementsBoehringerIngelheimInternationalGmbHDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsBoehringerIngelheimInternationalGmbHDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="mgnx-20201231.xsd#CommitmentsandContingencies"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/CommitmentsandContingencies" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/EmployeeBenefitPlan" xlink:type="simple" xlink:href="mgnx-20201231.xsd#EmployeeBenefitPlan"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/EmployeeBenefitPlan" xlink:type="extended"/>
  <link:roleRef roleURI="http://macrogenics.com/role/EmployeeBenefitPlanDetails" xlink:type="simple" xlink:href="mgnx-20201231.xsd#EmployeeBenefitPlanDetails"/>
  <link:calculationLink xlink:role="http://macrogenics.com/role/EmployeeBenefitPlanDetails" xlink:type="extended"/>
</link:linkbase>
