XML 206 R177.htm IDEA: XBRL DOCUMENT
v3.22.1

Gain (loss) on disposal of PP&E and intangibles - Additional information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Gain (loss) on disposal of PP&E and intangibles |  |  |
Gain (loss) on disposal of PP&E and intangibles | R$ 184,189 | R$ 85,455 | R$ 1,700
Gain (loss) on disposal of Conectcar | R$ 76,485 |  |

X
- Definition The gains (losses) on disposals of investments. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 98 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_98_d&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_GainsLossesOnDisposalsOfInvestments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 2021-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_112_c&doctype=Standard -URIDate 2021-03-24 + 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_DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAndImpairmentAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration