XML 163 R135.htm IDEA: XBRL DOCUMENT
v3.21.1

Intangible Assets - Balances of goodwill (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Summary of intangible assets [line items] |  |
Goodwill | R$ 931,808 | R$ 931,808
Extrafarma [member] |  |
Summary of intangible assets [line items] |  |
Goodwill acquisition gross | 661,553 | 661,553
Goodwill acquisition impairment | R$ (593,280) | (593,280)
Segment | Extrafarma |
Goodwill | R$ 68,273 | 68,273
Ipiranga [member] |  |
Summary of intangible assets [line items] |  |
Segment | Ipiranga |
Goodwill | R$ 276,724 | 276,724
Uniao Terminais [member] |  |
Summary of intangible assets [line items] |  |
Segment | Ultracargo |
Goodwill | R$ 211,089 | 211,089
Texaco [member] |  |
Summary of intangible assets [line items] |  |
Segment | Ipiranga |
Goodwill | R$ 177,759 | 177,759
Iconic (CBLSA)[member] |  |
Summary of intangible assets [line items] |  |
Segment | Ipiranga |
Goodwill | R$ 69,807 | 69,807
Oxiteno Uruguay [member] |  |
Summary of intangible assets [line items] |  |
Segment | Oxiteno |
Goodwill | R$ 44,856 | 44,856
Temmar [member] |  |
Summary of intangible assets [line items] |  |
Segment | Ultracargo |
Goodwill | R$ 43,781 | 43,781
DNP [member] |  |
Summary of intangible assets [line items] |  |
Segment | Ipiranga |
Goodwill | R$ 24,736 | 24,736
Repsol [member] |  |
Summary of intangible assets [line items] |  |
Segment | Ultragaz |
Goodwill | R$ 13,403 | 13,403
TEAS Terminal Exportador de Alcool de Santos Ltda. [member] |  |
Summary of intangible assets [line items] |  |
Segment | Ultracargo |
Goodwill | R$ 797 | 797
Others [member] |  |
Summary of intangible assets [line items] |  |
Segment | Oxiteno |
Goodwill | R$ 583 | R$ 583

X
- Definition An entity shall disclose the carrying amount of goodwill allocated to the unit (group of units). + References No definition available. + Details
Name: | ugp_AcquisitionsThroughBusinessCombinationsGoodwill
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Acquisitions through business combinations intangible assets and goodwill gross. + References No definition available. + Details
Name: | ugp_AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwillGross
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Acquisitions through business combinations intangible assets and goodwill impairment. + References No definition available. + Details
Name: | ugp_AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwillImpairment
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Goodwill acquisition segment. + References No definition available. + Details
Name: | ugp_GoodwillAcquisitionSegment
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of intangible assets. + References No definition available. + Details
Name: | ugp_SummaryOfIntangibleAssetsLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_IpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_UniaoTerminaisMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_TexacoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_IconicCblsamemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_OxitenoUruguayMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_TemmarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_DNPMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_RepsolMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_OtherSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |