XML 83 R101.htm IDEA: XBRL DOCUMENT
v3.20.1

Related Parties - Summary of Subsidiaries and Other Related Parties (Parenthetical) (Detail) - Stores | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018
LA'7 Participaes e Empreend. Imob. Ltda. [member] |  |
Summary of related parties [line items] |  |
Number of drugstores under rental contracts | 15 | 15

X
- Definition Number of drugstores under rental contracts. + References No definition available. + Details
Name: | ugp_NumberOfDrugstoresUnderRentalContracts
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of related parties. + References No definition available. + Details
Name: | ugp_SummaryOfRelatedPartiesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ugp_LA7ParticipaesEEmpreendImobLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |