XML 206 R179.htm IDEA: XBRL DOCUMENT
v3.19.1

Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail) - BRL (R$) R$ in Millions | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Scenario I [member] |  |
Summary of risks and financial instruments [line items] |  |
Income statement effect | R$ 28.3 | R$ (2.6)
Equity effect | (200.9) | (140.4)
Total | (172.6) | (143.0)
Income statement effect | (28.3) | 2.6
Equity effect | 200.9 | 140.4
Total | 172.6 | 143.0
Scenario II [member] |  |
Summary of risks and financial instruments [line items] |  |
Income statement effect | 70.7 | (6.5)
Equity effect | (502.2) | (351.1)
Total | (431.5) | (357.6)
Income statement effect | (70.7) | 6.5
Equity effect | 502.2 | 351.1
Total | 431.5 | 357.6
Scenario III [member] |  |
Summary of risks and financial instruments [line items] |  |
Income statement effect | 141.4 | (13.0)
Equity effect | (1,004.4) | (702.2)
Total | (863.0) | (715.2)
Income statement effect | (141.4) | 13.0
Equity effect | 1,004.4 | 702.2
Total | R$ 863.0 | R$ 715.2

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: |