XML 101 R201.htm IDEA: XBRL DOCUMENT
v3.20.1

Commitments - Minimum Annual Purchases (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2019 Ton
Commitments [abstract] |
Minimum Annual Purchase Of Camacari | 205,000
Minimum Annual Purchase Of Maua | 44,100
Maturity of Commitment of Camacari | 2021
Maturity of Commitment of Maua | 2023

X
- Definition Commitments + References No definition available. + Details
Name: | ugp_CommitmentsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum Annual Purchase Of Camacari. + References No definition available. + Details
Name: | ugp_MinimumAnnualPurchaseOfCamacari
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum Annual Purchase Of Maua. + References No definition available. + Details
Name: | ugp_MinimumAnnualPurchaseOfMaua
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of Maturity of Commitment. + References No definition available. + Details
Name: | ugp_PeriodOfMaturityOfCommitmentOfCamacari
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of Maturity of Commitment of Maua. + References No definition available. + Details
Name: | ugp_PeriodOfMaturityOfCommitmentOfMaua
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration