XML 213 R185.htm IDEA: XBRL DOCUMENT
v3.21.1

Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Scenario I [member] |  |
Summary of risks and financial instruments [line items] |  |
Income statement effect | R$ 18,631 | R$ 45,218
Equity effect | (173,974) | (194,115)
Total | (155,343) | (148,897)
Income statement effect | (18,631) | (45,218)
Equity effect | 173,974 | 194,115
Total | 155,343 | 148,897
Scenario II [member] |  |
Summary of risks and financial instruments [line items] |  |
Income statement effect | 46,577 | 113,045
Equity effect | (434,935) | (485,287)
Total | (388,358) | (372,242)
Income statement effect | (46,577) | (113,045)
Equity effect | 434,935 | 485,287
Total | 388,358 | 372,242
Scenario III [member] |  |
Summary of risks and financial instruments [line items] |  |
Income statement effect | 93,153 | 226,089
Equity effect | (869,871) | (970,575)
Total | (776,718) | (744,486)
Income statement effect | (93,153) | (226,089)
Equity effect | 869,871 | 970,575
Total | R$ 776,718 | R$ 744,486

X
- Definition Effects regarding Real devaluation or appreciation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectDecrease
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effects regarding Real devaluation or appreciation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effects regarding Real devaluation or appreciation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectIncrease
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effects regarding Real devaluation or appreciation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effects regarding Real devaluation or appreciation risk. + References No definition available. + Details
Name: | ugp_ShareholdersEquityEffectDecrease
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effects regarding Real devaluation or appreciation risk. + References No definition available. + Details
Name: | ugp_ShareholdersEquityEffectincrease
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Summary of risks and financial instruments. + References No definition available. + Details
Name: | ugp_SummaryOfRisksAndFinancialInstrumentsLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ugp_ScenarioAxis=ugp_Scenario1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ScenarioAxis=ugp_Scenario2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ScenarioAxis=ugp_Scenario3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |