<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: QXInteractive; Version: 3.5d -->
    <!-- Field: Doc-Info; Name: Source; Value: AMTX 03312014 10Q1.xfr; Date: 2014/05/15T17:39:08 -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80010000 -->
<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-20140331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedBalanceSheet" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedBalanceSheet" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedBalanceSheetParenthetical" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedBalanceSheetParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedStatementsOfCashFlows" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedStatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:href="amtx-20140331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Inventory" xlink:href="amtx-20140331.xsd#Inventory" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipment" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipment" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwill" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwill" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayable" xlink:href="amtx-20140331.xsd#NotesPayable" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeases" xlink:href="amtx-20140331.xsd#OperatingLeases" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrants" xlink:href="amtx-20140331.xsd#OutstandingWarrants" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrants" xlink:href="amtx-20140331.xsd#FairValueOfWarrants" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurements" xlink:href="amtx-20140331.xsd#FairValueMeasurements" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensation" xlink:href="amtx-20140331.xsd#StockBasedCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Agreements" xlink:href="amtx-20140331.xsd#Agreements" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformation" xlink:href="amtx-20140331.xsd#SegmentInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/RelatedPartyTransactions" xlink:href="amtx-20140331.xsd#RelatedPartyTransactions" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SubsequentEvents" xlink:href="amtx-20140331.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ManagementsPlan" xlink:href="amtx-20140331.xsd#ManagementsPlan" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="amtx-20140331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="amtx-20140331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryTables" xlink:href="amtx-20140331.xsd#InventoryTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentTables" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipmentTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillTables" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwillTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableTables" xlink:href="amtx-20140331.xsd#NotesPayableTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeasesTables" xlink:href="amtx-20140331.xsd#OperatingLeasesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrantsTables" xlink:href="amtx-20140331.xsd#OutstandingWarrantsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrantsTables" xlink:href="amtx-20140331.xsd#FairValueOfWarrantsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsTables" xlink:href="amtx-20140331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationTables" xlink:href="amtx-20140331.xsd#StockBasedCompensationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/AgreementsTables" xlink:href="amtx-20140331.xsd#AgreementsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationTables" xlink:href="amtx-20140331.xsd#SegmentInformationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="amtx-20140331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:href="amtx-20140331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:href="amtx-20140331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryDetails" xlink:href="amtx-20140331.xsd#InventoryDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryDetailsNarrative" xlink:href="amtx-20140331.xsd#InventoryDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentDetails" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipmentDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipmentDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetails" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwillDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetailsNarrative" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwillDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetails" xlink:href="amtx-20140331.xsd#NotesPayableDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetails1" xlink:href="amtx-20140331.xsd#NotesPayableDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetailsNarrative" xlink:href="amtx-20140331.xsd#NotesPayableDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeasesDetails1" xlink:href="amtx-20140331.xsd#OperatingLeasesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeasesDetailsNarrative" xlink:href="amtx-20140331.xsd#OperatingLeasesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrantsDetails" xlink:href="amtx-20140331.xsd#OutstandingWarrantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrantsDetails" xlink:href="amtx-20140331.xsd#FairValueOfWarrantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsDetails" xlink:href="amtx-20140331.xsd#FairValueMeasurementsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsDetails1" xlink:href="amtx-20140331.xsd#FairValueMeasurementsDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationDetails" xlink:href="amtx-20140331.xsd#StockBasedCompensationDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationDetails1" xlink:href="amtx-20140331.xsd#StockBasedCompensationDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationDetailsNarrative" xlink:href="amtx-20140331.xsd#StockBasedCompensationDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/AgreementsDetails" xlink:href="amtx-20140331.xsd#AgreementsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationDetails" xlink:href="amtx-20140331.xsd#SegmentInformationDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationDetails1" xlink:href="amtx-20140331.xsd#SegmentInformationDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:href="amtx-20140331.xsd#RelatedPartyTransactionsDetailsNarrative" xlink:type="simple" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/DocumentAndEntityInformation" xlink:title="0001 - Document - Document and Entity Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedBalanceSheet" xlink:title="0002 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AccountsAndOtherReceivablesNetCurrent" xlink:label="loc_us-gaapAccountsAndOtherReceivablesNetCurrent" />
      <link:calculationArc order="200" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
      <link:calculationArc order="300" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="loc_us-gaapPrepaidExpenseCurrent" />
      <link:calculationArc order="400" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaapOtherAssetsCurrent" />
      <link:calculationArc order="500" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetIncludingGoodwill" />
      <link:calculationArc order="200" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaapOtherAssets" />
      <link:calculationArc order="300" 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="400" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetResidualValue" xlink:label="loc_us-gaapAcquiredFiniteLivedIntangibleAssetResidualValue" />
      <link:calculationArc order="500" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaapAccountsPayableCurrent" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaapLongTermDebtCurrent" />
      <link:calculationArc order="200" 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-20140331.xsd#AMTX_MandatorilyRedeemableSeriesBPreferred" xlink:label="loc_AMTXMandatorilyRedeemableSeriesBPreferred" />
      <link:calculationArc order="300" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaapOtherLiabilitiesCurrent" />
      <link:calculationArc order="400" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaapShortTermBorrowings" />
      <link:calculationArc order="500" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent" />
      <link:calculationArc order="100" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherLongTermDebt" xlink:label="loc_us-gaapOtherLongTermDebt" />
      <link:calculationArc order="200" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapOtherLongTermDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaapPreferredStockValue" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue" />
      <link:calculationArc order="200" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaapAdditionalPaidInCapitalCommonStock" />
      <link:calculationArc order="300" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit" />
      <link:calculationArc order="400" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" />
      <link:calculationArc order="500" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity" />
      <link:calculationArc order="100" 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="200" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLongTermDebt" xlink:type="arc" weight="1" />
      <link:calculationArc order="300" 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:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedBalanceSheetParenthetical" xlink:title="0003 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited) (Parenthetical)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:title="0004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME / (LOSS) (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaapGrossProfit" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaapSalesRevenueNet" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaapCostOfGoodsAndServicesSold" />
      <link:calculationArc order="200" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaapResearchAndDevelopmentExpense" />
      <link:calculationArc order="200" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaapSellingGeneralAndAdministrativeExpense" />
      <link:calculationArc order="300" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ExtinguishmentOfDebtGainLossNetOfTax" xlink:label="loc_us-gaapExtinguishmentOfDebtGainLossNetOfTax" />
      <link:calculationArc order="200" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaapGainLossOnDispositionOfAssets" />
      <link:calculationArc order="300" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapGainLossOnDispositionOfAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaapOtherNonoperatingIncomeExpense" />
      <link:calculationArc order="400" 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="500" 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="amtx-20140331.xsd#AMTX_AmortizationExpense" xlink:label="loc_AMTXAmortizationExpense" />
      <link:calculationArc order="600" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_AMTXAmortizationExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit" />
      <link:calculationArc order="200" 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="0005 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation" />
      <link:calculationArc order="200" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaapDepreciationAndAmortization" />
      <link:calculationArc order="300" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDepreciationAndAmortization" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_ChangeInFairValueOfWarrantLiability" xlink:label="loc_AMTXChangeInFairValueOfWarrantLiability" />
      <link:calculationArc order="400" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AMTXChangeInFairValueOfWarrantLiability" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_LossOnExtinguishmentOfDebt" xlink:label="loc_AMTXLossOnExtinguishmentOfDebt" />
      <link:calculationArc order="500" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AMTXLossOnExtinguishmentOfDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables" xlink:label="loc_us-gaapIncreaseDecreaseInReceivables" />
      <link:calculationArc order="600" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories" />
      <link:calculationArc order="700" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidExpense" xlink:label="loc_us-gaapIncreaseDecreaseInPrepaidExpense" />
      <link:calculationArc order="800" 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="amtx-20140331.xsd#AMTX_OtherCurrentAssetsAndOtherAssets" xlink:label="loc_AMTXOtherCurrentAssetsAndOtherAssets" />
      <link:calculationArc order="900" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AMTXOtherCurrentAssetsAndOtherAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_AccountsPayable1" xlink:label="loc_AMTXAccountsPayable1" />
      <link:calculationArc order="1000" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AMTXAccountsPayable1" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_AccruedInterestExpense" xlink:label="loc_AMTXAccruedInterestExpense" />
      <link:calculationArc order="1100" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AMTXAccruedInterestExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_OtherLiabilities1" xlink:label="loc_AMTXOtherLiabilities1" />
      <link:calculationArc order="1200" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AMTXOtherLiabilities1" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_AmortizationExpense1" xlink:label="loc_AMTXAmortizationExpense1" />
      <link:calculationArc order="1300" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AMTXAmortizationExpense1" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="loc_us-gaapAmortizationOfDebtDiscountPremium" />
      <link:calculationArc order="1400" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaapGainLossOnDispositionOfAssets" />
      <link:calculationArc order="1500" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGainLossOnDispositionOfAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" />
      <link:calculationArc order="100" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherAssets1" xlink:label="loc_us-gaapProceedsFromSaleOfOtherAssets1" />
      <link:calculationArc order="200" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapProceedsFromSaleOfOtherAssets1" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_ProceedsFromBorrowingUnderSecuredDebtFacilities" xlink:label="loc_AMTXProceedsFromBorrowingUnderSecuredDebtFacilities" />
      <link:calculationArc order="100" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_AMTXProceedsFromBorrowingUnderSecuredDebtFacilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_RepaymentsOfBorrowingUnderSecuredDebtFacilities" xlink:label="loc_AMTXRepaymentsOfBorrowingUnderSecuredDebtFacilities" />
      <link:calculationArc order="200" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_AMTXRepaymentsOfBorrowingUnderSecuredDebtFacilities" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" />
      <link:calculationArc order="100" 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="200" 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="300" 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/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaapEffectOfExchangeRateOnCashAndCashEquivalents" />
      <link:calculationArc order="400" 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="0006 - 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="0007 - Disclosure - 2. Inventory" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipment" xlink:title="0008 - Disclosure - 3. Property, Plant and Equipment" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwill" xlink:title="0009 - Disclosure - 4. Intangible Assets and Goodwill" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayable" xlink:title="0010 - Disclosure - 5. Notes Payable" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeases" xlink:title="0011 - Disclosure - 6. Operating Leases" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrants" xlink:title="0012 - Disclosure - 7. Outstanding Warrants" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrants" xlink:title="0013 - Disclosure - 8. Fair Value of Warrants" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurements" xlink:title="0014 - Disclosure - 9. Fair Value Measurements" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensation" xlink:title="0015 - Disclosure - 10. Stock Based Compensation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/Agreements" xlink:title="0016 - Disclosure - 11. Agreements" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformation" xlink:title="0017 - Disclosure - 12. Segment Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/RelatedPartyTransactions" xlink:title="0018 - Disclosure - 13. Related Party Transactions" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SubsequentEvents" xlink:title="0019 - Disclosure - 14. Subsequent Events" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/ManagementsPlan" xlink:title="0020 - Disclosure - 15. Management's Plan" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:title="0021 - 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="0022 - 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="0023 - Disclosure - 2. Inventory (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentTables" xlink:title="0024 - Disclosure - 3. Property, Plant and Equipment (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillTables" xlink:title="0025 - Disclosure - 4. Intangible Assets and Goodwill (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableTables" xlink:title="0026 - Disclosure - 5. Notes Payable (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeasesTables" xlink:title="0027 - Disclosure - 6. Operating Leases (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrantsTables" xlink:title="0028 - Disclosure - 7. Outstanding Warrants (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrantsTables" xlink:title="0029 - Disclosure - 8. Fair Value of Warrants (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsTables" xlink:title="0030 - Disclosure - 9. Fair Value Measurements (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationTables" xlink:title="0031 - Disclosure - 10. Stock Based Compensation (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/AgreementsTables" xlink:title="0032 - Disclosure - 11. Agreements (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationTables" xlink:title="0033 - Disclosure - 12. Segment Information (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:title="0034 - 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="0035 - 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="0036 - 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="0037 - Disclosure - 2. Inventory (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/InventoryDetailsNarrative" xlink:title="0038 - Disclosure - 2. Inventory (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentDetails" xlink:title="0039 - Disclosure - 3. Property, Plant and Equipment (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:title="0040 - Disclosure - 3. Property, Plant and Equipment (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetails" xlink:title="0041 - Disclosure - 4. Intangible Assets and Goodwill (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetailsNarrative" xlink:title="0042 - Disclosure - 4. Intangible Assets and Goodwill (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetails" xlink:title="0043 - Disclosure - 5. Notes Payable (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetails1" xlink:title="0044 - Disclosure - 5. Notes Payable (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetailsNarrative" xlink:title="0045 - Disclosure - 5. Notes Payable (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeasesDetails1" xlink:title="0046 - Disclosure - 6. Operating Leases (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeasesDetailsNarrative" xlink:title="0047 - Disclosure - 6. Operating Leases (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrantsDetails" xlink:title="0048 - Disclosure - 7. Outstanding Warrants (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrantsDetails" xlink:title="0049 - Disclosure - 8. Fair Value of Warrants (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsDetails" xlink:title="0050 - Disclosure - 9. Fair Value Measurements (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsDetails1" xlink:title="0051 - Disclosure - 9. Fair Value Measurements (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationDetails" xlink:title="0052 - Disclosure - 10. Stock Based Compensation (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationDetails1" xlink:title="0053 - Disclosure - 10. Stock Based Compensation (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationDetailsNarrative" xlink:title="0054 - Disclosure - 10. Stock Based Compensation (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/AgreementsDetails" xlink:title="0055 - Disclosure - 11. Agreements (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationDetails" xlink:title="0056 - Disclosure - 12. Segment Information (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationDetails1" xlink:title="0057 - Disclosure - 12. Segment Information (Details 1)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aemetis.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:title="0058 - Disclosure - 13. Related Party Transactions (Details Narrative)" />
</link:linkbase>
