XML 221 R193.htm IDEA: XBRL DOCUMENT
v3.20.1

Risks and Financial Instruments - Value of gains (losses) recognized (Detail) - BRL (R$) R$ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Profit or loss [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | R$ (37.8) | R$ 56.2 | R$ (157.2)
Profit or loss [member] | Exchange Rate Swap Receivable In U S Dollars [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | 230.0 | 181.5 | (72.1)
Profit or loss [member] | Exchange rate swap payable in us dollars [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | (1.7) | (3.8) | 3.2
Profit or loss [member] | Interest rate swaps brl [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | (4.0) | 12.5 | 15.9
Profit or loss [member] | Nonderivative Financial Instruments [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | (262.1) | (134.0) | (104.2)
Equity [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | (349.0) | (289.4) | (31.4)
Equity [member] | Exchange Rate Swap Receivable In U S Dollars [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | 0.0 |  | 5.3
Equity [member] | Exchange rate swap payable in us dollars [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | (0.1) | 0.2 |
Equity [member] | Interest rate swaps brl [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | 0.0 |  |
Equity [member] | Nonderivative Financial Instruments [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | R$ (349.0) | R$ (289.6) | R$ (36.7)

X
- Definition The gains (losses) on hedging instruments in fair value hedges. [Refer: Fair value hedges [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2021-01-01 -Name IFRS -Number 7 -IssueDate 2019-01-01 -Paragraph 24 -Subparagraph a -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_24_a_i&doctype=Standard&book=b -URIDate 2019-03-27 + Details
Name: | ifrs-full_GainsLossesOnHedgingInstrument
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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: | ifrs-full_HedgingInstrumentsAxis=ugp_ProfitOrLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_HedgingInstrumentRatesAxis=ugp_ExchangeRateSwapReceivableInUSDollarsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_HedgingInstrumentRatesAxis=ugp_ExchangeRateSwapPayableInUsDollarsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_HedgingInstrumentRatesAxis=ugp_InterestRateSwapsBrlMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_HedgingInstrumentRatesAxis=ugp_NonDerivativeFinancialInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_HedgingInstrumentsAxis=ugp_HedgingInstrumentEquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |