XML 111 R85.htm IDEA: XBRL DOCUMENT
v3.25.1

Related Parties - Additional Information (Detail) - BRL (R$) R$ in Thousands |  | 12 Months Ended
--- | --- | ---
Apr. 19, 2017 | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Disclosure of transactions between related parties [line items] |  |  |  |
Common shares approved as incentive ownership plan | 11,128,102 |  | 55,760,215 |
General and administrative expense |  | R$ 1,872,092 | R$ 2,018,159 | R$ 1,534,481
Deferred stock plan [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Percentage of Common shares may deliver to participants to company's share capital | 1.00% |  | 5.00% |
Restricted and Performance Stock [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
General and administrative expense |  | R$ 112,277 | R$ 70,770 | R$ 38,204
Top of range [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Percentage of Common shares may deliver to participants to company's share capital |  |  | 1.00% |

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 amount of expense relating to general and administrative activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_112_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GeneralAndAdministrativeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares reserved for issue under options and contracts for the sale of shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 79 -Subparagraph a -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_79_a_vii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The participation percentage of reporting entity's share capital. + References No definition available. + Details
Name: | ugp_ParticipationPercentageOfShareCapital
Namespace Prefix: | ugp_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ugp_SharebasedPaymentPlanNameAxis=ugp_DeferredStockUnitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_KeyManagementPersonnelOfEntityOrParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_SharebasedPaymentPlanNameAxis=ugp_RestrictedAndPerformanceStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |