XML 118 R92.htm IDEA: XBRL DOCUMENT
v3.25.1

Investments in subsidiaries, joint ventures and associates - Summary of the positions of equity and income (loss) for the year (Details) - BRL (R$) R$ in Thousands |  |  | 12 Months Ended |
--- | --- | --- | --- | ---
Oct. 31, 2024 | Oct. 31, 2022 | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | R$ 15,823,444 |  | R$ 14,029,826 | R$ 12,174,968 | R$ 10,469,240
Income (loss) for the year |  |  |  | 2,525,900 |  | 2,517,753 | 1,840,069 |
Advances for acquisition |  |  |  | 90,000 |  |  |  |
Advance for future capital increase | [1] |  |  | 500,000 |  |  |  |
Total | [2] |  |  | 2,148,284 |  | 318,100 | 111,227 | R$ 78,593
Total provision for equity deficit |  |  |  | (349) |  | (256) |  |
Total investments |  |  |  | 2,148,633 |  | 318,356 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (129,675) |  | 11,908 | 12,181 |
Hidrovias do Brasil S.A. |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  | R$ 1,203,134 |  | 1,203,135 | [3] |  |  |
Income (loss) for the year |  | R$ (324,791) |  | R$ (229,904) | [3] |  |  |
Interest in share capital - % in associates |  | 41.94% |  | 41.94% | [3] |  |  |
Goodwill on investments | [4] |  |  | R$ 775,044 |  |  |  |
Advance for future capital increase | [5] |  |  | 500,000 |  |  |  |
Total investments | [3] |  |  | 504,629 |  | 0 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates | [3] |  |  | (94,842) |  | 0 | 0 |
Metalurgica plus [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | (1,045) |  |  |  |
Income (loss) for the year |  |  |  | R$ (276) |  |  |  |
Interest in share capital - % in associates |  |  |  | 33.33% |  |  |  |
Investments with negative equity |  |  |  | R$ (349) |  | (256) |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (91) |  | (99) | (105) |
Plenogas distribuidora de gas [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 3,124 |  |  |  |
Income (loss) for the year |  |  |  | R$ 2,010 |  |  |  |
Interest in share capital - % in associates |  |  |  | 33.33% |  |  |  |
Total investments |  |  |  | R$ 1,041 |  | 497 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 672 |  | 124 | 118 |
Other investments [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 0 |  |  |  |
Income (loss) for the year |  |  |  | R$ 0 |  |  |  |
Interest in share capital - % in associates |  |  |  | 0.00% |  |  |  |
Total investments |  |  |  | R$ 41 |  | 33 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 0 |  | 0 | 0 |
Transportadora sulbrasileira de gas [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 13,994 |  |  |  |
Income (loss) for the year |  |  |  | R$ 6,812 |  |  |  |
Interest in share capital - % in associates |  |  |  | 25.00% |  |  |  |
Total investments |  |  |  | R$ 3,498 |  | 3,978 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 1,704 |  | 2,043 | 2,771 |
Pão de Açúcar Group stations [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Advances for acquisition | [6] |  |  | 90,000 |  |  |  |
União Vopak – Armazéns Gerais Ltda [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 540 |  |  |  |
Income (loss) for the year |  |  |  | R$ (1,460) |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 50.00% |  |  |  |
Total investments |  |  |  | R$ 270 |  | 1,550 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (730) |  | 7,694 | (3,880) |
Refinaria de Petróleo Riograndense S.A. [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 6,081 |  | 127,033 |  |
Income (loss) for the year |  |  |  | R$ (83,097) |  | R$ 20,899 |  |
Interest in share capital - % in joint ventures |  |  |  | 33.14% |  | 33.14% |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  |  |  |  | 26,110 |
Refinaria de Petróleo Riograndense S.A. [member] | Hidrovias do Brasil S.A. |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  | R$ 75,850 |  |  |  |  |
Income (loss) for the year |  |  | R$ 78,599 |  |  |  |  |
Interest in share capital - % in joint ventures |  |  | 33.14% |  |  |  |  |
Latitude Logística Portuária S.A [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | R$ 4,449 |  |  |  |
Income (loss) for the year |  |  |  | R$ (7,555) |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 50.00% |  |  |  |
Total investments |  |  |  | R$ 2,225 |  | R$ 6,002 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (3,777) |  | (1,636) | (2,339) |
Navegantes Logística Portuária S.A [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 22,093 |  |  |  |
Income (loss) for the year |  |  |  | R$ (25,417) |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 33.33% |  |  |  |
Total investments |  |  |  | R$ 7,364 |  | 15,836 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (8,472) |  | (7,413) | (11,040) |
Nordeste Logística I S.A. [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 17,878 |  |  |  |
Income (loss) for the year |  |  |  | R$ (513) |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 33.33% |  |  |  |
Total investments |  |  |  | R$ 5,959 |  | 7,071 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (171) |  | 730 | 2,591 |
Nordeste Logística II S.A. [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 56,347 |  |  |  |
Income (loss) for the year |  |  |  | R$ 4,698 |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 33.33% |  |  |  |
Total investments |  |  |  | R$ 18,782 |  | 17,216 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 1,566 |  | (2,199) | (2,007) |
Nordeste Logística III S.A. [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 54,991 |  |  |  |
Income (loss) for the year |  |  |  | R$ 1,478 |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 33.33% |  |  |  |
Total investments |  |  |  | R$ 18,330 |  | 18,004 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 493 |  | 967 | (30) |
Quimica da Bahia Industria e Comercio S.A. [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 6,637 |  |  |  |
Income (loss) for the year |  |  |  | R$ (319) |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 50.00% |  |  |  |
Total investments |  |  |  | R$ 3,319 |  | 3,478 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (159) |  | (42) | (8) |
Terminal de Combustíveis Paulínia S.A. ("Opla") |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 119,388 | [7] | 108,311 |  |
Income (loss) for the year |  |  |  | R$ 8,324 | [7] | R$ 8,141 |  |
Interest in share capital - % in joint ventures |  |  |  | 50.00% | [7] | 50.00% |  |
Goodwill on investments | [4] |  |  | R$ 117,306 |  | R$ 158,634 |  |
Total investments | [7] |  |  | 59,694 |  | 54,155 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates | [7] |  |  | 4,162 |  | 4,071 | 0 |
Terminal de Combustíveis Paulínia S.A. ("Opla") | Terminal de Combustíveis Paulínia S.A. (“Opla”) [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Fair value adjustment on investments |  |  |  | 38,835 |  |  |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | (2,493) |  |  |  |
Other investments [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 0 |  |  |  |
Income (loss) for the year |  |  |  | R$ 0 |  |  |  |
Interest in share capital - % in associates |  |  |  | 0.00% |  |  |  |
Total investments |  |  |  | R$ 281 |  | 349 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | 0 |  | 0 | R$ 0 |
Investments with positive equity [member] | Refinaria de Petróleo Riograndense S.A. [member] |  |  |  |  |  |  |  |
Disclosure of investments accounted for using equity method [line items] |  |  |  |  |  |  |  |
Equity |  |  |  | 6,081 |  |  |  |
Income (loss) for the year |  |  |  | R$ (83,097) |  |  |  |
Interest in share capital - % in joint ventures |  |  |  | 33.14% |  |  |  |
Total investments |  |  |  | R$ 2,015 |  | 31,553 |  |
Share of profit (loss) of subsidiaries, joint ventures and associates |  |  |  | R$ (27,537) |  | R$ 7,668 |  |
[1] | Amounts refer to the advance for future capital increase made in December 2024 by subsidiary Ultrapar Logística Ltda. in Hidrovias do Brasil S.A.
[2] | Investments in subsidiaries, joint ventures and associates net of provision for equity deficit.
[3] | Hidrovias is engaged in logistics and waterway, highway and multimodal infrastructure activities in Brazil and abroad. As of May 2024, date on which the Company began to hold significant influence in Hidrovias, the share of profit (loss) of the associate is recorded with a 2-month lag, as it was not feasible to consolidate the figures at the time of acquisition and since then the Company has maintained consistency in its disclosures. For further information, see Note 27.a.
[4] | For more information on the accounting policy, see Note 14.a.
[5] | The amount refers to the advance for future capital increase of Hidrovias, made by subsidiary Ultrapar Logística Ltda. For further information, see Note 27.a
[6] | The amount refers to the advance for the acquisition of Pão de Açúcar Group service stations by subsidiary Centro de Conveniências Millenium Ltda. For further information, see Note 1.b.3
[7] | Subsidiary Ultracargo Logística S.A. acquired a 50% interest in Opla on July 1, 2023. The purchase price allocation (PPA) was completed in June 2024. For further information, see Note 27.

X
- Definition The amount of residual interest in the assets of the entity after deducting all its liabilities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 24 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_24_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 32 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_32_a_i&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_a&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_e&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_b&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 78 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Equity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the business combination's acquisition date for goodwill. [Refer: Goodwill; Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph IE72 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_IE72&doctype=Illustrative%20Examples -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_GoodwillRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of investments accounted for using the equity method. The equity method is a method of accounting whereby the investment is initially recognised at cost and adjusted thereafter for the post-acquisition change in the investor's share of net assets of the investee. The investor's profit or loss includes its share of the profit or loss of the investee. The investor's other comprehensive income includes its share of the other comprehensive income of the investee. [Refer: At cost [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 24 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_24_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B16&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_InvestmentAccountedForUsingEquityMethod
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total of income less expenses from continuing and discontinued operations, excluding the components of other comprehensive income. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 18 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_18_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 32 -Subparagraph a -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_32_a_ii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2024-01-01 -Paragraph 24 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2024-en-r&anchor=para_24_b&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_b&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph B10 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 17 -IssueDate 2024-01-01 -Paragraph 113 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2024-en-r&anchor=para_113_b&doctype=Standard -URIDate 2024-03-27 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 81A -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_81A_a&doctype=Standard -URIDate 2024-03-27 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 106 -Subparagraph d -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_106_d_i&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProfitLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The proportion of ownership interest in an associate attributable to the entity. [Refer: Total for all associates [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInAssociate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The proportion of ownership interest in a joint venture attributable to the entity. [Refer: Total for all joint ventures [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointVenture
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entity's share of the profit (loss) of associates and joint ventures accounted for using the equity method. [Refer: Total for all associates [member]; Investments accounted for using equity method; Total for all joint ventures [member]; Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_e&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23_g&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 82 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_82_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of advances for acquisition investment accounted for using equity method. + References No definition available. + Details
Name: | ugp_AdvancesForAcquisitionInvestmentAccountedForUsingEquityMethod
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of advances for future capital increase investment accounted for using equity method. + References No definition available. + Details
Name: | ugp_AdvancesForFutureCapitalIncreaseInvestmentAccountedForUsingEquityMethod
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ugp_DisclosureOfInvestmentsAccountedForUsingEquityMethodLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of fair value adjustment on investment accounted for using equity method. + References No definition available. + Details
Name: | ugp_FairValueAdjustmentOnInvestmentAccountedForUsingEquityMethod
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of investments accounted for using the equity method net of provision for equity deficit. + References No definition available. + Details
Name: | ugp_InvestmentsAccountedForUsingEquityMethodNetOfProvisionForEquityDeficit
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of provision for equity deficit related to investments accounted for using the equity method. + References No definition available. + Details
Name: | ugp_InvestmentsAccountedForUsingEquityMethodProvisionForEquityDeficit
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of investments with equity deficit accounted for using the equity method. + References No definition available. + Details
Name: | ugp_InvestmentsWithEquityDeficitAccountedForUsingEquityMethod
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ugp_HidroviasDoBrasilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ugp_MetalurgicaPlusMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ugp_PlenogasDistribuidoraDeGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ugp_OtherInvestmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ugp_TransportadoraSulbrasileiraDeGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_UniaoVopakMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_RPRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_LatitudeLogsticaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_NavegantesLogsticaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_NordesteLogsticaIMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_NordesteLogsticaIIMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_NordesteLogsticaIIIMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_QuimicaDaBahiaIndustriaEcomercioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_TerminalDeCombustiveisPauliniaSAOplaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_JointVenturesAxis=ugp_OtherInvestmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InvestmentsAccountedForUsingEquityMethodAxis=ugp_InvestmentsWithPositiveEquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |