XML 149 R123.htm IDEA: XBRL DOCUMENT
v3.25.1

Provisions and contingent liabilities - Contingent liabilities (possible) by nature (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Disclosure of contingent liabilities [line items] |  |
Total Contingent liabilities (possible) | R$ 5,285,187 | R$ 4,013,392
Tax [member] |  |
Disclosure of contingent liabilities [line items] |  |
Total Contingent liabilities (possible) | 4,176,046 | 3,148,224
Civil [member] |  |
Disclosure of contingent liabilities [line items] |  |
Total Contingent liabilities (possible) | 815,203 | 624,653
Labor [member] |  |
Disclosure of contingent liabilities [line items] |  |
Total Contingent liabilities (possible) | R$ 293,938 | R$ 240,515

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_DisclosureOfContingentLiabilitiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of possible loss contingency for contingent liabilities. + References No definition available. + Details
Name: | ugp_PossibleContingency
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ifrs-full_TaxContingentLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ugp_CivilContingentLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ugp_LaborContingentLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |