XML 192 R165.htm IDEA: XBRL DOCUMENT
v3.19.1

Equity - Disclosure - Equity - Summary of Balances and Changes in Consolidated Dividends Payable (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Shareholders equity details [abstract] |  |  |
Beginning balance |  | R$ 320,883 |
Provisions | R$ 756,952 | 961,241 |
Payments | (808,603) | (940,250) |
Expired dividends | (3,170) | (3,029) | R$ (9,868)
Ending balance | R$ 284,024 | R$ 338,845 |

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