XML 167 R142.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Equity - Balance of treasury shares (Detail) - Treasury shares [member] - shares | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Disclosure of classes of share capital [line items] |  |  |
Number of shares in entity held by entity or by its subsidiaries or associates | 16,195,439 | 19,974,556 | 23,756,393
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 | 16,195,439 | 19,974,556 |
Number of treasury shares granted with right of use | 9,515,384 | 6,184,427 |
Number of treasury shares outstanding | 25,710,823 | 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 2023-01-01 -Paragraph 79 -Subparagraph a -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_vi&doctype=Standard -URIDate 2023-03-23 + 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: |