XML 165 R137.htm IDEA: XBRL DOCUMENT
v3.21.1

Intangible Assets - Additional Information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2020 | Dec. 31, 2019
Disclosure of detailed information about intangible assets [line items] |  |
Period of evaluation | 5 years |
Impairment loss | R$ 593,280 |
Software [member] |  |
Disclosure of detailed information about intangible assets [line items] |  |
Software in progress | R$ 35,718 | R$ 56,472
Bottom of range [member] |  |
Disclosure of detailed information about intangible assets [line items] |  |
Discount rate | 8.50% |
Real growth rate | 0.00% |
Top of range [member] |  |
Disclosure of detailed information about intangible assets [line items] |  |
Discount rate | 11.00% |
Real growth rate | 1.00% |
Extrafarma [member] |  |
Disclosure of detailed information about intangible assets [line items] |  |
Period of evaluation | 10 years |
Period to maturity | 4 years |

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfIntangibleAssetsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of impairment loss recognised in profit or loss for intangible assets and goodwill. [Refer: Impairment loss recognised in profit or loss; Intangible assets and goodwill] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 38 -IssueDate 2019-01-01 -Paragraph 118 -Subparagraph e -Clause iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2019-en-r&anchor=para_118_e_iv&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_ImpairmentLossRecognisedInProfitOrLossIntangibleAssetsAndGoodwill
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of intangible assets representing such assets under development. [Refer: Intangible assets other than goodwill] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 38 -IssueDate 2019-01-01 -Paragraph 119 -Subparagraph g -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2019-en-r&anchor=para_119_g&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_IntangibleAssetsUnderDevelopment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Discount Rate + References No definition available. + Details
Name: | ugp_DiscountRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of evaluation. + References No definition available. + Details
Name: | ugp_PeriodOfEvaluation
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period to maturity. + References No definition available. + Details
Name: | ugp_PeriodToMaturity
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Real growth rate + References No definition available. + Details
Name: | ugp_RealGrowthRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfIntangibleAssetsAndGoodwillAxis=ugp_SoftwareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
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_SegmentsAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |