XML 210 R181.htm IDEA: XBRL DOCUMENT
v3.22.1

Earnings per share - Additional Information (Detail) - shares | Feb. 23, 2022 | Dec. 31, 2021 | Aug. 11, 2021 | Aug. 12, 2020 | Feb. 24, 2020 | Feb. 19, 2020
--- | --- | --- | --- | --- | --- | ---
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Rights outstanding |  |  | 31,032 | 86,978 | 70,939 | 2,108,542
Major ordinary share transactions [member] |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Rights outstanding | 43,925 | 2,297,491 |  |  |  |

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

X
- Definition The number of warrants rights outstanding for exercise of the rights. + References No definition available. + Details
Name: | ugp_ExerciseOfWarrantsRightsOutstanding
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ifrs-full_MajorOrdinaryShareTransactionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |