XML 116 R89.htm IDEA: XBRL DOCUMENT
v3.19.1

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

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