XML 157 R129.htm IDEA: XBRL DOCUMENT
v3.21.1

Right to Use Assets and Leases payable - Details about lease contracts of low amount assets (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Disclosure of Lease Contracts of Low Amount Assets [Line Items] |  |
Lease payments to be payable | R$ 7,292 | R$ 9,502
Up to 1 year |  |
Disclosure of Lease Contracts of Low Amount Assets [Line Items] |  |
Lease payments to be payable | 1,147 | 3,474
Between 1 and 5 years |  |
Disclosure of Lease Contracts of Low Amount Assets [Line Items] |  |
Lease payments to be payable | 6,145 | 6,028
More than 5 years |  |
Disclosure of Lease Contracts of Low Amount Assets [Line Items] |  |
Lease payments to be payable |  |

X
- Definition Disclosure of lease contracts of low amount assets. + References No definition available. + Details
Name: | ugp_DisclosureOfLeaseContractsOfLowAmountAssetsLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Undiscounted operating lease payments to be received. + References No definition available. + Details
Name: | ugp_UndiscountedOperatingLeasePaymentsToBePayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |