XML 138 R103.htm IDEA: XBRL DOCUMENT
v3.20.1

Related Parties - Additional Information (Detail) - BRL (R$) R$ in Thousands |  | 12 Months Ended
--- | --- | ---
Apr. 19, 2017 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Disclosure of related party [line items] |  |  |  |
Amortization recognized as general and administrative |  | R$ 10,321 | R$ 3,922 | R$ 11,752
total common shares approved as incentive ownership plan | 11,128,102 |  |  |
Percentage of Common shares may deliver to participants to company's share capital | 1.00% |  |  |
General and administrative expense |  | R$ 12,893 | R$ 6,001 | R$ 784
Bottom of range [member] |  |  |  |
Disclosure of related party [line items] |  |  |  |
Period of transfter of ownership shares |  | 3 years |  |
Bottom of range [member] | Deferred stock plan [member] |  |  |  |
Disclosure of related party [line items] |  |  |  |
Deferred stock plan amortization period from grant date |  | 5 years |  |
Top of range [member] |  |  |  |
Disclosure of related party [line items] |  |  |  |
Period of transfter of ownership shares |  | 6 years |  |
Top of range [member] | Deferred stock plan [member] |  |  |  |
Disclosure of related party [line items] |  |  |  |
Deferred stock plan amortization period from grant date |  | 7 years |  |

X
- Definition The amount of expense relating to general and administrative activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_112_c&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_GeneralAndAdministrativeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares reserved for issue under options and contracts for the sale of shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 79 -Subparagraph a -Clause vii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_79_a_vii&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Related parties amortization recognized as general and administrative. + References No definition available. + Details
Name: | ugp_AmortizationRecognizedAsGeneralAndAdministrativeExpense
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Deferred Share Units Vesting Period + References No definition available. + Details
Name: | ugp_DeferredShareUnitsVestingPeriod
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent concepts included in a table. Disclosure of related party. + References No definition available. + Details
Name: | ugp_DisclosureOfRelatedPartyLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Participation Percentage Of Share Capital + References No definition available. + Details
Name: | ugp_ParticipationPercentageOfShareCapital
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of transfter of ownership shares. + References No definition available. + Details
Name: | ugp_PeriodOfTransfterOfOwnershipShares
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=ugp_DeferredStockUnitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |