XML 215 R188.htm IDEA: XBRL DOCUMENT
v3.19.1

Risks and Financial Instruments - Value of gains (losses) recognized (Detail) - BRL (R$) R$ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Profit or loss [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | R$ 56.2 | R$ (157.2) | R$ (196.8)
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 | 181.5 | (72.1) | (177.0)
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 | (3.8) | 3.2 | 9.2
Profit or loss [member] | Interest rate swaps brl [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | 12.5 | 15.9 | (0.5)
Profit or loss [member] | Nonderivative Financial Instruments [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | (134.0) | (104.2) | (28.5)
Equity [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | (289.4) | (31.4) | (28.7)
Equity [member] | Exchange Rate Swap Receivable In U S Dollars [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments |  | 5.3 | (13.8)
Equity [member] | Exchange rate swap payable in us dollars [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | 0.2 |  |
Equity [member] | Nonderivative Financial Instruments [member] |  |  |
Summary of risks and financial instruments [line items] |  |  |
Gain (loss) on hedging instruments | R$ (289.6) | R$ (36.7) | R$ (14.9)

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 2018-01-01 -Paragraph 24 -Subparagraph a -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2017-03-02&anchor=para_24_a_i&doctype=Standard&book=b -URIDate 2018-03-16 + 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: |