XML 180 R154.htm IDEA: XBRL DOCUMENT
v3.25.1

Acquisition of Interest and Control - Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date (Details) - BRL (R$) R$ in Thousands | Sep. 01, 2024 | Sep. 01, 2023 | Dec. 31, 2024 | Aug. 31, 2024 | Jun. 30, 2024 | Jul. 01, 2023
--- | --- | --- | --- | --- | --- | ---
Comprised by |  |  |  |  |  |
Contingent consideration to be settled |  |  | R$ 42,186 |  |  |
Companhia Ultragaz S A [member] | WTZ Participações S.A. [Member] |  |  |  |  |  |
Comprised by |  |  |  |  |  |
Contingent consideration to be settled | R$ 45,384 |  |  |  |  |
Ultracargo Logística S.A. | Terminal de Combustíveis Paulínia S.A. (“Opla”) [member] |  |  |  |  |  |
Assets |  |  |  |  |  |
Cash and cash equivalents |  |  |  |  |  | R$ 3,248
Trade receivables |  |  |  |  |  | 6,107
Recoverable taxes |  |  |  |  |  | 402
Other receivables and other assets |  |  |  |  |  | 1,057
Property, plant and equipment, net |  |  |  |  |  | 248,951
Intangible assets, net |  |  |  |  |  | 10,441
Liabilities |  |  |  |  |  |
Loans and financing |  |  |  |  |  | 44,568
Trade payables |  |  |  |  |  | 911
Salaries and related charges |  |  |  |  |  | 1,430
Taxes payable, income and social contribution taxes payable |  |  |  |  |  | 13,974
Other payables |  |  |  |  |  | 23,743
Fair value of assets and liabilities according to Ultracargo's interest |  |  |  |  |  | 92,790
Goodwill based on expected future profitability |  |  |  |  | R$ 117,306 | 117,306
Fair value of investee’s assets and liabilities |  |  |  |  |  | 185,580
Acquisition value |  |  |  |  |  | R$ 210,096
Cia Ultragaz [member] | WTZ Participações S.A. [Member] |  |  |  |  |  |
Assets |  |  |  |  |  |
Cash and cash equivalents | 5,399 |  |  |  |  |
Trade receivables | 33,168 |  |  |  |  |
Recoverable taxes | 3,036 |  |  |  |  |
Prepaid expenses | 170 |  |  |  |  |
Other receivables | 320 |  |  |  |  |
Other investments | 5 |  |  |  |  |
Property, plant and equipment, net | 1,684 |  |  |  |  |
Intangible assets, net | 11 |  |  |  |  |
Derivative instruments | 209,348 |  |  |  |  |
Liabilities |  |  |  |  |  |
Loans and financing | 68 |  |  |  |  |
Trade payables | 27,541 |  |  |  |  |
Salaries and related charges | 2,211 |  |  |  |  |
Taxes payable, income and social contribution taxes payable | 80,918 |  |  |  |  |
Other payables | 2,655 |  |  |  |  |
Goodwill based on expected future profitability | 52,038 |  |  |  |  |
Non-controlling interests | 67,498 |  |  |  |  |
Assets acquired | 130,873 |  |  |  |  |
Liabilities assumed | 58,623 |  |  |  |  |
Acquisition value | 124,288 |  |  |  |  |
Comprised by |  |  |  |  |  |
Cash | 59,506 |  |  |  |  |
Acquisition of ownership interest via capital contribution (as non-controlling interests) | 23,904 |  |  |  |  |
Contingent consideration to be settled | 40,878 |  |  |  |  |
Net cash outflow resulting from the acquisition |  |  |  |  |  |
Initial consideration in cash | 59,506 |  |  |  |  |
Cash and cash equivalents acquired | (5,399) |  |  |  |  |
Net cash consumed on investments acquisition | R$ 54,107 |  |  |  |  |
Ultrapar Mobilidade Ltda. | Serra Diesel Transportador Revendedor Retalhista Ltda. [member] |  |  |  |  |  |
Assets |  |  |  |  |  |
Cash and cash equivalents |  | R$ 1,719 |  |  |  |
Trade receivables |  | 28,475 |  |  |  |
Inventories |  | 9,128 |  |  |  |
Recoverable taxes |  | 2,551 |  |  |  |
Other receivables |  | 55 |  |  |  |
Other investments |  | 298 |  |  |  |
Right-of-use assets, net |  | 25,500 |  |  |  |
Property, plant and equipment, net |  | 41,938 |  |  |  |
Intangible assets, net |  | 11,634 |  |  |  |
Liabilities |  |  |  |  |  |
Loans and financing |  | 17,337 |  |  |  |
Trade payables |  | 26,965 |  |  |  |
Salaries and related charges |  | 1,933 |  |  |  |
Taxes payable, income and social contribution taxes payable |  | 376 |  |  |  |
Leases payable |  | 25,500 |  |  |  |
Other payables |  | 8,194 |  |  |  |
Goodwill based on expected future profitability |  | 1,413 |  | R$ 1,413 |  |
Non-controlling interests |  | 16,397 |  |  |  |
Assets acquired |  | 72,779 |  |  |  |
Liabilities assumed |  | 48,183 |  |  |  |
Acquisition value |  | 26,009 |  |  |  |
Comprised by |  |  |  |  |  |
Cash |  | 5,000 |  |  |  |
Acquisition of ownership interest via capital contribution (as non-controlling interests) |  | 16,193 |  |  |  |
Contingent consideration to be settled |  | 4,816 |  |  |  |
Total consideration |  | 26,009 |  |  |  |
Net cash outflow resulting from the acquisition |  |  |  |  |  |
Initial consideration in cash |  | (5,000) |  |  |  |
Contingent consideration settled |  | (4,816) |  |  |  |
Cash and cash equivalents acquired |  | 1,720 |  |  |  |
Net cash consumed on investments acquisition |  | R$ (8,096) |  |  |  |

X
- Definition The fair value, at acquisition date, of the consideration transferred in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_f&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount recognised as of the acquisition date for borrowings assumed in a business combination. [Refer: Borrowings; Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_BorrowingsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of cash and cash equivalents in subsidiaries or other businesses over which control is obtained or lost. [Refer: Total for all subsidiaries [member]; Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 40 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_40_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashAndCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount recognised as of the acquisition date for cash and cash equivalents acquired in a business combination. [Refer: Cash and cash equivalents; Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashAndCashEquivalentsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The aggregate cash flows used in obtaining control of subsidiaries or other businesses, classified as investing activities. [Refer: Total for all subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 39 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_39&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fair value, at acquisition date, of cash transferred as consideration in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph f -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_f_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount, at acquisition date, of contingent consideration arrangements recognised as consideration transferred in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_g_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_ContingentConsiderationRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value of receivables acquired in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph h -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_h_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_FairValueOfAcquiredReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 recognised as of the acquisition date for net identifiable assets acquired or liabilities assumed in a business combination. [Refer: 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 B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 2: 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 + Details
Name: | ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for identifiable intangible assets acquired in a business combination. [Refer: Intangible assets other than 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 B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 2: 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 + Details
Name: | ifrs-full_IdentifiableIntangibleAssetsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for inventory acquired in a business combination. [Refer: Inventories; 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 B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 2: 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 + Details
Name: | ifrs-full_InventoryRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-controlling interest in the acquiree recognised at the acquisition date for business combinations in which the acquirer holds less than 100 per cent of the equity interests in the acquiree at the acquisition date. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph o -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_o_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_NoncontrollingInterestInAcquireeRecognisedAtAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for plant, property and equipment acquired in a business combination. [Refer: Property, plant and equipment; 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 B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 Reference 2: 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 + Details
Name: | ifrs-full_PropertyPlantAndEquipmentRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for trade and other payables assumed in a business combination. [Refer: Trade and other payables; Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_TradeAndOtherPayablesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition The amount recognised as of the acquisition date for derivative instruments acquired in a business combination. + References No definition available. + Details
Name: | ugp_DerivativeInstrumentsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for employee benefit liabilities assumed in a business combination. + References No definition available. + Details
Name: | ugp_EmployeeBenefitLiabilitiesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for fair value of assets and liabilities according to subsidiaries interest assumed in a business combination. + References No definition available. + Details
Name: | ugp_FairValueOfAssetsAndLiabilitiesAccordingToSubsidiariesInterestRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for fair value of investee’s assets and liabilities assumed in a business combination. + References No definition available. + Details
Name: | ugp_FairValueOfInvesteesAssetsAndLiabilitiesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for leases payable assumed in a business combination. + References No definition available. + Details
Name: | ugp_LeasesPayableRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for net assets acquired in a business combination. + References No definition available. + Details
Name: | ugp_NetAssetsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for net liabilities assumed in a business combination. + References No definition available. + Details
Name: | ugp_NetLiabilitiesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value, at the acquisition date, of non-controlling interests of the acquirer transferred as consideration in a business combination. + References No definition available. + Details
Name: | ugp_NoncontrollingInterestsOfAcquirer
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for other investments acquired in a business combination. + References No definition available. + Details
Name: | ugp_OtherInvestmentsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for other payables assumed in a business combination. + References No definition available. + Details
Name: | ugp_OtherPayablesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for other receivables and other assets acquired in a business combination. + References No definition available. + Details
Name: | ugp_OtherReceivablesAndOtherAssetsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for other receivables acquired in a business combination. + References No definition available. + Details
Name: | ugp_OtherReceivablesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Portion of initial consideration paid consisting of cash and cash equivalents + References No definition available. + Details
Name: | ugp_PortionOfInitialConsiderationPaidConsistingOfCashAndCashEquivalents
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Portion of subsequent consideration paid consisting of cash and cash equivalents + References No definition available. + Details
Name: | ugp_PortionOfSubsequentConsiderationPaidConsistingOfCashAndCashEquivalents
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount recognised as of the acquisition date for prepaid expenses acquired in a business combination. + References No definition available. + Details
Name: | ugp_PrepaidExpensesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for right-of-use assets, net acquired in a business combination. + References No definition available. + Details
Name: | ugp_RightOfUseAssetsNetRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for tax assets acquired in a business combination. + References No definition available. + Details
Name: | ugp_TaxAssetsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount recognised as of the acquisition date for tax liabilities assumed in a business combination. + References No definition available. + Details
Name: | ugp_TaxLiabilitiesRecognisedAsOfAcquisitionDate
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ugp_UltracargoLogisticaSAMember
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_SignificantInvestmentsInSubsidiariesAxis=ugp_CiaUltragazMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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