XML 170 R141.htm IDEA: XBRL DOCUMENT
v3.22.1

Intangible Assets - Additional Information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Disclosure of detailed information about intangible assets [line items] |  |  |
Period of evaluation |  | 5 years |
Discount rate | 10.50% |  |
Software [member] |  |  |
Disclosure of detailed information about intangible assets [line items] |  |  |
Software in progress | R$ 27,672 | R$ 13,684 | R$ 16,657
Bottom of range [member] |  |  |
Disclosure of detailed information about intangible assets [line items] |  |  |
Discount rate | 9.40% |  |
Real growth rate | 0.00% |  |
Top of range [member] |  |  |
Disclosure of detailed information about intangible assets [line items] |  |  |
Real growth rate | 1.00% |  |

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with 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 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 2021-01-01 -Paragraph 119 -Subparagraph g -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_119_g&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_IntangibleAssetsUnderDevelopment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The discount rate used to extrapolate the projections. + References No definition available. + Details
Name: | ugp_DiscountRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The evaluation period used to calculate the value. + References No definition available. + Details
Name: | ugp_PeriodOfEvaluation
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The real growth rate used to extrapolate the projections. + 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=ifrs-full_ComputerSoftwareMember
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: |