<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: QXInteractive; Version: 4.4a -->
    <!-- Field: Doc-Info; Name: Source; Value: AMTX 03312015 10Q1.xfr; Date: 2015%2D05%2D07T14:15:45 -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80040000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://aemetis.com/role/DocumentAndEntityInformation" xlink:href="amtx-20150331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedBalanceSheets" xlink:href="amtx-20150331.xsd#ConsolidatedCondensedBalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedBalanceSheetsParenthetical" xlink:href="amtx-20150331.xsd#ConsolidatedCondensedBalanceSheetsParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:href="amtx-20150331.xsd#ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedStatementsOfCashFlows" xlink:href="amtx-20150331.xsd#ConsolidatedCondensedStatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:href="amtx-20150331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Inventory" xlink:href="amtx-20150331.xsd#Inventory" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipment" xlink:href="amtx-20150331.xsd#PropertyPlantAndEquipment" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwill" xlink:href="amtx-20150331.xsd#IntangibleAssetsAndGoodwill" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayable" xlink:href="amtx-20150331.xsd#NotesPayable" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/CommitmentsAndContingencies" xlink:href="amtx-20150331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrants" xlink:href="amtx-20150331.xsd#OutstandingWarrants" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrants" xlink:href="amtx-20150331.xsd#FairValueOfWarrants" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurements" xlink:href="amtx-20150331.xsd#FairValueMeasurements" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Stock-basedCompensation" xlink:href="amtx-20150331.xsd#Stock-basedCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Agreements" xlink:href="amtx-20150331.xsd#Agreements" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformation" xlink:href="amtx-20150331.xsd#SegmentInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/RelatedPartyTransactions" xlink:href="amtx-20150331.xsd#RelatedPartyTransactions" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SubsequentEvents" xlink:href="amtx-20150331.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ManagementsPlan" xlink:href="amtx-20150331.xsd#ManagementsPlan" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="amtx-20150331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="amtx-20150331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryTables" xlink:href="amtx-20150331.xsd#InventoryTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentTables" xlink:href="amtx-20150331.xsd#PropertyPlantAndEquipmentTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillTables" xlink:href="amtx-20150331.xsd#IntangibleAssetsAndGoodwillTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableTables" xlink:href="amtx-20150331.xsd#NotesPayableTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/CommitmentsAndContingenciesTables" xlink:href="amtx-20150331.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrantsTables" xlink:href="amtx-20150331.xsd#OutstandingWarrantsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrantsTables" xlink:href="amtx-20150331.xsd#FairValueOfWarrantsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsTables" xlink:href="amtx-20150331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Stock-basedCompensationTables" xlink:href="amtx-20150331.xsd#Stock-basedCompensationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/AgreementsTables" xlink:href="amtx-20150331.xsd#AgreementsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationTables" xlink:href="amtx-20150331.xsd#SegmentInformationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="amtx-20150331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:href="amtx-20150331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:href="amtx-20150331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryDetails" xlink:href="amtx-20150331.xsd#InventoryDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentDetails" xlink:href="amtx-20150331.xsd#PropertyPlantAndEquipmentDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:href="amtx-20150331.xsd#PropertyPlantAndEquipmentDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetails" xlink:href="amtx-20150331.xsd#IntangibleAssetsAndGoodwillDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetailsNarrative" xlink:href="amtx-20150331.xsd#IntangibleAssetsAndGoodwillDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetails" xlink:href="amtx-20150331.xsd#NotesPayableDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetails1" xlink:href="amtx-20150331.xsd#NotesPayableDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetailsNarrative" xlink:href="amtx-20150331.xsd#NotesPayableDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/CommitmentsAndContingenciesDetails" xlink:href="amtx-20150331.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:href="amtx-20150331.xsd#CommitmentsAndContingenciesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrantsDetails" xlink:href="amtx-20150331.xsd#OutstandingWarrantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrantsDetails1" xlink:href="amtx-20150331.xsd#OutstandingWarrantsDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrantsDetails" xlink:href="amtx-20150331.xsd#FairValueOfWarrantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsDetails" xlink:href="amtx-20150331.xsd#FairValueMeasurementsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsDetails1" xlink:href="amtx-20150331.xsd#FairValueMeasurementsDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Stock-basedCompensationDetails" xlink:href="amtx-20150331.xsd#Stock-basedCompensationDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Stock-basedCompensationDetails1" xlink:href="amtx-20150331.xsd#Stock-basedCompensationDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/AgreementsDetails" xlink:href="amtx-20150331.xsd#AgreementsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/AgreementsDetailsNarrative" xlink:href="amtx-20150331.xsd#AgreementsDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationDetails" xlink:href="amtx-20150331.xsd#SegmentInformationDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationDetails1" xlink:href="amtx-20150331.xsd#SegmentInformationDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:href="amtx-20150331.xsd#RelatedPartyTransactionsDetailsNarrative" xlink:type="simple" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedBalanceSheets" xlink:title="00000002 - Statement - CONSOLIDATED CONDENSED BALANCE SHEETS (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccountsAndOtherReceivablesNetCurrent" xlink:label="loc_us-gaapAccountsAndOtherReceivablesNetCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAccountsAndOtherReceivablesNetCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapInventoryNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="loc_us-gaapPrepaidExpenseCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapPrepaidExpenseCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaapOtherAssetsCurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapOtherAssetsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetIncludingGoodwill" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapIntangibleAssetsNetIncludingGoodwill" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaapOtherAssets" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapOtherAssets" xlink:type="arc" weight="1" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAssetsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetResidualValue" xlink:label="loc_us-gaapAcquiredFiniteLivedIntangibleAssetResidualValue" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAcquiredFiniteLivedIntangibleAssetResidualValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaapAccountsPayableCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaapLongTermDebtCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapLongTermDebtCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_MandatorilyRedeemableSeriesBPreferred" xlink:label="loc_AMTXMandatorilyRedeemableSeriesBPreferred" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_AMTXMandatorilyRedeemableSeriesBPreferred" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaapOtherLiabilitiesCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapOtherLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaapShortTermBorrowings" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapShortTermBorrowings" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaapLiabilitiesNoncurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherLongTermDebt" xlink:label="loc_us-gaapOtherLongTermDebt" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesNoncurrent" xlink:to="loc_us-gaapOtherLongTermDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SecuredDebt" xlink:label="loc_us-gaapSecuredDebt" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesNoncurrent" xlink:to="loc_us-gaapSecuredDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_Eb5LongTermPromissoryNotes" xlink:label="loc_AMTXEb5LongTermPromissoryNotes" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesNoncurrent" xlink:to="loc_AMTXEb5LongTermPromissoryNotes" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaapPreferredStockValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapPreferredStockValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapCommonStockValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaapAdditionalPaidInCapitalCommonStock" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAdditionalPaidInCapitalCommonStock" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapStockholdersEquity" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilitiesNoncurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedBalanceSheetsParenthetical" xlink:title="00000003 - Statement - CONSOLIDATED CONDENSED BALANCE SHEETS (Unaudited) (Parenthetical)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:title="00000004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME (LOSS) (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaapGrossProfit" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaapSalesRevenueNet" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapSalesRevenueNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaapCostOfGoodsAndServicesSold" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapCostOfGoodsAndServicesSold" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapGrossProfit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaapResearchAndDevelopmentExpense" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapResearchAndDevelopmentExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaapSellingGeneralAndAdministrativeExpense" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapSellingGeneralAndAdministrativeExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapInterestExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentForAmortization" xlink:label="loc_us-gaapAdjustmentForAmortization" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapAdjustmentForAmortization" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ExtinguishmentOfDebtGainLossNetOfTax" xlink:label="loc_us-gaapExtinguishmentOfDebtGainLossNetOfTax" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapExtinguishmentOfDebtGainLossNetOfTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaapOtherNonoperatingIncomeExpense" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:type="arc" weight="1" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapOperatingIncomeLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapIncomeTaxExpenseBenefit" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedStatementsOfCashFlows" xlink:title="00000005 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapNetIncomeLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapShareBasedCompensation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables" xlink:label="loc_us-gaapIncreaseDecreaseInReceivables" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInReceivables" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInInventories" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidExpense" xlink:label="loc_us-gaapIncreaseDecreaseInPrepaidExpense" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInPrepaidExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="loc_us-gaapAmortizationOfDebtDiscountPremium" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfDebtDiscountPremium" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets" xlink:label="loc_us-gaapIncreaseDecreaseInOtherCurrentAssets" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOtherCurrentAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayable" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayable" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaapIncreaseDecreaseInInterestPayableNet" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInInterestPayableNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInOtherAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInOtherAccruedLiabilities" />
      <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOtherAccruedLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaapAmortizationOfIntangibleAssets" />
      <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfIntangibleAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaapGainsLossesOnExtinguishmentOfDebt" />
      <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGainsLossesOnExtinguishmentOfDebt" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaapDepreciation" />
      <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDepreciation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueAdjustmentOfWarrants" xlink:label="loc_us-gaapFairValueAdjustmentOfWarrants" />
      <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapFairValueAdjustmentOfWarrants" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaapProceedsFromIssuanceOfDebt" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceOfDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RepaymentsOfBankDebt" xlink:label="loc_us-gaapRepaymentsOfBankDebt" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfBankDebt" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromWarrantExercises" xlink:label="loc_us-gaapProceedsFromWarrantExercises" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromWarrantExercises" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaapEffectOfExchangeRateOnCashAndCashEquivalents" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapEffectOfExchangeRateOnCashAndCashEquivalents" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:title="00000006 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/Inventory" xlink:title="00000007 - Disclosure - 2. Inventory" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipment" xlink:title="00000008 - Disclosure - 3. Property, Plant and Equipment" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwill" xlink:title="00000009 - Disclosure - 4. Intangible Assets and Goodwill" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayable" xlink:title="00000010 - Disclosure - 5. Notes Payable" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/CommitmentsAndContingencies" xlink:title="00000011 - Disclosure - 6. Commitments and Contingencies" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrants" xlink:title="00000012 - Disclosure - 7. Outstanding Warrants" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrants" xlink:title="00000013 - Disclosure - 8. Fair Value of Warrants" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurements" xlink:title="00000014 - Disclosure - 9. Fair Value Measurements" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/Stock-basedCompensation" xlink:title="00000015 - Disclosure - 10. Stock-Based Compensation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/Agreements" xlink:title="00000016 - Disclosure - 11. Agreements" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformation" xlink:title="00000017 - Disclosure - 12. Segment Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/RelatedPartyTransactions" xlink:title="00000018 - Disclosure - 13. Related Party Transactions" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SubsequentEvents" xlink:title="00000019 - Disclosure - 14. Subsequent Events" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ManagementsPlan" xlink:title="00000020 - Disclosure - 15. Management's Plan" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:title="00000021 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Policies)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:title="00000022 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/InventoryTables" xlink:title="00000023 - Disclosure - 2. Inventory (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentTables" xlink:title="00000024 - Disclosure - 3. Property, Plant and Equipment (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillTables" xlink:title="00000025 - Disclosure - 4. Intangible Assets and Goodwill (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableTables" xlink:title="00000026 - Disclosure - 5. Notes Payable (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/CommitmentsAndContingenciesTables" xlink:title="00000027 - Disclosure - 6. Commitments and Contingencies (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrantsTables" xlink:title="00000028 - Disclosure - 7. Outstanding Warrants (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrantsTables" xlink:title="00000029 - Disclosure - 8. Fair Value of Warrants (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsTables" xlink:title="00000030 - Disclosure - 9. Fair Value Measurements (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/Stock-basedCompensationTables" xlink:title="00000031 - Disclosure - 10. Stock-Based Compensation (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/AgreementsTables" xlink:title="00000032 - Disclosure - 11. Agreements (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationTables" xlink:title="00000033 - Disclosure - 12. Segment Information (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:title="00000034 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:title="00000035 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:title="00000036 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/InventoryDetails" xlink:title="00000037 - Disclosure - 2. Inventory (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InventoryRawMaterials" xlink:label="loc_us-gaapInventoryRawMaterials" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryRawMaterials" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InventoryWorkInProcess" xlink:label="loc_us-gaapInventoryWorkInProcess" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryWorkInProcess" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InventoryFinishedGoods" xlink:label="loc_us-gaapInventoryFinishedGoods" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryFinishedGoods" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentDetails" xlink:title="00000038 - Disclosure - 3. Property, Plant and Equipment (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaapPropertyPlantAndEquipmentGross" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Land" xlink:label="loc_us-gaapLand" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapLand" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FurnitureAndFixturesGross" xlink:label="loc_us-gaapFurnitureAndFixturesGross" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapFurnitureAndFixturesGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MachineryAndEquipmentGross" xlink:label="loc_us-gaapMachineryAndEquipmentGross" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapMachineryAndEquipmentGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConstructionInProgressGross" xlink:label="loc_us-gaapConstructionInProgressGross" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapConstructionInProgressGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BuildingsAndImprovementsGross" xlink:label="loc_us-gaapBuildingsAndImprovementsGross" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapBuildingsAndImprovementsGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:title="00000039 - Disclosure - 3. Property, Plant and Equipment (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetails" xlink:title="00000040 - Disclosure - 4. Intangible Assets and Goodwill (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsNet" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetailsNarrative" xlink:title="00000041 - Disclosure - 4. Intangible Assets and Goodwill (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetails" xlink:title="00000042 - Disclosure - 5. Notes Payable (Details)">
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_TotalDebt" xlink:label="loc_AMTXTotalDebt" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_ThirdEyeCapitalExistingTermNote" xlink:label="loc_AMTXThirdEyeCapitalExistingTermNote" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_AMTXThirdEyeCapitalExistingTermNote" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_ThirdEyeCapitalRevolvingCreditFacility" xlink:label="loc_AMTXThirdEyeCapitalRevolvingCreditFacility" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_AMTXThirdEyeCapitalRevolvingCreditFacility" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_ThirdEyeCapitalRevenueParticipationConvertedToTermNote" xlink:label="loc_AMTXThirdEyeCapitalRevenueParticipationConvertedToTermNote" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_AMTXThirdEyeCapitalRevenueParticipationConvertedToTermNote" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_ThirdEyeCapitalAcquisitionTermNote" xlink:label="loc_AMTXThirdEyeCapitalAcquisitionTermNote" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_AMTXThirdEyeCapitalAcquisitionTermNote" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_StateBankOfIndiaSecuredTermLoan" xlink:label="loc_AMTXStateBankOfIndiaSecuredTermLoan" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_AMTXStateBankOfIndiaSecuredTermLoan" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubordinatedDebt" xlink:label="loc_us-gaapSubordinatedDebt" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_us-gaapSubordinatedDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_Eb5LongTermPromissoryNotes" xlink:label="loc_AMTXEb5LongTermPromissoryNotes" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_AMTXEb5LongTermPromissoryNotes" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_UnsecuredDebtCurrent" xlink:label="loc_us-gaapUnsecuredDebtCurrent" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebt" xlink:to="loc_us-gaapUnsecuredDebtCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebtNoncurrent" xlink:to="loc_AMTXTotalDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtCurrent" xlink:label="loc_us-gaapDebtCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebtNoncurrent" xlink:to="loc_us-gaapDebtCurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetails1" xlink:title="00000043 - Disclosure - 5. Notes Payable (Details 1)">
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_TotalDebtNetOfDiscounts" xlink:label="loc_AMTXTotalDebtNetOfDiscounts" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebtNetOfDiscounts" xlink:to="loc_us-gaapLongTermDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_Discounts" xlink:label="loc_AMTXDiscounts" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalDebtNetOfDiscounts" xlink:to="loc_AMTXDiscounts" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetailsNarrative" xlink:title="00000044 - Disclosure - 5. Notes Payable (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/CommitmentsAndContingenciesDetails" xlink:title="00000045 - Disclosure - 6. Commitments and Contingencies (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:title="00000046 - Disclosure - 6. Commitments and Contingencies (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrantsDetails" xlink:title="00000047 - Disclosure - 7. Outstanding Warrants (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrantsDetails1" xlink:title="00000048 - Disclosure - 7. Outstanding Warrants (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrantsDetails" xlink:title="00000049 - Disclosure - 8. Fair Value of Warrants (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsDetails" xlink:title="00000050 - Disclosure - 9. Fair Value Measurements (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsDetails1" xlink:title="00000051 - Disclosure - 9. Fair Value Measurements (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/Stock-basedCompensationDetails" xlink:title="00000052 - Disclosure - 10. Stock-Based Compensation (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/Stock-basedCompensationDetails1" xlink:title="00000053 - Disclosure - 10. Stock-Based Compensation (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/AgreementsDetails" xlink:title="00000054 - Disclosure - 11. Agreements (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/AgreementsDetailsNarrative" xlink:title="00000055 - Disclosure - 11. Agreements (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationDetails" xlink:title="00000056 - Disclosure - 12. Segment Information (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationDetails1" xlink:title="00000057 - Disclosure - 12. Segment Information (Details 1)">
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_TotalAssets" xlink:label="loc_AMTXTotalAssets" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_NorthAmericaUnitedStates" xlink:label="loc_AMTXNorthAmericaUnitedStates" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalAssets" xlink:to="loc_AMTXNorthAmericaUnitedStates" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20150331.xsd#AMTX_India3" xlink:label="loc_AMTXIndia3" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AMTXTotalAssets" xlink:to="loc_AMTXIndia3" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:title="00000058 - Disclosure - 13. Related Party Transactions (Details Narrative)" />
</link:linkbase>
