XML 138 R110.htm IDEA: XBRL DOCUMENT
v3.21.1

Income and Social Contribution Taxes - Summary of Recovery of Deferred Tax Assets (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | R$ 1,588,001 | R$ 1,076,223
Up to 1 year [member] |  |
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | 203,341 |
From 1 to 2 years [member] |  |
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | 154,684 |
From 2 to 3 years [member] |  |
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | 79,646 |
From 3 to 5 years [member] |  |
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | 189,231 |
From 5 to 7 years [member] |  |
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | 634,200 |
From 7 to 10 Years[member] |  |
Summary of income and social contribution taxes [line items] |  |
Recovery of deferred tax assets | R$ 326,899 |

X
- Definition Total amount of Deferred income and social contribution taxes on assets. + References No definition available. + Details
Name: | ugp_DeferredIncomeAndSocialContributionTaxAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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

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

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

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

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