XML 110 R84.htm IDEA: XBRL DOCUMENT
v3.25.1

Related Parties - Summarized Changes of Number of Restricted and Performance Shares Granted (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2024 shares | Dec. 31, 2023 shares | Dec. 31, 2022 shares
Disclosure of transactions between related parties [line items] |  |  |
Shares granted | 18,521,704 |  |
Restricted and Performance Stock [member] |  |  |
Disclosure of transactions between related parties [line items] |  |  |
Share granted, beginning | 14,834,595 | 8,934,704 | 4,415,294
Shares granted | 5,061,396 | 6,930,871 | 5,702,027
Cancellation of granted shares due to termination of executive employment | (139,105) | (583,180) | (934,310)
Shares transferred (vesting) | (1,235,182) | (447,800) | (484,651)
Reclassification from assets held for sale |  |  | 236,344
Share granted, ending | 18,521,704 | 14,834,595 | 8,934,704

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 number of other equity instruments (ie other than share options) granted in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_47_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of other equity instruments (ie other than share options) exercised or vested in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of other equity instruments (ie other than share options) expired in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NumberOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of other equity instruments (ie other than share options) outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of other equity instruments (ie other than share options) reclassified from held for sale in a share-based payment arrangement. + References No definition available. + Details
Name: | ugp_NumberOfOtherEquityInstrumentsReclassifiedFromHeldForSaleInShareBasedPaymentArrangement
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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