XML 164 R136.htm IDEA: XBRL DOCUMENT
v3.21.1

Intangible Assets - Balances of goodwill (Parenthetical) (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Disclosure of foreign subsidiaries [line items] |  |
Goodwill | R$ 931,808 | R$ 931,808
at Ultrapar [member] |  |
Disclosure of foreign subsidiaries [line items] |  |
Goodwill | R$ 246,163 |

X
- Definition An entity shall disclose the carrying amount of goodwill allocated to the unit (group of units). + References No definition available. + Details
Name: | ugp_AcquisitionsThroughBusinessCombinationsGoodwill
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of foreign subsidiaries line items. + References No definition available. + Details
Name: | ugp_DisclosureOfForeignSubsidiariesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ConsolidatedAndSeparateFinancialStatementsAxis=ifrs-full_ParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |