XML 69 R99.htm IDEA: XBRL DOCUMENT
v3.20.1

Taxes to Recover - Additional Information (Detail) - IRPJ and CSLL [member] - Top of range [member] | 12 Months Ended
--- | ---
Dec. 31, 2019
Oxiteno S.A. and Oxiteno Nordeste [member] |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |
Realization of tax credit period | 5 years
Other Subsidiaries [member] |
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] |
Realization of tax credit period | 2 years

X
- Definition Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] + References No definition available. + Details
Name: | ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Realization of tax credit period. + References No definition available. + Details
Name: | ugp_RealizationOfTaxCreditPeriod
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ugp_TaxesAxis=ugp_IrpjandcsllMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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