XML 175 R135.htm IDEA: XBRL DOCUMENT
v3.20.1

Intangible Assets - Additional Information (Detail) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 BRL (R$)
Disclosure of detailed information about intangible assets [line items] |
Period of evaluation | 5 years
Impairment loss | R$ 593,280
Bottom of range [member] |
Disclosure of detailed information about intangible assets [line items] |
Discount rate | 8.90%
Real growth rate | 0.00%
Top of range [member] |
Disclosure of detailed information about intangible assets [line items] |
Discount rate | 12.10%
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 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_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: |