XML 185 R157.htm IDEA: XBRL DOCUMENT
v3.21.1

Employee Benefits and Private Pension Plan - Sensitivity analysis (Detail) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 BRL (R$)
Discount rate [member] |
Summary of employee benefits [line items] |
Change in assumptions | increase by 1.0 p.p
Decrease in liability | R$ 2,559
Change in assumptions | decrease by 1.0 p.p
Increase in liability | R$ 2,857
Medical services growth rate [member] |
Summary of employee benefits [line items] |
Change in assumptions | decrease by 1.0 p.p
Decrease in liability | R$ 18,391
Change in assumptions | increase by 1.0 p.p
Increase in liability | R$ 23,271

X
- Definition Increase in liability. + References No definition available. + Details
Name: | ugp_ActuarialAssumptionIncreaseInLiability
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Decrease in liability. + References No definition available. + Details
Name: | ugp_ActuarialAssumptionsDecreaseInLiability
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Change in assumptions, increase in liability. + References No definition available. + Details
Name: | ugp_ChangeInAssumptionsIncreaseInLiability
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Changes in assumption, decrease in liability. + References No definition available. + Details
Name: | ugp_ChangesInAssumptionDecreaseInLiability
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of employee benefits. + References No definition available. + Details
Name: | ugp_SummaryOfEmployeeBenefitsLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ActuarialAssumptionsAxis=ugp_DiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ActuarialAssumptionsAxis=ugp_MedicalServicesGrowthRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |