XML 134 R105.htm IDEA: XBRL DOCUMENT
v3.22.1

Related Parties - Summary of Subsidiaries and Other Related Parties (Parenthetical) (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Routeasy Serviços de Assessoria Logística Ltda. [member] |  |
Disclosure of transactions between related parties [line items] |  |
Contract term of loans receivable from related parties | 36 months |
Borrowings, interest rate basis | 3 |
LA'7 Participaes e Empreend. Imob. Ltda. [member] |  |
Disclosure of transactions between related parties [line items] |  |
Number of drugstores under rental contracts |  | 15

X
- Definition The basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_7&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_BorrowingsInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The period of loans receivable contracted from related parties. + References No definition available. + Details
Name: | ugp_ContractTermOfLoansReceivableFromRelatedParties
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ugp_RouteasyServicosDeAssessoriaLogisticaLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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