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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:d7a1dbc6-b99b-4a1d-848b-92cec6605016,g:574c9470-43fb-4b26-864a-707e5ed846fe-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.lexpharma.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="lxrx-20220331.xsd#ConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.lexpharma.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_7083fef1-1382-4bb1-ad56-afda5532cb02" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_664f89d0-2742-4768-ac28-10475acec200" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7083fef1-1382-4bb1-ad56-afda5532cb02" xlink:to="loc_us-gaap_LiabilitiesCurrent_664f89d0-2742-4768-ac28-10475acec200" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_93ddccc5-6b1a-47d8-9ccd-2d4f2b7668a7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_7083fef1-1382-4bb1-ad56-afda5532cb02" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_93ddccc5-6b1a-47d8-9ccd-2d4f2b7668a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d1a0d37b-22ff-4cbd-85d1-9ef18820d5c3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_60a334f9-8716-40d4-8d5e-69ab0e8a594b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d1a0d37b-22ff-4cbd-85d1-9ef18820d5c3" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_60a334f9-8716-40d4-8d5e-69ab0e8a594b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_78dfcd4e-30d5-4e96-9a6f-f95c4e64db86" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d1a0d37b-22ff-4cbd-85d1-9ef18820d5c3" xlink:to="loc_us-gaap_ShortTermInvestments_78dfcd4e-30d5-4e96-9a6f-f95c4e64db86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d52c505d-836c-45c0-9b48-baa173f6ccc9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d1a0d37b-22ff-4cbd-85d1-9ef18820d5c3" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_d52c505d-836c-45c0-9b48-baa173f6ccc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_2d23cef5-740e-4b49-9689-2deb00951f78" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d1a0d37b-22ff-4cbd-85d1-9ef18820d5c3" xlink:to="loc_us-gaap_OtherAssetsCurrent_2d23cef5-740e-4b49-9689-2deb00951f78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_b7180f0a-2fbe-4711-ae93-37c9fc8230e6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_411b3026-1f60-4970-a900-20396c2e6780" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b7180f0a-2fbe-4711-ae93-37c9fc8230e6" xlink:to="loc_us-gaap_AssetsCurrent_411b3026-1f60-4970-a900-20396c2e6780" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6cfff256-00db-4ea0-a781-adaf9a9959a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b7180f0a-2fbe-4711-ae93-37c9fc8230e6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_6cfff256-00db-4ea0-a781-adaf9a9959a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_42b4550f-f45e-40f9-b6b0-66367bcbfd38" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b7180f0a-2fbe-4711-ae93-37c9fc8230e6" xlink:to="loc_us-gaap_Goodwill_42b4550f-f45e-40f9-b6b0-66367bcbfd38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_b1f91b63-ba5a-4f36-9595-41916bf43cda" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b7180f0a-2fbe-4711-ae93-37c9fc8230e6" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_b1f91b63-ba5a-4f36-9595-41916bf43cda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_88a6fb47-be0c-45bf-80da-c01c5ddedf28" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_2f104fa2-042f-4ef1-8b9b-31d888a88e45" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_88a6fb47-be0c-45bf-80da-c01c5ddedf28" xlink:to="loc_us-gaap_Liabilities_2f104fa2-042f-4ef1-8b9b-31d888a88e45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4620280a-c764-4f77-8255-b5817f8ec41d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_88a6fb47-be0c-45bf-80da-c01c5ddedf28" xlink:to="loc_us-gaap_StockholdersEquity_4620280a-c764-4f77-8255-b5817f8ec41d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_1973fd96-ad50-405e-a111-7ac65fdd1682" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_1062a631-8ece-4e17-b4b4-0a9040a741e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_1973fd96-ad50-405e-a111-7ac65fdd1682" xlink:to="loc_us-gaap_AccountsPayableCurrent_1062a631-8ece-4e17-b4b4-0a9040a741e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_e0a72eb2-aecd-4e0c-9755-6e667096efa6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_1973fd96-ad50-405e-a111-7ac65fdd1682" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_e0a72eb2-aecd-4e0c-9755-6e667096efa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_dde9c558-4e9e-4311-9249-5d462f195cc7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1973fd96-ad50-405e-a111-7ac65fdd1682" xlink:to="loc_us-gaap_LongTermDebtCurrent_dde9c558-4e9e-4311-9249-5d462f195cc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_cde7b13c-95f0-498a-9828-4076f3fc32b5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_33f6adc0-f902-4c3b-8375-b369272bc34f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_cde7b13c-95f0-498a-9828-4076f3fc32b5" xlink:to="loc_us-gaap_PreferredStockValue_33f6adc0-f902-4c3b-8375-b369272bc34f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_b3b85909-9706-4f2a-b89c-cda05179d607" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_cde7b13c-95f0-498a-9828-4076f3fc32b5" xlink:to="loc_us-gaap_CommonStockValue_b3b85909-9706-4f2a-b89c-cda05179d607" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_0c820eb2-5c58-4861-aa23-7e8c196b8c54" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_cde7b13c-95f0-498a-9828-4076f3fc32b5" xlink:to="loc_us-gaap_AdditionalPaidInCapital_0c820eb2-5c58-4861-aa23-7e8c196b8c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_068f3366-a201-48e9-868b-2d9d389e666f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_cde7b13c-95f0-498a-9828-4076f3fc32b5" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_068f3366-a201-48e9-868b-2d9d389e666f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7ccaf97f-43a0-49c5-bc0c-ec8ee5c245ab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_cde7b13c-95f0-498a-9828-4076f3fc32b5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7ccaf97f-43a0-49c5-bc0c-ec8ee5c245ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_efaeca55-5711-4ee6-bb72-d95939ce0d10" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_cde7b13c-95f0-498a-9828-4076f3fc32b5" xlink:to="loc_us-gaap_TreasuryStockValue_efaeca55-5711-4ee6-bb72-d95939ce0d10" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.lexpharma.com/role/ConsolidatedStatementsofComprehensiveLossUnaudited" xlink:type="simple" xlink:href="lxrx-20220331.xsd#ConsolidatedStatementsofComprehensiveLossUnaudited"/>
  <link:calculationLink xlink:role="http://www.lexpharma.com/role/ConsolidatedStatementsofComprehensiveLossUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_cb5af682-f008-4198-bd52-a1713bba25d3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1c6cd9b4-408e-4417-8afd-ce8a27839120" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_cb5af682-f008-4198-bd52-a1713bba25d3" xlink:to="loc_us-gaap_NetIncomeLoss_1c6cd9b4-408e-4417-8afd-ce8a27839120" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_77b813ab-4275-4a08-89b4-560ef52c58c5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_cb5af682-f008-4198-bd52-a1713bba25d3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_77b813ab-4275-4a08-89b4-560ef52c58c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_dec1cbe1-ba00-41c8-9b62-352897c527b4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_lxrx_Netproductrevenue_b3fe8a8f-078b-4cb2-854e-a896b1ecd583" xlink:href="lxrx-20220331.xsd#lxrx_Netproductrevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_dec1cbe1-ba00-41c8-9b62-352897c527b4" xlink:to="loc_lxrx_Netproductrevenue_b3fe8a8f-078b-4cb2-854e-a896b1ecd583" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_4b24999f-10d8-4cc8-a599-4c878e6f0d6e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_dec1cbe1-ba00-41c8-9b62-352897c527b4" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_4b24999f-10d8-4cc8-a599-4c878e6f0d6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RoyaltyIncomeNonoperating_e89d5db3-b1f1-4cfd-9b4f-9a6e19176ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RoyaltyIncomeNonoperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_dec1cbe1-ba00-41c8-9b62-352897c527b4" xlink:to="loc_us-gaap_RoyaltyIncomeNonoperating_e89d5db3-b1f1-4cfd-9b4f-9a6e19176ba9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_c0f3d678-e6a9-4900-b48f-3bd9340f9463" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_527feda2-f83d-4182-8c76-74b33573a5b0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_c0f3d678-e6a9-4900-b48f-3bd9340f9463" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_527feda2-f83d-4182-8c76-74b33573a5b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_f4ab31f3-7b73-446d-a008-9eb0c77f312c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_c0f3d678-e6a9-4900-b48f-3bd9340f9463" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_f4ab31f3-7b73-446d-a008-9eb0c77f312c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_lxrx_Sellinggeneralandadministrativeexpenses_ddc05e99-bb23-411d-aabe-6c90b6103498" xlink:href="lxrx-20220331.xsd#lxrx_Sellinggeneralandadministrativeexpenses"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_c0f3d678-e6a9-4900-b48f-3bd9340f9463" xlink:to="loc_lxrx_Sellinggeneralandadministrativeexpenses_ddc05e99-bb23-411d-aabe-6c90b6103498" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_f469de3f-935f-43f3-a823-6e3bf4400523" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_c0f3d678-e6a9-4900-b48f-3bd9340f9463" xlink:to="loc_us-gaap_AssetImpairmentCharges_f469de3f-935f-43f3-a823-6e3bf4400523" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d895b62b-62ba-4f28-8faa-1e4553b3f558" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_20d9957f-27da-40ba-b971-806182f3f956" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d895b62b-62ba-4f28-8faa-1e4553b3f558" xlink:to="loc_us-gaap_Revenues_20d9957f-27da-40ba-b971-806182f3f956" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_347b9eaf-088b-461c-a1d5-e868cc35862b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_d895b62b-62ba-4f28-8faa-1e4553b3f558" xlink:to="loc_us-gaap_OperatingExpenses_347b9eaf-088b-461c-a1d5-e868cc35862b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_lxrx_GainOnSaleOfNonFinancialAssets_c10ed2bb-f267-4a15-b40b-c436ffa4dc6a" xlink:href="lxrx-20220331.xsd#lxrx_GainOnSaleOfNonFinancialAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_d895b62b-62ba-4f28-8faa-1e4553b3f558" xlink:to="loc_lxrx_GainOnSaleOfNonFinancialAssets_c10ed2bb-f267-4a15-b40b-c436ffa4dc6a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.lexpharma.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="lxrx-20220331.xsd#ConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.lexpharma.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_e09239a6-bc3e-46fd-9a1f-02a46d3e9d7c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_ShareBasedCompensation_e09239a6-bc3e-46fd-9a1f-02a46d3e9d7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_88701a97-0683-4e9b-85cd-6a3126b05622" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_88701a97-0683-4e9b-85cd-6a3126b05622" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5fbf4565-cb2a-4c22-b1ea-c8e3321a0471" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5fbf4565-cb2a-4c22-b1ea-c8e3321a0471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_2c0e563d-25a0-42e3-9b0a-940aec8c1fdb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_AssetImpairmentCharges_2c0e563d-25a0-42e3-9b0a-940aec8c1fdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_173506c4-e680-497c-9c18-7ec715b01b7b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_173506c4-e680-497c-9c18-7ec715b01b7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_74ac69c9-c0ed-4c22-a39e-13e54d1bfba3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_NetIncomeLoss_74ac69c9-c0ed-4c22-a39e-13e54d1bfba3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_7a7a3be8-a636-4242-a4fc-f15ca8156253" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_7a7a3be8-a636-4242-a4fc-f15ca8156253" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_81da7a62-cb37-4028-8bbe-fb6130080dc9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_81da7a62-cb37-4028-8bbe-fb6130080dc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_lxrx_GainOnSaleOfNonFinancialAssets_08cd61bf-8436-48d1-b05e-c0782ba1f906" xlink:href="lxrx-20220331.xsd#lxrx_GainOnSaleOfNonFinancialAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_lxrx_GainOnSaleOfNonFinancialAssets_08cd61bf-8436-48d1-b05e-c0782ba1f906" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_61dde1b9-d01a-47a0-8e40-5648d2071d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_61dde1b9-d01a-47a0-8e40-5648d2071d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_39fa332b-5ebc-458f-aa05-f3fe7b3894b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_39fa332b-5ebc-458f-aa05-f3fe7b3894b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9d2b12ee-0f3a-4306-9bcd-b13410d1a121" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_abc5d28c-b414-4f80-a951-370f76739f9d" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9d2b12ee-0f3a-4306-9bcd-b13410d1a121" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_a9be37f2-e6a7-4788-8c7c-53d6e8ac0083" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f2c6f394-6903-4a65-ae5b-957c3a72db35" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_CashAndCashEquivalentsPeriodIncreaseDecrease_a9be37f2-e6a7-4788-8c7c-53d6e8ac0083" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f2c6f394-6903-4a65-ae5b-957c3a72db35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3ae5c56e-fd27-4698-939c-75655c5eb61d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_CashAndCashEquivalentsPeriodIncreaseDecrease_a9be37f2-e6a7-4788-8c7c-53d6e8ac0083" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3ae5c56e-fd27-4698-939c-75655c5eb61d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_66470242-d24f-41dd-a03c-5a55cfb60b66" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_CashAndCashEquivalentsPeriodIncreaseDecrease_a9be37f2-e6a7-4788-8c7c-53d6e8ac0083" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_66470242-d24f-41dd-a03c-5a55cfb60b66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e745636d-87b5-4589-a107-83b07690185b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_9d11218b-68f3-410e-ade4-be52a61001ec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e745636d-87b5-4589-a107-83b07690185b" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_9d11218b-68f3-410e-ade4-be52a61001ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_e87af397-3b3f-4df8-b0f3-ca781b20398c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e745636d-87b5-4589-a107-83b07690185b" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_e87af397-3b3f-4df8-b0f3-ca781b20398c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_5827f8bc-5cdc-44cd-b832-c26503275a36" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e745636d-87b5-4589-a107-83b07690185b" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_5827f8bc-5cdc-44cd-b832-c26503275a36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af011757-fd11-4c9d-af3e-b6408296752a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_e7c89326-fa9b-412a-a8ad-9f881ce4be58" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af011757-fd11-4c9d-af3e-b6408296752a" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_e7c89326-fa9b-412a-a8ad-9f881ce4be58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_07f7bb58-ed55-4cd5-ad34-7ce5e3e12e1e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af011757-fd11-4c9d-af3e-b6408296752a" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_07f7bb58-ed55-4cd5-ad34-7ce5e3e12e1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_dd091750-6790-4e63-b607-fcc51c835132" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af011757-fd11-4c9d-af3e-b6408296752a" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_dd091750-6790-4e63-b607-fcc51c835132" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_bfaeab72-57a4-41bf-9730-52198a13e6ba" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af011757-fd11-4c9d-af3e-b6408296752a" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_bfaeab72-57a4-41bf-9730-52198a13e6ba" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
