XML 153 R127.htm IDEA: XBRL DOCUMENT
v3.25.1

Equity - Balance of treasury shares (Detail) - Treasury shares [member] - shares | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Disclosure of classes of share capital [line items] |  |  |
Number of shares in entity held by entity or by its subsidiaries or associates | 19,283,471 | 16,195,439 | 19,974,556
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,283,471 | 16,195,439 |
Number of treasury shares granted with right of use | 14,083,439 | 9,515,384 |
Number of treasury shares outstanding | 33,366,910 | 25,710,823 |

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: Total for all associates [member]; Total for all subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 79 -Subparagraph a -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_79_a_vi&doctype=Standard -URIDate 2024-03-27 + 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: |