XML 112 R87.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Related Parties - Additional Information (Detail) - BRL (R$) R$ in Thousands |  | 12 Months Ended
--- | --- | ---
Apr. 19, 2017 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of transactions between related parties [line items] |  |  |  |
Provision for expected losses on accounts receivable or guarantees |  | R$ 0 |  |
Common shares approved as incentive ownership plan | 11,128,102 | 55,760,215 |  |
General and administrative expense |  | R$ 2,018,159 | R$ 1,534,481 | R$ 1,466,551
Deferred stock plan [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Amortization (reversal of amortization) of share based plans recognized as general and administrative |  | R$ 88 | (1,204) | (1,902)
Percentage of Common shares may deliver to participants to company's share capital | 1.00% | 5.00% |  |
Deferred stock plan [member] | Management | Discontinued operations [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Amortization (reversal of amortization) of share based plans recognized as general and administrative |  |  |  | R$ (1,325)
Restricted and Performance Stock [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
General and administrative expense |  | R$ 70,770 | R$ 38,204 |
Bottom of range [member] | Deferred stock plan [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of amortization from grant date |  | 5 years |  |
Bottom of range [member] | Deferred stock plan [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of transfter of ownership shares |  | 5 years |  |
Top of range [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Percentage of Common shares may deliver to participants to company's share capital |  | 1.00% |  |
Top of range [member] | Deferred stock plan [member] |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of amortization from grant date |  | 7 years |  |
Top of range [member] | Deferred stock plan [member] | Management |  |  |  |
Disclosure of transactions between related parties [line items] |  |  |  |
Period of transfter of ownership shares |  | 7 years |  |

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

X
- Definition The amount of expense relating to general and administrative activities of the entity. + 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_GeneralAndAdministrativeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares reserved for issue under options and contracts for the sale of shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 79 -Subparagraph a -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_vii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of amortization (reversal of amortization) of share based plans recognized as general and administrative expense from related party transactions. + References No definition available. + Details
Name: | ugp_AmortizationReversalOfAmortizationOfShareBasedPlansRecognizedAsGeneralAndAdministrativeExpense
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The participation percentage of reporting entity's share capital. + References No definition available. + Details
Name: | ugp_ParticipationPercentageOfShareCapital
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The period of amortization from grant date of share based plans. + References No definition available. + Details
Name: | ugp_PeriodOfAmortizationFromGrantDate
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The transfter period term of ownership shares. + References No definition available. + Details
Name: | ugp_PeriodOfTransfterOfOwnershipShares
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of provision for expected losses on accounts receivable or guarantees are recorded by the reporting entity. + References No definition available. + Details
Name: | ugp_ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ugp_SharebasedPaymentPlanNameAxis=ugp_DeferredStockUnitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_KeyManagementPersonnelOfEntityOrParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ContinuingAndDiscontinuedOperationsAxis=ifrs-full_DiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_SharebasedPaymentPlanNameAxis=ugp_RestrictedAndPerformanceStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |