XML 110 R82.htm IDEA: XBRL DOCUMENT
v3.21.1

Cash and Cash Equivalents and Financial Investments - Additional Information (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Cash and cash equivalents and financial investments details narrative [abstract] |  |
Cash, cash equivalents, and financial investments | R$ 8,672,160 | R$ 5,712,097

X
- Definition Cash and cash equivalents and financial investments details narrative. + References No definition available. + Details
Name: | ugp_CashAndCashEquivalentsAndFinancialInvestmentsDetailsNarrativeAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents] + References No definition available. + Details
Name: | ugp_CashCashEquivalentsAndFinancialInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant