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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019cba89-85d4-7602-9f6a-e009174afa57,g:0235bcda-97f0-4312-a3e6-9eeaa129d1ca-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="aosl-20260331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019cba89-8757-7560-9c3f-0f0c75d21001" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_019cba89-8757-7560-9c3f-0f0c75d21001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019cba89-8757-7e16-9d8b-5842c2c5d945" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019cba89-8757-7e16-9d8b-5842c2c5d945" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019cba89-8757-7764-803d-da98cf991748" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019cba89-8757-7764-803d-da98cf991748" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019cba89-8757-7581-9e17-841abd97ad3a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019cba89-8757-7581-9e17-841abd97ad3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019cba89-8757-7ce6-8cfb-be73fb1aff06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019cba89-8757-7ce6-8cfb-be73fb1aff06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019cba89-8757-771b-9f4e-8b88981a0288" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019cba89-8757-771b-9f4e-8b88981a0288" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-71db-8493-20f9e26833b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cba89-8757-74dc-a9ad-3dae331f1e5b" xlink:to="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-71db-8493-20f9e26833b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8757-755f-a98c-34f2d8934999" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8757-755f-a98c-34f2d8934999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019cba89-8757-7d9c-ad0c-adde18621001" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019cba89-8757-7d9c-ad0c-adde18621001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019cba89-8757-74a5-8784-6829bca77e1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019cba89-8757-74a5-8784-6829bca77e1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cba89-8757-7778-813b-1f130fbd655b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:to="loc_us-gaap_AssetsCurrent_019cba89-8757-7778-813b-1f130fbd655b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019cba89-8757-7a73-a88b-4eaae38954db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:to="loc_us-gaap_EquityMethodInvestments_019cba89-8757-7a73-a88b-4eaae38954db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_019cba89-8757-73ae-bd47-ad4f9e66d031" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_019cba89-8757-73ae-bd47-ad4f9e66d031" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019cba89-8757-7611-9567-4113520dc227" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cba89-8757-7632-922d-385b5d6e433d" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019cba89-8757-7611-9567-4113520dc227" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8757-7269-9824-add8a1e4ca01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8757-7269-9824-add8a1e4ca01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_019cba89-8757-753a-ac88-8b73ae39caac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_019cba89-8757-753a-ac88-8b73ae39caac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019cba89-8757-7c44-9077-6b82fecfb2b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:to="loc_us-gaap_LongTermDebtCurrent_019cba89-8757-7c44-9077-6b82fecfb2b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019cba89-8757-76dc-a0cc-637de3f86eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019cba89-8757-76dc-a0cc-637de3f86eb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019cba89-8757-7fa6-a83a-e06e8eb6e23e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019cba89-8757-7fa6-a83a-e06e8eb6e23e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019cba89-8757-79e4-a5a0-e03905253a37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:to="loc_us-gaap_AccountsPayableCurrent_019cba89-8757-79e4-a5a0-e03905253a37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019cba89-8757-786d-a540-a501051934dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cba89-8757-7d09-93cb-08d29bc31127" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019cba89-8757-786d-a540-a501051934dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cba89-8757-7896-8c6d-3605622a54a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019cba89-8757-71ab-8ee0-5f638a8c6a19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cba89-8757-7896-8c6d-3605622a54a4" xlink:to="loc_us-gaap_Liabilities_019cba89-8757-71ab-8ee0-5f638a8c6a19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cba89-8757-7df7-87f1-b73a4f678a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cba89-8757-7896-8c6d-3605622a54a4" xlink:to="loc_us-gaap_StockholdersEquity_019cba89-8757-7df7-87f1-b73a4f678a2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019cba89-8757-79d1-82c1-e84e2382313a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cba89-8757-7896-8c6d-3605622a54a4" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019cba89-8757-79d1-82c1-e84e2382313a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cba89-8757-7af3-af24-c13c6a2911ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019cba89-8757-7543-a760-38847d234cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cba89-8757-7af3-af24-c13c6a2911ff" xlink:to="loc_us-gaap_PreferredStockValue_019cba89-8757-7543-a760-38847d234cf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cba89-8757-7d47-ac3c-ebebc71a47ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cba89-8757-7af3-af24-c13c6a2911ff" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cba89-8757-7d47-ac3c-ebebc71a47ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cba89-8757-77f3-b79a-6efa15f59dfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cba89-8757-7af3-af24-c13c6a2911ff" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cba89-8757-77f3-b79a-6efa15f59dfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019cba89-8757-7706-a23f-673104f42830" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cba89-8757-7af3-af24-c13c6a2911ff" xlink:to="loc_us-gaap_CommonStockValue_019cba89-8757-7706-a23f-673104f42830" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_019cba89-8757-7e92-9032-2afe40dff163" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cba89-8757-7af3-af24-c13c6a2911ff" xlink:to="loc_us-gaap_TreasuryStockValue_019cba89-8757-7e92-9032-2afe40dff163" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019cba89-8757-7266-83c8-e532e313ceee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cba89-8757-7af3-af24-c13c6a2911ff" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019cba89-8757-7266-83c8-e532e313ceee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cba89-8757-7fb3-8c4b-71f9a7678019" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cba89-8757-73d0-b4b0-673aa1201d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cba89-8757-7fb3-8c4b-71f9a7678019" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cba89-8757-73d0-b4b0-673aa1201d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_019cba89-8757-7fcf-aed8-51db56beba40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cba89-8757-7fb3-8c4b-71f9a7678019" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_019cba89-8757-7fcf-aed8-51db56beba40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019cba89-8757-7aad-8808-72c066d729bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cba89-8757-7fb3-8c4b-71f9a7678019" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019cba89-8757-7aad-8808-72c066d729bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_ReceivableOfEquityMethodInvestmentSales_019cba89-8757-70bd-b033-7ccb72708632" xlink:href="aosl-20260331.xsd#aosl_ReceivableOfEquityMethodInvestmentSales"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cba89-8757-7fb3-8c4b-71f9a7678019" xlink:to="loc_aosl_ReceivableOfEquityMethodInvestmentSales_019cba89-8757-70bd-b033-7ccb72708632" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019cba89-8757-7aff-b9c5-36abf2295954" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cba89-8757-7fb3-8c4b-71f9a7678019" xlink:to="loc_us-gaap_InventoryNet_019cba89-8757-7aff-b9c5-36abf2295954" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019cba89-8757-74d7-9833-20f97dd0372d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cba89-8757-7fb3-8c4b-71f9a7678019" xlink:to="loc_us-gaap_OtherAssetsCurrent_019cba89-8757-74d7-9833-20f97dd0372d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFINCOMELOSS" xlink:type="simple" xlink:href="aosl-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019cba89-8758-7b05-b310-e04350ae64be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019cba89-8758-78d0-801a-c4814260652f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019cba89-8758-7b05-b310-e04350ae64be" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019cba89-8758-78d0-801a-c4814260652f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019cba89-8758-7865-b7d6-94e0e40c5d5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019cba89-8758-7b05-b310-e04350ae64be" xlink:to="loc_us-gaap_CostOfRevenue_019cba89-8758-7865-b7d6-94e0e40c5d5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019cba89-8758-7f5d-bdad-d7de65590c15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019cba89-8758-775a-9117-2c287839441f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cba89-8758-7f5d-bdad-d7de65590c15" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019cba89-8758-775a-9117-2c287839441f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019cba89-8758-7173-9a24-7c29aa0d1127" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cba89-8758-7f5d-bdad-d7de65590c15" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019cba89-8758-7173-9a24-7c29aa0d1127" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-74f2-819c-ce797ee807f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019cba89-8758-7d31-8524-22b4b3234513" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-74f2-819c-ce797ee807f6" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019cba89-8758-7d31-8524-22b4b3234513" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019cba89-8758-7c85-993b-049460ef883c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-74f2-819c-ce797ee807f6" xlink:to="loc_us-gaap_OperatingIncomeLoss_019cba89-8758-7c85-993b-049460ef883c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019cba89-8758-7b84-acbc-535d42f66e69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-74f2-819c-ce797ee807f6" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019cba89-8758-7b84-acbc-535d42f66e69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019cba89-8758-72b2-8858-81d489a18ced" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-74f2-819c-ce797ee807f6" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019cba89-8758-72b2-8858-81d489a18ced" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_019cba89-8758-7018-b8c7-56c418652bf1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-74f2-819c-ce797ee807f6" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_019cba89-8758-7018-b8c7-56c418652bf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019cba89-8758-74b0-8b66-94e207848de4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019cba89-8758-7b73-be03-d4f76d0483e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019cba89-8758-74b0-8b66-94e207848de4" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019cba89-8758-7b73-be03-d4f76d0483e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestmentsNoncontrollingInterest_019cba89-8758-71f7-b5f2-adab4fe2e272" xlink:href="aosl-20260331.xsd#aosl_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestmentsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019cba89-8758-74b0-8b66-94e207848de4" xlink:to="loc_aosl_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestmentsNoncontrollingInterest_019cba89-8758-71f7-b5f2-adab4fe2e272" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019cba89-8758-7fdd-a307-6882342e2825" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019cba89-8758-73d4-80f0-14512e35c463" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019cba89-8758-7fdd-a307-6882342e2825" xlink:to="loc_us-gaap_GrossProfit_019cba89-8758-73d4-80f0-14512e35c463" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019cba89-8758-723e-a2cb-cc81f9d0b6e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019cba89-8758-7fdd-a307-6882342e2825" xlink:to="loc_us-gaap_OperatingExpenses_019cba89-8758-723e-a2cb-cc81f9d0b6e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestmentsNoncontrollingInterest_019cba89-8758-7a68-8245-a30e62cdb8d3" xlink:href="aosl-20260331.xsd#aosl_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestmentsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019cba89-8758-7ad8-80ad-89af7ceb6dd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestmentsNoncontrollingInterest_019cba89-8758-7a68-8245-a30e62cdb8d3" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019cba89-8758-7ad8-80ad-89af7ceb6dd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-7295-aa03-a98731402901" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestmentsNoncontrollingInterest_019cba89-8758-7a68-8245-a30e62cdb8d3" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019cba89-8758-7295-aa03-a98731402901" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="aosl-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019cba89-8758-72ef-a84a-c5dc20fbfe30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019cba89-8758-75c5-9e82-6a22ba4e8582" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019cba89-8758-72ef-a84a-c5dc20fbfe30" xlink:to="loc_us-gaap_ProfitLoss_019cba89-8758-75c5-9e82-6a22ba4e8582" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019cba89-8758-74da-b461-a307278761bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019cba89-8758-72ef-a84a-c5dc20fbfe30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019cba89-8758-74da-b461-a307278761bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_CumulativeTranslationAdjustmentDueToChangeOfEquityInterest_019cba89-8758-7dc5-a49a-a00d07012561" xlink:href="aosl-20260331.xsd#aosl_CumulativeTranslationAdjustmentDueToChangeOfEquityInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019cba89-8758-72ef-a84a-c5dc20fbfe30" xlink:to="loc_aosl_CumulativeTranslationAdjustmentDueToChangeOfEquityInterest_019cba89-8758-7dc5-a49a-a00d07012561" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="aosl-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7ae4-a20f-bcc15bf44090" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_019cba89-8758-7518-a616-72753ddfa418" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7ae4-a20f-bcc15bf44090" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_019cba89-8758-7518-a616-72753ddfa418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cba89-8758-7c82-96a6-6193af2cb4a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7ae4-a20f-bcc15bf44090" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cba89-8758-7c82-96a6-6193af2cb4a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019cba89-8758-71f2-83ba-a3f99dd239f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7ae4-a20f-bcc15bf44090" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019cba89-8758-71f2-83ba-a3f99dd239f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019cba89-8758-76f5-9798-3ebf54683b4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7ae4-a20f-bcc15bf44090" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019cba89-8758-76f5-9798-3ebf54683b4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_ProceedsFromGovernmentGrantRelatedToEquipment_019cba89-8758-7e58-9fa3-82d81c69c13e" xlink:href="aosl-20260331.xsd#aosl_ProceedsFromGovernmentGrantRelatedToEquipment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7ae4-a20f-bcc15bf44090" xlink:to="loc_aosl_ProceedsFromGovernmentGrantRelatedToEquipment_019cba89-8758-7e58-9fa3-82d81c69c13e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_019cba89-8758-7682-a3ef-299c6b9cf51b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromLoansReceivable"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7ae4-a20f-bcc15bf44090" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_019cba89-8758-7682-a3ef-299c6b9cf51b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cba89-8758-7417-965a-6b4e9b28ed2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-785a-8912-dde76d552b3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cba89-8758-7417-965a-6b4e9b28ed2b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-785a-8912-dde76d552b3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7490-81ea-4784e87ca945" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cba89-8758-7417-965a-6b4e9b28ed2b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cba89-8758-7490-81ea-4784e87ca945" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-733c-8fb5-d10c1d452bbe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cba89-8758-7417-965a-6b4e9b28ed2b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-733c-8fb5-d10c1d452bbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cba89-8758-71fa-99f0-0fefce546630" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cba89-8758-7417-965a-6b4e9b28ed2b" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cba89-8758-71fa-99f0-0fefce546630" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019cba89-8758-757b-a776-80dad787c8c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_ProfitLoss_019cba89-8758-757b-a776-80dad787c8c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_019cba89-8758-708b-bd3e-ee2dc0449fbd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_019cba89-8758-708b-bd3e-ee2dc0449fbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019cba89-8758-7eb9-be1b-4267803b20e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019cba89-8758-7eb9-be1b-4267803b20e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019cba89-8758-7b7c-b5cd-3eae1c5fb440" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_ShareBasedCompensation_019cba89-8758-7b7c-b5cd-3eae1c5fb440" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_019cba89-8758-79b2-bd3f-af69c69c2f43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_019cba89-8758-79b2-bd3f-af69c69c2f43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019cba89-8758-7c2b-b7cf-e6059569fe55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019cba89-8758-7c2b-b7cf-e6059569fe55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019cba89-8758-781b-8f08-2c7924197ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019cba89-8758-781b-8f08-2c7924197ae9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019cba89-8758-7750-9a86-c19966f9cf9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019cba89-8758-7750-9a86-c19966f9cf9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_019cba89-8758-79db-9e1f-94b198d3af61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerAsset"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_019cba89-8758-79db-9e1f-94b198d3af61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019cba89-8758-7225-863f-08d6e0959dd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019cba89-8758-7225-863f-08d6e0959dd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019cba89-8758-7488-9d22-7c49fbaa4839" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019cba89-8758-7488-9d22-7c49fbaa4839" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_019cba89-8758-72d3-83e7-3e5524a87208" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_019cba89-8758-72d3-83e7-3e5524a87208" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019cba89-8758-7cce-9347-47a4f0d7fc17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019cba89-8758-7cce-9347-47a4f0d7fc17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019cba89-8758-7533-9bc2-4e1d310b667c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019cba89-8758-7533-9bc2-4e1d310b667c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019cba89-8758-713e-b9b0-40df3921cb1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cba89-8758-75ae-94da-406e8ce44d36" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019cba89-8758-713e-b9b0-40df3921cb1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cba89-8758-71ec-87f9-62091b227bd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_019cba89-8758-7827-b904-81f8248b1174" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cba89-8758-71ec-87f9-62091b227bd1" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_019cba89-8758-7827-b904-81f8248b1174" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cba89-8758-7ce1-ba01-ab19fb8c1556" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cba89-8758-71ec-87f9-62091b227bd1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cba89-8758-7ce1-ba01-ab19fb8c1556" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-7799-b16b-76df6a5fa04c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_019cba89-8758-78d4-9e25-68e1309ea4de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-7799-b16b-76df6a5fa04c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_019cba89-8758-78d4-9e25-68e1309ea4de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_019cba89-8758-7d00-aa2a-fbe8bb7d3149" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-7799-b16b-76df6a5fa04c" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_019cba89-8758-7d00-aa2a-fbe8bb7d3149" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019cba89-8758-7864-9548-735848d02474" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-7799-b16b-76df6a5fa04c" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019cba89-8758-7864-9548-735848d02474" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_019cba89-8758-7fce-b7da-760db6fd2f0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-7799-b16b-76df6a5fa04c" xlink:to="loc_us-gaap_RepaymentsOfDebt_019cba89-8758-7fce-b7da-760db6fd2f0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019cba89-8758-70c2-82d1-8d0b5d6b8f0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-7799-b16b-76df6a5fa04c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019cba89-8758-70c2-82d1-8d0b5d6b8f0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019cba89-8758-73fb-a287-3c348416a269" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cba89-8758-7799-b16b-76df6a5fa04c" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019cba89-8758-73fb-a287-3c348416a269" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/NetIncomeLossPerCommonShareAttributabletoAlphaandOmegaSemiconductorLimitedBasicandDilutedIncomePerShareDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#NetIncomeLossPerCommonShareAttributabletoAlphaandOmegaSemiconductorLimitedBasicandDilutedIncomePerShareDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/NetIncomeLossPerCommonShareAttributabletoAlphaandOmegaSemiconductorLimitedBasicandDilutedIncomePerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cba89-8758-79ab-a7bb-ae4115df5f32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cba89-8758-7f0e-8180-43bd5a22507d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cba89-8758-79ab-a7bb-ae4115df5f32" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cba89-8758-7f0e-8180-43bd5a22507d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019cba89-8758-7e19-884c-49c8d439754b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cba89-8758-79ab-a7bb-ae4115df5f32" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019cba89-8758-7e19-884c-49c8d439754b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsAccountsReceivableDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsAccountsReceivableDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsAccountsReceivableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019cba89-8758-7883-b811-7ef323562c6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGross_019cba89-8758-738d-87cd-6ef3d15be11e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019cba89-8758-7883-b811-7ef323562c6d" xlink:to="loc_us-gaap_AccountsReceivableGross_019cba89-8758-738d-87cd-6ef3d15be11e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_AllowanceForPriceAdjustmentsReceivableCurrent_019cba89-8758-7b3a-8223-54cee9618986" xlink:href="aosl-20260331.xsd#aosl_AllowanceForPriceAdjustmentsReceivableCurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019cba89-8758-7883-b811-7ef323562c6d" xlink:to="loc_aosl_AllowanceForPriceAdjustmentsReceivableCurrent_019cba89-8758-7b3a-8223-54cee9618986" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019cba89-8758-7ac8-8724-91154ca03b7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019cba89-8758-7883-b811-7ef323562c6d" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019cba89-8758-7ac8-8724-91154ca03b7d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsInventoriesDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsInventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsInventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019cba89-8758-7bd1-9e38-00fa086267ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019cba89-8758-70a5-ba97-c85d93723cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019cba89-8758-7bd1-9e38-00fa086267ff" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019cba89-8758-70a5-ba97-c85d93723cfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019cba89-8758-7d5a-b021-37d7529ce584" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019cba89-8758-7bd1-9e38-00fa086267ff" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019cba89-8758-7d5a-b021-37d7529ce584" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019cba89-8758-72ac-95b5-a76374627d40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019cba89-8758-7bd1-9e38-00fa086267ff" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019cba89-8758-72ac-95b5-a76374627d40" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsOtherCurrentAssetsDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsOtherCurrentAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsOtherCurrentAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidTaxes_019cba89-8758-7dca-aaca-45097791106f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_us-gaap_PrepaidTaxes_019cba89-8758-7dca-aaca-45097791106f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_PrepaymenttoSupplier_019cba89-8758-73ab-b060-e73f80e3cbbc" xlink:href="aosl-20260331.xsd#aosl_PrepaymenttoSupplier"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_aosl_PrepaymenttoSupplier_019cba89-8758-73ab-b060-e73f80e3cbbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidInsurance_019cba89-8758-7a4f-b9a0-37b7eea54944" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidInsurance"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_us-gaap_PrepaidInsurance_019cba89-8758-7a4f-b9a0-37b7eea54944" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_019cba89-8758-77f5-a474-b6a2c18b4980" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_019cba89-8758-77f5-a474-b6a2c18b4980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_LocalVATReceivable_019cba89-8758-78a7-b457-df356b0f931d" xlink:href="aosl-20260331.xsd#aosl_LocalVATReceivable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_aosl_LocalVATReceivable_019cba89-8758-78a7-b457-df356b0f931d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_019cba89-8758-778e-b8d8-24766f91b9d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPrepaidExpenseCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_019cba89-8758-778e-b8d8-24766f91b9d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_PrepaidMaintenanceCurrent_019cba89-8758-7fc1-b676-ebccd814d646" xlink:href="aosl-20260331.xsd#aosl_PrepaidMaintenanceCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_aosl_PrepaidMaintenanceCurrent_019cba89-8758-7fc1-b676-ebccd814d646" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableCurrent_019cba89-8758-7b8f-9979-a4cab82f47a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestReceivableCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_us-gaap_InterestReceivableCurrent_019cba89-8758-7b8f-9979-a4cab82f47a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_ShortTermDeposits_019cba89-8758-74fa-8191-6adabc028a78" xlink:href="aosl-20260331.xsd#aosl_ShortTermDeposits"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_019cba89-8758-7b3b-b41b-8c4b1c6c7b71" xlink:to="loc_aosl_ShortTermDeposits_019cba89-8758-74fa-8191-6adabc028a78" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsPropertyPlantandEquipmentNetDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsPropertyPlantandEquipmentNetDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsPropertyPlantandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet_019cba89-8758-7df1-b145-21bc4f241de2" xlink:href="aosl-20260331.xsd#aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019cba89-8758-793a-8ec5-c3dca5805e02" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet_019cba89-8758-7df1-b145-21bc4f241de2" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019cba89-8758-793a-8ec5-c3dca5805e02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressGross_019cba89-8758-7014-8e40-89cc24046c9b" xlink:href="aosl-20260331.xsd#aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet_019cba89-8758-7df1-b145-21bc4f241de2" xlink:to="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressGross_019cba89-8758-7014-8e40-89cc24046c9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019cba89-8758-7c78-b5dd-084ffc65cdc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet_019cba89-8758-7474-9109-fed063657a6e" xlink:href="aosl-20260331.xsd#aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019cba89-8758-7c78-b5dd-084ffc65cdc5" xlink:to="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet_019cba89-8758-7474-9109-fed063657a6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_019cba89-8758-7aa0-b489-3cdd29d0320f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConstructionInProgressGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019cba89-8758-7c78-b5dd-084ffc65cdc5" xlink:to="loc_us-gaap_ConstructionInProgressGross_019cba89-8758-7aa0-b489-3cdd29d0320f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsIntangibleAssetsDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_019cba89-8758-7061-9796-63756ca19763" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-7f07-9b10-c546c488ec46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_019cba89-8758-7061-9796-63756ca19763" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-7f07-9b10-c546c488ec46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019cba89-8758-7a17-b249-abf471c3b6d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_019cba89-8758-7061-9796-63756ca19763" xlink:to="loc_us-gaap_Goodwill_019cba89-8758-7a17-b249-abf471c3b6d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-70e2-9b0a-e82655df15d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019cba89-8758-7a23-a8b2-27ec4ec00060" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-70e2-9b0a-e82655df15d6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019cba89-8758-7a23-a8b2-27ec4ec00060" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cba89-8758-7d4c-831f-22ba3a549760" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-70e2-9b0a-e82655df15d6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cba89-8758-7d4c-831f-22ba3a549760" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsFutureAmortizationofIntangibleAssetsDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsFutureAmortizationofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsFutureAmortizationofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-7bb0-840c-1a8f61b52cd3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019cba89-8758-7478-83f0-fb568d6e2326" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-7bb0-840c-1a8f61b52cd3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019cba89-8758-7478-83f0-fb568d6e2326" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019cba89-8758-7319-8ae3-61337d1c5ebe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-7bb0-840c-1a8f61b52cd3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019cba89-8758-7319-8ae3-61337d1c5ebe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019cba89-8758-7aff-abf5-a15aaf1be9b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-7bb0-840c-1a8f61b52cd3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019cba89-8758-7aff-abf5-a15aaf1be9b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019cba89-8758-7f79-9037-1c7519f9a07b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cba89-8758-7bb0-840c-1a8f61b52cd3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019cba89-8758-7f79-9037-1c7519f9a07b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsOtherLongTermAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableExcludingAccruedInterestAfterAllowanceForCreditLossNoncurrent_019cba89-8758-75ac-9748-ddca32196816" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableExcludingAccruedInterestAfterAllowanceForCreditLossNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:to="loc_us-gaap_AccountsReceivableExcludingAccruedInterestAfterAllowanceForCreditLossNoncurrent_019cba89-8758-75ac-9748-ddca32196816" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositAssets_019cba89-8758-7e45-90a9-d35fb4ba7320" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:to="loc_us-gaap_DepositAssets_019cba89-8758-7e45-90a9-d35fb4ba7320" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_019cba89-8758-70a6-97bf-1357d09a9383" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_019cba89-8758-70a6-97bf-1357d09a9383" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_Customdepositnoncurrent_019cba89-8758-7e46-adf8-c25db31ac2be" xlink:href="aosl-20260331.xsd#aosl_Customdepositnoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:to="loc_aosl_Customdepositnoncurrent_019cba89-8758-7e46-adf8-c25db31ac2be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_OfficeLeaseDepositAssetsNoncurrent_019cba89-8758-7c0c-9c87-20a763a066c1" xlink:href="aosl-20260331.xsd#aosl_OfficeLeaseDepositAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:to="loc_aosl_OfficeLeaseDepositAssetsNoncurrent_019cba89-8758-7c0c-9c87-20a763a066c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_019cba89-8758-7c19-8675-c92c8b49c50e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:to="loc_us-gaap_OtherInvestments_019cba89-8758-7c19-8675-c92c8b49c50e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_PrepaymentForPropertyAndEquipment_019cba89-8758-72ac-9e54-30b88bde261d" xlink:href="aosl-20260331.xsd#aosl_PrepaymentForPropertyAndEquipment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cba89-8758-7543-af72-83b2e04cbfc0" xlink:to="loc_aosl_PrepaymentForPropertyAndEquipment_019cba89-8758-72ac-9e54-30b88bde261d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsAccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsAccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cba89-8758-791e-86e8-c5bd64b3e3d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cba89-8758-791e-86e8-c5bd64b3e3d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_019cba89-8758-7cc7-aad8-00056f0a9de5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_019cba89-8758-7cc7-aad8-00056f0a9de5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_StockRotationAccrualCurrent_019cba89-8758-7a57-a3fb-e3c206884cd9" xlink:href="aosl-20260331.xsd#aosl_StockRotationAccrualCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_aosl_StockRotationAccrualCurrent_019cba89-8758-7a57-a3fb-e3c206884cd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedProfessionalFeesCurrent_019cba89-8758-7c87-af3f-8089411afc02" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedProfessionalFeesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_us-gaap_AccruedProfessionalFeesCurrent_019cba89-8758-7c87-af3f-8089411afc02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_AccruedInventory_019cba89-8758-7aae-baca-b95efeb731f3" xlink:href="aosl-20260331.xsd#aosl_AccruedInventory"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_aosl_AccruedInventory_019cba89-8758-7aae-baca-b95efeb731f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_AccruedFacilityExpenses_019cba89-8758-748a-92b9-77a21fbd40d6" xlink:href="aosl-20260331.xsd#aosl_AccruedFacilityExpenses"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_aosl_AccruedFacilityExpenses_019cba89-8758-748a-92b9-77a21fbd40d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_AccruedPropertyPlantandEquipment_019cba89-8758-7d35-b8d5-f178a2e07ef3" xlink:href="aosl-20260331.xsd#aosl_AccruedPropertyPlantandEquipment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_aosl_AccruedPropertyPlantandEquipment_019cba89-8758-7d35-b8d5-f178a2e07ef3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_EmployeeStockPurchasePlanPayableCurrent_019cba89-8758-722b-ae7f-65c083392006" xlink:href="aosl-20260331.xsd#aosl_EmployeeStockPurchasePlanPayableCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_aosl_EmployeeStockPurchasePlanPayableCurrent_019cba89-8758-722b-ae7f-65c083392006" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_AccruedCustomerDeposit_019cba89-8758-7243-bfe5-97fd39cd9c5d" xlink:href="aosl-20260331.xsd#aosl_AccruedCustomerDeposit"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_aosl_AccruedCustomerDeposit_019cba89-8758-7243-bfe5-97fd39cd9c5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019cba89-8758-7bb9-8056-fca8c5a89ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cba89-8758-7261-9efe-1e303effe893" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019cba89-8758-7bb9-8056-fca8c5a89ae0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsOtherLongTermLiabilitiesDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BalanceSheetComponentsOtherLongTermLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsOtherLongTermLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019cba89-8758-7004-9580-9f65f0c233f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019cba89-8758-7797-9276-2680f510bb70" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019cba89-8758-7004-9580-9f65f0c233f5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019cba89-8758-7797-9276-2680f510bb70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesAndDeferredRevenueNoncurrent_019cba89-8758-79d3-9ab1-e2aede80feb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesAndDeferredRevenueNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019cba89-8758-7004-9580-9f65f0c233f5" xlink:to="loc_us-gaap_OtherLiabilitiesAndDeferredRevenueNoncurrent_019cba89-8758-79d3-9ab1-e2aede80feb5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/BankBorrowingScheduleofDebtMaturitiesDetails" xlink:type="simple" xlink:href="aosl-20260331.xsd#BankBorrowingScheduleofDebtMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/BankBorrowingScheduleofDebtMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_aosl_DebtLongTermAndShortTermCombinedAmountNet_019cba89-8758-7690-be2f-d80176b296d3" xlink:href="aosl-20260331.xsd#aosl_DebtLongTermAndShortTermCombinedAmountNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_019cba89-8758-7661-ae94-1e3ed5797768" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_DebtLongTermAndShortTermCombinedAmountNet_019cba89-8758-7690-be2f-d80176b296d3" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_019cba89-8758-7661-ae94-1e3ed5797768" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7599-8f0d-0ace23893c2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_DebtLongTermAndShortTermCombinedAmountNet_019cba89-8758-7690-be2f-d80176b296d3" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7599-8f0d-0ace23893c2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7260-9738-ae9bb3ab8f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019cba89-8758-7add-8ec5-65ea3c30cf29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7260-9738-ae9bb3ab8f2a" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019cba89-8758-7add-8ec5-65ea3c30cf29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019cba89-8758-76eb-a285-86fac9e29874" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7260-9738-ae9bb3ab8f2a" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019cba89-8758-76eb-a285-86fac9e29874" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019cba89-8758-7823-9a6c-05be66f6ff19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7260-9738-ae9bb3ab8f2a" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019cba89-8758-7823-9a6c-05be66f6ff19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_LongTermDebtMaturityAfterYearFour_019cba89-8758-7e46-9164-e6b5a01b9410" xlink:href="aosl-20260331.xsd#aosl_LongTermDebtMaturityAfterYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7260-9738-ae9bb3ab8f2a" xlink:to="loc_aosl_LongTermDebtMaturityAfterYearFour_019cba89-8758-7e46-9164-e6b5a01b9410" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019cba89-8758-7a71-bd45-7cc410af0fee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7260-9738-ae9bb3ab8f2a" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019cba89-8758-7a71-bd45-7cc410af0fee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019cba89-8758-7f88-ada6-ac60b5bb08a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019cba89-8758-7260-9738-ae9bb3ab8f2a" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019cba89-8758-7f88-ada6-ac60b5bb08a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_LongtermDebtCurrentMaturitiesAndShorttermDebt_019cba89-8758-75f6-932c-598b10e47e43" xlink:href="aosl-20260331.xsd#aosl_LongtermDebtCurrentMaturitiesAndShorttermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsCurrentGross_019cba89-8758-7577-a26b-57f030fd5ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsCurrentGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_LongtermDebtCurrentMaturitiesAndShorttermDebt_019cba89-8758-75f6-932c-598b10e47e43" xlink:to="loc_us-gaap_DeferredFinanceCostsCurrentGross_019cba89-8758-7577-a26b-57f030fd5ab1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_LongtermDebtCurrentMaturitiesAndShortTermDebtGross_019cba89-8758-751f-8754-5e928e12f6b6" xlink:href="aosl-20260331.xsd#aosl_LongtermDebtCurrentMaturitiesAndShortTermDebtGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_aosl_LongtermDebtCurrentMaturitiesAndShorttermDebt_019cba89-8758-75f6-932c-598b10e47e43" xlink:to="loc_aosl_LongtermDebtCurrentMaturitiesAndShortTermDebtGross_019cba89-8758-751f-8754-5e928e12f6b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019cba89-8758-7981-947d-7497de275278" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNoncurrentGross_019cba89-8758-7867-9f3e-894e83cd7cf7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsNoncurrentGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_019cba89-8758-7981-947d-7497de275278" xlink:to="loc_us-gaap_DeferredFinanceCostsNoncurrentGross_019cba89-8758-7867-9f3e-894e83cd7cf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_LongtermDebtExcludingCurrentMaturitiesGross_019cba89-8758-7e2c-b22b-4ea976347afa" xlink:href="aosl-20260331.xsd#aosl_LongtermDebtExcludingCurrentMaturitiesGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_019cba89-8758-7981-947d-7497de275278" xlink:to="loc_aosl_LongtermDebtExcludingCurrentMaturitiesGross_019cba89-8758-7e2c-b22b-4ea976347afa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.aosmd.com/role/LeasesFutureMinimumLeasePaymentsTopic842Details" xlink:type="simple" xlink:href="aosl-20260331.xsd#LeasesFutureMinimumLeasePaymentsTopic842Details"/>
  <link:calculationLink xlink:role="http://www.aosmd.com/role/LeasesFutureMinimumLeasePaymentsTopic842Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cba89-8758-7557-aef8-031ba7e2b4fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019cba89-8758-7c9e-8a1b-efbcbe639148" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cba89-8758-7557-aef8-031ba7e2b4fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019cba89-8758-7c9e-8a1b-efbcbe639148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019cba89-8758-72c1-9adc-2ba5f22ab11d" xlink:href="aosl-20260331.xsd#aosl_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cba89-8758-7557-aef8-031ba7e2b4fd" xlink:to="loc_aosl_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019cba89-8758-72c1-9adc-2ba5f22ab11d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019cba89-8758-7d73-ba6a-a956176c9bba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cba89-8758-7557-aef8-031ba7e2b4fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019cba89-8758-7d73-ba6a-a956176c9bba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019cba89-8758-7ba6-83b1-f88417a0a1d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cba89-8758-7557-aef8-031ba7e2b4fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019cba89-8758-7ba6-83b1-f88417a0a1d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019cba89-8758-794e-8d54-237d96de75fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cba89-8758-7557-aef8-031ba7e2b4fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019cba89-8758-794e-8d54-237d96de75fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019cba89-8758-7a48-afaf-3d17b3472819" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cba89-8758-7557-aef8-031ba7e2b4fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019cba89-8758-7a48-afaf-3d17b3472819" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019cba89-8758-7690-bbe3-e8d78980a680" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019cba89-8758-7450-b2a0-dd6c0f34f70d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019cba89-8758-7690-bbe3-e8d78980a680" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019cba89-8758-7450-b2a0-dd6c0f34f70d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019cba89-8758-70fd-89fb-c5fbbbb5ec57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019cba89-8758-7690-bbe3-e8d78980a680" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019cba89-8758-70fd-89fb-c5fbbbb5ec57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019cba89-8758-7e35-b818-826d56afe5d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019cba89-8758-7690-bbe3-e8d78980a680" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019cba89-8758-7e35-b818-826d56afe5d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019cba89-8758-768a-a8a1-8bd8b931236e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019cba89-8758-7690-bbe3-e8d78980a680" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019cba89-8758-768a-a8a1-8bd8b931236e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019cba89-8758-7430-8d5c-777ef0d438b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019cba89-8758-7690-bbe3-e8d78980a680" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019cba89-8758-7430-8d5c-777ef0d438b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_aosl_FinanceLeaseLiabilityToBePaidAfterYearFour_019cba89-8758-73f3-8180-6560f620a5e1" xlink:href="aosl-20260331.xsd#aosl_FinanceLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019cba89-8758-7690-bbe3-e8d78980a680" xlink:to="loc_aosl_FinanceLeaseLiabilityToBePaidAfterYearFour_019cba89-8758-73f3-8180-6560f620a5e1" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
