XML 206 R178.htm IDEA: XBRL DOCUMENT
v3.21.1

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

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain 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 Exercise of warrants rights outstanding. + 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: |