XML 207 R188.htm IDEA: XBRL DOCUMENT
v3.23.1

Commitments - Additional Information (Detail) m³ in Thousands, R$ in Thousands | Apr. 09, 2021 BRL (R$) m³ | Dec. 31, 2022 BRL (R$) T
--- | --- | ---
Disclosure of commitments and contingencies [line items] |  |
Obligations regarding minimum purchase limits | R$ |  | R$ 0
Aratu [member] |  |
Disclosure of commitments and contingencies [line items] |  |
Cargo rates per ton |  | 8.71
Suape [member] |  |
Disclosure of commitments and contingencies [line items] |  |
Cargo rates per ton |  | 3.05
Itaqui [Member] |  |
Disclosure of commitments and contingencies [line items] |  |
Cargo rates per ton |  | 0.94
Itaqui [Member] | Area port lease [member] | Ultracargo Logística S.A. | Area IQI13 [member] |  |
Disclosure of commitments and contingencies [line items] |  |
Minimum port storage capacity | m³ | 79 |
Estimated investments to port concessions | R$ | R$ 310,000 |
Minimum lease period of port concession | 20 years |
Estimated investments, disbursement period | 6 years |

X
- Definition The amount of capital commitments for which the entity has entered into a contract. [Refer: Capital commitments] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ContractualCapitalCommitments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The per ton amount of cargo rates. + References No definition available. + Details
Name: | ugp_CargoRatesPerTon
Namespace Prefix: | ugp_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Disclosure of commitments and contingencies. + References No definition available. + Details
Name: | ugp_DisclosureOfCommitmentsAndContingenciesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maturity period of estimated investments to be disbursed. + References No definition available. + Details
Name: | ugp_EstimatedInvestmentsDisbursementPeriod
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of estimated investments to port concessions. + References No definition available. + Details
Name: | ugp_EstimatedInvestmentsToPortConcessions
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The minimum lease period of port concession according to the auction notice. + References No definition available. + Details
Name: | ugp_MinimumLeasePeriodOfPortConcession
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The measurement of minimum port storage capacity. + References No definition available. + Details
Name: | ugp_MinimumPortStorageCapacity
Namespace Prefix: | ugp_
Data Type: | num:volumeItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_AratuMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_SuapeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ugp_ItaquiMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ServiceConcessionArrangementsAxis=ugp_AreaPortLeaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_UltracargoLogisticaSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_TerminalAxis=ugp_AreaIqi13Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |