XML 193 R82.htm IDEA: XBRL DOCUMENT
v3.20.1

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

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