<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ugi-20260811.xsd" xlink:type="simple"/>
    <context id="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000884614</identifier>
        </entity>
        <period>
            <startDate>2026-08-11</startDate>
            <endDate>2026-08-11</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Tc_OHQZewWqtk6Aj5lso_GfAw_2_1">0000884614</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Tc_3mW1y4a78E2HB6IWVsMNcw_3_1">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Hidden_c-WPsOzIDU6TzFxeqbcBEA">UGI CORP /PA/</dei:EntityRegistrantName>
    <dei:DocumentType
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_pfBym50Z3EukeBvxlgA7og">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_rCno-dCOMUSLPM1iAV3vwg">2026-08-11</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_hUtoLukWak6BitDP7bB_fA">PA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_trjCl-0-6Eq_7PRxKvXKWw">1-11071</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_kFRwavem1kqlDI0tCmxCcQ">23-2668356</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_m3U9_DVndkiIlzrFlr1w2g">500 North Gulph Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_0QWMOCXctUylK2AHXoe6QA">King of Prussia</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_F125bN0RTUmfPJDyvvxQjw">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_8qb88dTPr0S8c8QhRHihcA">19406</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_Z5_UuurtiEq66Wp_d1P_7Q">610</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_CQ3dIF_Xe02gCnClpvuwbg">337-1000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_gUrPfjVY80S7dZDYh35dhA">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_9wvzbLhPI0iNfOWYOcUbyQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_-0iaAWJPikydO-hLiP4bCA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_FszsD9oOqke_IqEMl36cSQ">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Tc__cKRg89i70O3qpJD5M1J5w_2_0">Common Stock, without par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Tc_f8zScLerxUOQ31-XcGtc0Q_2_2">UGI</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Tc_bHdBtw5bPk6WsXxm2YOa_Q_2_4">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_8_11_2026_To_8_11_2026_Mzt7iEX0wkCOlG_58676nw"
      id="Narr_NvXLGMi0pUyfy4sRUBfNjw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
