XML 71 R165.htm IDEA: XBRL DOCUMENT
v3.20.1

Equity - Disclosure - Equity - Summary of Balances and Changes in Dividends Payable (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Shareholders equity details [abstract] |  |  |
Beginning balance |  | R$ 338,845 |
Provisions | R$ 329,106 | 756,952 |
Payments | (596,436) | (808,603) |
Expired dividends |  | (3,170) | R$ (3,029)
Ending balance | R$ 16,694 | R$ 284,024 |

X
- Definition Current dividend payables beginning balance. + References No definition available. + Details
Name: | ugp_CurrentDividendPayablesBeginningBalance
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Current dividend payables ending balance. + References No definition available. + Details
Name: | ugp_CurrentDividendPayablesEndingBalance
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Dividend payments. + References No definition available. + Details
Name: | ugp_DividendPayments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Dividend provision amount. + References No definition available. + Details
Name: | ugp_DividendProvisionAmount
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expired dividends. + References No definition available. + Details
Name: | ugp_ExpiredDividends
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Shareholders equity details. + References No definition available. + Details
Name: | ugp_ShareholdersEquityDetailsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration