XML 227 R198.htm IDEA: XBRL DOCUMENT
v3.22.1

Risks and Financial Instruments - Contractual undiscounted cash outflows (Parenthetical) (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2021 BRL (R$)
2021 [member] |
Disclosure of detailed information about financial instruments [line items] |
TJLP rate | 6.08%
2022 [member] |
Disclosure of detailed information about financial instruments [line items] |
DI rate | 11.74%
Exchange rate of the Real against the U.S. dollar | 5.75
IPCA rate | 5.11%
2023 [member] |
Disclosure of detailed information about financial instruments [line items] |
DI rate | 10.32%
Exchange rate of the Real against the U.S. dollar | 5.45
IPCA rate | 3.32%
2024 [member] |
Disclosure of detailed information about financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.1
IPCA rate | 3.10%
2025 [member] |
Disclosure of detailed information about financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 4.9
IPCA rate | 3.00%

X
- Definition The average exchange rate used by the entity. Exchange rate is the ratio of exchange for two currencies. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_112_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AverageForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

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 percentage of DI rate used to calculate interest payment of loans payable. + References No definition available. + Details
Name: | ugp_DiRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of IPCA rate used to calculate interest payment of loans payable. + References No definition available. + Details
Name: | ugp_IPCARate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of TJLP rate used to calculate interest payment of loans payable. + References No definition available. + Details
Name: | ugp_TJLPRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_TwentyTwentyOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_TwentyTwentyTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_TwentyTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_TwentyTwentyFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ugp_TwentyTwentyFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |