XML 185 R160.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail) - Probable Scenario [member] R$ in Thousands | Dec. 31, 2023 BRL (R$)
--- | ---
Disclosure of detailed information about financial instruments [line items] |
Effect on statement of income | R$ (7,935)
Effect on equity | (225)
Total | (8,160)
Effect on statement of income | 7,935
Effect on equity | 225
Total | R$ 8,160

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 amount of net effect on liability postion due to real appreciation in foreign exchange rates + References No definition available. + Details
Name: | ugp_ExchangeRateAppreciationNetEffectOnLiabilityPosition
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of net effect on liability postion due to real devaluation in foreign exchange rates + References No definition available. + Details
Name: | ugp_ExchangeRateDevaluationNetEffectOnLiabilityPosition
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of decrease in income statement effect regarding on Real appreciation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectDecrease
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of net effect regarding on Real appreciation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of increase in income statement effect regarding on Real devaluation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectIncrease
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of net effect regarding on Real devaluation risk. + References No definition available. + Details
Name: | ugp_IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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