XML 114 R89.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Related Parties - Changes of Number of Shares Granted (Detail) - Deferred stock plan [member] - Management - shares | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |  |
Share granted, beginning | 66,664 | 133,332 | 702,260
Shares transferred to executives | (66,664) | (66,668) | (448,930)
Reclassification to assets held for sale |  |  | (119,998)
Share granted, ending | 0 | 66,664 | 133,332

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_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems
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) exercised or vested in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45&doctype=Standard -URIDate 2023-03-23 + 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) outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45&doctype=Standard -URIDate 2023-03-23 + 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 to held for sale in a share-based payment arrangement. + References No definition available. + Details
Name: | ugp_NumberOfOtherEquityInstrumentsReclassifiedToHeldForSaleInShareBasedPaymentArrangement
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
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: |