XML 193 R174.htm IDEA: XBRL DOCUMENT
v3.23.1

Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail) - Probable Scenario [member] R$ in Thousands | Dec. 31, 2022 BRL (R$)
--- | ---
Disclosure of detailed information about financial instruments [line items] |
Income statement effect | R$ (26,555)
Total | (26,555)
Income statement effect | 26,555
Total | R$ 26,555

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 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: |