XML 200 R134.htm IDEA: XBRL DOCUMENT
v3.20.1

Intangible Assets - Balances of goodwill (Parenthetical) (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018
Disclosure of foreign subsidiaries [line items] |  |
Goodwill | R$ 931,808 | R$ 1,525,088
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: |