<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ugi-20260526.xsd" xlink:type="simple"/>
    <context id="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000884614</identifier>
        </entity>
        <period>
            <startDate>2026-05-26</startDate>
            <endDate>2026-05-26</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Tc_joEKg-cWmECMUew6JKNY2A_2_1">0000884614</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Tc_SYQyWnTdxEGpKi6Q2AmQaQ_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_cqlz8JEDuEqN4ybgY2v0MA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_TiWTo3CyREGdjAWbBWY-5g">2026-05-26</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_zXM-sVYxH0itMBdaOo3IKw">UGI Corp</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_Nv6Cty_aoUGD9mHybKlIxQ">PA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_JVsjEnput0yBrybiaev92Q">1-11071</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_e54iTVPYFEelCVTtpio6RQ">23-2668356</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_HrmmYIJsFUKPOJo93uUiOw">500 North Gulph Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_IcQLSpP8L0-Cc4zr8fD2sQ">King of Prussia</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_sd3UIcPWc0Wtsz2MlsS4AA">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_zDlI2b_SsU6YmiHlvRkhqA">19406</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_l75wEyQjGk2EiN3SYxkiWA">610</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_svdKAKRg7UiMZyAKcZXD6A">337-1000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_gX_UiiLGgE23k2NAMVWxCw">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_GW1Cmd38VUeRSjJ-USaVIQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_-Sxrf3gP00CU5S5PEeh_rQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_9Fb9w58zuUyGuNftThUAPw">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Tc_acqKu9bNPkqM6alUsR3ovg_2_0">Common Stock, without par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Tc_XG7EU99S2k6LItDdVH9WYQ_2_2">UGI</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Tc_E92z_mx9N0aDBy0NsfVvQQ_2_4">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_26_2026_To_5_26_2026_TdgR1woc3EmGz8GjqmQXCA"
      id="Narr_LGkAnDl18EWx2caQzi1tfA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
