XML 202 R183.htm IDEA: XBRL DOCUMENT
v3.23.1

Risks and Financial Instruments - Schedule of leverage ratio (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Disclosure of detailed information about financial instruments [abstract] |  |  |  |
Loans and financing | R$ 13,274,130 | R$ 17,725,954 |  |
Cash and cash equivalents, financial investments and derivative financial instruments | 6,584,962 | 4,463,473 |  |
Net debt | 6,689,168 | 13,262,481 |  |
Equity | R$ 12,174,968 | R$ 10,469,240 | R$ 9,910,265 | R$ 9,835,175
Leverage ratio | 54.94% | 126.68% |  |

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

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 2022-03-24 -Paragraph 24 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_24_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2022-03-24 -Paragraph 32 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_32_a_i&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2022-03-24 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_a&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2022-03-24 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_b&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2022-03-24 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_e&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard -URIDate 2022-03-24 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_Equity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of net debt of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NetDebt
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of cash and cash equivalents, financial investments and derivative hedge financial instruments. + References No definition available. + Details
Name: | ugp_CashAndCashEquivalentsFinancialInvestmentsAndDerivativeHedgeFinancialInstruments
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of borrowings obtained as loans, financing and leases payable. + References No definition available. + Details
Name: | ugp_LoansFinancingAndLeasesPayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The percentage of net debt to equity ratio. + References No definition available. + Details
Name: | ugp_PercentageOfNetDebtToEquityRatio
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant