XML 205 R177.htm IDEA: XBRL DOCUMENT
v3.21.1

Earnings per share - Weighted Average Shares Outstanding (Detail) - shares shares in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Earnings per share details 1 [abstract] |  |  |
Weighted average shares outstanding for basic per share | 1,087,050 | 1,086,642 | 1,086,394
Subscription warrants - indemnification | 3,570 | 3,570 | 3,570
Deferred stock plan | 2,858 | 2,614 | 2,602
Weighted average shares outstanding for diluted per share | 1,093,478 | 1,092,826 | 1,092,566

X
- Definition Deferred Stock Plan, net recognised as a current asset for expenditures made prior to the period when the economic benefit will be realised. + References No definition available. + Details
Name: | ugp_DeferredStockPlanShares
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Earnings per share details 1. + References No definition available. + Details
Name: | ugp_EarningsPerShareDetails1Abstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Because of the association between the Company and Extrafarma on January 31, 2014, 7 subscription warrants - indemnification were issued. The subscription warrants - indemnification may be exercised beginning 2020 by the former shareholders of Extrafarma. + References No definition available. + Details
Name: | ugp_SubscriptionWarrantsIndemnificationShares
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of ordinary shares shall be the weighted average number of ordinary shares outstanding during the period. + References No definition available. + Details
Name: | ugp_WeightedAverageSharesBasic
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]] + References No definition available. + Details
Name: | ugp_WeightedAverageSharesDiluted
Namespace Prefix: | ugp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration