XML 201 R176.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Acquisition of Interest and Control﻿ - Schedule of earnout sensitivity analysis (Details) - Ultragaz Comercial Ltda [member] - Stella GD Intermediação de Geração Distribuída de Energia Ltda [member] R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 BRL (R$)
Acquisition of Interest and Control |
Goals | Accounting net cash flow and net revenue
Changes in goals | increase by 25.0 p.p.
Increase in liability | R$ 29,545
Changes in goals | decrease by 25.0 p.p
Decrease in liabilities | R$ 27,353
Percentage of reasonably possible increase in actuarial assumptions for earnout liability | 25.00%
Percentage of reasonably possible decrease in actuarial assumptions for earnout liability | 25.00%

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_DisclosureOfBusinessCombinationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The decrease in earnout liability in a business combination that would have been caused by a decrease in a significant actuarial assumption that was reasonably possible at the end of the reporting period. + References No definition available. + Details
Name: | ugp_DecreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The description of changes in goals of reasonably possible decrease in actuarial assumptions for earnout liability in a business combination. + References No definition available. + Details
Name: | ugp_DescriptionOfChangesInGoalsOfReasonablyPossibleDecreaseInActuarialAssumptionsForEarnoutLiability
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of changes in goals of reasonably possible increase in actuarial assumptions for earnout liability in a business combination. + References No definition available. + Details
Name: | ugp_DescriptionOfChangesInGoalsOfReasonablyPossibleIncreaseInActuarialAssumptionsForEarnoutLiability
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of goals in a business combination. + References No definition available. + Details
Name: | ugp_DescriptionOfGoalsInBusinessCombination
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The increase in earnout liability in a business combination that would have been caused by an increase in a significant actuarial assumption that was reasonably possible at the end of the reporting period. + References No definition available. + Details
Name: | ugp_IncreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The reasonably possible percentage of the decrease in the actuarial assumption used to determine the present value of earnout liability in a business combination. + References No definition available. + Details
Name: | ugp_PercentageOfReasonablyPossibleDecreaseInAssumptionsForEarnoutLiability
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The reasonably possible percentage of the increase in the actuarial assumption used to determine the present value of earnout liability in a business combination. + References No definition available. + Details
Name: | ugp_PercentageOfReasonablyPossibleIncreaseInAssumptionsForEarnoutLiability
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_UltragazComercialLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_StellaGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |