| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<!-- XBRL Document Created with Wdesk from Workiva --> |
<!-- Copyright 2021 Workiva --> |
<!-- r:3366a6e3-8b03-4e44-80f1-e1c4320e5eae,g:7aeb75aa-b1d0-4384-9ee7-cebf100ab6dc --> |
<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.codexis.com/role/CoverPage" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CoverPage"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CoverPage" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="cdxs-20201231.xsd#ConsolidatedBalanceSheets"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/ConsolidatedBalanceSheets" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" 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_1542bd0d-a325-4af4-aea8-6198542914b6" 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_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_AssetsCurrent_1542bd0d-a325-4af4-aea8-6198542914b6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_a5aa457c-338f-473d-a80c-6a719a046447" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCashNoncurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_a5aa457c-338f-473d-a80c-6a719a046447" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_59329ee9-9f67-48c2-8f03-465e79431ae2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InvestmentsAndOtherNoncurrentAssets"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_59329ee9-9f67-48c2-8f03-465e79431ae2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_4941ca0c-528d-4557-aaef-e4c28749cd14" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_4941ca0c-528d-4557-aaef-e4c28749cd14" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_72a5a424-8aa0-4b3c-83f4-aa0c1a72cfdb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_72a5a424-8aa0-4b3c-83f4-aa0c1a72cfdb" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_a9f0c3b8-88f4-4f0e-bfb4-19b396723436" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_a9f0c3b8-88f4-4f0e-bfb4-19b396723436" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_2721b706-9fae-47bf-812a-54b43f9e5f5f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_Goodwill_2721b706-9fae-47bf-812a-54b43f9e5f5f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9e4fc467-5fdf-49e0-9833-b4d32ab7ff23" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2a7a3a07-f8d3-4767-bccd-91c70010023e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9e4fc467-5fdf-49e0-9833-b4d32ab7ff23" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_19706de4-ce38-4fcc-9cf8-ac1f0c31dba8" 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_9997af99-d974-4301-9557-ebab90b33c42" 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_19706de4-ce38-4fcc-9cf8-ac1f0c31dba8" xlink:to="loc_us-gaap_CommonStockValue_9997af99-d974-4301-9557-ebab90b33c42" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_ef49016f-1e36-4304-b6ee-cf6f990db448" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapital"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_19706de4-ce38-4fcc-9cf8-ac1f0c31dba8" xlink:to="loc_us-gaap_AdditionalPaidInCapital_ef49016f-1e36-4304-b6ee-cf6f990db448" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_840cdf48-645b-45c6-8e64-f2e4c993c01b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_19706de4-ce38-4fcc-9cf8-ac1f0c31dba8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_840cdf48-645b-45c6-8e64-f2e4c993c01b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_d0fc92f2-9209-435f-a3a2-17a1e37544d5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockValue"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_19706de4-ce38-4fcc-9cf8-ac1f0c31dba8" xlink:to="loc_us-gaap_PreferredStockValue_d0fc92f2-9209-435f-a3a2-17a1e37544d5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_85111120-75d9-4c2f-96be-e5b7fc4fe04b" 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_AccountsNotesAndLoansReceivableNetCurrent_91cd8313-1038-4f61-adc5-c2912e216329" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_85111120-75d9-4c2f-96be-e5b7fc4fe04b" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_91cd8313-1038-4f61-adc5-c2912e216329" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_38476dbd-a6a9-4492-880c-edf91adfbdea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_85111120-75d9-4c2f-96be-e5b7fc4fe04b" xlink:to="loc_us-gaap_InventoryNet_38476dbd-a6a9-4492-880c-edf91adfbdea" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ce66565a-e2aa-49f6-88be-6489ea251555" 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_85111120-75d9-4c2f-96be-e5b7fc4fe04b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ce66565a-e2aa-49f6-88be-6489ea251555" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_34733334-454c-4f06-867c-e663405d59a5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_85111120-75d9-4c2f-96be-e5b7fc4fe04b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_34733334-454c-4f06-867c-e663405d59a5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_c639b67e-0a89-4e54-a372-8ff9b11d2fee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_85111120-75d9-4c2f-96be-e5b7fc4fe04b" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_c639b67e-0a89-4e54-a372-8ff9b11d2fee" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_eccd301a-9761-46bc-99aa-2fd463f48bda" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCash"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_85111120-75d9-4c2f-96be-e5b7fc4fe04b" xlink:to="loc_us-gaap_RestrictedCash_eccd301a-9761-46bc-99aa-2fd463f48bda" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_993d8ec6-880c-4566-a5b9-869b65f5f2f9" 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_054ff4d1-b30d-4252-8d0b-c1ac056af5f9" 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_993d8ec6-880c-4566-a5b9-869b65f5f2f9" xlink:to="loc_us-gaap_Liabilities_054ff4d1-b30d-4252-8d0b-c1ac056af5f9" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_ff0f1f9f-edd6-4616-9a1a-b6dcb442d566" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommitmentsAndContingencies"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_993d8ec6-880c-4566-a5b9-869b65f5f2f9" xlink:to="loc_us-gaap_CommitmentsAndContingencies_ff0f1f9f-edd6-4616-9a1a-b6dcb442d566" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_15a4c012-ee06-49a7-b127-4134b67a2997" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_993d8ec6-880c-4566-a5b9-869b65f5f2f9" xlink:to="loc_us-gaap_StockholdersEquity_15a4c012-ee06-49a7-b127-4134b67a2997" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_f7bfe67f-971f-45de-b01c-87dc6c749396" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_48ae1336-39d2-4286-a79e-8cb6c0a8c0c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7bfe67f-971f-45de-b01c-87dc6c749396" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_48ae1336-39d2-4286-a79e-8cb6c0a8c0c9" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnbilledReceivablesCurrent_dc06b0e0-4aeb-47c2-815a-24cec84f8796" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_UnbilledReceivablesCurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7bfe67f-971f-45de-b01c-87dc6c749396" xlink:to="loc_us-gaap_UnbilledReceivablesCurrent_dc06b0e0-4aeb-47c2-815a-24cec84f8796" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_023860cc-fb86-429b-a855-e199c29ad105" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerAssetGrossCurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7bfe67f-971f-45de-b01c-87dc6c749396" xlink:to="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_023860cc-fb86-429b-a855-e199c29ad105" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_3ab32a10-ac91-4b23-8a4f-fe197c840b37" 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_ca933eda-78fe-4734-bebd-8d9fa25bc951" 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_3ab32a10-ac91-4b23-8a4f-fe197c840b37" xlink:to="loc_us-gaap_LiabilitiesCurrent_ca933eda-78fe-4734-bebd-8d9fa25bc951" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_b54cec5f-b928-4f51-b0a8-29088d7f99b3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_3ab32a10-ac91-4b23-8a4f-fe197c840b37" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_b54cec5f-b928-4f51-b0a8-29088d7f99b3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_5f5ec38b-9377-4050-b561-9ba8f356bbef" 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_3ab32a10-ac91-4b23-8a4f-fe197c840b37" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_5f5ec38b-9377-4050-b561-9ba8f356bbef" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_41359c20-02a4-4bea-952e-23da100f9986" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_3ab32a10-ac91-4b23-8a4f-fe197c840b37" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_41359c20-02a4-4bea-952e-23da100f9986" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_7f6a1085-a673-46db-9284-6fb6bf8e260a" 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_FinanceLeaseLiabilityCurrent_ef2f657c-5f5a-4a84-90a0-deb0b9655f82" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7f6a1085-a673-46db-9284-6fb6bf8e260a" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_ef2f657c-5f5a-4a84-90a0-deb0b9655f82" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_a98b3cf0-c332-4d38-b4c3-d9feae56e6de" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableCurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7f6a1085-a673-46db-9284-6fb6bf8e260a" xlink:to="loc_us-gaap_AccountsPayableCurrent_a98b3cf0-c332-4d38-b4c3-d9feae56e6de" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_97a64825-9d2b-462c-aa14-0de9546374d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7f6a1085-a673-46db-9284-6fb6bf8e260a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_97a64825-9d2b-462c-aa14-0de9546374d7" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_a23b7b41-327e-4e11-bc4c-dfd03146eaac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7f6a1085-a673-46db-9284-6fb6bf8e260a" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_a23b7b41-327e-4e11-bc4c-dfd03146eaac" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_be39e835-4233-4f7d-991b-515b525f868b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7f6a1085-a673-46db-9284-6fb6bf8e260a" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_be39e835-4233-4f7d-991b-515b525f868b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_272fc6d8-81bb-4c39-8fdf-06f5b0144484" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7f6a1085-a673-46db-9284-6fb6bf8e260a" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_272fc6d8-81bb-4c39-8fdf-06f5b0144484" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_5433b50c-697a-4606-b349-be6cb0fe3225" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_1ff51bf0-a0d4-4d79-9c79-551f3c267e17" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_5433b50c-697a-4606-b349-be6cb0fe3225" xlink:to="loc_us-gaap_NotesReceivableGross_1ff51bf0-a0d4-4d79-9c79-551f3c267e17" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForNotesAndLoansReceivableCurrent_22e1b680-8f89-466b-b1a6-218623fb4052" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForNotesAndLoansReceivableCurrent"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_5433b50c-697a-4606-b349-be6cb0fe3225" xlink:to="loc_us-gaap_AllowanceForNotesAndLoansReceivableCurrent_22e1b680-8f89-466b-b1a6-218623fb4052" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="cdxs-20201231.xsd#ConsolidatedBalanceSheetsParenthetical"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="cdxs-20201231.xsd#ConsolidatedStatementsofOperations"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/ConsolidatedStatementsofOperations" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_54bb10b0-9931-4be3-9f0e-0622a668a9bf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_58219481-3275-42cd-9a63-7f8f78bdb69c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_54bb10b0-9931-4be3-9f0e-0622a668a9bf" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_58219481-3275-42cd-9a63-7f8f78bdb69c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_e52e0811-ba6d-43e8-91f6-6cd424e93a69" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InvestmentIncomeInterest"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_54bb10b0-9931-4be3-9f0e-0622a668a9bf" xlink:to="loc_us-gaap_InvestmentIncomeInterest_e52e0811-ba6d-43e8-91f6-6cd424e93a69" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f75414cc-6657-4b5c-919c-26548ec479c2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_54bb10b0-9931-4be3-9f0e-0622a668a9bf" xlink:to="loc_us-gaap_OperatingIncomeLoss_f75414cc-6657-4b5c-919c-26548ec479c2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_19006152-5021-472d-b3c7-adceb7c19bfb" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_307e0407-0fea-4f5b-944d-ae7e80a4bc05" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_19006152-5021-472d-b3c7-adceb7c19bfb" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_307e0407-0fea-4f5b-944d-ae7e80a4bc05" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_3de7bb6c-9b35-4e22-92a8-f110ce742b3b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_19006152-5021-472d-b3c7-adceb7c19bfb" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_3de7bb6c-9b35-4e22-92a8-f110ce742b3b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_6fb78285-0bfc-4733-a2a1-c2571a4a84d3" 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_SellingGeneralAndAdministrativeExpense_3379dbb0-3b98-4fae-bfdb-4e1ab9c9624d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_6fb78285-0bfc-4733-a2a1-c2571a4a84d3" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_3379dbb0-3b98-4fae-bfdb-4e1ab9c9624d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_877d73cb-97fa-45a3-916c-b2a1858d9ba0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_6fb78285-0bfc-4733-a2a1-c2571a4a84d3" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_877d73cb-97fa-45a3-916c-b2a1858d9ba0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_8bb4fd31-431b-4e84-ab36-fa818a298dad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_6fb78285-0bfc-4733-a2a1-c2571a4a84d3" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_8bb4fd31-431b-4e84-ab36-fa818a298dad" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_edde8951-91ec-4687-ba53-34d256ead90a" 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_CostsAndExpenses_eb99d721-2bf0-4206-8839-f6dd9e3bdbb2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostsAndExpenses"/> |
| | <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_edde8951-91ec-4687-ba53-34d256ead90a" xlink:to="loc_us-gaap_CostsAndExpenses_eb99d721-2bf0-4206-8839-f6dd9e3bdbb2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_68e6e263-95e3-4db7-b25e-382ad006546e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_OperatingIncomeLoss_edde8951-91ec-4687-ba53-34d256ead90a" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_68e6e263-95e3-4db7-b25e-382ad006546e" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/ConsolidatedStatementsStockholdersEquity" xlink:type="simple" xlink:href="cdxs-20201231.xsd#ConsolidatedStatementsStockholdersEquity"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/ConsolidatedStatementsStockholdersEquity" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/ConsolidatedStatementsofStockholdersEquityParenthetical" xlink:type="simple" xlink:href="cdxs-20201231.xsd#ConsolidatedStatementsofStockholdersEquityParenthetical"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/ConsolidatedStatementsofStockholdersEquityParenthetical" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="cdxs-20201231.xsd#ConsolidatedStatementsofCashFlows"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" 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_IncreaseDecreaseInAccountsPayable_397e2bbd-fee0-46a5-8aa8-e84e2a287209" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_397e2bbd-fee0-46a5-8aa8-e84e2a287209" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_9da54865-4edf-4fb5-ab19-e75e141f8fab" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_9da54865-4edf-4fb5-ab19-e75e141f8fab" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_a36d26ff-da09-49e5-959e-e7068b9fccf3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Depreciation"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_Depreciation_a36d26ff-da09-49e5-959e-e7068b9fccf3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_cdxs_LeaseRightOfUseAssetAmortization_cff7eae2-e9ee-47d5-8d3f-4358e7df5d65" xlink:href="cdxs-20201231.xsd#cdxs_LeaseRightOfUseAssetAmortization"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_cdxs_LeaseRightOfUseAssetAmortization_cff7eae2-e9ee-47d5-8d3f-4358e7df5d65" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_4e2490a8-d66f-4c36-802b-d21404b08689" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_4e2490a8-d66f-4c36-802b-d21404b08689" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_5bd8d9b1-f05a-4f99-86e0-a43c8be98e45" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_5bd8d9b1-f05a-4f99-86e0-a43c8be98e45" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_e9f74d1c-f5f6-4e47-9a79-d44663f1e4a7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/> |
| | <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_e9f74d1c-f5f6-4e47-9a79-d44663f1e4a7" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_f7d659e8-d100-4905-8bb2-3bb17c55ce61" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_NetIncomeLoss_f7d659e8-d100-4905-8bb2-3bb17c55ce61" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersCompensationEarned_1358415d-e789-4f7b-a73c-b37cbb3cdebc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersCompensationEarned"/> |
| | <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersCompensationEarned_1358415d-e789-4f7b-a73c-b37cbb3cdebc" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_069b2088-c975-4d4d-885b-7abd9c5afee2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/> |
| | <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_ShareBasedCompensation_069b2088-c975-4d4d-885b-7abd9c5afee2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFinanceReceivables_eee95561-0ef1-4dab-ba03-7436a39e13fe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInFinanceReceivables"/> |
| | <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_IncreaseDecreaseInFinanceReceivables_eee95561-0ef1-4dab-ba03-7436a39e13fe" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_ee6ca73d-6816-43a6-a309-25cb8feca553" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/> |
| | <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_ee6ca73d-6816-43a6-a309-25cb8feca553" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_0a961763-47f3-4d3f-8dce-a6461a05e1c3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/> |
| | <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_716d8308-502d-469f-8d25-8a904df4196f" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_0a961763-47f3-4d3f-8dce-a6461a05e1c3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1365dc63-9428-4eba-894b-75907834ac65" 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_ProceedsFromStockOptionsExercised_14d03a8c-895a-4535-a4fc-5ab4c4965926" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1365dc63-9428-4eba-894b-75907834ac65" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_14d03a8c-895a-4535-a4fc-5ab4c4965926" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_29d5b2b4-fbe1-4f70-ae1d-c5335adbe196" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1365dc63-9428-4eba-894b-75907834ac65" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_29d5b2b4-fbe1-4f70-ae1d-c5335adbe196" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_3e139f69-2654-4130-9134-4763f554428a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/> |
| | <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1365dc63-9428-4eba-894b-75907834ac65" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_3e139f69-2654-4130-9134-4763f554428a" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_84198c52-d932-40ba-a890-cb375de839fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeasePrincipalPayments"/> |
| | <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1365dc63-9428-4eba-894b-75907834ac65" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_84198c52-d932-40ba-a890-cb375de839fa" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromOtherEquity_b75df618-ebf3-48ca-ba4d-b9a1406605ad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromOtherEquity"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1365dc63-9428-4eba-894b-75907834ac65" xlink:to="loc_us-gaap_ProceedsFromOtherEquity_b75df618-ebf3-48ca-ba4d-b9a1406605ad" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_b82d4e87-9b9e-4488-b66f-6e6e29cb657b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/> |
| | <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1365dc63-9428-4eba-894b-75907834ac65" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_b82d4e87-9b9e-4488-b66f-6e6e29cb657b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_661d4871-30d9-43e3-9d80-c831a6664911" 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_9b06a0ce-fc84-4dd3-b1fb-79c59a329f10" 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_661d4871-30d9-43e3-9d80-c831a6664911" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9b06a0ce-fc84-4dd3-b1fb-79c59a329f10" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f6cc9095-3972-4e8f-859a-7fe86324baa4" 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_661d4871-30d9-43e3-9d80-c831a6664911" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f6cc9095-3972-4e8f-859a-7fe86324baa4" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e74a8e59-c197-4ba4-a2a1-052d307ccea0" 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_661d4871-30d9-43e3-9d80-c831a6664911" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e74a8e59-c197-4ba4-a2a1-052d307ccea0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_97907167-a478-4ecc-814f-c1b7f1430c33" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5ceadcaa-f45e-454a-8080-52e570c38fd1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_97907167-a478-4ecc-814f-c1b7f1430c33" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5ceadcaa-f45e-454a-8080-52e570c38fd1" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_e0e43bb3-7c8a-439c-93f1-50ccf1fa5f9b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalents"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_97907167-a478-4ecc-814f-c1b7f1430c33" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_e0e43bb3-7c8a-439c-93f1-50ccf1fa5f9b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d73d686e-b5e2-417b-afb7-6ae27ed836f2" 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_ProceedsFromSaleMaturityAndCollectionsOfInvestments_7d975f1b-3a0a-4415-986a-09ef428a8723" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d73d686e-b5e2-417b-afb7-6ae27ed836f2" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_7d975f1b-3a0a-4415-986a-09ef428a8723" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_64adb94b-f8cd-45ee-b3c9-82819192097f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d73d686e-b5e2-417b-afb7-6ae27ed836f2" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_64adb94b-f8cd-45ee-b3c9-82819192097f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ea815653-7590-4cc1-a33c-51a2ffd43d71" 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_d73d686e-b5e2-417b-afb7-6ae27ed836f2" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ea815653-7590-4cc1-a33c-51a2ffd43d71" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_7251f980-1b60-4c93-bf8e-49d1dfc0e944" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/> |
| | <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d73d686e-b5e2-417b-afb7-6ae27ed836f2" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_7251f980-1b60-4c93-bf8e-49d1dfc0e944" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/DescriptionofBusiness" xlink:type="simple" xlink:href="cdxs-20201231.xsd#DescriptionofBusiness"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/DescriptionofBusiness" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/DescriptionofBusinessDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#DescriptionofBusinessDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/DescriptionofBusinessDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BasisofPresentationandSummaryofSignificantAccountingPolicies"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesNarrativeDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPlantPropertyandEquipmentDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesPlantPropertyandEquipmentDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPlantPropertyandEquipmentDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognition" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognition"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognition" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognitionTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognitionTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognitionTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognitionDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognitionDisaggregationofRevenueDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognitionDisaggregationofRevenueDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognitionContractswithCustomerDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognitionContractswithCustomerDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognitionContractswithCustomerDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognitionAdditionalInformationDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognitionAdditionalInformationDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognitionAdditionalInformationDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognitionRevenueRecognizedDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognitionRevenueRecognizedDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognitionRevenueRecognizedDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_74b1dcee-efdd-4832-9a55-a587168723f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_cdxs_ContractwithCustomerLiabilityNewActivitiesPerformanceObligationSatisfiedRevenueRecognition_443b267f-031d-4b28-8f05-95fddfe9050f" xlink:href="cdxs-20201231.xsd#cdxs_ContractwithCustomerLiabilityNewActivitiesPerformanceObligationSatisfiedRevenueRecognition"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_74b1dcee-efdd-4832-9a55-a587168723f5" xlink:to="loc_cdxs_ContractwithCustomerLiabilityNewActivitiesPerformanceObligationSatisfiedRevenueRecognition_443b267f-031d-4b28-8f05-95fddfe9050f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCumulativeCatchUpAdjustmentToRevenueChangeInEstimateOfTransactionPrice_451124ee-5260-4e70-b30e-72f022c35540" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCumulativeCatchUpAdjustmentToRevenueChangeInEstimateOfTransactionPrice"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_74b1dcee-efdd-4832-9a55-a587168723f5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCumulativeCatchUpAdjustmentToRevenueChangeInEstimateOfTransactionPrice_451124ee-5260-4e70-b30e-72f022c35540" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_a2da7697-65a8-40b2-8864-9204767d4c07" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_74b1dcee-efdd-4832-9a55-a587168723f5" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_a2da7697-65a8-40b2-8864-9204767d4c07" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognitionPerformanceObligationDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognitionPerformanceObligationDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognitionPerformanceObligationDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RevenueRecognitionPerformanceObligationDetails_1" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RevenueRecognitionPerformanceObligationDetails_1"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RevenueRecognitionPerformanceObligationDetails_1" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/NetLossperShare" xlink:type="simple" xlink:href="cdxs-20201231.xsd#NetLossperShare"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/NetLossperShare" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/NetLossperShareTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#NetLossperShareTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/NetLossperShareTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/NetLossperShareDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#NetLossperShareDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/NetLossperShareDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangements" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangements"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangements" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsGSKPlatformTechnologyTransferCollaborationandLicenseAgreementDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsGSKPlatformTechnologyTransferCollaborationandLicenseAgreementDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsGSKPlatformTechnologyTransferCollaborationandLicenseAgreementDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsMerckPlatformTechnologyTransferandLicenseAgreementDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsMerckPlatformTechnologyTransferandLicenseAgreementDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsMerckPlatformTechnologyTransferandLicenseAgreementDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsMerckSitagliptinCatalystSupplyAgreementDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsMerckSitagliptinCatalystSupplyAgreementDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsMerckSitagliptinCatalystSupplyAgreementDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsEnzymeSupplyAgreementDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsEnzymeSupplyAgreementDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsEnzymeSupplyAgreementDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsTateLyleDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsTateLyleDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsTateLyleDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsNestleGlobalDevelopmentAgreementDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsNestleGlobalDevelopmentAgreementDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsNestleGlobalDevelopmentAgreementDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsPortonDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsPortonDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsPortonDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsNovartisDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsNovartisDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsNovartisDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsRocheDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsRocheDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsRocheDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsTakedaDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsTakedaDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsTakedaDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsMolecularAssociatesIncDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsMolecularAssociatesIncDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsMolecularAssociatesIncDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsPerformancePeriodDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsPerformancePeriodDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsPerformancePeriodDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CollaborativeArrangementsPerformancePeriodDetails_1" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CollaborativeArrangementsPerformancePeriodDetails_1"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CollaborativeArrangementsPerformancePeriodDetails_1" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/InvestmentsinNonMarketableSecurities" xlink:type="simple" xlink:href="cdxs-20201231.xsd#InvestmentsinNonMarketableSecurities"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/InvestmentsinNonMarketableSecurities" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/InvestmentsinNonMarketableSecuritiesTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#InvestmentsinNonMarketableSecuritiesTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/InvestmentsinNonMarketableSecuritiesTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/InvestmentsinNonMarketableSecuritiesDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#InvestmentsinNonMarketableSecuritiesDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/InvestmentsinNonMarketableSecuritiesDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="cdxs-20201231.xsd#FairValueMeasurements"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/FairValueMeasurements" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/FairValueMeasurementsTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#FairValueMeasurementsTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/FairValueMeasurementsTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/FairValueMeasurementsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#FairValueMeasurementsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/FairValueMeasurementsDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BalanceSheetsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BalanceSheetsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BalanceSheetsDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BalanceSheetsDetailsTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BalanceSheetsDetailsTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BalanceSheetsDetailsTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BalanceSheetsDetailsCashandCashEquivalentsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BalanceSheetsDetailsCashandCashEquivalentsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BalanceSheetsDetailsCashandCashEquivalentsDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BalanceSheetsDetailsScheduleofInventoryComponentsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BalanceSheetsDetailsScheduleofInventoryComponentsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BalanceSheetsDetailsScheduleofInventoryComponentsDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_e5991c62-4ee4-4f04-89b5-f27911de7b95" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_abf7146b-5206-4621-8692-2925fc14bdeb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryFinishedGoods"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_e5991c62-4ee4-4f04-89b5-f27911de7b95" xlink:to="loc_us-gaap_InventoryFinishedGoods_abf7146b-5206-4621-8692-2925fc14bdeb" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_a4dcaa2c-bafd-496a-940d-51f2c91b3c34" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryWorkInProcess"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_e5991c62-4ee4-4f04-89b5-f27911de7b95" xlink:to="loc_us-gaap_InventoryWorkInProcess_a4dcaa2c-bafd-496a-940d-51f2c91b3c34" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_9285f222-f451-458f-8f9c-ef500305d73c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryRawMaterials"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_e5991c62-4ee4-4f04-89b5-f27911de7b95" xlink:to="loc_us-gaap_InventoryRawMaterials_9285f222-f451-458f-8f9c-ef500305d73c" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/BalanceSheetsDetailsPropertyandEquipmentnetDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BalanceSheetsDetailsPropertyandEquipmentnetDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BalanceSheetsDetailsPropertyandEquipmentnetDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4823a29c-a68a-451f-90d8-d2c7a559939b" 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_f8d257d5-6987-405e-a4bf-66a681398939" 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_4823a29c-a68a-451f-90d8-d2c7a559939b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_f8d257d5-6987-405e-a4bf-66a681398939" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_59a4243f-0a10-43ce-a5ca-b27628daba8f" 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_4823a29c-a68a-451f-90d8-d2c7a559939b" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_59a4243f-0a10-43ce-a5ca-b27628daba8f" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/BalanceSheetsDetailsGoodwillDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BalanceSheetsDetailsGoodwillDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BalanceSheetsDetailsGoodwillDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/BalanceSheetsDetailsAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#BalanceSheetsDetailsAccruedLiabilitiesDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/BalanceSheetsDetailsAccruedLiabilitiesDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_79b4e0c1-53c2-4dea-aeb2-fc93c621320f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_cdxs_AccruedPurchaseReceivedNotYetBilled_85f885db-19dc-4407-bb1e-822bacbfa6f2" xlink:href="cdxs-20201231.xsd#cdxs_AccruedPurchaseReceivedNotYetBilled"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79b4e0c1-53c2-4dea-aeb2-fc93c621320f" xlink:to="loc_cdxs_AccruedPurchaseReceivedNotYetBilled_85f885db-19dc-4407-bb1e-822bacbfa6f2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent_6f91d346-15a5-4e17-9ec2-2fa38ee19c6e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79b4e0c1-53c2-4dea-aeb2-fc93c621320f" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent_6f91d346-15a5-4e17-9ec2-2fa38ee19c6e" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent_016eb9e3-caa0-4ee0-843d-9826210a2656" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79b4e0c1-53c2-4dea-aeb2-fc93c621320f" xlink:to="loc_us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent_016eb9e3-caa0-4ee0-843d-9826210a2656" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/StockbasedCompensation" xlink:type="simple" xlink:href="cdxs-20201231.xsd#StockbasedCompensation"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/StockbasedCompensation" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/StockbasedCompensationTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#StockbasedCompensationTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/StockbasedCompensationTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/StockbasedCompensationNarrativeDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#StockbasedCompensationNarrativeDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/StockbasedCompensationNarrativeDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/StockbasedCompensationStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#StockbasedCompensationStockBasedCompensationExpenseDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/StockbasedCompensationStockBasedCompensationExpenseDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/StockbasedCompensationAssumptionsUsedDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#StockbasedCompensationAssumptionsUsedDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/StockbasedCompensationAssumptionsUsedDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/StockbasedCompensationOptionActivityDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#StockbasedCompensationOptionActivityDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/StockbasedCompensationOptionActivityDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/StockbasedCompensationAwardActivityDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#StockbasedCompensationAwardActivityDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/StockbasedCompensationAwardActivityDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CapitalStock" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CapitalStock"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CapitalStock" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CapitalStockDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CapitalStockDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CapitalStockDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/A401kPlan" xlink:type="simple" xlink:href="cdxs-20201231.xsd#A401kPlan"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/A401kPlan" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/A401kPlanDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#A401kPlanDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/A401kPlanDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxes" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxes"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxes" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesComponentsofLossBeforeProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesComponentsofLossBeforeProvisionforIncomeTaxesDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesComponentsofLossBeforeProvisionforIncomeTaxesDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesComponentsofProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesComponentsofProvisionforIncomeTaxesDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesComponentsofProvisionforIncomeTaxesDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_714474b4-5596-4e6e-bc5c-acb4f5f2b7b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_ac70a481-f209-4de3-a773-55fda23de725" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_714474b4-5596-4e6e-bc5c-acb4f5f2b7b0" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_ac70a481-f209-4de3-a773-55fda23de725" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_e15dfe5f-ea37-4437-8b5f-09f155a5336b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_714474b4-5596-4e6e-bc5c-acb4f5f2b7b0" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_e15dfe5f-ea37-4437-8b5f-09f155a5336b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_bb8c541b-88ef-4946-8f29-43fff0ac167d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_aaf708c7-f30f-4490-b0a0-b39ab414ded0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_bb8c541b-88ef-4946-8f29-43fff0ac167d" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_aaf708c7-f30f-4490-b0a0-b39ab414ded0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_c6a87124-1476-4478-9159-21811d7f7a83" 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_CurrentIncomeTaxExpenseBenefit_f231f670-a515-48b2-ad82-21d8a1adf849" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c6a87124-1476-4478-9159-21811d7f7a83" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_f231f670-a515-48b2-ad82-21d8a1adf849" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_87926515-17cc-476b-ae60-ee94fac55bf2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c6a87124-1476-4478-9159-21811d7f7a83" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_87926515-17cc-476b-ae60-ee94fac55bf2" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesTaxRateReconciliationDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_978ce0cd-92f5-491d-b129-92c33d62a1e7" 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_764fa414-ea52-4789-b7fc-0b433a2c4e1f" 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_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_764fa414-ea52-4789-b7fc-0b433a2c4e1f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_8f8b93e3-514d-48e8-8e24-e81b03f84a39" 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_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_8f8b93e3-514d-48e8-8e24-e81b03f84a39" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_43614c13-1150-4301-b4c1-0702b236fb20" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/> |
| | <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_43614c13-1150-4301-b4c1-0702b236fb20" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_9c81f842-c031-456d-a1db-246e108acd3d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_9c81f842-c031-456d-a1db-246e108acd3d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_e9a4663e-faed-42ba-a0ec-69db2d923370" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_e9a4663e-faed-42ba-a0ec-69db2d923370" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_1d9334d0-74cf-44b3-89d1-0b2320c35c78" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_1d9334d0-74cf-44b3-89d1-0b2320c35c78" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_37570634-ae28-4be2-ad50-82be54e2e6c4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_37570634-ae28-4be2-ad50-82be54e2e6c4" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_cdxs_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseExecutiveCompensation_918c8da8-b9be-4e82-8398-bb65eb5b5df4" xlink:href="cdxs-20201231.xsd#cdxs_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseExecutiveCompensation"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_978ce0cd-92f5-491d-b129-92c33d62a1e7" xlink:to="loc_cdxs_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseExecutiveCompensation_918c8da8-b9be-4e82-8398-bb65eb5b5df4" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_9df739aa-dd0e-469b-9627-40c278acca9f" 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_cdxs_DeferredTaxLiabilitiesRightOfUseAssets_701030ea-4354-488f-a6be-6d66b8949ad7" xlink:href="cdxs-20201231.xsd#cdxs_DeferredTaxLiabilitiesRightOfUseAssets"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_9df739aa-dd0e-469b-9627-40c278acca9f" xlink:to="loc_cdxs_DeferredTaxLiabilitiesRightOfUseAssets_701030ea-4354-488f-a6be-6d66b8949ad7" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_9ef92c5f-d3de-42d3-a02a-b010e4e1eca0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_9df739aa-dd0e-469b-9627-40c278acca9f" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_9ef92c5f-d3de-42d3-a02a-b010e4e1eca0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_01ec6bea-76d8-4f8c-a4a4-be251bc488cd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_bb786ff8-4067-492a-900b-5407c7f7e912" 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_DeferredTaxLiabilities_01ec6bea-76d8-4f8c-a4a4-be251bc488cd" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_bb786ff8-4067-492a-900b-5407c7f7e912" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_88436d3b-d7cf-4910-8370-0233cca6d9b8" 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_DeferredTaxLiabilities_01ec6bea-76d8-4f8c-a4a4-be251bc488cd" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_88436d3b-d7cf-4910-8370-0233cca6d9b8" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6661fd85-2e58-4d6f-81a2-37b7ea265613" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_01ec6bea-76d8-4f8c-a4a4-be251bc488cd" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6661fd85-2e58-4d6f-81a2-37b7ea265613" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" 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_DeferredTaxAssetsGoodwillAndIntangibleAssets_7ec9fb2a-e479-4ea9-a063-f20d8f66fd28" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_7ec9fb2a-e479-4ea9-a063-f20d8f66fd28" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_25dc81a1-b4a9-47f8-a8d4-dba6a5b4c3e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsDeferredIncome"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_25dc81a1-b4a9-47f8-a8d4-dba6a5b4c3e2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_ba17872a-96bd-4bbd-8920-7d5d311aa1b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsCapitalLossCarryforwards"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_ba17872a-96bd-4bbd-8920-7d5d311aa1b4" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInvestments_f84115ce-2178-49a1-92c2-a162b39e10bf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsInvestments"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsInvestments_f84115ce-2178-49a1-92c2-a162b39e10bf" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_52fd7458-e690-4a70-ae41-93ff9c28523f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_52fd7458-e690-4a70-ae41-93ff9c28523f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_f2bbc572-9050-49e3-99d8-4b19fea0d59f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_f2bbc572-9050-49e3-99d8-4b19fea0d59f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_f464e222-bdaa-4706-b17e-87e77b06730c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_f464e222-bdaa-4706-b17e-87e77b06730c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_8c9abb35-dd54-42f2-b85e-c141b0868a86" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_8c9abb35-dd54-42f2-b85e-c141b0868a86" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_8b3ac2d9-7583-4dea-8c8e-5f687dfa5a17" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/> |
| | <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_8b3ac2d9-7583-4dea-8c8e-5f687dfa5a17" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_cdxs_DeferredTaxAssetsLeaseLiability_2885458f-752e-4d57-9f73-66955e84aaf9" xlink:href="cdxs-20201231.xsd#cdxs_DeferredTaxAssetsLeaseLiability"/> |
| | <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_cdxs_DeferredTaxAssetsLeaseLiability_2885458f-752e-4d57-9f73-66955e84aaf9" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_be38f541-212f-4c38-bd06-9c44135353ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/> |
| | <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e274dc90-55aa-4e49-8f1a-2b311dfa3e6d" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_be38f541-212f-4c38-bd06-9c44135353ff" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesNarrativeDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesNOLCarryforwardsandFederalResearchandDevelopmentTaxCreditsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesNOLCarryforwardsandFederalResearchandDevelopmentTaxCreditsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesNOLCarryforwardsandFederalResearchandDevelopmentTaxCreditsDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/IncomeTaxesReconciliationofUnrecognizedTaxBenefitsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#IncomeTaxesReconciliationofUnrecognizedTaxBenefitsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/IncomeTaxesReconciliationofUnrecognizedTaxBenefitsDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingencies"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingencies" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingenciesTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingenciesTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingenciesTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingenciesNarrativeDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingenciesLeaseCostsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingenciesLeaseCostsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingenciesLeaseCostsDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_26748e57-b4bb-424c-9639-f4aabd09cef1" 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_FinanceLeaseRightOfUseAssetAmortization_b7362e20-7389-4a32-9005-2bd94cc57f0c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_26748e57-b4bb-424c-9639-f4aabd09cef1" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_b7362e20-7389-4a32-9005-2bd94cc57f0c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_7d5eb2fb-a8d0-4d12-9025-c4ef9e5fbb84" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseInterestExpense"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_26748e57-b4bb-424c-9639-f4aabd09cef1" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_7d5eb2fb-a8d0-4d12-9025-c4ef9e5fbb84" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_c76ba5c3-d36e-41dc-8edd-311830cccb97" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShortTermLeaseCost"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_26748e57-b4bb-424c-9639-f4aabd09cef1" xlink:to="loc_us-gaap_ShortTermLeaseCost_c76ba5c3-d36e-41dc-8edd-311830cccb97" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_82273396-85b4-4712-9a3a-b615dc5e62c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubleaseIncome"/> |
| | <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_26748e57-b4bb-424c-9639-f4aabd09cef1" xlink:to="loc_us-gaap_SubleaseIncome_82273396-85b4-4712-9a3a-b615dc5e62c7" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_03bcfde4-72da-4b33-b5af-95237a4f7cd4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseCost"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_26748e57-b4bb-424c-9639-f4aabd09cef1" xlink:to="loc_us-gaap_OperatingLeaseCost_03bcfde4-72da-4b33-b5af-95237a4f7cd4" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_cdxs_FinanceLeaseCost_78353167-0a4e-4256-8114-93cbbfb7b72f" xlink:href="cdxs-20201231.xsd#cdxs_FinanceLeaseCost"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_75d7fa5c-3178-4a9e-b63e-4420f7c7a59a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cdxs_FinanceLeaseCost_78353167-0a4e-4256-8114-93cbbfb7b72f" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_75d7fa5c-3178-4a9e-b63e-4420f7c7a59a" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_e26e4e4e-2813-498a-906a-c65ea81b9d86" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinanceLeaseInterestExpense"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cdxs_FinanceLeaseCost_78353167-0a4e-4256-8114-93cbbfb7b72f" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_e26e4e4e-2813-498a-906a-c65ea81b9d86" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingenciesOtherLeaseInformationDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingenciesOtherLeaseInformationDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingenciesOtherLeaseInformationDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingenciesLeaseMaturityUnderTopic842Details" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingenciesLeaseMaturityUnderTopic842Details"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingenciesLeaseMaturityUnderTopic842Details" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_12c3e39c-b5ff-40b4-a6b3-294a39493642" 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_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_d22b92a2-0c8f-4e0d-8831-45f771cde6c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_12c3e39c-b5ff-40b4-a6b3-294a39493642" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_d22b92a2-0c8f-4e0d-8831-45f771cde6c1" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d026ebff-3ba2-4166-9fdf-0aed0a76cb11" 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_12c3e39c-b5ff-40b4-a6b3-294a39493642" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d026ebff-3ba2-4166-9fdf-0aed0a76cb11" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ea0962f5-fdd6-4bb1-9548-6c355563167e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_12c3e39c-b5ff-40b4-a6b3-294a39493642" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ea0962f5-fdd6-4bb1-9548-6c355563167e" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_ec524b4b-e471-4347-b8ec-9e5163cbc158" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_12c3e39c-b5ff-40b4-a6b3-294a39493642" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_ec524b4b-e471-4347-b8ec-9e5163cbc158" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a34c8884-f102-4d3e-a38f-ecc63f859c3b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_12c3e39c-b5ff-40b4-a6b3-294a39493642" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a34c8884-f102-4d3e-a38f-ecc63f859c3b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2116c03a-f2c7-441b-ac0d-dd4150f8eeb3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_12c3e39c-b5ff-40b4-a6b3-294a39493642" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2116c03a-f2c7-441b-ac0d-dd4150f8eeb3" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingenciesLeaseMaturityUnderTopic842Details_1" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingenciesLeaseMaturityUnderTopic842Details_1"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingenciesLeaseMaturityUnderTopic842Details_1" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8e4a6ca1-4e3d-4eef-bed7-03fea0e45a42" 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_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_a5713c46-41c1-4001-a300-9a7feea0e76f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8e4a6ca1-4e3d-4eef-bed7-03fea0e45a42" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_a5713c46-41c1-4001-a300-9a7feea0e76f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_ef94c18f-7b71-4539-8b3c-8e863d5eee4c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8e4a6ca1-4e3d-4eef-bed7-03fea0e45a42" xlink:to="loc_us-gaap_OperatingLeaseLiability_ef94c18f-7b71-4539-8b3c-8e863d5eee4c" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.codexis.com/role/CommitmentsandContingenciesOtherCommitmentsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#CommitmentsandContingenciesOtherCommitmentsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/CommitmentsandContingenciesOtherCommitmentsDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RelatedPartyTransactions" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RelatedPartyTransactions"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RelatedPartyTransactions" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/RelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#RelatedPartyTransactionsDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/RelatedPartyTransactionsDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformation" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SegmentGeographicalandOtherRevenueInformation"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformation" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SegmentGeographicalandOtherRevenueInformationTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationNarrativeDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SegmentGeographicalandOtherRevenueInformationNarrativeDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationNarrativeDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationSegmentReportingDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SegmentGeographicalandOtherRevenueInformationSegmentReportingDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationSegmentReportingDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationConcentrationRiskDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SegmentGeographicalandOtherRevenueInformationConcentrationRiskDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationConcentrationRiskDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationRevenuesDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SegmentGeographicalandOtherRevenueInformationRevenuesDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationRevenuesDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationGoodwillDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SegmentGeographicalandOtherRevenueInformationGoodwillDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SegmentGeographicalandOtherRevenueInformationGoodwillDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/AllowanceforCreditLosses" xlink:type="simple" xlink:href="cdxs-20201231.xsd#AllowanceforCreditLosses"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/AllowanceforCreditLosses" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/AllowanceforCreditLossesTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#AllowanceforCreditLossesTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/AllowanceforCreditLossesTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/AllowanceforCreditLossesAnalysisofAllowanceforCreditLossesDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#AllowanceforCreditLossesAnalysisofAllowanceforCreditLossesDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/AllowanceforCreditLossesAnalysisofAllowanceforCreditLossesDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/AllowanceforCreditLossesSummaryofAccountsReceivablebyAgingCategoryDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#AllowanceforCreditLossesSummaryofAccountsReceivablebyAgingCategoryDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/AllowanceforCreditLossesSummaryofAccountsReceivablebyAgingCategoryDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SubsequentEvents" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SubsequentEvents"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SubsequentEvents" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SubsequentEventsTables" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SubsequentEventsTables"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SubsequentEventsTables" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SubsequentEventsNarrativeDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SubsequentEventsNarrativeDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SubsequentEventsNarrativeDetails" xlink:type="extended"/> |
| <link:roleRef roleURI="http://www.codexis.com/role/SubsequentEventsLeaseMaturityDetails" xlink:type="simple" xlink:href="cdxs-20201231.xsd#SubsequentEventsLeaseMaturityDetails"/> |
| <link:calculationLink xlink:role="http://www.codexis.com/role/SubsequentEventsLeaseMaturityDetails" xlink:type="extended"/> |
| </link:linkbase> |