XML 225 R196.htm IDEA: XBRL DOCUMENT
v3.22.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, 2021 BRL (R$) m³ | Dec. 31, 2020 BRL (R$) m³ | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Disclosure of detailed information about financial instruments [line items] |  |  |  |
Fair value | R$ 1,302 | R$ (563) |  |
Heating Oil [member] | Term [member] |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |
Notional amount (m3) | m³ | 167,255 | 108,429 |  |
Notional amount (USD thousands) | $ |  |  | $ 103,148 | $ 42,399
Fair value | R$ 2,269 | R$ (563) |  |
RBOB [member] | Term [member] |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |
Notional amount (m3) | m³ | 29,413 |  |  |
Notional amount (USD thousands) | $ |  |  | $ 17,112 |
Fair value | R$ (967) |  |  |

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

X
- Definition The fair value of financial instruments designated as hedging instruments. Hedging instruments are designated derivatives or (for a hedge of the risk of changes in foreign currency exchange rates only) designated non-derivative financial assets or non-derivative financial liabilities whose fair value or cash flows are expected to offset changes in the fair value or cash flows of a designated hedged item. [Refer: At fair value [member]; Derivatives [member]; Derivative financial assets; Derivative financial liabilities; Financial instruments, class [member]; Financial assets; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 22 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_22_b&doctype=Standard&book=b -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinancialInstrumentsDesignatedAsHedgingInstrumentsAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The nominal amount of the hedging instruments in hedging relationships to which the entity is applying the exceptions in the scope of the amendments for interest rate benchmark reform. [Refer: Nominal amount of hedging instrument] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2021-01-01 -Paragraph 24H -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_24H_e&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NominalAmountOfHedgingInstrumentsInHedgingRelationshipsToWhichAmendmentsForInterestRateBenchmarkReformAreApplied
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
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_CommodityPriceRiskMember
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_ClassesOfFinancialAssetsAxis=ugp_TermMember
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: |