XML 187 R162.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risks and Financial Instruments - Sensitivity analysis of floating interest rate risk (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Exposure of interest rate risk |  |  |  |
Interest effect on debt |  | R$ 1,482,183 | R$ 1,465,259 | R$ 716,969
DI [member] |  |  |  |
Exposure of interest rate risk |  |  |  |
Interest rate |  | 13.04% |  |
Probable Scenario [member] | DI [member] |  |  |  |
Exposure of interest rate risk |  |  |  |
Effect on interest of cash equivalents and financial investments | [1] | R$ (774) |  |
Interest effect on debt | [1] | 17,516 |  |
Effect on income of short positions in DI of debt hedging instruments | [1] | 123,687 |  |
Incremental expenses |  | R$ 140,429 |  |
Interest rate |  | 10.82% |  |
Period for sensitivity analysis |  | 12 months |  |
Probable Scenario [member] | TJLP [member] |  |  |  |
Exposure of interest rate risk |  |  |  |
Interest effect on debt |  | R$ 7 |  |
Incremental expenses |  | R$ 7 |  |
[1] | The annual base rate used was 13.04% and the sensitivity rate was 10.82% according to reference rates made available by B 3, proportional to the 12 months period to sensitivity analysis.

X
- Definition The interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_BorrowingsInterestRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of interest expense on borrowings. [Refer: Interest expense; Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InterestExpenseOnBorrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exposure of interest rate risk. + References No definition available. + Details
Name: | ugp_ExposureOfInterestRateRiskAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of incremental expenses regarding Exposure of interest rate risk. + References No definition available. + Details
Name: | ugp_IncrementalExpenses
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Interest effect on cash equivalents and financial investments regarding Exposure of interest rate risk. + References No definition available. + Details
Name: | ugp_InterestEffectOnCashEquivalentsAndFinancialInvestments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of Interest rate hedging instruments (liabilities), interest effect regarding Exposure of interest rate risk. + References No definition available. + Details
Name: | ugp_InterestRateHedgingInstrumentsLiabilitiesInterestEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_PeriodForSensitivityAnalysis
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ugp_ScenarioAxis=ugp_ScenarioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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