XML 120 R101.htm IDEA: XBRL DOCUMENT
v3.23.1

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

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 2022-03-24 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard -URIDate 2022-03-24 + 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: |