XML 105 R190.htm IDEA: XBRL DOCUMENT
v3.20.1

Risks and Financial Instruments - Contractual undiscounted cash outflows (Parenthetical) (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2019
2020 [member] |
Summary of risks and financial instruments [line items] |
DI rate | 4.40%
Exchange rate of the Real against the U.S. dollar | 405
TJLP rate | 5.57%
IGP-M rate | 4.18%
IPCA rate | 3.46%
2021 [member] |
Summary of risks and financial instruments [line items] |
DI rate | 4.95%
Exchange rate of the Real against the U.S. dollar | 4.17
IGP-M rate | 3.99%
IPCA rate | 3.45%
2022 [member] |
Summary of risks and financial instruments [line items] |
DI rate | 5.57%
Exchange rate of the Real against the U.S. dollar | 4.33
IGP-M rate | 3.75%
IPCA rate | 3.50%
2023 [member] |
Summary of risks and financial instruments [line items] |
DI rate | 6.01%
Exchange rate of the Real against the U.S. dollar | 4.52
IGP-M rate | 3.58%
IPCA rate | 3.25%
2024 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 4.73
2025 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 4.93
2026 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.13
2027 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.34
2028 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.56
2029 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.78

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 2019-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_112_c&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_AverageForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition DI rate. + References No definition available. + Details
Name: | ugp_DiRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition IGP-M rate + References No definition available. + Details
Name: | ugp_IGPMRate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition IPCA rate + References No definition available. + Details
Name: | ugp_IPCARate
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of risks and financial instruments. + References No definition available. + Details
Name: | ugp_SummaryOfRisksAndFinancialInstrumentsLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition TJLP rate + 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_TwentyTwentyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |

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

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

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

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