XML 202 R175.htm IDEA: XBRL DOCUMENT
v3.19.1

Segment Information - Fixed and Intangible Assets of Company Abroad (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Summary of segment information [line items] |  |
Fixed and intangible assets | R$ 1,055,858 | R$ 709,302
United States [member] |  |
Summary of segment information [line items] |  |
Fixed and intangible assets | 857,049 | 511,912
Mexico [member] |  |
Summary of segment information [line items] |  |
Fixed and intangible assets | 124,037 | 109,034
Uruguay [member] |  |
Summary of segment information [line items] |  |
Fixed and intangible assets | 72,345 | 65,876
Venezuela [member] |  |
Summary of segment information [line items] |  |
Fixed and intangible assets | R$ 2,427 | R$ 22,480

X
- Definition Fixed and intangible assets. + References No definition available. + Details
Name: | ugp_FixedAndIntangibleAssets
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_MX
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_UY
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_VE
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |