XML 220 R192.htm IDEA: XBRL DOCUMENT
v3.21.1

Risks and Financial Instruments - Positions of derivative financial instruments to hedge commodity price risk (Detail) - Commodity price risk [member] R$ in Thousands, $ in Thousands | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2020 BRL (R$) | Dec. 31, 2019 BRL (R$) | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($)
Statement [Line Items] |  |  |  |
Fair value | R$ (563) | R$ (1,271) |  |
Term [member] | Heating Oil [member] |  |  |  |
Statement [Line Items] |  |  |  |
Notional amount (m3) | 108,429 | 76,950 |  |
Notional amount | $ |  |  | $ 42,399 | $ 40,529
Fair value | R$ (563) | R$ (2,378) |  |
Term [member] | RBOB [member] |  |  |  |
Statement [Line Items] |  |  |  |
Notional amount (m3) |  | 64,867 |  |
Notional amount | $ |  |  |  | $ 29,243
Fair value |  | R$ 1,107 |  |

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_112_c&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Nominal volume used to calculate payments on a derivative instrument. + References No definition available. + Details
Name: | ugp_DerivativeNonmonetaryNotionalAmountVolumeOne
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value - position of hedging instruments entered into by the Company and its subsidiaries. For each class of financial assets and financial liabilities, an entity shall disclose the fair value of that class of assets and liabilities. + References No definition available. + Details
Name: | ugp_HedgingInstrumentsPositionFairValue
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | ugp_StatementLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_CommodityPriceRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ugp_TermMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ugp_HeatingOilOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ugp_RBOBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |