XML 175 R149.htm IDEA: XBRL DOCUMENT
v3.25.1

Financial Instruments - Sensitivity analysis level 2 hierarchy (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | R$ 14,141,119 | R$ 13,947,322
Financial liabilities, fair value |  | 19,184,180 | R$ 17,995,389
Energy trading futures contracts [member] | Discounted cash flow method [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial assets, fair value |  | R$ 404,695 |
Financial liabilities, sensitivity of inputs to fair value increase | [1] | 10.00% |
Financial assets, sensitivity of inputs to fair value percentage increase | [1] | 10.00% |
Financial assets, sensitivity of inputs to fair value increase | [1] | R$ 382,794 |
Financial assets, sensitivity of inputs to fair value decrease | [1] | 404,581 |
Energy trading futures contracts [member] | Discounted cash flow method [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial liabilities, fair value |  | R$ 114,776 |
Financial liabilities, sensitivity of inputs to fair value decrease | [1] | 10.00% |
Financial assets, sensitivity of inputs to fair value percentage decrease | [1] | 10.00% |
Financial assets, sensitivity of inputs to fair value increase | [1] | R$ 115,361 |
Financial assets, sensitivity of inputs to fair value decrease | [1] | R$ 125,715 |
[1] | This 10% variation scenario represents a fluctuation considered reasonable by the Company, based on the history of negotiations concluded under similar market conditions.

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 assets. [Refer: At fair value [member]; Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_25&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_FinancialAssetsAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The fair value of financial liabilities. [Refer: At fair value [member]; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_25&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_FinancialLiabilitiesAtFairValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of increase (decrease) in the fair value measurement of assets due to a reasonably possible decrease in an unobservable input. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_h_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncreaseDecreaseInFairValueMeasurementDueToReasonablyPossibleDecreaseInUnobservableInputAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of increase (decrease) in the fair value measurement of assets due to a reasonably possible increase in an unobservable input. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_h_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncreaseDecreaseInFairValueMeasurementDueToReasonablyPossibleIncreaseInUnobservableInputAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage of a reasonably possible decrease in an unobservable input used in fair value measurement of assets. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_h_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfReasonablyPossibleDecreaseInUnobservableInputAssets
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of a reasonably possible decrease in an unobservable input used in fair value measurement of liabilities. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_h_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfReasonablyPossibleDecreaseInUnobservableInputLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of a reasonably possible increase in an unobservable input used in fair value measurement of assets. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_h_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfReasonablyPossibleIncreaseInUnobservableInputAssets
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of a reasonably possible increase in an unobservable input used in fair value measurement of liabilities. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph h -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_h_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfReasonablyPossibleIncreaseInUnobservableInputLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_EnergyTradingFuturesContractsAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ValuationTechniquesUsedInFairValueMeasurementAxis=ifrs-full_DiscountedCashFlowMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ugp_EnergyTradingFuturesContractsLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |