<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>440</ContextCount>
  <ElementCount>487</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>119</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENT OF EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/StatementConsolidatedStatementOfEquityDeficit</Role>
      <ShortName>CONSOLIDATED STATEMENT OF EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00410 - Statement - STATEMENTS OF STOCKHOLDER'S EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/StatementStatementsOfStockholderSEquityDeficit</Role>
      <ShortName>STATEMENTS OF STOCKHOLDER'S EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Partnership Organization And Formation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePartnershipOrganizationAndFormation</Role>
      <ShortName>Partnership Organization And Formation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Acquisitions and dispositions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAcquisitionsAndDispositions</Role>
      <ShortName>Acquisitions and dispositions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Quarterly distribution of available cash</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureQuarterlyDistributionOfAvailableCash</Role>
      <ShortName>Quarterly distribution of available cash</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Supplemental financial statement information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformation</Role>
      <ShortName>Supplemental financial statement information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Accounts and notes receivable, net</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAccountsAndNotesReceivableNet</Role>
      <ShortName>Accounts and notes receivable, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Goodwill and intangible assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNet</Role>
      <ShortName>Goodwill and intangible assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Preferred units</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePreferredUnits</Role>
      <ShortName>Preferred units</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficit</Role>
      <ShortName>Equity (Deficit)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Revenue from contracts with customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureRevenueFromContractsWithCustomers</Role>
      <ShortName>Revenue from contracts with customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivities</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Transactions With Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureTransactionsWithRelatedParties</Role>
      <ShortName>Transactions With Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Contingencies And Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureContingenciesAndCommitments</Role>
      <ShortName>Contingencies And Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEmployeeBenefits</Role>
      <ShortName>Employee Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Net earnings (loss) per unitholders' interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureNetEarningsLossPerUnitholdersInterest</Role>
      <ShortName>Net earnings (loss) per unitholders' interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>11901 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>12001 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>12101 - Disclosure - Schedule I Parent Only Balance Sheets, Statements Of Operations And Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureScheduleIParentOnlyBalanceSheetsStatementsOfOperationsAndCashFlows</Role>
      <ShortName>Schedule I Parent Only Balance Sheets, Statements Of Operations And Cash Flows</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>12201 - Disclosure - Schedule II Valuation And Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureScheduleIiValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II Valuation And Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>20202 - Disclosure - Summary of significant accounting policies (Policy)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicy</Role>
      <ShortName>Summary of significant accounting policies (Policy)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Summary of significant accounting policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of significant accounting policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Acquisitions and dispositions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAcquisitionsAndDispositionsTables</Role>
      <ShortName>Acquisitions and dispositions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureAcquisitionsAndDispositions</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Supplemental financial statement information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformationTables</Role>
      <ShortName>Supplemental financial statement information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformation</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Accounts and notes receivable, net (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAccountsAndNotesReceivableNetTables</Role>
      <ShortName>Accounts and notes receivable, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureAccountsAndNotesReceivableNet</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Goodwill and intangible assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNetTables</Role>
      <ShortName>Goodwill and intangible assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNet</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureDebt</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Equity (Deficit) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</Role>
      <ShortName>Equity (Deficit) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficit</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureLeases</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Revenue from contracts with customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureRevenueFromContractsWithCustomersTables</Role>
      <ShortName>Revenue from contracts with customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureRevenueFromContractsWithCustomers</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureFairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivities</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>31503 - Disclosure - Transactions With Related Parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureTransactionsWithRelatedPartiesTables</Role>
      <ShortName>Transactions With Related Parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureTransactionsWithRelatedParties</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>31803 - Disclosure - Net earnings (loss) per unitholders' interest (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureNetEarningsLossPerUnitholdersInterestTables</Role>
      <ShortName>Net earnings (loss) per unitholders' interest (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureNetEarningsLossPerUnitholdersInterest</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Partnership Organization And Formation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePartnershipOrganizationAndFormationDetails</Role>
      <ShortName>Partnership Organization And Formation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosurePartnershipOrganizationAndFormation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Summary of significant accounting policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of significant accounting policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Summary of significant accounting policies - Summary Of Income Tax Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfIncomeTaxExpenseDetails</Role>
      <ShortName>Summary of significant accounting policies - Summary Of Income Tax Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Summary of significant accounting policies - Deferred Taxes Assets And Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDeferredTaxesAssetsAndLiabilitiesDetails</Role>
      <ShortName>Summary of significant accounting policies - Deferred Taxes Assets And Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Acquisitions and dispositions - Acquisitions Funding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAcquisitionsAndDispositionsAcquisitionsFundingDetails</Role>
      <ShortName>Acquisitions and dispositions - Acquisitions Funding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40302 - Disclosure - Acquisitions and dispositions - Fair Value Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAcquisitionsAndDispositionsFairValueAllocationDetails</Role>
      <ShortName>Acquisitions and dispositions - Fair Value Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40303 - Disclosure - Acquisitions and dispositions - Dispositions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAcquisitionsAndDispositionsDispositionsDetails</Role>
      <ShortName>Acquisitions and dispositions - Dispositions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Quarterly distribution of available cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureQuarterlyDistributionOfAvailableCashDetails</Role>
      <ShortName>Quarterly distribution of available cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureQuarterlyDistributionOfAvailableCash</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Supplemental financial statement information - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformationInventoriesDetails</Role>
      <ShortName>Supplemental financial statement information - Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Supplemental financial statement information - Property, Plant And Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformationPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Supplemental financial statement information - Property, Plant And Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40503 - Disclosure - Supplemental financial statement information - Prepaids and Other Assets Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformationPrepaidsAndOtherAssetsNetDetails</Role>
      <ShortName>Supplemental financial statement information - Prepaids and Other Assets Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40504 - Disclosure - Supplemental financial statement information - Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformationOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Supplemental financial statement information - Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40505 - Disclosure - Supplemental financial statement information - Shipping and Handling (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformationShippingAndHandlingDetails</Role>
      <ShortName>Supplemental financial statement information - Shipping and Handling (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40506 - Disclosure - Supplemental financial statement information - Cash, Cash Equivalents And Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSupplementalFinancialStatementInformationCashCashEquivalentsAndRestrictedCashDetails</Role>
      <ShortName>Supplemental financial statement information - Cash, Cash Equivalents And Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Accounts and notes receivable, net (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureAccountsAndNotesReceivableNetDetails</Role>
      <ShortName>Accounts and notes receivable, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureAccountsAndNotesReceivableNetTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Goodwill and intangible assets, net - Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNetComponentsDetails</Role>
      <ShortName>Goodwill and intangible assets, net - Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40702 - Disclosure - Goodwill and intangible assets, net - Goodwill Rollforward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNetGoodwillRollforwardDetails</Role>
      <ShortName>Goodwill and intangible assets, net - Goodwill Rollforward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40703 - Disclosure - Goodwill and intangible assets, net - Lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNetLivesDetails</Role>
      <ShortName>Goodwill and intangible assets, net - Lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNetTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40704 - Disclosure - Goodwill and intangible assets, net - Aggregate Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNetAggregateAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and intangible assets, net - Aggregate Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40705 - Disclosure - Goodwill and intangible assets, net - Estimated Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureGoodwillAndIntangibleAssetsNetEstimatedAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and intangible assets, net - Estimated Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Debt - Components Of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDebtComponentsOfLongTermDebtDetails</Role>
      <ShortName>Debt - Components Of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Debt - Long-Term Debt Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDebtLongTermDebtActivityDetails</Role>
      <ShortName>Debt - Long-Term Debt Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40803 - Disclosure - Debt - Covenants and Loss on Extinguishment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDebtCovenantsAndLossOnExtinguishmentDetails</Role>
      <ShortName>Debt - Covenants and Loss on Extinguishment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40804 - Disclosure - Debt - Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDebtMaturitiesDetails</Role>
      <ShortName>Debt - Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40805 - Disclosure - Debt - Security (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDebtSecurityDetails</Role>
      <ShortName>Debt - Security (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Preferred units - Issuance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePreferredUnitsIssuanceDetails</Role>
      <ShortName>Preferred units - Issuance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Preferred units - Issuer Redemption Right (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePreferredUnitsIssuerRedemptionRightDetails</Role>
      <ShortName>Preferred units - Issuer Redemption Right (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Preferred units - Investor Redemption Right (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePreferredUnitsInvestorRedemptionRightDetails</Role>
      <ShortName>Preferred units - Investor Redemption Right (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Preferred units - Distributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePreferredUnitsDistributionsDetails</Role>
      <ShortName>Preferred units - Distributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>40905 - Disclosure - Preferred units - Board Rights, Protective Provisions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePreferredUnitsBoardRightsProtectiveProvisionsDetails</Role>
      <ShortName>Preferred units - Board Rights, Protective Provisions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>40906 - Disclosure - Preferred units - Restrictions on Cash Distributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosurePreferredUnitsRestrictionsOnCashDistributionsDetails</Role>
      <ShortName>Preferred units - Restrictions on Cash Distributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Equity (Deficit) - Reverse Unit Split (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitReverseUnitSplitDetails</Role>
      <ShortName>Equity (Deficit) - Reverse Unit Split (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Equity (Deficit) - Units Issued and Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitUnitsIssuedAndRedemptionDetails</Role>
      <ShortName>Equity (Deficit) - Units Issued and Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>41003 - Disclosure - Equity (Deficit) - Conversion Factor (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitConversionFactorDetails</Role>
      <ShortName>Equity (Deficit) - Conversion Factor (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>41004 - Disclosure - Equity (Deficit) - Limited Partner Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitLimitedPartnerUnitsDetails</Role>
      <ShortName>Equity (Deficit) - Limited Partner Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>41005 - Disclosure - Equity (Deficit) - Ownership (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitOwnershipDetails</Role>
      <ShortName>Equity (Deficit) - Ownership (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>41006 - Disclosure - Equity (Deficit) - Paid Distributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitPaidDistributionsDetails</Role>
      <ShortName>Equity (Deficit) - Paid Distributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>41007 - Disclosure - Equity (Deficit) - Contributions and AOCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEquityDeficitContributionsAndAociDetails</Role>
      <ShortName>Equity (Deficit) - Contributions and AOCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEquityDeficitTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Leases - Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureLeasesAssetsAndLiabilitiesDetails</Role>
      <ShortName>Leases - Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>41102 - Disclosure - Leases - Lease Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureLeasesLeaseExpensesDetails</Role>
      <ShortName>Leases - Lease Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41103 - Disclosure - Leases - Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureLeasesMaturityDetails</Role>
      <ShortName>Leases - Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>41104 - Disclosure - Leases - Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureLeasesAssumptionsDetails</Role>
      <ShortName>Leases - Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>41105 - Disclosure - Leases - Cash Flow (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureLeasesCashFlowDetails</Role>
      <ShortName>Leases - Cash Flow (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Revenue from contracts with customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureRevenueFromContractsWithCustomersDetails</Role>
      <ShortName>Revenue from contracts with customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureRevenueFromContractsWithCustomersTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Fair Value Measurements - Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureFairValueMeasurementsAssetsAndLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements - Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>41302 - Disclosure - Fair Value Measurements - Other Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureFairValueMeasurementsOtherFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Measurements - Other Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Derivative Instruments and Hedging Activities - Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesBalanceSheetDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>41402 - Disclosure - Derivative Instruments and Hedging Activities - Margin Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesMarginBalancesDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Margin Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>41403 - Disclosure - Derivative Instruments and Hedging Activities - Effect on Comprehensive Income and Change in FV (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesEffectOnComprehensiveIncomeAndChangeInFvDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Effect on Comprehensive Income and Change in FV (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>41404 - Disclosure - Derivative Instruments and Hedging Activities - AOCI Rollforward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesAociRollforwardDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - AOCI Rollforward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>41405 - Disclosure - Derivative Instruments and Hedging Activities - Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesCreditRiskDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Transactions With Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureTransactionsWithRelatedPartiesDetails</Role>
      <ShortName>Transactions With Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureTransactionsWithRelatedPartiesTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Contingencies And Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureContingenciesAndCommitmentsDetails</Role>
      <ShortName>Contingencies And Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureContingenciesAndCommitments</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Employee Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureEmployeeBenefitsDetails</Role>
      <ShortName>Employee Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureEmployeeBenefits</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>41801 - Disclosure - Net earnings (loss) per unitholders' interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureNetEarningsLossPerUnitholdersInterestDetails</Role>
      <ShortName>Net earnings (loss) per unitholders' interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureNetEarningsLossPerUnitholdersInterestTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>41901 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>42001 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>42101 - Disclosure - Schedule I Parent Only Statements - Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureScheduleIParentOnlyStatementsBalanceSheetsDetails</Role>
      <ShortName>Schedule I Parent Only Statements - Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>42102 - Disclosure - Schedule I Parent Only Statements - Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureScheduleIParentOnlyStatementsOperationsDetails</Role>
      <ShortName>Schedule I Parent Only Statements - Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>42103 - Disclosure - Schedule I Parent Only Statements - Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureScheduleIParentOnlyStatementsCashFlowsDetails</Role>
      <ShortName>Schedule I Parent Only Statements - Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="fgp-20220731x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>42201 - Disclosure - Schedule II Valuation And Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ferrellgas.com/role/DisclosureScheduleIiValuationAndQualifyingAccountsDetails</Role>
      <ShortName>Schedule II Valuation And Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ferrellgas.com/role/DisclosureScheduleIiValuationAndQualifyingAccounts</ParentRole>
      <Position>104</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 43 fact(s) appearing in ix:hidden were eligible for transformation: dei:CurrentFiscalYearEndDate, dei:DocumentPeriodEndDate, dei:DocumentType, dei:EntityEmergingGrowthCompany, dei:EntityFilerCategory, dei:EntityRegistrantName, dei:EntityShellCompany, dei:EntitySmallBusiness, fgp:CashTaxDistributionRateTaxRateMultipliedByEstimatedTaxableIncomePercentage, fgp:DaysForConsummationOfSaleAndPaymentOfRedemptionPriceInFull, fgp:RentalIncomeRecognitionPeriod, fgp:RequisitePercentageUnitsHeldRequirementForAdditionalUnitsToBeIssued, fgp:ResidentialCustomersPeriodOverWhichAnnualCostsMayBeSpread, fgp:RevenueRecognizedOverStraightLineBasisTerm, us-gaap:CommonStockSharesIssued, us-gaap:CommonStockSharesOutstanding, us-gaap:DebtInstrumentTerm, us-gaap:DeferredTaxAssetsValuationAllowance, us-gaap:GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessNet, us-gaap:StockholdersEquityNoteStockSplitConversionRatio1, us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding -  fgp-20220731x10k.htm 9</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Not-Referenced] WARN: 11 fact(s) appearing in ix:hidden were not referenced by any -sec-ix-hidden style property: us-gaap:CommitmentsAndContingencies, us-gaap:FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList, us-gaap:FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList, us-gaap:FinanceLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList -  fgp-20220731x10k.htm 9</Log>
    <Log type="Warning">[EFM.6.05.45.cover-page-fact-not-visible] Submission type 10-K has 12 cover page fact(s) in ix:hidden that should be visible or referenced by an -sec-ix-hidden style property: EntityCurrentReportingStatus, EntityInteractiveDataCurrent, EntityVoluntaryFilers, EntityWellKnownSeasonedIssuer - fgp-20220731x10k.htm 9 - fgp-20220731x10k.htm 9</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="fgp-20220731x10k.htm">fgp-20220731x10k.htm</File>
    <File>fgp-20220731.xsd</File>
    <File>fgp-20220731_cal.xml</File>
    <File>fgp-20220731_def.xml</File>
    <File>fgp-20220731_lab.xml</File>
    <File>fgp-20220731_pre.xml</File>
    <File>fgp-20220731xex10d33.htm</File>
    <File>fgp-20220731xex21d1.htm</File>
    <File>fgp-20220731xex23d1.htm</File>
    <File>fgp-20220731xex31d1.htm</File>
    <File>fgp-20220731xex31d2.htm</File>
    <File>fgp-20220731xex31d3.htm</File>
    <File>fgp-20220731xex31d4.htm</File>
    <File>fgp-20220731xex32d1.htm</File>
    <File>fgp-20220731xex32d2.htm</File>
    <File>fgp-20220731xex32d3.htm</File>
    <File>fgp-20220731xex32d4.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="1671">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="107">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
