XML 175 R150.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Gain (loss) on disposal of property, plant and equipment and intangible assets - Additional information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Gain (loss) on disposal of property, plant and equipment and intangible assets |  |  |
Gain (loss) on disposal of property, plant and equipment and intangible assets | R$ 121,935 | R$ 169,289 | R$ 184,189

X
- Definition The gains (losses) on disposals of non-current assets. [Refer: Non-current assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_GainsLossesOnDisposalsOfNoncurrentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration