XML 180 R152.htm IDEA: XBRL DOCUMENT
v3.21.1

Employee Benefits and Private Pension Plan - Additional information (Detail) R$ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
May 31, 2020 BRL (R$) | Dec. 31, 2020 BRL (R$) employee | Dec. 31, 2019 BRL (R$) | Dec. 31, 2018 BRL (R$)
Summary of employee benefits [line items] |  |  |  |
Maximum matching contribution percentage |  | 11.00% |  |
Defined contribution pension plan reversion fund | R$ | R$ 47,088 | R$ 36,068 |  |
Contribution to Ultraprev | R$ | R$ 11,020 | R$ 20,505 | R$ 21,357 | R$ 24,323
Number of active participating employees |  | 7,290 |  |
Number of retired participating employees |  | 361 |  |
Number of former employees receiving benefits |  | 23 |  |
Bottom of range [member] |  |  |  |
Summary of employee benefits [line items] |  |  |  |
Monthly accumulated fund percentage |  | 0.30% |  |
Fixed monthly accumulated fund period |  | 5 years |  |
Average period |  | 10 months |  |
Top of range [member] |  |  |  |
Summary of employee benefits [line items] |  |  |  |
Monthly accumulated fund percentage |  | 1.00% |  |
Fixed monthly accumulated fund period |  | 35 years |  |
Average period |  | 70 months |  |

X
- Definition The decrease (increase) in net defined benefit liability (asset) resulting from contributions to a defined benefit plan by the employer. [Refer: Net defined benefit liability (asset); Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2019-01-01 -Paragraph 141 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2019-en-r&anchor=para_141_f&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The weighted average duration of a defined benefit obligation. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2019-01-01 -Paragraph 147 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2019-en-r&anchor=para_147_c&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Accumulated fund percentage. + References No definition available. + Details
Name: | ugp_AccumulatedFundPercentage
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of defined contribution pension plan reversion fund. + References No definition available. + Details
Name: | ugp_DefinedContributionPensionPlanReversionFund
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fixed accumulated fund period + References No definition available. + Details
Name: | ugp_FixedAccumulatedFundPeriod
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum matching contribution in proportion to employee gross salary percentage + References No definition available. + Details
Name: | ugp_MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of active participating employees. + References No definition available. + Details
Name: | ugp_NumberOfActiveParticipatingEmployees
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of former employees receiving benefits. + References No definition available. + Details
Name: | ugp_NumberOfFormerEmployeesReceivingBenefits
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of retired participating employees. + References No definition available. + Details
Name: | ugp_NumberOfRetiredParticipatingEmployees
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
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_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: |