XML 176 R157.htm IDEA: XBRL DOCUMENT
v3.23.1

Equity - Balance of treasury shares (Detail) - Treasury shares [member] - shares | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Disclosure of classes of share capital [line items] |  |  |
Number of shares in entity held by entity or by its subsidiaries or associates | 19,974,556 | 23,756,393 | 24,739,626
Ordinary shares [member] |  |  |
Disclosure of classes of share capital [line items] |  |  |
Number of shares in entity held by entity or by its subsidiaries or associates | 19,974,556 |  |
Number of treasury shares granted with right of use | 6,184,427 | 3,178,383 |
Number of treasury shares outstanding | 26,158,983 |  |

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

X
- Definition The number of shares in the entity held by the entity or by its subsidiaries or associates. [Refer: Associates [member]; Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 79 -Subparagraph a -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a_vi&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_SharesInEntityHeldByEntityOrByItsSubsidiariesOrAssociates
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of treasury shares granted with right of use at end of the reporting period. + References No definition available. + Details
Name: | ugp_NumberOfTreasurySharesGrantedWithRightOfUse
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of previously issued shares repurchased by the issuing entity and held in treasury. + References No definition available. + Details
Name: | ugp_NumberOfTreasurySharesOutstanding
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ifrs-full_TreasurySharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfShareCapitalAxis=ifrs-full_OrdinarySharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |