XML 133 R105.htm IDEA: XBRL DOCUMENT
v3.21.1

Related Parties - Changes of Number of Shares Granted (Detail) - shares | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Related parties details 3 [abstract] |  |
Share granted, beginning | 1,224,524 | 1,700,128
Cancellation of granted shares due to termination of executive employment | (200,000) |
Shares vested and transferred | (322,264) | (475,604)
Share granted, ending | 702,260 | 1,224,524

X
- Definition Cancellation of granted shares due to termination of executive employment. + References No definition available. + Details
Name: | ugp_CancellationOfGrantedSharesDueToTerminationOfExecutiveEmployment
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related parties details 3. + References No definition available. + Details
Name: | ugp_RelatedPartiesDetails3Abstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share options granted in sharebased payment arrangement. + References No definition available. + Details
Name: | ugp_ShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares vested and transferred in a share-based payment arrangement. + References No definition available. + Details
Name: | ugp_SharesVestedTransferredDuringPeriodSharebasedPaymentArrangement
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration