XML 205 R113.htm IDEA: XBRL DOCUMENT
v3.20.1

Income and Social Contribution Taxes - Summary of Tax Incentives (Parenthetical) (Detail) R$ in Thousands | Dec. 31, 2019 BRL (R$)
--- | ---
Bahiana Distribuidora De Gas Ltda [member] |
Disclosure of deferred income and social contribution taxes [line items] |
Decrease percentage in inome tax incentive | R$ 1,067

X
- Definition Decrease percentage in inome tax incentive. + References No definition available. + Details
Name: | ugp_DecreasePercentageInInomeTaxIncentive
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of deferred income and social contribution taxes line items. + References No definition available. + Details
Name: | ugp_DisclosureOfDeferredIncomeAndSocialContributionTaxesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_BahianaDistribuidoraDeGasLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |