XML 157 R130.htm IDEA: XBRL DOCUMENT
v3.19.1

Intangible Assets - Balances of goodwill (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017
Summary of intangible assets [line items] |  |
Goodwill | R$ 1,525,088 | R$ 1,524,291
Extrafarma [member] |  |
Summary of intangible assets [line items] |  |
Segment | Extrafarma |
Goodwill | R$ 661,553 | 661,553
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
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 |
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 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_CblsaMember
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: |