XML 201 R173.htm IDEA: XBRL DOCUMENT
v3.21.1

Gain (loss) on disposal of PP&E and intangibles and impairment - Additional information (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Loss on disposal of property plant and equipment and intangibles details narrative abstract [Abstract] |  |  |
Gain (loss) on disposal of property, plant, and equipment | R$ 76,150 | R$ (30,019) | R$ (22,088)
Goodwill impairment loss |  | R$ 593,280 |

X
- Definition The gains (losses) on disposals of property, plant and equipment. [Refer: Property, plant and equipment] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 98 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_98_c&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_GainsLossesOnDisposalsOfPropertyPlantAndEquipment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of impairment loss recognised in profit or loss for goodwill. [Refer: Impairment loss recognised in profit or loss; Goodwill] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2019-01-01 -Paragraph B67 -Subparagraph d -Clause v -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2019-en-r&anchor=para_B67_d_v&doctype=Appendix&subtype=B -URIDate 2019-03-27 + Details
Name: | ifrs-full_ImpairmentLossRecognisedInProfitOrLossGoodwill
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loss on disposal of property plant and equipment and intangibles details narrative. + References No definition available. + Details
Name: | ugp_LossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesDetailsNarrativeabstractAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration