<?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-20260928.xsd" xlink:type="simple"/>
    <context id="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000884614</identifier>
        </entity>
        <period>
            <startDate>2026-09-28</startDate>
            <endDate>2026-09-28</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Tc_Uu-lOmuqHE-lnjwxwHzrgQ_2_1">0000884614</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Tc_RcaEbLAt902OD9pZzJ2jzQ_3_1">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Hidden_v2e-KZ1p8E2mtBrEBV3D5Q">UGI CORP /PA/</dei:EntityRegistrantName>
    <dei:DocumentType
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_Mp4lANwHP0iEqgibZtKKQg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_bI3v2FLr00uzqhqFHIBgPw">2026-09-28</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_L2Eka1k0bUC5tric1vp5Jw">PA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_snw20JUHXUaMaOaGl4LOMA">1-11071</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_uoftZRwLFUqia4gaBP4_3g">23-2668356</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_FRbGUtO7EkCJj_bcLlkrVw">500 North Gulph Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_U0isGXPwyEi8xZfljERihw">King of Prussia</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_IXmt3whfXEiV3HbNMUXhZw">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_s3GeOiVbLkGgYyAA_7Y_SA">19406</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_aHjQ3sToikK2siJ5-i5SEw">610</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_B5EFN1na1ECb1QkheOeauw">337-1000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_iaaaK3v9fECxFJOoctJc5g">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_jRCsQl7bEEiQDMhSuWQ_0w">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_lnPWlZlBSkKDaJyhTydruQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_nUHuQuZngUGnQD3LRtSIdA">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Tc_PpmtCzVb3ECWbS-n9YAr7Q_2_0">Common Stock, without par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Tc_yth37kDsK0mYs3GKyKCOZg_2_2">UGI</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Tc_JkEog-UTiUurZ1JBnuqqNQ_2_4">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_9_28_2026_To_9_28_2026_70WkdPMChUOnUg4ZHCguDQ"
      id="Narr_lbddsD943U6cyvMckX_5pA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
