<?xml version="1.0" encoding="us-ascii"?>
<!--XBRL document created with Toppan Merrill Bridge  10.5.0.8 -->
<!--Based on XBRL 2.1-->
<!--Created on: 2/29/2024 9:35:57 PM-->
<!--Modified on: 2/29/2024 9:35:57 PM-->
<link:linkbase 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" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <roleRef xlink:type="simple" xlink:href="ung-20231231.xsd#StatementStatementsOfFinancialCondition" roleURI="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfFinancialCondition" />
  <roleRef xlink:type="simple" xlink:href="ung-20231231.xsd#StatementStatementsOfOperations" roleURI="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfOperations" />
  <roleRef xlink:type="simple" xlink:href="ung-20231231.xsd#StatementStatementsOfCashFlows" roleURI="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfCashFlows" />
  <roleRef xlink:type="simple" xlink:href="ung-20231231.xsd#StatementStatementsOfCashFlowsParenthetical" roleURI="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfCashFlowsParenthetical" />
  <roleRef xlink:type="simple" xlink:href="ung-20231231.xsd#DisclosureFinancialHighlightsDetails" roleURI="http://www.unitedstatesnaturalgasfund.com/role/DisclosureFinancialHighlightsDetails" />
  <calculationLink xlink:role="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfFinancialCondition" xlink:type="extended" xlink:title="00100 - Statement - Statements of Financial Condition">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivablesNetCurrent" xlink:label="us-gaap_ReceivablesNetCurrent_638448393557728598" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_ReceivablesNetCurrent_638448393557728598" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_PrepaidInsuranceCurrentAndNonCurrent" xlink:label="ung_PrepaidInsuranceCurrentAndNonCurrent_638448393557728598" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="ung_PrepaidInsuranceCurrentAndNonCurrent_638448393557728598" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivable" xlink:label="us-gaap_InterestReceivable_638448393557738631" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_InterestReceivable_638448393557738631" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsReceivable" xlink:label="us-gaap_DividendsReceivable_638448393557738631" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_DividendsReceivable_638448393557738631" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_UnrealizedGainLossOnOpenSwapContracts" xlink:label="ung_UnrealizedGainLossOnOpenSwapContracts_638448393557738631" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="ung_UnrealizedGainLossOnOpenSwapContracts_638448393557738631" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_ReceivableForSharesSold" xlink:label="ung_ReceivableForSharesSold_638448393557738631" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="ung_ReceivableForSharesSold_638448393557738631" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_UnrealizedGainLossOnOpenCommodityFuturesAndClearedSwapContracts" xlink:label="ung_UnrealizedGainLossOnOpenCommodityFuturesAndClearedSwapContracts_638448393557738631" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="ung_UnrealizedGainLossOnOpenCommodityFuturesAndClearedSwapContracts_638448393557738631" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_CashAndCashEquivalentsEquityInTradingAccounts" xlink:label="ung_CashAndCashEquivalentsEquityInTradingAccounts_638448393557738631" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="ung_CashAndCashEquivalentsEquityInTradingAccounts_638448393557738631" order="8" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_638448393557738631" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_638448393557738631" order="9" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PartnersCapital" xlink:label="us-gaap_PartnersCapital_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_PartnersCapital_638448393557748604" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralPartnersCapitalAccount" xlink:label="us-gaap_GeneralPartnersCapitalAccount_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PartnersCapital_638448393557748604" xlink:to="us-gaap_GeneralPartnersCapitalAccount_638448393557748604" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LimitedPartnersCapitalAccount" xlink:label="us-gaap_LimitedPartnersCapitalAccount_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PartnersCapital_638448393557748604" xlink:to="us-gaap_LimitedPartnersCapitalAccount_638448393557748604" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_Liabilities_638448393557748604" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_LicenseFeesPayableCurrentAndNoncurrent" xlink:label="ung_LicenseFeesPayableCurrentAndNoncurrent_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities_638448393557748604" xlink:to="ung_LicenseFeesPayableCurrentAndNoncurrent_638448393557748604" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ManagementFeePayable" xlink:label="us-gaap_ManagementFeePayable_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities_638448393557748604" xlink:to="us-gaap_ManagementFeePayable_638448393557748604" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommissionsPayableToBrokerDealersAndClearingOrganizations" xlink:label="us-gaap_CommissionsPayableToBrokerDealersAndClearingOrganizations_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities_638448393557748604" xlink:to="us-gaap_CommissionsPayableToBrokerDealersAndClearingOrganizations_638448393557748604" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent" xlink:label="us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent_638448393557748604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities_638448393557748604" xlink:to="us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent_638448393557748604" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilities" xlink:label="us-gaap_OtherLiabilities_638448393557758600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities_638448393557748604" xlink:to="us-gaap_OtherLiabilities_638448393557758600" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_PayableDueToBroker" xlink:label="ung_PayableDueToBroker_638448393557758600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities_638448393557748604" xlink:to="ung_PayableDueToBroker_638448393557758600" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_PayableForSharesRedeemed" xlink:label="ung_PayableForSharesRedeemed_638448393557758600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities_638448393557748604" xlink:to="ung_PayableForSharesRedeemed_638448393557758600" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies_638448393557758600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_CommitmentsAndContingencies_638448393557758600" order="3" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfOperations" xlink:type="extended" xlink:title="00300 - Statement - Statements of Operations">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense_638448393557758600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" xlink:to="us-gaap_ManagementFeeExpense_638448393557758600" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfessionalFees" xlink:label="us-gaap_ProfessionalFees_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" xlink:to="us-gaap_ProfessionalFees_638448393557768604" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FloorBrokerageExchangeAndClearanceFees" xlink:label="us-gaap_FloorBrokerageExchangeAndClearanceFees_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" xlink:to="us-gaap_FloorBrokerageExchangeAndClearanceFees_638448393557768604" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestExpenseDirectorsFees" xlink:label="us-gaap_NoninterestExpenseDirectorsFees_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" xlink:to="us-gaap_NoninterestExpenseDirectorsFees_638448393557768604" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_LicenseFeesAndOtherOfferingExpenses" xlink:label="ung_LicenseFeesAndOtherOfferingExpenses_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" xlink:to="ung_LicenseFeesAndOtherOfferingExpenses_638448393557768604" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherExpenses" xlink:label="us-gaap_OtherExpenses_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_638448393557758600" xlink:to="us-gaap_OtherExpenses_638448393557768604" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_TotalIncomeLoss" xlink:label="ung_TotalIncomeLoss_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="ung_TotalIncomeLoss_638448393557768604" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_ChangeInUnrealizedGainLossOnOpenOtcCommoditySwapContracts" xlink:label="ung_ChangeInUnrealizedGainLossOnOpenOtcCommoditySwapContracts_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_TotalIncomeLoss_638448393557768604" xlink:to="ung_ChangeInUnrealizedGainLossOnOpenOtcCommoditySwapContracts_638448393557768604" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnCommodityContracts" xlink:label="us-gaap_UnrealizedGainLossOnCommodityContracts_638448393557768604" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_TotalIncomeLoss_638448393557768604" xlink:to="us-gaap_UnrealizedGainLossOnCommodityContracts_638448393557768604" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_RealizedGainLossOnSwapContracts" xlink:label="ung_RealizedGainLossOnSwapContracts_638448393557778600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_TotalIncomeLoss_638448393557768604" xlink:to="ung_RealizedGainLossOnSwapContracts_638448393557778600" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfCommodityContracts" xlink:label="us-gaap_GainLossOnSaleOfCommodityContracts_638448393557778600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_TotalIncomeLoss_638448393557768604" xlink:to="us-gaap_GainLossOnSaleOfCommodityContracts_638448393557778600" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendIncomeOperating" xlink:label="us-gaap_DividendIncomeOperating_638448393557778600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_TotalIncomeLoss_638448393557768604" xlink:to="us-gaap_DividendIncomeOperating_638448393557778600" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeOperating" xlink:label="us-gaap_InterestIncomeOperating_638448393557778600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_TotalIncomeLoss_638448393557768604" xlink:to="us-gaap_InterestIncomeOperating_638448393557778600" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIncome" xlink:label="us-gaap_OtherIncome_638448393557778600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_TotalIncomeLoss_638448393557768604" xlink:to="us-gaap_OtherIncome_638448393557778600" order="7" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfCashFlows" xlink:type="extended" xlink:title="00500 - Statement - Statements of Cash Flows">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss_638448393557778600" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="us-gaap_ProfitLoss_638448393557778600" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_UnrealizedGainLossOpenSwapContracts" xlink:label="ung_UnrealizedGainLossOpenSwapContracts_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_UnrealizedGainLossOpenSwapContracts_638448393557788606" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseInProfessionalFeesPayable" xlink:label="ung_IncreaseDecreaseInProfessionalFeesPayable_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_IncreaseDecreaseInProfessionalFeesPayable_638448393557788606" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseInPayableDueToBroker" xlink:label="ung_IncreaseDecreaseInPayableDueToBroker_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_IncreaseDecreaseInPayableDueToBroker_638448393557788606" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts" xlink:label="us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_638448393557788606" order="5" use="optional" weight="-1" priority="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDividendsReceivable" xlink:label="us-gaap_IncreaseDecreaseInDividendsReceivable_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="us-gaap_IncreaseDecreaseInDividendsReceivable_638448393557788606" order="6" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_638448393557788606" order="7" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseInPrepaidInsuranceOperatingActivities" xlink:label="ung_IncreaseDecreaseInPrepaidInsuranceOperatingActivities_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_IncreaseDecreaseInPrepaidInsuranceOperatingActivities_638448393557788606" order="8" use="optional" weight="-1" priority="2" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidExpense" xlink:label="us-gaap_IncreaseDecreaseInPrepaidExpense_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="us-gaap_IncreaseDecreaseInPrepaidExpense_638448393557788606" order="9" use="optional" weight="-1" priority="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherReceivables" xlink:label="us-gaap_IncreaseDecreaseInOtherReceivables_638448393557788606" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="us-gaap_IncreaseDecreaseInOtherReceivables_638448393557788606" order="10" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseManagementFeesPayable" xlink:label="ung_IncreaseDecreaseManagementFeesPayable_638448393557798599" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_IncreaseDecreaseManagementFeesPayable_638448393557798599" order="11" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseInBrokerageCommissionsPayable" xlink:label="ung_IncreaseDecreaseInBrokerageCommissionsPayable_638448393557798599" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_IncreaseDecreaseInBrokerageCommissionsPayable_638448393557798599" order="12" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseInLicenseFeesPayable" xlink:label="ung_IncreaseDecreaseInLicenseFeesPayable_638448393557798599" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_IncreaseDecreaseInLicenseFeesPayable_638448393557798599" order="13" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="us-gaap_IncreaseDecreaseInDueToRelatedParties_638448393557798599" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="us-gaap_IncreaseDecreaseInDueToRelatedParties_638448393557798599" order="14" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseInDirectorsFeesPayable" xlink:label="ung_IncreaseDecreaseInDirectorsFeesPayable_638448393557798599" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_638448393557778600" xlink:to="ung_IncreaseDecreaseInDirectorsFeesPayable_638448393557798599" order="15" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_638448393557798599" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_638448393557798599" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromPartnershipContribution" xlink:label="us-gaap_ProceedsFromPartnershipContribution_638448393557798599" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_638448393557798599" xlink:to="us-gaap_ProceedsFromPartnershipContribution_638448393557798599" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_PaymentsToPartnershipRedemption" xlink:label="ung_PaymentsToPartnershipRedemption_638448393557808598" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_638448393557798599" xlink:to="ung_PaymentsToPartnershipRedemption_638448393557808598" order="2" use="optional" weight="-1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.unitedstatesnaturalgasfund.com/role/StatementStatementsOfCashFlowsParenthetical" xlink:type="extended" xlink:title="00505 - Statement - Statements of Cash Flows (Parenthetical)">
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_CashAndCashEquivalentsInEquityInTradingAccounts" xlink:label="ung_CashAndCashEquivalentsInEquityInTradingAccounts" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_638448393557808598" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_CashAndCashEquivalentsInEquityInTradingAccounts" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_638448393557808598" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_CashAndCashEquivalentsInTradingAccounts" xlink:label="ung_CashAndCashEquivalentsInTradingAccounts_638448393557808598" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_CashAndCashEquivalentsInEquityInTradingAccounts" xlink:to="ung_CashAndCashEquivalentsInTradingAccounts_638448393557808598" order="2" use="optional" weight="1" priority="2" />
  </calculationLink>
  <calculationLink xlink:role="http://www.unitedstatesnaturalgasfund.com/role/DisclosureFinancialHighlightsDetails" xlink:type="extended" xlink:title="40601 - Disclosure - FINANCIAL HIGHLIGHTS (Details)">
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_IncreaseDecreaseInNetAssetValuePerUnit" xlink:label="ung_IncreaseDecreaseInNetAssetValuePerUnit" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_TotalExpensesPerUnit" xlink:label="ung_TotalExpensesPerUnit_638448393557808598" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_IncreaseDecreaseInNetAssetValuePerUnit" xlink:to="ung_TotalExpensesPerUnit_638448393557808598" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="ung-20231231.xsd#ung_TotalIncomeLossPerUnit" xlink:label="ung_TotalIncomeLossPerUnit_638448393557808598" />
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ung_IncreaseDecreaseInNetAssetValuePerUnit" xlink:to="ung_TotalIncomeLossPerUnit_638448393557808598" order="2" use="optional" weight="-1" />
  </calculationLink>
</link:linkbase>
