XML 212 R185.htm IDEA: XBRL DOCUMENT
v3.19.1

Risks and Financial Instruments - Contractual undiscounted cash outflows (Parenthetical) (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2018
2018 [member] |
Summary of risks and financial instruments [line items] |
CDI rate | 6.39%
Exchange rate of the Real against the U.S. dollar | 3.87
TJLP rate | 7.03%
IGP-M rate | 8.12%
IPCA rate | 4.01%
From 2019 To 2021 [member] |
Summary of risks and financial instruments [line items] |
CDI rate | 7.38%
From 2022 To 2023 [member] |
Summary of risks and financial instruments [line items] |
CDI rate | 8.52%
From 2024 To 2033 [member] |
Summary of risks and financial instruments [line items] |
CDI rate | 9.49%
2019 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 3.92
IGP-M rate | 4.14%
2020 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 4.06
2021 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 4.27
2022 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 4.53
2023 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 4.81
2024 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.12
2025 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.44
2026 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 5.77
2027 [member] |
Summary of risks and financial instruments [line items] |
Exchange rate of the Real against the U.S. dollar | 6.13
From 2020 To 2033 [member] |
Summary of risks and financial instruments [line items] |
IGP-M rate | 3.90%

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

X
- Definition CDI rate + References No definition available. + Details
Name: | ugp_CDIRate
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_TwentyEighteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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_FromTwentyTwentyToTwentyThirtyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |