XML 149 R130.htm IDEA: XBRL DOCUMENT
v3.23.1

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

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 2022-03-24 -Paragraph 119 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_119_g&doctype=Standard -URIDate 2022-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: |