<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 4.14a -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co -->
    <!-- Field: Doc-Info; Name: Source; Value: applied_10q%2D20160630.xfr; Date: 2016%2D08%2D05T00:45:10Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80160000 -->
<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://ao-inc.com/role/DocumentAndEntityInformation" xlink:href="aaoi-20160630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="aaoi-20160630.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="aaoi-20160630.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="aaoi-20160630.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="aaoi-20160630.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/CondensedConsolidatedStatementsOfStockholdersEquityDeficit" xlink:href="aaoi-20160630.xsd#CondensedConsolidatedStatementsOfStockholdersEquityDeficit" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="aaoi-20160630.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/DescriptionOfBusiness" xlink:href="aaoi-20160630.xsd#DescriptionOfBusiness" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/SignificantAccountingPolicies" xlink:href="aaoi-20160630.xsd#SignificantAccountingPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/FairValueOfFinancialInstruments" xlink:href="aaoi-20160630.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/EarningsPerShare" xlink:href="aaoi-20160630.xsd#EarningsPerShare" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/Inventories" xlink:href="aaoi-20160630.xsd#Inventories" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/PropertyPlantAndEquipment" xlink:href="aaoi-20160630.xsd#PropertyPlantAndEquipment" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/IntangibleAssets" xlink:href="aaoi-20160630.xsd#IntangibleAssets" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/NotesPayableAndLong-termDebt" xlink:href="aaoi-20160630.xsd#NotesPayableAndLong-termDebt" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/AccruedLiabilites" xlink:href="aaoi-20160630.xsd#AccruedLiabilites" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/OtherIncomeAndExpense" xlink:href="aaoi-20160630.xsd#OtherIncomeAndExpense" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/Share-basedCompensation" xlink:href="aaoi-20160630.xsd#Share-basedCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/StockholdersEquity" xlink:href="aaoi-20160630.xsd#StockholdersEquity" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/GeographicInformation" xlink:href="aaoi-20160630.xsd#GeographicInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/SubsequentEvents" xlink:href="aaoi-20160630.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/DescriptionOfBusinessPolicies" xlink:href="aaoi-20160630.xsd#DescriptionOfBusinessPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/SignificantAccountingPoliciesPolicies" xlink:href="aaoi-20160630.xsd#SignificantAccountingPoliciesPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="aaoi-20160630.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/EarningsPerShareTables" xlink:href="aaoi-20160630.xsd#EarningsPerShareTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/InventoriesTables" xlink:href="aaoi-20160630.xsd#InventoriesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/PropertyPlantAndEquipmentTables" xlink:href="aaoi-20160630.xsd#PropertyPlantAndEquipmentTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/IntangibleAssetsTables" xlink:href="aaoi-20160630.xsd#IntangibleAssetsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/NotesPayableAndLong-termDebtTables" xlink:href="aaoi-20160630.xsd#NotesPayableAndLong-termDebtTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/AccruedLiabilitesTables" xlink:href="aaoi-20160630.xsd#AccruedLiabilitesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/OtherIncomeAndExpenseTables" xlink:href="aaoi-20160630.xsd#OtherIncomeAndExpenseTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/Share-basedCompensationTables" xlink:href="aaoi-20160630.xsd#Share-basedCompensationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/GeographicInformationTables" xlink:href="aaoi-20160630.xsd#GeographicInformationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/FairValueOfFinancialInstrumentsDetails" xlink:href="aaoi-20160630.xsd#FairValueOfFinancialInstrumentsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/EarningsPerShareDetails-epsCalculation" xlink:href="aaoi-20160630.xsd#EarningsPerShareDetails-epsCalculation" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/EarningsPerShareDetails-PotentiallyDilutiveShares" xlink:href="aaoi-20160630.xsd#EarningsPerShareDetails-PotentiallyDilutiveShares" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/InventoriesDetails" xlink:href="aaoi-20160630.xsd#InventoriesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/InventoryDetailsNarrative" xlink:href="aaoi-20160630.xsd#InventoryDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/PropertyPlantAndEquipmentDetails" xlink:href="aaoi-20160630.xsd#PropertyPlantAndEquipmentDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:href="aaoi-20160630.xsd#PropertyPlantAndEquipmentDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/IntangibleAssetsDetails" xlink:href="aaoi-20160630.xsd#IntangibleAssetsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/IntangibleAssetsDetailsNarrative" xlink:href="aaoi-20160630.xsd#IntangibleAssetsDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/NotesPayableAndLong-termDebtDetails" xlink:href="aaoi-20160630.xsd#NotesPayableAndLong-termDebtDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/NotesPayableAndLong-termDebtDetails-DebtMaturities" xlink:href="aaoi-20160630.xsd#NotesPayableAndLong-termDebtDetails-DebtMaturities" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/NotesPayableAndLong-termDebtDetailsNarrative" xlink:href="aaoi-20160630.xsd#NotesPayableAndLong-termDebtDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/AccruedLiabilitiesDetails" xlink:href="aaoi-20160630.xsd#AccruedLiabilitiesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/OtherIncomeAndExpenseDetails" xlink:href="aaoi-20160630.xsd#OtherIncomeAndExpenseDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/Share-basedCompensationDetails-optionActivity" xlink:href="aaoi-20160630.xsd#Share-basedCompensationDetails-optionActivity" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/Share-basedCompensationDetails-restrictedStockUnits" xlink:href="aaoi-20160630.xsd#Share-basedCompensationDetails-restrictedStockUnits" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/Share-basedCompensationDetails-shareBasedCompensationExpense" xlink:href="aaoi-20160630.xsd#Share-basedCompensationDetails-shareBasedCompensationExpense" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/Share-basedCompensationDetailsNarrative" xlink:href="aaoi-20160630.xsd#Share-basedCompensationDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/StockholdersEquityDetailsNarrative" xlink:href="aaoi-20160630.xsd#StockholdersEquityDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/GeographicInformationDetails-Revenues" xlink:href="aaoi-20160630.xsd#GeographicInformationDetails-Revenues" xlink:type="simple" />
    <link:roleRef roleURI="http://ao-inc.com/role/GeographicInformationDetails-LongLivedAssets" xlink:href="aaoi-20160630.xsd#GeographicInformationDetails-LongLivedAssets" xlink:type="simple" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/CondensedConsolidatedBalanceSheets" xlink:title="00000002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalents" xlink:label="loc_us-gaapRestrictedCashAndCashEquivalents" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapRestrictedCashAndCashEquivalents" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAccountsReceivableNetCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
      <link:calculationArc order="4" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaapShortTermInvestments" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapShortTermInvestments" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets" />
      <link:calculationArc order="1" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="2" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedContractualRights" xlink:label="loc_us-gaapIndefiniteLivedContractualRights" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapIndefiniteLivedContractualRights" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaapOtherAssetsNoncurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapOtherAssetsNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BankAcceptancesExecutedAndOutstanding" xlink:label="loc_us-gaapBankAcceptancesExecutedAndOutstanding" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapBankAcceptancesExecutedAndOutstanding" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaapLongTermDebtCurrent" />
      <link:calculationArc order="4" 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="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaapLiabilities" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLongTermDebtNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue" />
      <link:calculationArc order="1" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaapAdditionalPaidInCapital" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAdditionalPaidInCapital" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit" />
      <link:calculationArc order="3" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaapPreferredStockValue" />
      <link:calculationArc order="5" 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/2016/elts/us-gaap-2016-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-gaapLiabilities" 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:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:title="00000003 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:title="00000004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaapGrossProfit" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaapCostOfGoodsSold" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapCostOfGoodsSold" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaapOperatingExpenses" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaapResearchAndDevelopmentExpense" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapResearchAndDevelopmentExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaapSellingAndMarketingExpense" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapSellingAndMarketingExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaapGeneralAndAdministrativeExpense" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapGeneralAndAdministrativeExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapOperatingExpenses" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaapNonoperatingIncomeExpense" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndOtherIncome" xlink:label="loc_us-gaapInterestAndOtherIncome" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestAndOtherIncome" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaapOtherNonoperatingIncomeExpense" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapOperatingIncomeLoss" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapNonoperatingIncomeExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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-gaapProfitLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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://ao-inc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:title="00000005 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTax" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapNetIncomeLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/CondensedConsolidatedStatementsOfStockholdersEquityDeficit" xlink:title="00000006 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:title="00000007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapNetIncomeLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaapInventoryWriteDown" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapInventoryWriteDown" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaapDepreciationAndAmortization" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapDepreciationAndAmortization" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaapGainLossOnDispositionOfAssets" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapGainLossOnDispositionOfAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapShareBasedCompensation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsReceivable" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsReceivable" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInInventories" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets" xlink:label="loc_us-gaapIncreaseDecreaseInOtherCurrentAssets" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInOtherCurrentAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayable" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayable" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInAccruedLiabilities" />
      <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccruedLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax" xlink:label="loc_us-gaapUnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax" />
      <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapUnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="aaoi-20160630.xsd#AAOI_BankAcceptanceReceivable" xlink:label="loc_AAOIBankAcceptanceReceivable" />
      <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_AAOIBankAcceptanceReceivable" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaapProceedsFromSaleOfPropertyPlantAndEquipment" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromSaleOfPropertyPlantAndEquipment" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireIntangibleAssets" xlink:label="loc_us-gaapPaymentsToAcquireIntangibleAssets" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquireIntangibleAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments" xlink:label="loc_us-gaapPaymentsToAcquireShortTermInvestments" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquireShortTermInvestments" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCashAndInvestmentsForOperatingActivities" xlink:label="loc_us-gaapIncreaseDecreaseInRestrictedCashAndInvestmentsForOperatingActivities" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInRestrictedCashAndInvestmentsForOperatingActivities" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments" xlink:label="loc_us-gaapProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForDeposits" xlink:label="loc_us-gaapPaymentsForDeposits" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsForDeposits" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromIssuanceOfDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaapRepaymentsOfDebt" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapRepaymentsOfDebt" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaapProceedsFromLinesOfCredit" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromLinesOfCredit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaapRepaymentsOfLinesOfCredit" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapRepaymentsOfLinesOfCredit" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromBankDebt" xlink:label="loc_us-gaapProceedsFromBankDebt" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromBankDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfBankDebt" xlink:label="loc_us-gaapRepaymentsOfBankDebt" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapRepaymentsOfBankDebt" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash" xlink:label="loc_us-gaapIncreaseDecreaseInRestrictedCash" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInRestrictedCash" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaapProceedsFromStockOptionsExercised" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromStockOptionsExercised" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfNotesPayable" xlink:label="loc_us-gaapRepaymentsOfNotesPayable" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapRepaymentsOfNotesPayable" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectOfExchangeRateOnCash" xlink:label="loc_us-gaapEffectOfExchangeRateOnCash" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapEffectOfExchangeRateOnCash" 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-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" 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-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:type="arc" weight="1" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/DescriptionOfBusiness" xlink:title="00000008 - Disclosure - 1. Description of Business" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/SignificantAccountingPolicies" xlink:title="00000009 - Disclosure - 2. Significant Accounting Policies" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/FairValueOfFinancialInstruments" xlink:title="00000010 - Disclosure - 3. Fair Value of Financial Instruments" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/EarningsPerShare" xlink:title="00000011 - Disclosure - 4. Earnings Per Share" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/Inventories" xlink:title="00000012 - Disclosure - 5. Inventories" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/PropertyPlantAndEquipment" xlink:title="00000013 - Disclosure - 6. Property, Plant and Equipment" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/IntangibleAssets" xlink:title="00000014 - Disclosure - 7. Intangible Assets" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/NotesPayableAndLong-termDebt" xlink:title="00000015 - Disclosure - 8. Notes Payable and Long-Term Debt" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/AccruedLiabilites" xlink:title="00000016 - Disclosure - 9. Accrued Liabilites" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/OtherIncomeAndExpense" xlink:title="00000017 - Disclosure - 10. Other Income and Expense" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/Share-basedCompensation" xlink:title="00000018 - Disclosure - 11. Share-Based Compensation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/StockholdersEquity" xlink:title="00000019 - Disclosure - 12. Stockholders' Equity" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/GeographicInformation" xlink:title="00000020 - Disclosure - 13. Geographic Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/SubsequentEvents" xlink:title="00000021 - Disclosure - 14. Subsequent Events" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/DescriptionOfBusinessPolicies" xlink:title="00000022 - Disclosure - 1. Description of Business (Policies)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/SignificantAccountingPoliciesPolicies" xlink:title="00000023 - Disclosure - 2. Significant Accounting Policies (Policies)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/FairValueOfFinancialInstrumentsTables" xlink:title="00000024 - Disclosure - 3. Fair Value of Financial Instruments (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/EarningsPerShareTables" xlink:title="00000025 - Disclosure - 4. Earnings Per Share (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/InventoriesTables" xlink:title="00000026 - Disclosure - 5. Inventories (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/PropertyPlantAndEquipmentTables" xlink:title="00000027 - Disclosure - 6. Property, Plant and Equipment (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/IntangibleAssetsTables" xlink:title="00000028 - Disclosure - 7. Intangible Assets (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/NotesPayableAndLong-termDebtTables" xlink:title="00000029 - Disclosure - 8. Notes Payable and Long-Term Debt (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/AccruedLiabilitesTables" xlink:title="00000030 - Disclosure - 9. Accrued Liabilites (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/OtherIncomeAndExpenseTables" xlink:title="00000031 - Disclosure - 10. Other Income and Expense (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/Share-basedCompensationTables" xlink:title="00000032 - Disclosure - 11. Share-Based Compensation (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/GeographicInformationTables" xlink:title="00000033 - Disclosure - 13. Geographic Information (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/FairValueOfFinancialInstrumentsDetails" xlink:title="00000034 - Disclosure - 3. Fair Value of Financial Instruments (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/EarningsPerShareDetails-epsCalculation" xlink:title="00000035 - Disclosure - 4. Earnings Per Share (Details-EPS calculation)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/EarningsPerShareDetails-PotentiallyDilutiveShares" xlink:title="00000036 - Disclosure - 4. Earnings Per Share (Details - Potentially Dilutive Shares)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/InventoriesDetails" xlink:title="00000037 - Disclosure - 5. Inventories (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves" xlink:label="loc_us-gaapInventoryRawMaterialsNetOfReserves" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryRawMaterialsNetOfReserves" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaapInventoryWorkInProcessNetOfReserves" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryWorkInProcessNetOfReserves" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaapInventoryFinishedGoodsNetOfReserves" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryFinishedGoodsNetOfReserves" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/InventoryDetailsNarrative" xlink:title="00000038 - Disclosure - 5. Inventory (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/PropertyPlantAndEquipmentDetails" xlink:title="00000039 - Disclosure - 6. Property, Plant and Equipment (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOther" xlink:label="loc_us-gaapPropertyPlantAndEquipmentOther" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaapPropertyPlantAndEquipmentGross" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentOther" xlink:to="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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-gaapPropertyPlantAndEquipmentOther" xlink:to="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-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-gaapPropertyPlantAndEquipmentOther" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionInProgressGross" xlink:label="loc_us-gaapConstructionInProgressGross" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapConstructionInProgressGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Land" xlink:label="loc_us-gaapLand" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapLand" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:title="00000040 - Disclosure - 6. Property, Plant and Equipment (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/IntangibleAssetsDetails" xlink:title="00000041 - Disclosure - 7. Intangible Assets (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/IntangibleAssetsDetailsNarrative" xlink:title="00000042 - Disclosure - 7. Intangible Assets (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/NotesPayableAndLong-termDebtDetails" xlink:title="00000043 - Disclosure - 8. Notes Payable and Long-Term Debt (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/NotesPayableAndLong-termDebtDetails-DebtMaturities" xlink:title="00000044 - Disclosure - 8. Notes Payable and Long-Term Debt (Details - Debt maturities)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermNotesAndLoans" xlink:label="loc_us-gaapLongTermNotesAndLoans" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermNotesAndLoans" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermNotesAndLoans" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermNotesAndLoans" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermNotesAndLoans" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermNotesAndLoans" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermNotesAndLoans" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/NotesPayableAndLong-termDebtDetailsNarrative" xlink:title="00000045 - Disclosure - 8. Notes Payable and Long-Term Debt (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/AccruedLiabilitiesDetails" xlink:title="00000046 - Disclosure - 9. Accrued Liabilities (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaapEmployeeRelatedLiabilitiesCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapEmployeeRelatedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedEmployeeBenefitsCurrent" xlink:label="loc_us-gaapAccruedEmployeeBenefitsCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedEmployeeBenefitsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxesPayableCurrent" xlink:label="loc_us-gaapTaxesPayableCurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapTaxesPayableCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="aaoi-20160630.xsd#AAOI_AdvancePayments" xlink:label="loc_AAOIAdvancePayments" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_AAOIAdvancePayments" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent" xlink:label="loc_us-gaapProductWarrantyAccrualClassifiedCurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapProductWarrantyAccrualClassifiedCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaapOtherAccruedLiabilitiesCurrent" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapOtherAccruedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedRentCurrentAndNoncurrent" xlink:label="loc_us-gaapAccruedRentCurrentAndNoncurrent" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedRentCurrentAndNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionPayableCurrent" xlink:label="loc_us-gaapConstructionPayableCurrent" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapConstructionPayableCurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/OtherIncomeAndExpenseDetails" xlink:title="00000047 - Disclosure - 10. Other Income and Expense (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaapOtherNonoperatingIncomeExpense" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized" xlink:label="loc_us-gaapForeignCurrencyTransactionGainLossRealized" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapForeignCurrencyTransactionGainLossRealized" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="aaoi-20160630.xsd#AAOI_GovernmentSubsidyIncome" xlink:label="loc_AAOIGovernmentSubsidyIncome" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_AAOIGovernmentSubsidyIncome" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingGainsLosses" xlink:label="loc_us-gaapOtherNonoperatingGainsLosses" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapOtherNonoperatingGainsLosses" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets1" xlink:label="loc_us-gaapGainLossOnDispositionOfAssets1" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapGainLossOnDispositionOfAssets1" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized" xlink:label="loc_us-gaapForeignCurrencyTransactionGainLossUnrealized" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapForeignCurrencyTransactionGainLossUnrealized" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/Share-basedCompensationDetails-optionActivity" xlink:title="00000048 - Disclosure - 11. Share-Based Compensation (Details-Option activity)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/Share-basedCompensationDetails-restrictedStockUnits" xlink:title="00000049 - Disclosure - 11. Share-Based Compensation (Details-Restricted Stock Units)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/Share-basedCompensationDetails-shareBasedCompensationExpense" xlink:title="00000050 - Disclosure - 11. Share-Based Compensation (Details-Share based compensation expense)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/Share-basedCompensationDetailsNarrative" xlink:title="00000051 - Disclosure - 11. Share-Based Compensation (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/StockholdersEquityDetailsNarrative" xlink:title="00000052 - Disclosure - 12. Stockholders Equity (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/GeographicInformationDetails-Revenues" xlink:title="00000053 - Disclosure - 13. Geographic Information (Details - Revenues)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://ao-inc.com/role/GeographicInformationDetails-LongLivedAssets" xlink:title="00000054 - Disclosure - 13. Geographic Information (Details - Long lived assets)" />
</link:linkbase>
