XML 209 R181.htm IDEA: XBRL DOCUMENT
v3.21.1

Segment Information - Fixed and Intangible Assets of Company Abroad (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of segment information [line items] |  |
Fixed and intangible assets | R$ 1,406,265 | R$ 1,109,328
United States [member] |  |
Summary of segment information [line items] |  |
Fixed and intangible assets | 1,152,876 | 909,787
Mexico [member] |  |
Summary of segment information [line items] |  |
Fixed and intangible assets | 163,042 | 124,809
Uruguay [member] |  |
Summary of segment information [line items] |  |
Fixed and intangible assets | R$ 90,347 | R$ 74,732

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