ULTRAPAR HOLDINGS INC (SEC Filing Page | XBRL Cloud Viewer | XBRL Instance)

Line Label Object Class Period Type Balance Report ElementName
1 1001 - Document - Document and Entity Information Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DocumentandEntityInformation
2 Implied Table Table

*

*

implied:Table
3 Document and entity information [abstract] Abstract ugp:DocumentAndEntityInformationAbstract
4 Document Type Concept (Submission Type) For Period dei:DocumentType
5 Amendment Flag Concept (Yes/No) For Period dei:AmendmentFlag
6 Document Period End Date Concept (Date) For Period dei:DocumentPeriodEndDate
7 Document Fiscal Year Focus Concept (Year) For Period dei:DocumentFiscalYearFocus
8 Document Fiscal Period Focus Concept (Fiscal Period) For Period dei:DocumentFiscalPeriodFocus
9 Trading Symbol Concept (Text/String) For Period dei:TradingSymbol
10 Entity Registrant Name Concept (Text/String) For Period dei:EntityRegistrantName
11 Entity Central Index Key Concept (CIK Number) For Period dei:EntityCentralIndexKey
12 Current Fiscal Year End Date Concept (Month/Day) For Period dei:CurrentFiscalYearEndDate
13 Entity Well-known Seasoned Issuer Concept (Yes/No) For Period dei:EntityWellKnownSeasonedIssuer
14 Entity Current Reporting Status Concept (Yes/No) For Period dei:EntityCurrentReportingStatus
15 Entity Filer Category Concept (Filer Category) For Period dei:EntityFilerCategory
16 Entity Shell Company Concept (Yes/No) For Period dei:EntityShellCompany
17 Entity Emerging Growth Company Concept (Yes/No) For Period dei:EntityEmergingGrowthCompany
18 Entity Common Stock, Shares Outstanding Concept (Shares) As Of dei:EntityCommonStockSharesOutstanding
19 1003 - Statement - Statements of Financial Position Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/StatementOfFinancialPositionCurrentNonCurrent-210000
20 Implied Table Table

*

*

implied:Table
21 Non Current Assets Finance Liabilities [abstract] Abstract ugp:NonCurrentAssetsFinanceLiabilitiesAbstract
22 Current assets Abstract ifrs-full:CurrentAssetsAbstract
23 Cash and cash equivalents Concept (Monetary) As Of Debit ifrs-full:CashAndCashEquivalents
24 Financial investments and hedging instruments Concept (Monetary) As Of Debit ifrs-full:CurrentInvestments
25 Trade receivables Concept (Monetary) As Of Debit ifrs-full:CurrentTradeReceivables
26 Reseller financing Concept (Monetary) As Of Debit ugp:CurrentResellerFinancing
27 Inventories Concept (Monetary) As Of Debit ifrs-full:Inventories
28 Recoverable taxes Concept (Monetary) As Of Debit ifrs-full:CurrentTaxAssetsCurrent
29 Recoverable income and social contribution taxes Concept (Monetary) As Of Debit ifrs-full:CurrentTaxAssets
30 Dividends receivable Concept (Monetary) As Of Debit ugp:DividendsReceivableCurrent
31 Other receivables Concept (Monetary) As Of Debit ifrs-full:TradeAndOtherCurrentReceivables
32 Receivables - insurer's indemnification Concept (Monetary) As Of Debit ugp:ReceivablesFromInsurersIndemnification
33 Prepaid expenses Concept (Monetary) As Of Debit ifrs-full:CurrentPrepaidExpenses
34 Contractual assets with customers - exclusive rights Concept (Monetary) As Of Debit ugp:CurrentContractualAssetsWithCustomersExclusiveRights
35 Current assets Concept (Monetary) As Of Debit ifrs-full:CurrentAssets
36 Non-current assets Abstract ifrs-full:NoncurrentAssetsAbstract
37 Financial investments and hedging instruments Concept (Monetary) As Of Debit ifrs-full:OtherNoncurrentFinancialAssets
38 Trade receivables Concept (Monetary) As Of Debit ifrs-full:NoncurrentTradeReceivables
39 Reseller financing Concept (Monetary) As Of Debit ugp:NonCurrentResellerFinancing
40 Related parties Concept (Monetary) As Of Debit ifrs-full:TradeAndOtherReceivablesDueFromRelatedParties
41 Deferred income and social contribution taxes Concept (Monetary) As Of Debit ifrs-full:DeferredTaxAssets
42 Recoverable taxes Concept (Monetary) As Of Debit ifrs-full:NoncurrentReceivablesFromTaxesOtherThanIncomeTax
43 Recoverable income and social contribution taxes Concept (Monetary) As Of Debit ugp:NonCurrentRecoverableIncomeAndSocialContributionTaxes
44 Escrow deposits Concept (Monetary) As Of Debit ifrs-full:LongtermDeposits
45 Indemnification asset - business combination Concept (Monetary) As Of Debit ugp:IndemnificationAssetBusinessCombination
46 Other receivables Concept (Monetary) As Of Debit ifrs-full:OtherNoncurrentReceivables
47 Prepaid expenses Concept (Monetary) As Of Debit ugp:NoncurrentPrepaidExpenses
48 Contractual assets with customers - exclusive rights Concept (Monetary) As Of Debit ugp:NonCurrentContractualAssetsWithCustomersExclusiveRights
49 Total long term assets Concept (Monetary) As Of Debit ugp:LongTermAssets
50 Investments Abstract ugp:InvestmentAbstract
51 In joint-ventures Concept (Monetary) As Of Debit ifrs-full:InvestmentsInJointVentures
52 In associates Concept (Monetary) As Of Debit ugp:InvestmentsInSubsidiariesInAssociates
53 Other Concept (Monetary) As Of Debit ugp:InvestmentsInSubsidiariesOther
54 Total investments Concept (Monetary) As Of Debit ifrs-full:InvestmentsInSubsidiariesJointVenturesAndAssociates
55 Property, plant, and equipment, net Concept (Monetary) As Of Debit ifrs-full:PropertyPlantAndEquipment
56 Intangible assets, net Concept (Monetary) As Of Debit ifrs-full:IntangibleAssetsOtherThanGoodwill
57 Noncurrent assets Concept (Monetary) As Of Debit ifrs-full:NoncurrentAssets
58 Total assets Concept (Monetary) As Of Debit ifrs-full:Assets
59 Current liabilities Abstract ifrs-full:CurrentLiabilitiesAbstract
60 Loans and hedging instruments Concept (Monetary) As Of Credit ugp:LoansAndHedgingInstrumentsCurrent
61 Debentures Concept (Monetary) As Of Credit ifrs-full:CurrentNotesAndDebenturesIssuedAndCurrentPortionOfNoncurrentNotesAndDebenturesIssued
62 Finance leases Concept (Monetary) As Of Credit ifrs-full:CurrentFinanceLeaseLiabilities
63 Trade payables Concept (Monetary) As Of Credit ifrs-full:TradeAndOtherCurrentPayables
64 Trade payables-agreement Concept (Monetary) As Of Credit ugp:TradeCurrentPayablesAgreement
65 Salaries and related charges Concept (Monetary) As Of Credit ugp:SalariesAndRelatedCharges
66 Taxes payable Concept (Monetary) As Of Credit ifrs-full:CurrentTaxLiabilities
67 Dividends payable Concept (Monetary) As Of Credit ifrs-full:CurrentDividendPayables
68 Income and social contribution taxes payable Concept (Monetary) As Of Credit ifrs-full:PayablesOnSocialSecurityAndTaxesOtherThanIncomeTax
69 Post-employment benefits Concept (Monetary) As Of Credit ifrs-full:CurrentProvisionsForEmployeeBenefits
70 Provision for asset retirement obligation Concept (Monetary) As Of Credit ugp:CurrentProvisionAssetRetirementObligation
71 Provision for tax, civil, and labor risks Concept (Monetary) As Of Credit ifrs-full:CurrentProvisions
72 Trade payables - customers and third parties' indemnification Concept (Monetary) As Of Credit ugp:CustomersAndThirdPartiesPayables
73 Other payables Concept (Monetary) As Of Credit ifrs-full:OtherCurrentPayables
74 Deferred revenue Concept (Monetary) As Of Credit ugp:DeferredIncomeCurrent
75 Current liabilities Concept (Monetary) As Of Credit ifrs-full:CurrentLiabilities
76 Non-current liabilities Abstract ifrs-full:NoncurrentLiabilitiesAbstract
77 Loans and hedging instruments non-current Concept (Monetary) As Of Credit ugp:LoansAndHedgingInstrumentsNonCurrent
78 Debentures Concept (Monetary) As Of Credit ifrs-full:DebtSecurities
79 Finance leases Concept (Monetary) As Of Credit ifrs-full:NoncurrentFinanceLeaseLiabilities
80 Related parties Concept (Monetary) As Of Credit ifrs-full:NoncurrentPayablesToRelatedParties
81 Deferred income and social contribution taxes Concept (Monetary) As Of Credit ifrs-full:DeferredTaxLiabilities
82 Post-employment benefits Concept (Monetary) As Of Credit ifrs-full:NoncurrentProvisionsForEmployeeBenefits
83 Provision for asset retirement obligation Concept (Monetary) As Of Credit ugp:ProvisionForAssetRetirementObligation
84 Provision for tax, civil, and labor risks Concept (Monetary) As Of Credit ifrs-full:LongtermLegalProceedingsProvision
85 Deferred revenue Concept (Monetary) As Of Credit ugp:DeferredIncomeNoncurrent
86 Subscription warrants - indemnification Concept (Monetary) As Of Credit ugp:SubscriptionWarrants
87 Other payables Concept (Monetary) As Of Credit ifrs-full:OtherNoncurrentPayables
88 Noncurrent liabilities Concept (Monetary) As Of Credit ifrs-full:NoncurrentLiabilities
89 Equity Abstract ifrs-full:EquityAbstract
90 Share capital Concept (Monetary) As Of Credit ifrs-full:IssuedCapital
91 Equity instrument granted Concept (Monetary) As Of Credit ugp:EquityInstruments
92 Capital reserve Concept (Monetary) As Of Credit ifrs-full:CapitalReserve
93 Treasury shares Concept (Monetary) As Of Debit ifrs-full:TreasuryShares
94 Revaluation reserve on subsidiaries Concept (Monetary) As Of Credit ifrs-full:OtherReserves
95 Profit reserves Concept (Monetary) As Of Credit ifrs-full:ReserveOfDiscretionaryParticipationFeatures
96 Valuation adjustments Concept (Monetary) As Of Credit ugp:EquityValuationAdjustments
97 Cumulative translation adjustments Concept (Monetary) As Of Credit ugp:CumulativeTranslationAdjustment
98 Additional dividends to the minimum mandatory dividends Concept (Monetary) As Of Credit ugp:AdditionalDividendsMinimumMandatoryDividends
99 Equity attributable to: Abstract ugp:ShareholdersEquityAttributableToAbstract
100 Shareholders of the Company Concept (Monetary) As Of Credit ifrs-full:EquityAttributableToOwnersOfParent
101 Non-controlling interests in subsidiaries Concept (Monetary) As Of Credit ifrs-full:NoncontrollingInterests
102 Total equity Concept (Monetary) As Of Credit ifrs-full:Equity
103 Total liabilities and equity Concept (Monetary) As Of Credit ifrs-full:EquityAndLiabilities
104 1004 - Statement - Statements of Profit or Loss Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/StatementOfComprehensiveIncomeProfitOrLossByFunctionOfExpense-310000
105 Implied Table Table

*

*

implied:Table
106 Profit or loss [abstract] Abstract ifrs-full:IncomeStatementAbstract
107 Net revenue from sales and services Concept (Monetary) For Period Credit ifrs-full:Revenue
108 Cost of products and services sold Concept (Monetary) For Period Debit ifrs-full:CostOfSales
109 Gross profit Concept (Monetary) For Period Credit ifrs-full:GrossProfit
110 Operating income (expenses) Abstract ugp:OperatingIncomeExpensesAbstract
111 Selling and marketing Concept (Monetary) For Period Debit ifrs-full:SellingGeneralAndAdministrativeExpense
112 General and administrative Concept (Monetary) For Period Debit ifrs-full:AdministrativeExpense
113 Loss on disposal of property, plant and equipment and intangibles Concept (Monetary) For Period Credit ifrs-full:GainsLossesOnDisposalsOfPropertyPlantAndEquipment
114 Other operating income, net Concept (Monetary) For Period Credit ifrs-full:OtherOperatingIncomeExpense
115 Operating income before financial income (expenses) and share of profit (loss) of joint ventures and associates Concept (Monetary) For Period Credit ugp:OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates
116 Share of profit (loss) of joint ventures and associates Concept (Monetary) For Period Credit ifrs-full:ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod
117 Operating income before financial income (expenses) and income and social contribution taxes Concept (Monetary) For Period Credit ugp:OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes
118 Financial income Concept (Monetary) For Period Credit ifrs-full:FinanceIncome
119 Financial expenses Concept (Monetary) For Period Debit ifrs-full:FinanceCosts
120 Financial result, net Concept (Monetary) For Period Credit ifrs-full:FinanceIncomeCost
121 Income before income and social contribution taxes Concept (Monetary) For Period Credit ifrs-full:ProfitLossBeforeTax
122 Income and social contribution taxes Abstract ifrs-full:MajorComponentsOfTaxExpenseIncomeAbstract
123 Current Concept (Monetary) For Period Debit ifrs-full:CurrentTaxExpenseIncome
124 Deferred Concept (Monetary) For Period Debit ifrs-full:DeferredTaxExpenseIncome
125 Income and social contribution taxes, total Concept (Monetary) For Period Debit ugp:IncomeAndSocialContributionTaxes
126 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
127 Net income for the year attributable to: Abstract ifrs-full:ProfitLossAttributableToAbstract
128 Shareholders of the Company Concept (Monetary) For Period Credit ifrs-full:ProfitLossAttributableToOwnersOfParent
129 Non-controlling interests in subsidiaries Concept (Monetary) For Period Credit ifrs-full:ProfitLossAttributableToNoncontrollingInterests
130 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
131 Earnings per share (based on weighted average number of shares outstanding) Abstract ifrs-full:EarningsPerShareAbstract
132 Basic Concept (Share) For Period ifrs-full:BasicEarningsLossPerShare
133 Diluted Concept (Share) For Period ifrs-full:DilutedEarningsLossPerShare
134 1005 - Statement - Statements of Comprehensive Income Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/StatementOfComprehensiveIncomeOCIComponentsPresentedNetOfTax-410000
135 Implied Table Table

*

*

implied:Table
136 Statement of comprehensive income [abstract] Abstract ifrs-full:StatementOfComprehensiveIncomeAbstract
137 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
138 Items that are subsequently reclassified to profit or loss: Abstract ugp:ItemsThatAreSubsequentlyReclassifiedToProfitOrLossAbstract
139 Fair value adjustments of financial instruments of subsidiaries, net Concept (Monetary) For Period Debit ugp:FairValueAdjustmentSubsidiaries
140 Fair value adjustments of financial instruments of joint ventures, net Concept (Monetary) For Period Debit ugp:FairValueAdjustmentJointVenture
141 Cumulative translation adjustments, net of hedge of net investments in foreign operations and income and social contribution taxes Concept (Monetary) For Period Credit ifrs-full:GainsLossesOnExchangeDifferencesOnTranslationNetOfTax
142 Items that are not subsequently reclassified to profit or loss: Abstract ugp:ItemsThatAreNotSubsequentlyReclassifiedToProfitOrLossAbstract
143 Actuarial losses of post-employment benefits of subsidiaries, net Concept (Monetary) As Of Credit ifrs-full:ActuarialPresentValueOfPromisedRetirementBenefits
144 Actuarial gains of post-employment benefits of joint ventures, net Concept (Monetary) For Period Debit ugp:OtherAdjustmentsForNoncashItems1
145 Total comprehensive income for the year Concept (Monetary) For Period Credit ifrs-full:ComprehensiveIncome
146 Total comprehensive income for the year attributable to shareholders of the Company Concept (Monetary) For Period Credit ifrs-full:ComprehensiveIncomeAttributableToOwnersOfParent
147 Total comprehensive income for the year attributable to non-controlling interest in subsidiaries Concept (Monetary) For Period Credit ifrs-full:ComprehensiveIncomeAttributableToNoncontrollingInterests
148 1006 - Statement - Statements of Changes in Equity Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/StatementOfChangesInEquity-610000
149 Statement [table] Table

*

*

ugp:StatementTable
150 Components of equity [axis] Axis ifrs-full:ComponentsOfEquityAxis
151 Equity [member] Member ifrs-full:EquityMember
152 Share capital [member] Member ifrs-full:IssuedCapitalMember
153 Equity instrument granted [member] Member ugp:EquityInstrumentGrantedMember
154 Capital reserve [member] Member ifrs-full:CapitalReserveMember
155 Treasury shares [member] Member ifrs-full:TreasurySharesMember
156 Revaluation reserve on subsidiaries Member ugp:RevaluationReserveMember
157 Legal Reserves [member] Member ugp:LegalReservesMember
158 Investments statutory reserve [member] Member ugp:InvestmentsStatutoryReserveMember
159 Valuation Adjustments [member] Member ugp:ValuationAdjustmentsMember
160 Cumulative translation adjustments [member] Member ugp:CumulativeTranslationAdjustmentsMember
161 Retained earnings [member] Member ifrs-full:RetainedEarningsMember
162 Additional dividends to the minimum mandatory dividends [member] Member ugp:AdditionalDividendsMember
163 Shareholders of the Company [member] Member ugp:EquityAttributableToShareholdersMember
164 Non-controlling interests in subsidiaries [member] Member ugp:EquityAttributableToNoncontrollingInterestsMember
165 Retention of profits [member] Member ugp:RetentionOfProfitsMember
166 Statement [LineItems] LineItems ugp:StatementLineItems
167 Beginning balance Concept (Monetary) As Of Credit ifrs-full:Equity
168 Effects of IFRS adoption Concept (Monetary) For Period Credit ugp:NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoption
169 Transfer of effects of IFRS adoption Concept (Monetary) For Period Credit ugp:NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionTransferOfEffectsOfIfrsAdoption
170 Balance as of January 1, 2016-Restated Concept (Monetary) As Of Credit ugp:EquityBalanceOnCumulativeEffectOfAdoptingIFRSNine
171 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
172 Other comprehensive income: Abstract ifrs-full:OtherComprehensiveIncomeAbstract
173 Fair value adjustments of available for sale, net of income taxes Concept (Monetary) For Period Debit ugp:AdjustmentsOfAvailableForSaleForFairValueGainsLosses
174 Fair value adjustments of financial assets, net of income taxes Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForFairValueGainsLosses
175 Actuarial losses of post-employment benefits, net of income taxes Concept (Monetary) For Period Credit ugp:ActuarialLossesOfPostEmploymentBenefitsNet
176 Actuarial losses of post-employment benefits, net of income taxes Concept (Monetary) For Period Debit ugp:ActuarialGainsOfPostEmploymentBenefitsNet
177 Currency translation of foreign subsidiaries, including the effect of net investments hedge Concept (Monetary) For Period Debit ifrs-full:OtherAdjustmentsToReconcileProfitLoss
178 Total comprehensive income for the year Concept (Monetary) For Period Credit ifrs-full:ComprehensiveIncome
179 Equity instrument granted Concept (Monetary) For Period Credit ugp:EquityInstrumentGranted
180 Sale of treasury shares Concept (Monetary) For Period Credit ifrs-full:SaleOrIssueOfTreasuryShares
181 Capital increase with reserves Concept (Monetary) For Period Credit ifrs-full:IncreaseDecreaseInWorkingCapital
182 Stock plan Concept (Monetary) For Period Credit ugp:IncreaseDecreaseThroughStockPlans
183 Realization of revaluation reserve of subsidiaries Concept (Monetary) For Period Credit ugp:RealizationOfRevaluationReserveOfSubsidiaries
184 Income and social contribution taxes on realization of revaluation reserve of subsidiaries Concept (Monetary) For Period Credit ugp:IncomeAndSocialContributionTaxesOnRealizationOfRevaluationReserveOfSubsidiaries
185 Expired dividends Concept (Monetary) For Period Debit ugp:ExpiredDividends
186 Transfer to investments reserve Concept (Monetary) For Period Credit ifrs-full:IncreaseDecreaseThroughTransferToStatutoryReserve
187 Additional dividends attributable to non-controlling interests Concept (Monetary) For Period Debit ugp:AddititionalDividendsNonControlingInterest
188 Additional dividends attributable to non-controlling interests Concept (Monetary) For Period Credit ugp:AdditionalDividendsNonControllingInterest
189 Approval of additional dividends by the Shareholders' Meeting Concept (Monetary) For Period Debit ifrs-full:DividendsPaid
190 Non-controlling interests added due to business combination Concept (Monetary) For Period Credit ugp:NoncontrollingInterestsAddedDueToBusinessCombination
191 Non-controlling interests changes - CBLSA Concept (Monetary) For Period Credit ugp:NoncontrollingInterestsChangesCBLSA
192 Allocation of net income: Abstract ugp:AllocationOfNetIncomeAbstract
193 Legal reserve Concept (Monetary) For Period Credit ifrs-full:IncreaseDecreaseThroughTransfersAndOtherChangesEquity
194 Interim dividends (R$ 0.80 per share of the Company) Concept (Monetary) For Period Debit ugp:InterimDividends2
195 Interim dividends (R$ 0.56 per share of the Company) Concept (Monetary) For Period Debit ugp:InterimDividends
196 Proposed dividends (R$ 0.90 per share of the Company) Concept (Monetary) For Period Debit ugp:ProposedDividends2
197 Proposed dividends (R$ 0.87 per share of the Company) Concept (Monetary) For Period Debit ugp:ProposedDividends3
198 Proposed dividends (R$ 0.70 per share of the Company) Concept (Monetary) For Period Debit ugp:ProposedDividends
199 Retention of profits Concept (Monetary) For Period Credit ugp:StatutoryInvestmentsReserves
200 Statutory reserve Concept (Monetary) For Period Credit ugp:IncreaseDecreaseInStatutoryReserveDeposits
201 Ending balance Concept (Monetary) As Of Credit ifrs-full:Equity
202 1007 - Statement - Statements of Changes in Equity (Parenthetical) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/StatementOfChangesInEquity-610000Parenthetical
203 Implied Table Table

*

*

implied:Table
204 Statement of changes in equity [abstract] Abstract ifrs-full:StatementOfChangesInEquityAbstract
205 Interim dividends, paid per share Concept (Share) For Period ugp:InterimDividendsPerShare
206 Proposed dividends, per share Concept (Share) For Period ugp:ProposedDividendsPerShare
207 1008 - Statement - Statements of Cash Flows-Indirect Method Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/StatementOfCashFlowsIndirectMethod-520000
208 Implied Table Table

*

*

implied:Table
209 Statement of cash flows [abstract] Abstract ifrs-full:StatementOfCashFlowsAbstract
210 Cash flows from operating activities Abstract ifrs-full:CashFlowsFromUsedInOperatingActivitiesAbstract
211 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
212 Adjustments to reconcile net income to cash provided by operating activities Abstract ifrs-full:AdjustmentsForReconcileProfitLossAbstract
213 Share of loss (profit) of joint ventures and associates Concept (Monetary) For Period Credit ifrs-full:ShareOfProfitLossOfContinuingOperationsOfAssociatesAndJointVenturesAccountedForUsingEquityMethod
214 Amortization of contractual assets with customers - exclusive rights Concept (Monetary) For Period Debit ifrs-full:AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers
215 Depreciation and amortization Concept (Monetary) For Period Debit ifrs-full:DepreciationExpense
216 PIS and COFINS credits on depreciation Concept (Monetary) For Period Credit ugp:CreditsOnDepreciation
217 Interest and foreign exchange rate variations Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForUnrealisedForeignExchangeLossesGains
218 Deferred income and social contribution taxes Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDeferredTaxExpense
219 (Gain) loss on disposal of property, plant and equipment and intangibles Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForLossesGainsOnDisposalOfNoncurrentAssets
220 Estimated losses on doubtful accounts Concept (Monetary) For Period Debit ugp:AdjustmentsForEstimatedLossesOnDoubtfulAccounts
221 Provision for losses in inventories Concept (Monetary) For Period Debit ugp:AdjustmentsForProvisionForLossesInInventories
222 Provision for post-employment benefits Concept (Monetary) For Period Debit ugp:AdjustmentsForProvisionForPostemploymentBenefits
223 Other provisions and adjustments Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseInOtherProvisionsArisingFromPassageOfTime
224 Adjustments, total Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForReconcileProfitLoss
225 (Increase) decrease in current assets Abstract ugp:IncreaseDecreaseInCurrentAssetsAbstract
226 Trade receivables and reseller financing Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable
227 Inventories Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInInventories
228 Recoverable taxes Concept (Monetary) For Period Debit ugp:AdjustmentsForRecoverableTaxes
229 Dividends received from joint-ventures Concept (Monetary) For Period Debit ifrs-full:DividendsReceivedClassifiedAsOperatingActivities
230 Insurance and other receivables Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables
231 Prepaid expenses Concept (Monetary) For Period Debit ugp:AdjustmentsForPrepaidExpenses
232 Increase (decrease) in current liabilities Abstract ugp:IncreaseDecreaseInCurrentLiabilitiesAbstract
233 Trade payables Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseDecreaseInTradeAccountPayable
234 Salaries and related charges Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInSalariesAndRelatedCharges
235 Taxes payable Concept (Monetary) For Period Credit ifrs-full:IncomeTaxesPaidRefundClassifiedAsOperatingActivities
236 Income and social contribution taxes Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInIncomeAndSocialContributionTaxesPaidCurrent
237 Post-employment benefits Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseDecreaseInEmployeeBenefitLiabilities
238 Provision for tax, civil, and labor risks Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInProvisionForTaxCivilAndLaborRisksCurrent
239 Insurance and other payables Concept (Monetary) For Period Debit ugp:AdjustmentsForIncreaseDecreaseInInsuranceAndOtherPayables
240 Deferred revenue Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseDecreaseInDeferredIncome
241 (Increase) decrease in non-current assets Abstract ugp:IncreaseDecreaseInNonCurrentAssetsAbstract
242 Trade receivables and reseller financing Concept (Monetary) For Period Debit ugp:AdjustmentsForDecreaseIncreaseInTradeAccountReceivableNonCurrent
243 Recoverable taxes Concept (Monetary) For Period Debit ugp:AdjustmentsForIncreaseDecreaseRecoverableTaxesNonCurrent
244 Escrow deposits Concept (Monetary) For Period Debit ugp:AdjustmentsForIncreaseDecreaseInEscrowDepositsNonCurrent
245 Other receivables Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInTradeAndOtherReceivables
246 Prepaid expenses Concept (Monetary) For Period Debit ugp:AdjustmentsForIncreaseDecreasePrepaidExpensesNoncurrent
247 Increase (decrease) in non-current liabilities Abstract ugp:IncreaseDecreaseInNonCurrentLiabilitiesAbstract
248 Post-employment benefits Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInPostEmploymentBenefitsNonCurrent
249 Provision for tax, civil, and labor risks Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInProvisionForTaxCivilAndLaborRisksNoncurrent
250 Other payables Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseDecreaseInOtherOperatingPayables
251 Deferred revenue Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInDeferredRevenueNoncurrent
252 Payments of contractual assets with customers - exclusive rights Concept (Monetary) For Period Credit ugp:AdjustmentsForPaymentsOfContractualAssetsWithCustomersExclusiveRightsNoncurrent
253 Income and social contribution taxes paid Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInIncomeAndSocialContributionTaxesPaidNoncurrent
254 Net cash provided by operating activities Concept (Monetary) For Period ifrs-full:CashFlowsFromUsedInOperatingActivities
255 Cash flows from investing activities Abstract ifrs-full:CashFlowsFromUsedInInvestingActivitiesAbstract
256 Financial investments, net of redemptions Concept (Monetary) For Period Debit ifrs-full:OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities
257 Cash of companies acquired Concept (Monetary) For Period Debit ifrs-full:OtherCashReceiptsFromSalesOfEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities
258 Acquisition of property, plant, and equipment Concept (Monetary) For Period Credit ifrs-full:PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities
259 Acquisition of intangible assets Concept (Monetary) For Period Credit ifrs-full:PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities
260 Acquisition of companies Concept (Monetary) For Period Credit ifrs-full:CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities
261 Capital increase in joint ventures Concept (Monetary) For Period Credit ifrs-full:OtherCashPaymentsToAcquireInterestsInJointVenturesClassifiedAsInvestingActivities
262 Capital reduction in associates Concept (Monetary) For Period Credit ugp:CapitalReductionInAssociatesClassifiedAsInvestingActivities
263 Proceeds from disposal of property, plant and equipment and intangibles Concept (Monetary) For Period Debit ifrs-full:ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities
264 Net cash used in investing activities Concept (Monetary) For Period Debit ifrs-full:CashFlowsFromUsedInInvestingActivities
265 Cash flows from financing activities Abstract ifrs-full:CashFlowsFromUsedInFinancingActivitiesAbstract
266 Proceeds Concept (Monetary) For Period Debit ifrs-full:ProceedsFromBorrowingsClassifiedAsFinancingActivities
267 Repayments Concept (Monetary) For Period Credit ifrs-full:RepaymentsOfBorrowingsClassifiedAsFinancingActivities
268 Interest paid Concept (Monetary) For Period Credit ifrs-full:InterestPaidClassifiedAsFinancingActivities
269 Payments of financial lease Concept (Monetary) For Period Credit ifrs-full:PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities
270 Dividends paid Concept (Monetary) For Period Credit ifrs-full:DividendsPaidClassifiedAsFinancingActivities
271 Related parties Concept (Monetary) For Period Debit ifrs-full:CashReceiptsFromRepaymentOfAdvancesAndLoansMadeToRelatedParties
272 Net cash provided by (used in) financing activities Concept (Monetary) For Period Debit ifrs-full:CashFlowsFromUsedInFinancingActivities
273 Effect of exchange rate changes on cash and cash equivalents in foreign currency Concept (Monetary) For Period Debit ifrs-full:EffectOfExchangeRateChangesOnCashAndCashEquivalents
274 Increase (decrease) in cash and cash equivalents Concept (Monetary) For Period Debit ifrs-full:IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges
275 Cash and cash equivalents at the beginning of the year Concept (Monetary) As Of Debit ifrs-full:CashAndCashEquivalents
276 Cash and cash equivalents at the end of the year Concept (Monetary) As Of Debit ifrs-full:CashAndCashEquivalents
277 1009 - Disclosure - Operations Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfOperationsExplanatory
278 Implied Table Table

*

*

implied:Table
279 Text block [abstract] Abstract ugp:TextBlockAbstract
280 Operations Concept (Text Block (HTML)) For Period ugp:DisclosureOfOperationsExplanatory
281 1010 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory
282 Implied Table Table

*

*

implied:Table
283 Text block [abstract] Abstract ugp:TextBlockAbstract
284 Presentation of Financial Statements and Summary of Significant Accounting Policies Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory
285 1011 - Disclosure - Principles of Consolidation, Investments in Subsidiaries and Acquisition Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfPrinciplesOfConsolidationExplanatory
286 Implied Table Table

*

*

implied:Table
287 Text block [abstract] Abstract ugp:TextBlockAbstract
288 Principles of Consolidation, Investments in Subsidiaries and Acquisition Concept (Text Block (HTML)) For Period ugp:DisclosureOfPrinciplesOfConsolidationExplanatory
289 1012 - Disclosure - Cash and Cash Equivalents and Financial Investments Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCashAndCashEquivalentsExplanatory
290 Implied Table Table

*

*

implied:Table
291 Text block [abstract] Abstract ugp:TextBlockAbstract
292 Cash and Cash Equivalents and Financial Investments Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory
293 1013 - Disclosure - Trade Receivables and Reseller Financing Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTradeAndOtherReceivablesExplanatory
294 Implied Table Table

*

*

implied:Table
295 Text block [abstract] Abstract ugp:TextBlockAbstract
296 Trade Receivables and Reseller Financing Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory
297 1014 - Disclosure - Inventories Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfInventoriesExplanatory
298 Implied Table Table

*

*

implied:Table
299 Text block [abstract] Abstract ugp:TextBlockAbstract
300 Inventories Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfInventoriesExplanatory
301 1015 - Disclosure - Taxes to Recover Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTaxesToRecoverExplanatory
302 Implied Table Table

*

*

implied:Table
303 Text block [abstract] Abstract ugp:TextBlockAbstract
304 Taxes to Recover Concept (Text Block (HTML)) For Period ugp:DisclosureOfTaxesToRecoverExplanatory
305 1016 - Disclosure - Related Parties Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfRelatedPartyExplanatory
306 Implied Table Table

*

*

implied:Table
307 Text block [abstract] Abstract ugp:TextBlockAbstract
308 Related Parties Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfRelatedPartyExplanatory
309 1017 - Disclosure - Income and Social Contribution Taxes Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfIncomeTaxExplanatory
310 Implied Table Table

*

*

implied:Table
311 Text block [abstract] Abstract ugp:TextBlockAbstract
312 Income and Social Contribution Taxes Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfIncomeTaxExplanatory
313 1018 - Disclosure - Prepaid Expenses Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfPrepaidExpensesExplanatory
314 Implied Table Table

*

*

implied:Table
315 Text block [abstract] Abstract ugp:TextBlockAbstract
316 Prepaid Expenses Concept (Text Block (HTML)) For Period ugp:DisclosureOfPrepaidExpensesExplanatory
317 1019 - Disclosure - Contractual Assets with Customers - Exclusive Rights Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfContractAssetsWithCustomersExclusiveRightsExplanatory
318 Implied Table Table

*

*

implied:Table
319 Text block [abstract] Abstract ugp:TextBlockAbstract
320 Contractual Assets with Customers - Exclusive Rights Concept (Text Block (HTML)) For Period ugp:DisclosureOfContractAssetsWithCustomersExclusiveRightsExplanatory
321 1020 - Disclosure - Investments Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfInvestmentsExplanatory
322 Implied Table Table

*

*

implied:Table
323 Text block [abstract] Abstract ugp:TextBlockAbstract
324 Investments Concept (Text Block (HTML)) For Period ugp:DisclosureOfInvestmentsExplanatory
325 1021 - Disclosure - Property, Plant, and Equipment Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfPropertyPlantAndEquipmentExplanatory
326 Implied Table Table

*

*

implied:Table
327 Text block [abstract] Abstract ugp:TextBlockAbstract
328 Property, Plant, and Equipment Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory
329 1022 - Disclosure - Intangible Assets Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfIntangibleAssetsExplanatory
330 Implied Table Table

*

*

implied:Table
331 Text block [abstract] Abstract ugp:TextBlockAbstract
332 Intangible Assets Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfIntangibleAssetsExplanatory
333 1023 - Disclosure - Loans, Debentures, and Finance Leases Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfLoansAndAdvancesToBanksExplanatory
334 Implied Table Table

*

*

implied:Table
335 Text block [abstract] Abstract ugp:TextBlockAbstract
336 Loans, Debentures, and Finance Leases Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfLoansAndAdvancesToBanksExplanatory
337 1024 - Disclosure - Trade Payables Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTradeAndOtherPayablesExplanatory
338 Implied Table Table

*

*

implied:Table
339 Text block [abstract] Abstract ugp:TextBlockAbstract
340 Trade Payables Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory
341 1025 - Disclosure - Salaries and Related Charges Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfSalariesAndRelatedChargesExplanatory
342 Implied Table Table

*

*

implied:Table
343 Text block [abstract] Abstract ugp:TextBlockAbstract
344 Salaries and Related Charges Concept (Text Block (HTML)) For Period ugp:DisclosureOfSalariesAndRelatedChargesExplanatory
345 1026 - Disclosure - Taxes Payable Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTaxReceivablesAndPayablesExplanatory
346 Implied Table Table

*

*

implied:Table
347 Text block [abstract] Abstract ugp:TextBlockAbstract
348 Taxes Payable Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfTaxReceivablesAndPayablesExplanatory
349 1027 - Disclosure - Employee Benefits and Private Pension Plan Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfEmployeeBenefitsExplanatory
350 Implied Table Table

*

*

implied:Table
351 Text block [abstract] Abstract ugp:TextBlockAbstract
352 Employee Benefits and Private Pension Plan Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfEmployeeBenefitsExplanatory
353 1028 - Disclosure - Provision for Asset Retirement Obligation - Fuel Tanks Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfOtherProvisionsExplanatory
354 Implied Table Table

*

*

implied:Table
355 Text block [abstract] Abstract ugp:TextBlockAbstract
356 Provision for Asset Retirement Obligation - Fuel Tanks Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfOtherProvisionsExplanatory
357 1029 - Disclosure - Provisions and Contingencies Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfProvisionsExplanatory
358 Implied Table Table

*

*

implied:Table
359 Text block [abstract] Abstract ugp:TextBlockAbstract
360 Provisions and Contingencies Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfProvisionsExplanatory
361 1030 - Disclosure - Ultracargo - Fire Accident in Santos Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfUltracargoFireAccidentInSantosExplanatory
362 Implied Table Table

*

*

implied:Table
363 Text block [abstract] Abstract ugp:TextBlockAbstract
364 Ultracargo - Fire Accident in Santos Concept (Text Block (HTML)) For Period ugp:DisclosureOfUltracargoFireAccidentInSantosExplanatory
365 1031 - Disclosure - Deferred Revenue Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfDeferredRevenueExplanatory
366 Implied Table Table

*

*

implied:Table
367 Text block [abstract] Abstract ugp:TextBlockAbstract
368 Deferred Revenue Concept (Text Block (HTML)) For Period ugp:DisclosureOfDeferredRevenueExplanatory
369 1032 - Disclosure - Subscription warrants - indemnification Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfSubscriptionWarrantsExplanatory
370 Implied Table Table

*

*

implied:Table
371 Text block [abstract] Abstract ugp:TextBlockAbstract
372 Subscription warrants - indemnification Concept (Text Block (HTML)) For Period ugp:DisclosureOfSubscriptionWarrantsExplanatory
373 1033 - Disclosure - Equity Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfStockholdersEquityExplanatory
374 Implied Table Table

*

*

implied:Table
375 Text block [abstract] Abstract ugp:TextBlockAbstract
376 Equity Concept (Text Block (HTML)) For Period ugp:DisclosureOfStockholdersEquityExplanatory
377 1034 - Disclosure - Net Revenue from Sale and Services Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfRevenueExplanatory
378 Implied Table Table

*

*

implied:Table
379 Text block [abstract] Abstract ugp:TextBlockAbstract
380 Net Revenue from Sale and Services Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfRevenueExplanatory
381 1035 - Disclosure - Expenses by Nature Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfExpensesByNatureExplanatory
382 Implied Table Table

*

*

implied:Table
383 Text block [abstract] Abstract ugp:TextBlockAbstract
384 Expenses by Nature Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfExpensesByNatureExplanatory
385 1036 - Disclosure - Gain (loss) on Disposal of Property, Plant and Equipment and Intangibles Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesExplanatory
386 Implied Table Table

*

*

implied:Table
387 Text block [abstract] Abstract ugp:TextBlockAbstract
388 Gain (loss) on Disposal of Property, Plant and Equipment and Intangibles Concept (Text Block (HTML)) For Period ugp:GainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesExplanatory
389 1037 - Disclosure - Other Operating Income, Net Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfOtherOperatingIncomeExpenseExplanatory
390 Implied Table Table

*

*

implied:Table
391 Text block [abstract] Abstract ugp:TextBlockAbstract
392 Other Operating Income, Net Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfOtherOperatingIncomeExpenseExplanatory
393 1038 - Disclosure - Financial Income (Expense) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfFinancialIncomeExpenseExplanatory
394 Implied Table Table

*

*

implied:Table
395 Text block [abstract] Abstract ugp:TextBlockAbstract
396 Financial Income (Expense) Concept (Text Block (HTML)) For Period ugp:DisclosureOfFinancialIncomeExpenseExplanatory
397 1039 - Disclosure - Earnings per Share Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfEarningsPerShareExplanatory
398 Implied Table Table

*

*

implied:Table
399 Text block [abstract] Abstract ugp:TextBlockAbstract
400 Earnings per Share Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfEarningsPerShareExplanatory
401 1040 - Disclosure - Segment Information Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfEntitysReportableSegmentsExplanatory
402 Implied Table Table

*

*

implied:Table
403 Text block [abstract] Abstract ugp:TextBlockAbstract
404 Segment Information Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory
405 1041 - Disclosure - Risks and Financial Instruments Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsExplanatory
406 Implied Table Table

*

*

implied:Table
407 Text block [abstract] Abstract ugp:TextBlockAbstract
408 Risks and Financial Instruments Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsExplanatory
409 1042 - Disclosure - Commitments Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCommitmentsExplanatory
410 Implied Table Table

*

*

implied:Table
411 Text block [abstract] Abstract ugp:TextBlockAbstract
412 Commitments Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfCommitmentsExplanatory
413 1043 - Disclosure - Subsequent events Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfEventsAfterReportingPeriodExplanatory
414 Implied Table Table

*

*

implied:Table
415 Text block [abstract] Abstract ugp:TextBlockAbstract
416 Subsequent events Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory
417 1044 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies (Policies) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfSummaryOfSignificantAccountingPoliciesExplanatoryPolicies
418 Implied Table Table

*

*

implied:Table
419 Text block [abstract] Abstract ugp:TextBlockAbstract
420 Recognition of Revenue Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForRecognitionOfRevenue
421 Cash and Cash Equivalents Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyToDetermineComponentsOfCashAndCashEquivalents
422 Financial Assets Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForFinancialAssetsExplanatory
423 Trade Receivables and Reseller Financing Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForTradeAndOtherReceivablesExplanatory
424 Inventories Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForMeasuringInventories
425 Contractual assets with customers - exclusive rights Concept (Text Block (HTML)) For Period ugp:ContractualAssetsWithCustomersExclusiveRightsExplanatory
426 Investments Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForInvestmentInAssociates
427 Property, Plant, and Equipment Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory
428 Leases Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForLeasesExplanatory
429 Intangible Assets Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForIntangibleAssetsAndGoodwillExplanatory
430 Other Assets Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForOtherAssetsExplanatory
431 Financial Liabilities Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForFinancialLiabilitiesExplanatory
432 Income and Social Contribution Taxes on Income Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForIncomeTaxExplanatory
433 Provision for Asset Retirement Obligation - Fuel Tanks Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForOtherProvisionsExplanatory
434 Provisions for Tax, Civil, and Labor Risks Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForProvisionsExplanatory
435 Post-Employment Benefits Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForEmployeeBenefitsExplanatory
436 Other Liabilities Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForOtherLiabilitiesExplanatory
437 Foreign Currency Transactions Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForForeignCurrencyTransactionsExplanatory
438 Basis for Translation of Financial Statements of Foreign Subsidiaries Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForBasisForTranslationOfFinancialStatementsExplanatory
439 Use of Estimates, Assumptions and Judgments Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForUseOfEstimatesAssumptionsAndJudgmentsExplanatory
440 Impairment of Assets Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory
441 Business Combination Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfAccountingPolicyForBusinessCombinationsExplanatory
442 Statements of Cash Flows Indirect Method Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForStatementsOfCashFlowsExplanatory
443 Adoption of the Pronouncements Issued by IASB Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForPronouncementsIssuedByIfrsExplanatory
444 Authorization for Issuance of the Financial Statements Concept (Text Block (HTML)) For Period ugp:DescriptionOfAccountingPolicyForAuthorizationForIssuanceOfFinancialStatementsExplanatory
445 1045 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfSummaryOfSignificantAccountingPoliciesExplanatoryTables
446 Statement [table] Table

*

*

ugp:StatementTable
447 New IFRSs [axis] Axis ifrs-full:NewIFRSsAxis
448 New IFRSs [member] Member ifrs-full:NewIFRSsMember
449 IFRS 16 [member] Member ugp:IFRS16Member
450 Statement [LineItems] LineItems ugp:StatementLineItems
451 Summary of Foreign Subsidiaries Concept (Text Block (HTML)) For Period ugp:SummaryOfForeignSubsidiariesTableTextBlock
452 Summary of Impairment Loss of Subsidiary Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfImpairmentLossAndReversalOfImpairmentLossExplanatory
453 Summary of Classification and Measurement of Financial Instruments Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfReclassificationsOrChangesInPresentationExplanatory
454 Summary of Impacts of Adoption Concept (Text Block (HTML)) For Period ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations
455 Summary of Adoption of Pronouncesments Issued Concept (Text Block (HTML)) For Period ugp:SummaryOfOfPronouncesmentsIssuedTableTextBlock
456 Summary of he Range Of Estimated Impacts On the Adoption Of the Ifrs 16 Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfChangesInAccountingEstimatesExplanatory
457 1046 - Disclosure - Principles of Consolidation, Investments in Subsidiaries and Acquisition (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfPrinciplesOfConsolidationExplanatoryTables
458 Statement [table] Table

*

*

ugp:StatementTable
459 Business combinations [axis] Axis ifrs-full:BusinessCombinationsAxis
460 Entity's total for business combinations [member] Member ifrs-full:EntitysTotalForBusinessCombinationsMember
461 TEAS Terminal Exportador de Alcool de Santos Ltda. [member] Member ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
462 Statement [LineItems] LineItems ugp:StatementLineItems
463 Investments in subsidiaries Concept (Text Block (HTML)) For Period ugp:SummaryOfInvestmentsInSubsidiariesTableTextBlock
464 Fair value of acquired assets and liabilities assumed in acquisition Concept (Text Block (HTML)) For Period ugp:SummaryOfAcquiredAssetsAndLiabilitiesInAcquisitionsTableTextBlock
465 Summary of identification of assets and liabilities, intangible assets, not recognized in acquired entity's book Concept (Text Block (HTML)) For Period ugp:DisclosureOfIdentificationOfAssetsAndLiabilitiesIntangibleAssetsNotRecognizedAsOfAcquisitionDateExplanatory
466 Summary of goodwill calculation Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfReconciliationOfChangesInGoodwillExplanatory
467 Consolidated information Concept (Text Block (HTML)) For Period ugp:SummaryOfConsolidatedInformationWithAcquisitionTableTextBlock
468 1047 - Disclosure - Cash and Cash Equivalents and Financial Investments (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCashAndCashEquivalentsExplanatoryTables
469 Implied Table Table

*

*

implied:Table
470 Text block [abstract] Abstract ugp:TextBlockAbstract
471 Cash and cash equivalents Concept (Text Block (HTML)) For Period ugp:SummaryOfCashAndCashEquivalentsTableTextBlock
472 Financial investments Concept (Text Block (HTML)) For Period ugp:SummaryOfFinancialInvestmentsTableTextBlock
473 1048 - Disclosure - Trade Receivables and Reseller Financing (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTradeAndOtherReceivablesExplanatoryTables
474 Implied Table Table

*

*

implied:Table
475 Text block [abstract] Abstract ugp:TextBlockAbstract
476 Trade receivables Concept (Text Block (HTML)) For Period ugp:DisclosureOfTradeReceivablesCompositionExplanatory
477 Trade receivables breakdown Concept (Text Block (HTML)) For Period ugp:DisclosureOfTradeReceivablesBreakdownExplanatory
478 Breakdown of estimated losses on doubtful accounts Concept (Text Block (HTML)) For Period ugp:DisclosureInBreakdownOfEstimatedLossOnDoubtfulAccountsExplanatory
479 Composition of reseller financing Concept (Text Block (HTML)) For Period ugp:DisclosureOfResellerFinancingCompositionExplanatory
480 Breakdown of reseller financing, gross of estimated losses on doubtful accounts Concept (Text Block (HTML)) For Period ugp:DisclosureOfBreakdownOfResellerFinancingGrossOfEstimatedLossesOnDoubtfulAccountsExplanatory
481 Breakdown of estimated losses on doubtful accounts Concept (Text Block (HTML)) For Period ugp:DisclosureOfBreakdownOfEstimatedLossesOnDoubtfulAccountsExplanatory
482 1049 - Disclosure - Inventories (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfInventoriesExplanatoryTables
483 Implied Table Table

*

*

implied:Table
484 Text block [abstract] Abstract ugp:TextBlockAbstract
485 Composition of inventories Concept (Text Block (HTML)) For Period ugp:DisclosureOfInventoriesCompositionExplanatory
486 Movements in the provision for losses Concept (Text Block (HTML)) For Period ugp:DisclosureOfProvisionForLossesExplanatory
487 Breakdown of provisions for losses related to inventories Concept (Text Block (HTML)) For Period ugp:DisclosureOfInventoriesProvisionForLossesExplanatory
488 1050 - Disclosure - Taxes to Recover (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTaxesToRecoverExplanatoryTables
489 Implied Table Table

*

*

implied:Table
490 Text block [abstract] Abstract ugp:TextBlockAbstract
491 Recoverable taxes Concept (Text Block (HTML)) For Period ugp:SummaryOfRecoverableTaxesTableTextBlock
492 Provision for ICMS losses Concept (Text Block (HTML)) For Period ugp:SummaryOfProvisionForIcmsLossesTableTextBlock
493 Summary of Recoverable Income Tax and Social Contribution Taxes Concept (Text Block (HTML)) For Period ugp:DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesExplanatory
494 1051 - Disclosure - Related Parties (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfRelatedPartyExplanatoryTables
495 Implied Table Table

*

*

implied:Table
496 Text block [abstract] Abstract ugp:TextBlockAbstract
497 Subsidiaries and Other Related Parties Concept (Text Block (HTML)) For Period ugp:SummaryOfSubsidiariesAndOtherRelatedPartiesTableTextBlock
498 Expenses for Compensation of its Key Executives Concept (Text Block (HTML)) For Period ugp:SummaryOfCompensationForKeyExecutivesTableTextBlock
499 Shares Granted Concept (Text Block (HTML)) For Period ugp:SummaryOfSharesGrantedTableTextBlock
500 Changes of Number of Shares Granted Concept (Text Block (HTML)) For Period ugp:SummaryOfChangesInNumberOfSharesGrantedTableTextBlock
501 Restricted Stock Program Concept (Text Block (HTML)) For Period ugp:SummaryOfRestrictedStockProgramTableTextBlock
502 Summarized Changes of Number of Restricted and Performance Shares Granted Concept (Text Block (HTML)) For Period ugp:DisclosureOfSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedExplanatory
503 1052 - Disclosure - Income and Social Contribution Taxes (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfIncomeTaxExplanatoryTables
504 Implied Table Table

*

*

implied:Table
505 Text block [abstract] Abstract ugp:TextBlockAbstract
506 Deferred taxes Concept (Text Block (HTML)) For Period ugp:SummaryOfDeferredTaxesTableTextBlock
507 Summary of Changes in Balances of Deferred Taxes Concept (Text Block (HTML)) For Period ugp:SummaryOfChangesInBalanceOfDeferredTaxesTableTextBlock
508 Summary of Recovery of Deferred Tax Assets Concept (Text Block (HTML)) For Period ugp:SummaryOfDeferredTaxAssetRecoveryTableTextBlock
509 Summary of Reconciliation of Taxes Concept (Text Block (HTML)) For Period ugp:SummaryOfTaxReconciliationTableTextBlock
510 Summary of Tax Incentives Concept (Text Block (HTML)) For Period ugp:SummaryOfTaxIncentivesTableTextBlock
511 1053 - Disclosure - Prepaid Expenses (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfPrepaidExpensesExplanatoryTables
512 Implied Table Table

*

*

implied:Table
513 Text block [abstract] Abstract ugp:TextBlockAbstract
514 Summary of Prepaid Expenses Concept (Text Block (HTML)) For Period ugp:SummaryOfPrepaidExpensesTableTextBlock
515 1054 - Disclosure - Contractual Assets with Customers - Exclusive Rights (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfContractAssetsWithCustomersExclusiveRightsExplanatoryTables
516 Implied Table Table

*

*

implied:Table
517 Text block [abstract] Abstract ugp:TextBlockAbstract
518 Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes Concept (Text Block (HTML)) For Period ifrs-full:ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory
519 1055 - Disclosure - Investments (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfInvestmentsExplanatoryTables
520 Implied Table Table

*

*

implied:Table
521 Text block [abstract] Abstract ugp:TextBlockAbstract
522 Summary of Balances and Changes in Joint Ventures Concept (Text Block (HTML)) For Period ugp:SummaryOfBalancesAndChangesInJointVenturesTableTextBlock
523 Summary of Amounts of Financial Position and Income Statements of Profit or Loss of Joint Ventures Concept (Text Block (HTML)) For Period ugp:SummaryOfFinancialStatementsOfJointVenturesTableTextBlock
524 Summary of Balances and Changes in Associates Concept (Text Block (HTML)) For Period ugp:SummaryOfBalancesInAssociatesTableTextBlock
525 Summary of Amounts of Balance Sheets and Income Statements of Associates Concept (Text Block (HTML)) For Period ugp:SummaryOfFinancialStatementsOfAssociatesTableTextBlock
526 1056 - Disclosure - Property, Plant, and Equipment (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfPropertyPlantAndEquipmentExplanatoryTables
527 Implied Table Table

*

*

implied:Table
528 Text block [abstract] Abstract ugp:TextBlockAbstract
529 Balances and changes in property, plant, and equipment Concept (Text Block (HTML)) For Period ugp:SummaryOfBalancesInPropertyPlantAndEquipmentTableTextBlock
530 1057 - Disclosure - Intangible Assets (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfIntangibleAssetsExplanatoryTables
531 Implied Table Table

*

*

implied:Table
532 Text block [abstract] Abstract ugp:TextBlockAbstract
533 Balances and changes in intangible assets Concept (Text Block (HTML)) For Period ugp:SummaryOfBalancesInIntangibleAssetsTextBlock
534 Amortization expenses Concept (Text Block (HTML)) For Period ugp:SummaryOfAmortizationExpensesTableTextBlock
535 Balance of the goodwill Concept (Text Block (HTML)) For Period ugp:SummaryOfBalancesOfGoodwillTableTextBlock
536 1058 - Disclosure - Loans, Debentures, and Finance Leases (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfLoansAndAdvancesToBanksExplanatoryTables
537 Statement [table] Table

*

*

ugp:StatementTable
538 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
539 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
540 Oxiteno USA LLC [member] Member ugp:OxitenoUSAMember
541 Statement [LineItems] LineItems ugp:StatementLineItems
542 Summary of Compostion of loans Concept (Text Block (HTML)) For Period ugp:SummaryOfCompostionOfLoansTableTextBlock
543 Summary of Changes in Loans, Debentures and Finance Leases Concept (Text Block (HTML)) For Period ugp:SummaryOfChangesInLoansDebenturesAndFinanceLeasesTableTextBlock
544 Summary of Principal Maturity Schedule Concept (Text Block (HTML)) For Period ugp:SummaryOfPrincipalMaturityScheduleTableTextBlock
545 Summary of Foreign Loan Maturity Concept (Text Block (HTML)) For Period ugp:SummaryOfForeignLoanMaturityTableTextBlock
546 Summary of Subsidiary's Loan Maturity Concept (Text Block (HTML)) For Period ugp:SummaryOfLoanMaturityExplanatory
547 Summary of Loans and Debnture Maturity Concept (Text Block (HTML)) For Period ugp:SummaryOfLoanAndDebentureMaturityTableTextBlock
548 Summary of Debentures Concept (Text Block (HTML)) For Period ugp:SummaryOfDebenturesTableTextBlock
549 Summary of debentures maturity dates distribution Concept (Text Block (HTML)) For Period ugp:SummaryOfLoanAndDebentureMaturityDistributionTableTextBlock
550 Summary of Equipment and Intangible Assets, Net of Depreciation and Amortization, and Corresponding Liabilities Concept (Text Block (HTML)) For Period ugp:SummaryOfEquipmentAndIntangibleAssetsNetOfDepreciationAndAmortizationAndCorrespondingLiabilitiesTableTextBlock
551 Summary of Transaction Costs Concept (Text Block (HTML)) For Period ugp:SummaryOfTransactionCostsTextBlock
552 Summary of Appropriated Profit or Loss in The Future Concept (Text Block (HTML)) For Period ugp:SummaryOfAppropriatedProfitOrLossInFutureTableTextBlock
553 1059 - Disclosure - Trade Payables (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTradeAndOtherPayablesExplanatoryTables
554 Implied Table Table

*

*

implied:Table
555 Text block [abstract] Abstract ugp:TextBlockAbstract
556 Summary of Trade Payables Concept (Text Block (HTML)) For Period ugp:SummaryOfTradePayablesTableTextBlock
557 1060 - Disclosure - Salaries and Related Charges (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfSalariesAndRelatedChargesExplanatoryTables
558 Implied Table Table

*

*

implied:Table
559 Text block [abstract] Abstract ugp:TextBlockAbstract
560 Summary of Salaries and Related Charges Concept (Text Block (HTML)) For Period ugp:SummaryOfSalariesAndRelatedChargesTableTextBlock
561 1061 - Disclosure - Taxes Payable (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfTaxReceivablesAndPayablesExplanatoryTables
562 Implied Table Table

*

*

implied:Table
563 Text block [abstract] Abstract ugp:TextBlockAbstract
564 Summary of Taxes Payable Concept (Text Block (HTML)) For Period ugp:SummaryOfTaxesPayableTableTextBlock
565 1062 - Disclosure - Employee Benefits and Private Pension Plan (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfEmployeeBenefitsExplanatoryTables
566 Implied Table Table

*

*

implied:Table
567 Text block [abstract] Abstract ugp:TextBlockAbstract
568 Post-employment benefits Concept (Text Block (HTML)) For Period ugp:SummaryOfPostEmploymentBenefits
569 Changes in provision for post-employment benefits Concept (Text Block (HTML)) For Period ugp:ChangesInProvisionForPostEmploymentBenefits
570 Post-employment benefit expense Concept (Text Block (HTML)) For Period ugp:SummaryOfEmploymentBenefitExpenseTableTextBlock
571 Significant actuarial assumptions adopted Concept (Text Block (HTML)) For Period ugp:SummaryOfSignificantActuarialAssumptionsAdoptedTableTextBlock
572 Sensitivity analysis Concept (Text Block (HTML)) For Period ugp:SummaryOfSensitivityAnalysisTableTextBlock
573 1063 - Disclosure - Provision for Asset Retirement Obligation - Fuel Tanks (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfOtherProvisionsExplanatoryTables
574 Implied Table Table

*

*

implied:Table
575 Text block [abstract] Abstract ugp:TextBlockAbstract
576 Changes in the provision for asset retirement obligation Concept (Text Block (HTML)) For Period ugp:SummaryOfChangesInAssetRetirementObligationTableTextBlock
577 1064 - Disclosure - Provisions and Contingencies (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfProvisionsExplanatoryTables
578 Implied Table Table

*

*

implied:Table
579 Text block [abstract] Abstract ugp:TextBlockAbstract
580 Breakdown of provisions by nature Concept (Text Block (HTML)) For Period ugp:SummaryOfBreakdownOfProvisionsByNatureTableTextBlock
581 Balances of escrow deposits Concept (Text Block (HTML)) For Period ugp:SummaryOfBalancesOfEscrowDepositsTableTextBlock
582 1065 - Disclosure - Ultracargo - Fire Accident in Santos (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfUltracargoFireAccidentInSantosExplanatoryTables
583 Implied Table Table

*

*

implied:Table
584 Text block [abstract] Abstract ugp:TextBlockAbstract
585 Summary of remaining balance of trade payables customers and third parties indemnification Concept (Text Block (HTML)) For Period ugp:DisclosureOfRemainingBalanceOfTradePayablesCustomersAndThirdPartiesIndemnificationExplanatory
586 1066 - Disclosure - Deferred Revenue (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfDeferredRevenueExplanatoryTables
587 Implied Table Table

*

*

implied:Table
588 Text block [abstract] Abstract ugp:TextBlockAbstract
589 Deferred revenue in subsidiaries Concept (Text Block (HTML)) For Period ugp:SummaryOfDeferredRevenueInSubsidiariesTableTextBlock
590 1067 - Disclosure - Equity (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfStockholdersEquityExplanatoryTables
591 Implied Table Table

*

*

implied:Table
592 Text block [abstract] Abstract ugp:TextBlockAbstract
593 Balance of other comprehensive income Concept (Text Block (HTML)) For Period ugp:SummaryOfBalanceOfOtherComprehensiveIncomeTableTextBlock
594 Balance and changes in cumulative translation adjustments Concept (Text Block (HTML)) For Period ugp:DisclosureOfCumulativeTranslationAdjustmentsExplanatory
595 Dividends and Allocation of Net Income Concept (Text Block (HTML)) For Period ugp:SummaryOfDividendsAndAllocationOfNetIncomeTableTextBlock
596 Summary of Balances and Changes in Consolidated Dividends Payable Concept (Text Block (HTML)) For Period ugp:DisclosureOfBalancesAndChangesInConsolidatedDividendsPayableExplanatory
597 1068 - Disclosure - Net Revenue from Sale and Services (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfRevenueExplanatoryTables
598 Implied Table Table

*

*

implied:Table
599 Text block [abstract] Abstract ugp:TextBlockAbstract
600 Net Revenue from sales and services Concept (Text Block (HTML)) For Period ugp:SummaryOfRevenueFromSalesAndServicesTableTextBlock
601 1069 - Disclosure - Expenses by Nature (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfExpensesByNatureExplanatoryTables
602 Implied Table Table

*

*

implied:Table
603 Text block [abstract] Abstract ugp:TextBlockAbstract
604 Expenses by nature Concept (Text Block (HTML)) For Period ugp:SummaryOfExpensesByNatureTableTextBlock
605 1070 - Disclosure - Other Operating Income, Net (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfOtherOperatingIncomeExpenseExplanatoryTables
606 Implied Table Table

*

*

implied:Table
607 Text block [abstract] Abstract ugp:TextBlockAbstract
608 Other operating income net Concept (Text Block (HTML)) For Period ugp:SummaryOfOtherOperatingIncomeTableTextBlock
609 1071 - Disclosure - Financial Income (Expense) (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfFinancialIncomeExpenseExplanatoryTables
610 Implied Table Table

*

*

implied:Table
611 Text block [abstract] Abstract ugp:TextBlockAbstract
612 Financial income (expense) Concept (Text Block (HTML)) For Period ugp:SummaryOfFinancialIncomeExpenseTableTextBlock
613 1072 - Disclosure - Earnings per Share (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfEarningsPerShareExplanatoryTables
614 Implied Table Table

*

*

implied:Table
615 Text block [abstract] Abstract ugp:TextBlockAbstract
616 Basic and diluted earnings per share Concept (Text Block (HTML)) For Period ifrs-full:EarningsPerShareExplanatory
617 Weighted Average Shares Outstanding Concept (Text Block (HTML)) For Period ugp:SummaryOfWeightedAverageSharesOutstandingTableTextBlock
618 1073 - Disclosure - Segment Information (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfEntitysReportableSegmentsExplanatoryTables
619 Implied Table Table

*

*

implied:Table
620 Text block [abstract] Abstract ugp:TextBlockAbstract
621 Financial information of segments Concept (Text Block (HTML)) For Period ugp:DisclosureOfFinancialInformationOfSegmentsExplanatory
622 Asset reclassification Concept (Text Block (HTML)) For Period ugp:DisclosureOfAssetReclassificationExplanatory
623 Fixed and intangible assets of the Company abroad Concept (Text Block (HTML)) For Period ugp:DisclosureOfFixedAndIntangibleAssetsAbroadExplanatory
624 Revenue from operations abroad Concept (Text Block (HTML)) For Period ugp:DisclosureOfRevenueFromOperationsAbroadExplanatory
625 1074 - Disclosure - Risks and Financial Instruments (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsExplanatoryTables
626 Implied Table Table

*

*

implied:Table
627 Text block [abstract] Abstract ugp:TextBlockAbstract
628 Assets and liabilities in foreign currencies Concept (Text Block (HTML)) For Period ugp:SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock
629 Sensitivity analysis of assets and liabilities in foreign currency Concept (Text Block (HTML)) For Period ugp:SummaryOfSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyTableTextBlock
630 Financial assets and liabilities exposed to floating interest rates Concept (Text Block (HTML)) For Period ugp:SummaryOfFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesTableTextBlock
631 Sensitivity analysis of floating interest rate risk Concept (Text Block (HTML)) For Period ugp:SummaryOfSensitivityAnalysisOfFloatingInterestRateRiskTableTextBlock
632 Summary of Credit Risk of Cash, Cash Equivalents and Financial Investments Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfExternalCreditExposuresExplanatory
633 Allowance for estimated losses on doubtful accounts balances on trade receivables Concept (Text Block (HTML)) For Period ugp:SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock
634 Contractual undiscounted cash outflows Concept (Text Block (HTML)) For Period ugp:SummaryOfContractualUndiscountedCashOutflowsTableTextBlock
635 Position of hedging instruments Concept (Text Block (HTML)) For Period ugp:SummaryOfPositionOfHedgingInstrumentsTableTextBlock
636 Foreign Exchange Hedging Instruments Designated as Fair Value Hedge Concept (Text Block (HTML)) For Period ifrs-full:DisclosureOfDetailedInformationAboutHedgingInstrumentsExplanatory
637 Value of gains (losses) recognized Concept (Text Block (HTML)) For Period ugp:SummaryOfValueOfGainsLossesRecognizedTableTextBlock
638 Fair values and the carrying values of the financial instruments Concept (Text Block (HTML)) For Period ugp:SummaryOfFairAndCarryingValuesOfFinancialInstrumentsTableTextBlock
639 Summary of the financial assets and financial liabilities measured at fair value Concept (Text Block (HTML)) For Period ugp:SummaryOfFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueTableTextBlock
640 Changes in exchange rate Concept (Text Block (HTML)) For Period ugp:SummaryOfChangesInExchangeRateTableTextBlock
641 1075 - Disclosure - Commitments (Tables) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCommitmentsExplanatoryTables
642 Implied Table Table

*

*

implied:Table
643 Text block [abstract] Abstract ugp:TextBlockAbstract
644 Contracts Concept (Text Block (HTML)) For Period ugp:SummaryOfContractsTableTextBlock
645 Insurance coverage Concept (Text Block (HTML)) For Period ugp:SummaryOfInsuranceCoverageInSubsidiariesTableTextBlock
646 Operating lease contracts Concept (Text Block (HTML)) For Period ugp:SummaryOfOperatingLeaseContractsTableTextBlock
647 1076 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesAdditionalInformation
648 Basis Of Presentation And Summary Of Significant Accounting Policies [table] Table

*

*

ugp:BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTable
649 Classes of intangible assets and goodwill [axis] Axis ifrs-full:ClassesOfIntangibleAssetsAndGoodwillAxis
650 Intangible assets and goodwill [member] Member ifrs-full:IntangibleAssetsAndGoodwillMember
651 Goodwill [member] Member ifrs-full:GoodwillMember
652 Intangible assets other than goodwill [member] Member ifrs-full:IntangibleAssetsOtherThanGoodwillMember
653 Type Of Exchange Gain Loss [axis] Axis ugp:TypeOfExchangeGainLossAxis
654 Type Of Exchange Gain Loss [domain] Member ugp:TypeOfExchangeGainLossDomain
655 Purchase Exchange Rate [member] Member ugp:PurchaseExchangeRateMember
656 Sale Exchange Rate [member] Member ugp:SaleExchangeRateMember
657 Categories of related parties [axis] Axis ifrs-full:CategoriesOfRelatedPartiesAxis
658 Entity's total for related parties [member] Member ifrs-full:EntitysTotalForRelatedPartiesMember
659 Oxiteno S. A. Industria e Comercio [member] Member ugp:OxitenoIndustriaComercioMember
660 Basis Of Presentation And Summary Of Significant Accounting Policies [line items] LineItems ugp:BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItems
661 Research and development expense recognized Concept (Monetary) For Period Debit ifrs-full:ResearchAndDevelopmentExpense
662 Cumulative translation adjustments Concept (Monetary) As Of Credit ugp:TranslationAdjustments
663 Variable exchange rate VES/US$ Concept (Decimal) As Of ifrs-full:ClosingForeignExchangeRate
664 Impairment loss recognized Concept (Monetary) For Period Debit ifrs-full:ImpairmentLoss
665 Gains and losses from changes in foreign investments Concept (Monetary) For Period Credit ifrs-full:GainsLossesOnHedgesOfNetInvestmentsInForeignOperationsBeforeTax
666 Impairment loss Concept (Monetary) For Period ifrs-full:ImpairmentLossRecognisedInProfitOrLossIntangibleAssetsAndGoodwill
667 1077 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Foreign Subsidiaries (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesSummaryOfForeignSubsidiaries
668 Disclosure of foreign subsidiaries [table] Table

*

*

ugp:DisclosureOfForeignSubsidiariesTable
669 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
670 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
671 Oxiteno Mexico S.A. de C.V. [member] Member ugp:OxitenoMexicoMember
672 Oxiteno servicios corporativos S.A. de C.V.[member] Member ugp:OxitenoServiciosCorporativosMember
673 Oxiteno servicios industriales S.A. de C.V.[member] Member ugp:OxitenoServiciosIndustrialesMember
674 Oxiteno USA LLC [member] Member ugp:OxitenoUSAMember
675 Oxiteno Uruguay [member] Member ugp:OxitenoUruguayMember
676 Oxiteno Andina [member] Member ugp:OxitenoAndinaMember
677 Disclosure of foreign subsidiaries [line items] LineItems ugp:DisclosureOfForeignSubsidiariesLineItems
678 Functional currency Concept (Text/String) For Period ifrs-full:DescriptionOfFunctionalCurrency
679 Location Concept (Text/String) For Period ugp:GeographicalAreas
680 1078 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Impairment Loss of Subsidiary (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesSummaryOfImpairmentLossOfSubsidiary
681 Disclosure of impairment loss and reversal of impairment loss [table] Table

*

*

ifrs-full:DisclosureOfImpairmentLossAndReversalOfImpairmentLossTable
682 Individual assets or cash-generating units [axis] Axis ifrs-full:IndividualAssetsOrCashgeneratingUnitsAxis
683 Entity's total for individual assets or cash-generating units [member] Member ifrs-full:EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember
684 Current assets [member] Member ugp:CurrentAssetsMember
685 Non-current assets [member] Member ugp:NonCurrentAssetsMember
686 Classes of assets [axis] Axis ifrs-full:ClassesOfAssetsAxis
687 Assets [member] Member ifrs-full:ClassesOfAssetsMember
688 Cash and cash equivalents [member] Member ugp:CashAndCashEquivalentMember
689 Trade receivables [member] Member ifrs-full:TradeReceivablesMember
690 Inventories [member] Member ugp:InventoriesMember
691 Other receivables [member] Member ugp:OtherReceivablesMember
692 Property, plant and equipment [member] Member ifrs-full:PropertyPlantAndEquipmentMember
693 Disclosure of impairment loss and reversal of impairment loss [line items] LineItems ifrs-full:DisclosureOfImpairmentLossAndReversalOfImpairmentLossLineItems
694 Total of impairment loss Concept (Monetary) For Period Debit ifrs-full:ImpairmentLoss
695 1079 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Classification and Measurement of Financial Instruments (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesSummaryOfClassificationAndMeasurementOfFinancialInstruments
696 Disclosure of reclassifications or changes in presentation [table] Table

*

*

ifrs-full:DisclosureOfReclassificationsOrChangesInPresentationTable
697 Effect of overlay approach reclassification [axis] Axis ifrs-full:EffectOfOverlayApproachReclassificationAxis
698 In accordance with IFRS 9 [member] Member ifrs-full:InAccordanceWithIFRS9Member
699 Previously stated [member] Member ifrs-full:PreviouslyStatedMember
700 Application of IFRS9 [member] Member ugp:ApplicationOfIFRS9Member
701 Classes of financial instruments [axis] Axis ifrs-full:ClassesOfFinancialInstrumentsAxis
702 Financial instruments, class [member] Member ifrs-full:ClassesOfFinancialInstrumentsMember
703 Cash and bank deposits [member] Member ugp:CashAndBankDepositsMember
704 Financial investments local currency [member] Member ugp:FinancialInvestmentsLocalCurrencyMember
705 Financial investments foreign currency [member] Member ugp:FinancialInvestmentsForeignCurrencyMember
706 Fixed income securities local currency1 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency1Member
707 Fixed income securities local currency2 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency2Member
708 Fixed income securities local currency3 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency3Member
709 Fixed income securities foreign currency [member] Member ugp:FixedIncomeSecuritiesForeignCurrencyMember
710 Currency interest rate hedging instruments [member] Member ugp:CurrencyInterestRateHedgingInstrumentsMember
711 Disclosure of reclassifications or changes in presentation [line items] LineItems ifrs-full:DisclosureOfReclassificationsOrChangesInPresentationLineItems
712 Category Concept (Text/String) For Period ugp:CategoryOfFinancialAssetsAndLiabilities
713 Carrying value Concept (Monetary) As Of Debit ifrs-full:FinancialAssets
714 Measured at fair value through profit or loss Concept (Monetary) As Of Debit ifrs-full:CurrentFinancialAssetsAtFairValueThroughProfitOrLoss
715 Measured at fair value through other comprehensive income Concept (Monetary) As Of Debit ifrs-full:CurrentFinancialAssetsAtFairValueThroughOtherComprehensiveIncome
716 Measured at amortized cost Concept (Monetary) As Of Debit ifrs-full:CurrentFinancialAssetsAtAmortisedCost
717 1080 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Impacts of Adoption - Statements of Financial Position (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesSummaryOfImpactsOfAdoptionStatementsOfFinancialPosition
718 Disclosure of expected impact of initial application of new standards or interpretations [table] Table

*

*

ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable
719 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
720 Currently stated [member] Member ifrs-full:RestatedMember
721 Previously stated [member] Member ifrs-full:PreviouslyStatedMember
722 Increase (decrease) due to changes in accounting policy [member] Member ifrs-full:FinancialEffectOfChangesInAccountingPolicyMember
723 New IFRSs [axis] Axis ifrs-full:NewIFRSsAxis
724 New IFRSs [member] Member ifrs-full:NewIFRSsMember
725 IFRS9 [member] Member ugp:IFRS9Member
726 IFRS 15 [member] Member ugp:IFRS15Member
727 Effect of overlay approach reclassification [axis] Axis ifrs-full:EffectOfOverlayApproachReclassificationAxis
728 In accordance with IFRS 9 [member] Member ifrs-full:InAccordanceWithIFRS9Member
729 Effect of overlay approach reclassification [member] Member ifrs-full:EffectOfOverlayApproachReclassificationMember
730 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
731 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
732 Chevron Brasil Lubrificantes S A [member] Member ugp:ChevronBrasilLubrificantesMember
733 Disclosure of expected impact of initial application of new standards or interpretations [line items] LineItems ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems
734 Current assets Abstract ifrs-full:CurrentAssetsAbstract
735 Trade receivables and reseller financing Concept (Monetary) As Of Debit ifrs-full:CurrentTradeReceivables
736 Inventories Concept (Monetary) As Of Debit ifrs-full:Inventories
737 Contractual assets with customers - exclusive rights Concept (Monetary) As Of Debit ugp:CurrentContractualAssetsWithCustomersExclusiveRights
738 Other current assets Concept (Monetary) As Of Debit ifrs-full:OtherCurrentAssets
739 Current assets Concept (Monetary) As Of Debit ifrs-full:CurrentAssets
740 Non-current assets Abstract ifrs-full:NoncurrentAssetsAbstract
741 Contractual assets with customers - exclusive rights Concept (Monetary) As Of Debit ugp:NonCurrentContractualAssetsWithCustomersExclusiveRights
742 Deferred income and social contribution taxes Concept (Monetary) As Of Debit ifrs-full:DeferredTaxAssets
743 Other non-currentassets Concept (Monetary) As Of Debit ifrs-full:OtherNoncurrentAssets
744 Total long term assets Concept (Monetary) As Of Debit ugp:LongTermAssets
745 Investments Concept (Monetary) As Of Debit ifrs-full:InvestmentsInSubsidiariesJointVenturesAndAssociates
746 Property, plant, and equipment Concept (Monetary) As Of Debit ifrs-full:PropertyPlantAndEquipment
747 Intangible assets Concept (Monetary) As Of Debit ifrs-full:IntangibleAssetsOtherThanGoodwill
748 Total non-current assets Concept (Monetary) As Of Debit ifrs-full:NoncurrentAssets
749 Total assets Concept (Monetary) As Of Debit ifrs-full:Assets
750 Current liabilities Abstract ifrs-full:CurrentLiabilitiesAbstract
751 Taxes payable Concept (Monetary) As Of Credit ifrs-full:TradeAndOtherCurrentPayables
752 Other current liabilities Concept (Monetary) As Of Credit ifrs-full:OtherCurrentLiabilities
753 Current liabilities Concept (Monetary) As Of Credit ifrs-full:CurrentLiabilities
754 Non-current liabilities Abstract ifrs-full:NoncurrentLiabilitiesAbstract
755 Deferred income and social contribution taxes Concept (Monetary) As Of Credit ugp:IncomeAndSocialContributionTaxesPayable
756 Other non-currentassets Concept (Monetary) As Of Credit ifrs-full:OtherNoncurrentLiabilities
757 Total non-currentliabilities Concept (Monetary) As Of Credit ifrs-full:NoncurrentLiabilities
758 Equity Abstract ifrs-full:EquityAbstract
759 Profit reserves Concept (Monetary) As Of Credit ifrs-full:ReserveOfDiscretionaryParticipationFeatures
760 Valuation adjustments Concept (Monetary) As Of Credit ugp:EquityValuationAdjustments
761 Other equity items Concept (Monetary) As Of Credit ugp:OtherEquityItems
762 Equity attributable to: Abstract ugp:ShareholdersEquityAttributableToAbstract
763 Shareholders of the Company Concept (Monetary) As Of Credit ifrs-full:EquityAttributableToOwnersOfParent
764 Non-controlling interests in subsidiaries Concept (Monetary) As Of Credit ifrs-full:NoncontrollingInterests
765 Total equity Concept (Monetary) As Of Credit ifrs-full:Equity
766 Total liabilities and equity Concept (Monetary) As Of Credit ifrs-full:EquityAndLiabilities
767 1081 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Impacts of Adoption - Statements of Profit or Loss (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesSummaryOfImpactsOfAdoptionStatementsOfProfitOrLoss
768 Disclosure of expected impact of initial application of new standards or interpretations [table] Table

*

*

ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable
769 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
770 Currently stated [member] Member ifrs-full:RestatedMember
771 Previously stated [member] Member ifrs-full:PreviouslyStatedMember
772 Increase (decrease) due to changes in accounting policy [member] Member ifrs-full:FinancialEffectOfChangesInAccountingPolicyMember
773 After adoption IFRS 9 and 15 [member] Member ugp:AfterAdoptionMember
774 New IFRSs [axis] Axis ifrs-full:NewIFRSsAxis
775 New IFRSs [member] Member ifrs-full:NewIFRSsMember
776 IFRS9 [member] Member ugp:IFRS9Member
777 IFRS 15 [member] Member ugp:IFRS15Member
778 Effect of overlay approach reclassification [axis] Axis ifrs-full:EffectOfOverlayApproachReclassificationAxis
779 In accordance with IFRS 9 [member] Member ifrs-full:InAccordanceWithIFRS9Member
780 Effect of overlay approach reclassification [member] Member ifrs-full:EffectOfOverlayApproachReclassificationMember
781 Disclosure of expected impact of initial application of new standards or interpretations [line items] LineItems ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems
782 Net revenue from sales and services Concept (Monetary) For Period Credit ifrs-full:Revenue
783 Cost of products and services sold Concept (Monetary) For Period Debit ifrs-full:CostOfSales
784 Gross profit Concept (Monetary) For Period Credit ifrs-full:GrossProfit
785 Operating income (expenses) Abstract ugp:OperatingIncomeExpensesAbstract
786 Selling and marketing Concept (Monetary) For Period Debit ifrs-full:SellingGeneralAndAdministrativeExpense
787 Other operating income (expenses) items Concept (Monetary) For Period Credit ifrs-full:OtherOperatingIncomeExpense
788 Operating income before financial income (expenses) and share of profit (loss) of joint ventures and associates Concept (Monetary) For Period Credit ugp:OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates
789 Financial result, net Concept (Monetary) For Period Credit ifrs-full:FinanceIncome
790 Share of profit of joint ventures and associates Concept (Monetary) For Period Credit ifrs-full:ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod
791 Income before income and social contribution taxes Concept (Monetary) For Period Credit ifrs-full:ProfitLossBeforeTax
792 Income and social contribution taxes Abstract ifrs-full:MajorComponentsOfTaxExpenseIncomeAbstract
793 Current Concept (Monetary) For Period Debit ifrs-full:CurrentTaxExpenseIncome
794 Deferred Concept (Monetary) For Period Debit ifrs-full:DeferredTaxExpenseIncome
795 Tax expense (income) Concept (Monetary) For Period Debit ifrs-full:IncomeTaxExpenseContinuingOperations
796 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
797 Net income for the year attributable to: Abstract ifrs-full:ProfitLossAttributableToAbstract
798 Shareholders of the Company Concept (Monetary) For Period Credit ifrs-full:ProfitLossAttributableToOwnersOfParent
799 Non-controlling interests in subsidiaries Concept (Monetary) For Period Credit ifrs-full:ProfitLossAttributableToNoncontrollingInterests
800 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
801 Earnings per share (based on weighted average number of shares outstanding) - Abstract ifrs-full:EarningsPerShareAbstract
802 Basic Concept (Share) For Period ifrs-full:BasicEarningsLossPerShare
803 Diluted Concept (Share) For Period ifrs-full:DilutedEarningsLossPerShare
804 1082 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies - Summary of Impacts of Adoption - Statements of Cash Flows (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesSummaryOfImpactsOfAdoptionStatementsOfCashFlows
805 Disclosure of expected impact of initial application of new standards or interpretations [table] Table

*

*

ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable
806 New IFRSs [axis] Axis ifrs-full:NewIFRSsAxis
807 New IFRSs [member] Member ifrs-full:NewIFRSsMember
808 IFRS9 [member] Member ugp:IFRS9Member
809 IFRS 15 [member] Member ugp:IFRS15Member
810 Effect of overlay approach reclassification [axis] Axis ifrs-full:EffectOfOverlayApproachReclassificationAxis
811 In accordance with IFRS 9 [member] Member ifrs-full:InAccordanceWithIFRS9Member
812 Effect of overlay approach reclassification [member] Member ifrs-full:EffectOfOverlayApproachReclassificationMember
813 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
814 Currently stated [member] Member ifrs-full:RestatedMember
815 Previously stated [member] Member ifrs-full:PreviouslyStatedMember
816 Increase (decrease) due to changes in accounting policy [member] Member ifrs-full:FinancialEffectOfChangesInAccountingPolicyMember
817 After adoption IFRS 9 and 15 [member] Member ugp:AfterAdoptionMember
818 Disclosure of expected impact of initial application of new standards or interpretations [line items] LineItems ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems
819 Cash flows from operating activities Abstract ifrs-full:CashFlowsFromUsedInOperatingActivitiesAbstract
820 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
821 Adjustments to reconcile net income to cash provided by operating activities Abstract ifrs-full:AdjustmentsForReconcileProfitLossAbstract
822 Share of loss (profit) of joint ventures and associates Concept (Monetary) For Period Credit ifrs-full:ShareOfProfitLossOfContinuingOperationsOfAssociatesAndJointVenturesAccountedForUsingEquityMethod
823 Amortization of contractual assets with customers - exclusive rights Concept (Monetary) For Period Debit ifrs-full:AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers
824 Depreciation and amortization Concept (Monetary) For Period Debit ifrs-full:DepreciationExpense
825 PIS and COFINS credits on depreciation Concept (Monetary) For Period Credit ugp:CreditsOnDepreciation
826 Asset retirement obligation Concept (Monetary) For Period Credit ugp:AdjustmentsForAssetRetirementObligation
827 Interest, monetary, and foreign exchange rate variations Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForUnrealisedForeignExchangeLossesGains
828 Deferred income and social contribution taxes Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDeferredTaxExpense
829 (Gain) loss on disposal of property, plant and equipment and intangibles Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForLossesGainsOnDisposalOfNoncurrentAssets
830 Estimated credit losses on doubtful accounts Concept (Monetary) For Period Debit ugp:AdjustmentsForEstimatedLossesOnDoubtfulAccounts
831 Provision for losses in inventories Concept (Monetary) For Period Debit ugp:AdjustmentsForProvisionForLossesInInventories
832 Provision for post-employment benefits Concept (Monetary) For Period Debit ugp:AdjustmentsForProvisionForPostemploymentBenefits
833 Other provisions and adjustments Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseInOtherProvisionsArisingFromPassageOfTime
834 Adjustments, total Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForReconcileProfitLoss
835 (Increase) decrease in current assets Abstract ugp:IncreaseDecreaseInCurrentAssetsAbstract
836 Trade receivables and reseller financing Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable
837 Inventories Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInInventories
838 Other current asset items Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInOtherCurrentAssets
839 Increase (decrease) in current liabilities Abstract ugp:IncreaseDecreaseInCurrentLiabilitiesAbstract
840 Taxes payable Concept (Monetary) For Period Credit ifrs-full:IncomeTaxesPaidRefundClassifiedAsOperatingActivities
841 Insurance and other payables Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseDecreaseInInsuranceReinsuranceAndInvestmentContractLiabilities
842 Other current liabilities items Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseDecreaseInOtherCurrentLiabilities
843 (Increase) decrease in non-current assets Abstract ugp:IncreaseDecreaseInNonCurrentAssetsAbstract
844 Other non-current asset items Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForDecreaseIncreaseInOtherAssets
845 Increase (decrease) in non-current liabilities Abstract ugp:IncreaseDecreaseInNonCurrentLiabilitiesAbstract
846 Post-employment benefits Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInPostEmploymentBenefitsNonCurrent
847 Other non-current liabilities items Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncreaseDecreaseInOtherLiabilities
848 Payments of contractual assets with customers - exclusive rights Concept (Monetary) For Period Credit ugp:AdjustmentsForPaymentsOfContractualAssetsWithCustomersExclusiveRightsNoncurrent
849 Income and social contribution taxes paid Concept (Monetary) For Period Credit ugp:AdjustmentsForIncreaseDecreaseInIncomeAndSocialContributionTaxesPaidNoncurrent
850 Net cash provided by operating activities Concept (Monetary) For Period ifrs-full:CashFlowsFromUsedInOperatingActivities
851 Cash flows from investing activities Abstract ifrs-full:CashFlowsFromUsedInInvestingActivitiesAbstract
852 Acquisition of property, plant, and equipment Concept (Monetary) For Period Credit ifrs-full:PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities
853 Acquisition of intangible assets Concept (Monetary) For Period Credit ifrs-full:PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities
854 Other investing activities items Concept (Monetary) For Period Debit ifrs-full:OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities
855 Net cash used in investing activities Concept (Monetary) For Period Debit ifrs-full:CashFlowsFromUsedInInvestingActivities
856 Net cash provided by financing activities Concept (Monetary) For Period Debit ifrs-full:CashFlowsFromUsedInFinancingActivities
857 Effect of exchange rate changes on cash and cash equivalents in foreign currency Concept (Monetary) For Period Debit ifrs-full:EffectOfExchangeRateChangesOnCashAndCashEquivalents
858 Increase in cash and cash equivalents Concept (Monetary) For Period Debit ifrs-full:IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges
859 Cash and cash equivalents at the beginning of the year Concept (Monetary) As Of Debit ifrs-full:CashAndCashEquivalents
860 Cash and cash equivalents at the end of the year Concept (Monetary) As Of Debit ifrs-full:CashAndCashEquivalents
861 1083 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies- Summary of he Range Of Estimated Impacts On the Adoption Of the Ifrs 16 (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesSummaryOfHeRangeOfEstimatedImpactsOnTheAdoptionOfTheIfrs16
862 Disclosure of changes in accounting estimates [table] Table

*

*

ifrs-full:DisclosureOfChangesInAccountingEstimatesTable
863 New IFRSs [axis] Axis ifrs-full:NewIFRSsAxis
864 New IFRSs [member] Member ifrs-full:NewIFRSsMember
865 IFRS 16 [member] Member ugp:IFRS16Member
866 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
867 Currently stated [member] Member ifrs-full:RestatedMember
868 Increase (decrease) due to changes in accounting policy [member] Member ifrs-full:FinancialEffectOfChangesInAccountingPolicyMember
869 Disclosure of changes in accounting estimates [line items] LineItems ifrs-full:DisclosureOfChangesInAccountingEstimatesLineItems
870 Current assets Abstract ifrs-full:CurrentAssetsAbstract
871 Prepaid expenses Concept (Monetary) As Of Debit ifrs-full:CurrentPrepaidExpenses
872 Non-current assets Abstract ifrs-full:NoncurrentAssetsAbstract
873 Prepaid expenses Concept (Monetary) As Of Debit ugp:NoncurrentPrepaidExpenses
874 Right of use assets Concept (Monetary) As Of Debit ifrs-full:RightofuseAssets
875 Intangible assets Concept (Monetary) As Of Debit ifrs-full:IntangibleAssetsOtherThanGoodwill
876 Total assets Concept (Monetary) As Of Debit ifrs-full:Assets
877 Current liabilities Abstract ifrs-full:CurrentLiabilitiesAbstract
878 Lease contracts payable Concept (Monetary) As Of Credit ugp:LeaseContractsPayableCurrent
879 Non-current liabilities Abstract ifrs-full:NoncurrentLiabilitiesAbstract
880 Lease contracts payable Concept (Monetary) As Of Credit ugp:LeaseContractsPayableNonCurrent
881 Total liabilities Concept (Monetary) As Of Credit ifrs-full:Liabilities
882 1084 - Disclosure - Principles of Consolidation, Investments in Subsidiaries and Unrealized Acquisition - Summary Of Consolidated Financial Statements Of direct and Indirect Subsidiaries (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePrinciplesOfConsolidationInvestmentsInSubsidiariesAndUnrealizedAcquisitionSummaryOfConsolidatedFinancialStatementsOfDirectAndIndirectSubsidiaries
883 Summary of subsidiaries [table] Table

*

*

ugp:SummaryOfSubsidiariesTable
884 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
885 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
886 IPP [member] Member ugp:IpirangaProdutosDePetroleoSAMember
887 am/pm Comestveis Ltda [member] Member ugp:AmPmComestveisLtdaMember
888 Centro de Convenincias Millennium Ltda [member] Member ugp:CentroDeConveninciasMillenniumLtdaMember
889 Icorban Correspondente Bancrio Ltda [member] Member ugp:IcorbanCorrespondenteBancarioLtdaMember
890 Ipiranga Trading Limited [member] Member ugp:IpirangaTradingLimitedMember
891 Tropical Transportes Ipiranga Ltda [member] Member ugp:TropicalTransportesIpirangaLtdaMember
892 Ipiranga Imobiliria Ltda [member] Member ugp:IpirangaImobiliriaLtdaMember
893 Ipiranga Logstica Ltda [member] Member ugp:IpirangaLogsticaLtdaMember
894 Oil Trading Importadora e Exportadora Ltda [member] Member ugp:OilTradingImportadoraExportadoraLtdaMember
895 Iconic Lubrificantes S.A [member] Member ugp:IconicLubrificantesSAMember
896 Ipiranga Lubrificantes S A [member] Member ugp:IpirangaLubrificantesMember
897 Integra Frotas Ltda [member] Member ugp:IntegraFrotasLtdaMember
898 Companhia Ultragaz S A [member] Member ugp:CompanhiaUltragazMember
899 Ultragaz Comercial Ltda [member] Member ugp:UltragazComercialLtdaMember
900 Bahiana Distribuidora De Gas Ltda [member] Member ugp:BahianaDistribuidoraDeGasLtdaMember
901 Utingas Armazenadora S.A. [member] Member ugp:UtingasArmazenadoraMember
902 L p g international inc [member] Member ugp:LPGInternationalIncMember
903 Imaven Imoveis Ltda [member] Member ugp:ImavenImoveisLtdaMember
904 Imifarma Produtos Farmaceuticos e Cosmeticos S A [member] Member ugp:ImifarmaProdutosFarmaceuticosCosmeticosMember
905 Oxiteno S. A. Industria e Comercio [member] Member ugp:OxitenoIndustriaComercioMember
906 Oxiteno Nordeste SAIndustriae Comércio [member] Member ugp:OxitenoNordesteSAIndustriaeComercioMember
907 Oxiteno Argentina Sociedad de Responsabilidad Ltda [member] Member ugp:OxitenoArgentinaSociedadDeResponsabilidadLtdaMember
908 Oleoquímica Industriae Comércio De Produtos Químicos Ltda [member] Member ugp:OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember
909 Oxiteno Uruguay SA [member] Member ugp:OxitenoUruguaySAMember
910 Oxiteno México SA de CV [member] Member ugp:OxitenoMexicoSADeCVMember
911 Oxiteno Servicios Corporativos SA de CV [member] Member ugp:OxitenoServiciosCorporativosSADeCVMember
912 Oxiteno Servicios Industriales de CV [member] Member ugp:OxitenoServiciosIndustrialsDeCVMember
913 Oxiteno USA LLC [member] Member ugp:OxitenoUSALLCMember
914 Global petroleum products trading corporation [member] Member ugp:GlobalPetroleumProductsTradingCorporationMember
915 Oxiteno Andina, CA [member] Member ugp:OxitenoAndinaCAMember
916 Oxiteno Europe SPRL [member] Member ugp:OxitenoEuropeSprlMember
917 Oxiteno Colombia S A S [member] Member ugp:OxitenoColombiaSASMember
918 Oxiteno Shanghai LTD [member] Member ugp:OxitenoShanghaiLtdMember
919 Empresa Carioca de Produtos Quimicos S A [member] Member ugp:EmpresaCariocaDeProdutosQuimicosSAMember
920 Ultracargo Operacoes Logisticas e Participacoes Ltda [member] Member ugp:UltracargoOperacoesLogisticasParticipacoesLtdaMember
921 Terminal Quimico De Aratu SATequimar [member] Member ugp:TerminalQuimicoDeAratuSATequimarMember
922 TEAS Terminal Exportador de Alcool de Santos Ltda. [member] Member ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
923 Ultrapar international sa [member] Member ugp:UltraparInternationalSAMember
924 SERMA Ass dos usuarios equip proc de dados [member] Member ugp:SermaAssDosUsuariosEquipProcDeDadosMember
925 Summary of subsidiaries [line items] LineItems ugp:SummaryOfSubsidiariesLineItems
926 Subsidiary Concept (Text/String) For Period ifrs-full:NameOfSubsidiary
927 Location Concept (Text/String) For Period ugp:Location
928 Segment Concept (Text/String) For Period ugp:BusinessSegment
929 Direct control Concept (Percent) For Period ugp:DirectControlInterestPercentage
930 Indirect control Concept (Percent) For Period ugp:IndirectControlInterestPercentage
931 1085 - Disclosure - Principles of Consolidation, Investments in Subsidiaries and Unrealized - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePrinciplesOfConsolidationInvestmentsInSubsidiariesAndUnrealizedAdditionalInformation
932 Disclosure of detailed information about business combination [table] Table

*

*

ifrs-full:DisclosureOfBusinessCombinationsTable
933 Business combinations [axis] Axis ifrs-full:BusinessCombinationsAxis
934 Entity's total for business combinations [member] Member ifrs-full:EntitysTotalForBusinessCombinationsMember
935 TEAS Terminal Exportador de Alcool de Santos Ltda. [member] Member ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
936 Disclosure of detailed information about business combination [line items] LineItems ifrs-full:DisclosureOfBusinessCombinationsLineItems
937 Percentage of equity interests acquired Concept (Percent) As Of ifrs-full:PercentageOfVotingEquityInterestsAcquired
938 Proportion of voting rights held by non-controlling interests Concept (Percent) For Period ifrs-full:ProportionOfVotingRightsHeldByNoncontrollingInterests
939 Goodwill Concept (Monetary) As Of Debit ifrs-full:GoodwillRecognisedAsOfAcquisitionDate
940 Total consideration Concept (Monetary) As Of Credit ifrs-full:AcquisitiondateFairValueOfTotalConsiderationTransferred
941 Goodwill Concept (Monetary) As Of Debit ifrs-full:Goodwill
942 Non-compliance fine paid Concept (Monetary) For Period Debit ugp:AmountOfFinePaid
943 1086 - Disclosure - Principles of Consolidation, Investments in Subsidiaries and Unrealized Acquisition - Fair value of acquired assets and liabilities assumed in acquisition (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePrinciplesOfConsolidationInvestmentsInSubsidiariesAndUnrealizedAcquisitionFairValueOfAcquiredAssetsAndLiabilitiesAssumedInAcquisition
944 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
945 Business combinations [axis] Axis ifrs-full:BusinessCombinationsAxis
946 Entity's total for business combinations [member] Member ifrs-full:EntitysTotalForBusinessCombinationsMember
947 Acquisition date [member] Member ugp:AcquisitionDateMember
948 TEAS Terminal Exportador de Alcool de Santos Ltda. [member] Member ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
949 Transactions recognised separately from acquisition of assets and assumption of liabilities in business combination [axis] Axis ifrs-full:TransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationAxis
950 Transactions recognised separately from acquisition of assets and assumption of liabilities in business combination [member] Member ifrs-full:TransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationMember
951 Temporary amount [member] Member ugp:TemporaryAmountMember
952 Adjustments [member] Member ugp:AdjustmentsMember
953 Summary of assets and liabilities fair value [line items] LineItems ugp:SummaryOfAssetsAndLiabilitiesFairValueLineItems
954 Cash and cash equivalents Concept (Monetary) As Of Debit ifrs-full:CashAndCashEquivalents
955 Deferred income and social contribution taxes Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxAssets
956 Trade receivables Concept (Monetary) As Of Debit ifrs-full:TradeReceivables
957 Inventories Concept (Monetary) As Of Debit ifrs-full:Inventories
958 Recoverable taxes Concept (Monetary) As Of Debit ugp:RecoverableTaxes
959 Other receivables Concept (Monetary) As Of Debit ifrs-full:OtherAssets
960 Current assets Concept (Monetary) As Of Debit ifrs-full:CurrentAssets
961 Trade payables Concept (Monetary) As Of Credit ifrs-full:TradeAndOtherCurrentPayables
962 Salaries and related charges Concept (Monetary) As Of Credit ugp:SalariesAndRelatedCharges
963 Contingent consideration Concept (Monetary) As Of Credit ugp:ContingentConsideration
964 Taxes payable Concept (Monetary) As Of Credit ugp:IncomeAndSocialContributionTaxesPayable
965 Other payables Concept (Monetary) As Of Credit ifrs-full:OtherCurrentPayables
966 Current liabilities Concept (Monetary) As Of Credit ifrs-full:CurrentLiabilities
967 Related parties Concept (Monetary) As Of Debit ugp:RelatedPartiesNoncurrentAssets
968 Indemnity asset Concept (Monetary) As Of Debit ugp:IndemnityAsset
969 Escrow deposits Concept (Monetary) As Of Debit ifrs-full:LongtermDeposits
970 Other receivables Concept (Monetary) As Of Debit ifrs-full:OtherReceivables
971 Property, plant, and equipment Concept (Monetary) As Of Debit ifrs-full:PropertyPlantAndEquipment
972 Intangible assets Concept (Monetary) As Of Debit ifrs-full:IntangibleAssetsOtherThanGoodwill
973 Noncurrent assets Concept (Monetary) As Of Debit ifrs-full:NoncurrentAssets
974 Provision for tax, civil, and labor risks Concept (Monetary) As Of Credit ugp:ProvisionForTaxCivilAndLaborRisks
975 Deferred income and social contribution taxes Concept (Monetary) As Of Credit ifrs-full:OtherNoncurrentPayables
976 Post-employment benefits Concept (Monetary) As Of Credit ugp:PostemploymentBenefitsNoncurrent
977 Noncurrent liabilities Concept (Monetary) As Of Credit ifrs-full:NoncurrentLiabilities
978 Total assets acquired Concept (Monetary) As Of Debit ugp:TotalAssetsAcquired
979 Goodwill Concept (Monetary) As Of Debit ifrs-full:Goodwill
980 Total assets acquired and goodwill Concept (Monetary) As Of Debit ugp:TotalAssetsAcquiredAndGoodwill
981 Total liabilities assumed Concept (Monetary) As Of Credit ifrs-full:Liabilities
982 Participation of non-controlling interests Concept (Monetary) As Of Credit ifrs-full:NoncontrollingInterests
983 Consideration transferred Concept (Monetary) As Of Credit ifrs-full:AcquisitiondateFairValueOfTotalConsiderationTransferred
984 Consideration transferred Concept (Monetary) As Of Credit ugp:TemporaryConsiderationTransferred
985 1087 - Disclosure - Principles of Consolidation, Investments in Subsidiaries and Acquisition - Summary of identification of assets and liabilities, intangible assets, not recognized in acquired entity's book (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePrinciplesOfConsolidationInvestmentsInSubsidiariesAndAcquisitionSummaryOfIdentificationOfAssetsAndLiabilitiesIntangibleAssetsNotRecognizedInAcquiredEntitysBook
986 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
987 Classes of intangible assets other than goodwill [axis] Axis ifrs-full:ClassesOfIntangibleAssetsOtherThanGoodwillAxis
988 Intangible assets other than goodwill [member] Member ifrs-full:IntangibleAssetsOtherThanGoodwillMember
989 Commercial property rights [member] Member ugp:CommercialPropertyRightsMember
990 Portfolio and customers' relationship [member] Member ugp:PortfolioAndCustomersRelationshipMember
991 Transactions recognised separately from acquisition of assets and assumption of liabilities in business combination [axis] Axis ifrs-full:TransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationAxis
992 Transactions recognised separately from acquisition of assets and assumption of liabilities in business combination [member] Member ifrs-full:TransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationMember
993 Adjustments [member] Member ugp:AdjustmentsMember
994 Disclosure of detailed information about financial instruments [line items] LineItems ifrs-full:DisclosureOfFinancialInstrumentsLineItems
995 Intangible assets other than goodwill Concept (Monetary) As Of Debit ifrs-full:IntangibleAssetsOtherThanGoodwill
996 Finite Lived Intangible Asset, Estimated Useful Life Concept (xbrli:durationItemType) For Period ugp:FiniteLivedIntangibleAssetEstimatedUsefulLife
997 1088 - Disclosure - Principles of Consolidation, Investments in Subsidiaries, Acquisitions Under Approval and Business Combination - Summary of goodwill (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePrinciplesOfConsolidationInvestmentsInSubsidiariesAcquisitionsUnderApprovalAndBusinessCombinationSummaryOfGoodwill
998 Disclosure of reconciliation of changes in goodwill [table] Table

*

*

ifrs-full:DisclosureOfReconciliationOfChangesInGoodwillTable
999 Transactions recognised separately from acquisition of assets and assumption of liabilities in business combination [axis] Axis ifrs-full:TransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationAxis
1000 Transactions recognised separately from acquisition of assets and assumption of liabilities in business combination [member] Member ifrs-full:TransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationMember
1001 Temporary amount [member] Member ugp:TemporaryAmountMember
1002 Adjustments [member] Member ugp:AdjustmentsMember
1003 Business combinations [axis] Axis ifrs-full:BusinessCombinationsAxis
1004 Entity's total for business combinations [member] Member ifrs-full:EntitysTotalForBusinessCombinationsMember
1005 Acquisition date [member] Member ugp:AcquisitionDateMember
1006 TEAS Terminal Exportador de Alcool de Santos Ltda. [member] Member ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
1007 Summary of principles of consolidation [line items] LineItems ugp:SummaryOfPrinciplesOfConsolidationLineItems
1008 Consideration transferred Concept (Monetary) As Of Credit ifrs-full:AcquisitiondateFairValueOfTotalConsiderationTransferred
1009 Total assets acquired Concept (Monetary) As Of Debit ugp:TotalAssetsAcquired
1010 Total liabilities assumed Concept (Monetary) As Of Credit ifrs-full:Liabilities
1011 Non-controllinginterest Concept (Monetary) As Of Credit ifrs-full:NoncontrollingInterests
1012 Goodwill Concept (Monetary) As Of Debit ifrs-full:Goodwill
1013 1089 - Disclosure - Principles of Consolidation, Investments in Subsidiaries, Acquisitions Under Approval and Business Combination - Consolidated information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePrinciplesOfConsolidationInvestmentsInSubsidiariesAcquisitionsUnderApprovalAndBusinessCombinationConsolidatedInformation
1014 Disclosure of reconciliation of changes in goodwill [table] Table

*

*

ifrs-full:DisclosureOfReconciliationOfChangesInGoodwillTable
1015 Business combinations [axis] Axis ifrs-full:BusinessCombinationsAxis
1016 Entity's total for business combinations [member] Member ifrs-full:EntitysTotalForBusinessCombinationsMember
1017 TEAS Terminal Exportador de Alcool de Santos Ltda. [member] Member ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
1018 Summary of principles of consolidation [line items] LineItems ugp:SummaryOfPrinciplesOfConsolidationLineItems
1019 Net revenue from sales and services Concept (Monetary) For Period Credit ifrs-full:RevenueOfAcquiree
1020 Operating income Concept (Monetary) For Period Debit ugp:OperatingIncomeAcquiree
1021 Net income for the year Concept (Monetary) For Period Credit ifrs-full:ProfitLossOfAcquiree
1022 Earnings per share basic - whole R$ (see Note 31) Concept (Share) For Period ugp:BasicEarningsLossPerShareAcquiree
1023 Earnings per share diluted - whole R$ (see Note 31) Concept (Share) For Period ugp:DilutedEarningsLossPerShareAcquiree
1024 1090 - Disclosure - Cash and Cash Equivalents and Financial Investments - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureCashAndCashEquivalentsAndFinancialInvestmentsAdditionalInformation
1025 Implied Table Table

*

*

implied:Table
1026 Cash and cash equivalents and financial investments details narrative [abstract] Abstract ugp:CashAndCashEquivalentsAndFinancialInvestmentsDetailsNarrativeAbstract
1027 Cash, cash equivalents, and financial investments Concept (Monetary) As Of Debit ugp:CashCashEquivalentsAndFinancialInvestments
1028 1091 - Disclosure - Cash and Cash Equivalents and Financial Investments - Cash and cash equivalents (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureCashAndCashEquivalentsAndFinancialInvestmentsCashAndCashEquivalents
1029 Implied Table Table

*

*

implied:Table
1030 Cash and cash equivalents and financial investments details [abstract] Abstract ugp:CashAndCashEquivalentsAndFinancialInvestmentsDetailsAbstract
1031 Cash and bank deposits In local currency Concept (Monetary) As Of Credit ugp:CashAndBankDepositsInLocalCurrency
1032 In foreign currency Concept (Monetary) As Of Credit ugp:CashAndBankDepositsInForeignCurrency
1033 Fixed-income securities Concept (Monetary) As Of Credit ugp:FinancialInvestmentsConsideredCashEquivalentsInLocalCurrency
1034 Fixed-income securities Concept (Monetary) As Of Credit ugp:FinancialInvestmentsConsideredCashEquivalentsInForeignCurrency
1035 Total cash and cash equivalents Concept (Monetary) As Of Debit ifrs-full:CashAndCashEquivalents
1036 1092 - Disclosure - Cash and Cash Equivalents and Financial Investments - Financial investments (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureCashAndCashEquivalentsAndFinancialInvestmentsFinancialInvestments
1037 Implied Table Table

*

*

implied:Table
1038 Cash and cash equivalents and financial investments details1 [abstract] Abstract ugp:CashAndCashEquivalentsAndFinancialInvestmentsDetails1Abstract
1039 Financial investments in local currency, fixed-income securities and funds Concept (Monetary) As Of Credit ugp:FinancialInvestmentsInLocalCurrency
1040 Financial investments in foreign currency, fixed-income securities and funds Concept (Monetary) As Of Credit ugp:FinancialInvestmentsInForeignCurrency
1041 Currency and interest rate hedging instruments Concept (Monetary) As Of Credit ugp:CurencyAndInterestRateHedgingInstruments
1042 Total financial investments Concept (Monetary) As Of Debit ugp:FinancialInvestments
1043 Current Concept (Monetary) As Of Credit ugp:FinancialInvestmentsCurrent
1044 Non-current Concept (Monetary) As Of Credit ugp:FinancialInvestmentsNoncurrent
1045 1093 - Disclosure - Trade Receivables and Reseller Financing - Trade receivables (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradeReceivablesAndResellerFinancingTradeReceivables
1046 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
1047 Trade Receivables [axis] Axis ugp:TradeReceivablesAxis
1048 Trade Receivables [domain] Member ugp:TradeReceivablesDomain
1049 Domestic customers [member] Member ugp:DomesticCustomersMember
1050 foreign customers [member] Member ugp:ForeignCustomersMember
1051 Estimated losses on doubtful accounts [member] Member ugp:EstimatedLossesOnDoubtfulAccountsMember
1052 Summary of trade receivables [line items] LineItems ugp:SummaryOfTradeReceivablesLineItems
1053 Trade receivables Concept (Monetary) As Of Debit ifrs-full:TradeReceivables
1054 Current Concept (Monetary) As Of Debit ifrs-full:CurrentTradeReceivables
1055 Non-current Concept (Monetary) As Of Debit ifrs-full:NoncurrentTradeReceivables
1056 1094 - Disclosure - Trade Receivables and Reseller Financing - Summary of of Trade Receivables, Gross of Estimated Losses on Doubtful Accounts (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradeReceivablesAndResellerFinancingSummaryOfOfTradeReceivablesGrossOfEstimatedLossesOnDoubtfulAccounts
1057 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
1058 Range [axis] Axis ifrs-full:RangeAxis
1059 Ranges [member] Member ifrs-full:RangesMember
1060 Current [member] Member ifrs-full:CurrentMember
1061 Less than 30 days [member] Member ugp:LessThanThirtyDaysMember
1062 From thirty 31 to 60 days [member] Member ugp:FromThirtyOneDaysToSixtyDaysMember
1063 From sixty one days to Ninety days [member] Member ugp:FromSixtyOneDaysToNinetyDaysMember
1064 From 91 to180 days [member] Member ugp:From91To180DaysMember
1065 More than 180 Days [member] Member ugp:MoreThanOneEightyDaysMember
1066 Summary of trade receivables [line items] LineItems ugp:SummaryOfTradeReceivablesLineItems
1067 Trade receivables, gross of estimated losses on doubtful accounts Concept (Monetary) As Of Debit ugp:TradeReceivablesGross
1068 1095 - Disclosure - Trade Receivables and Reseller Financing - Breakdown of Estimated Loss on Doubtful Accounts (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradeReceivablesAndResellerFinancingBreakdownOfEstimatedLossOnDoubtfulAccounts
1069 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
1070 Maturity [axis] Axis ifrs-full:MaturityAxis
1071 Aggregated time bands [member] Member ifrs-full:AggregatedTimeBandsMember
1072 Current [member] Member ifrs-full:CurrentMember
1073 Less than 30 days [member] Member ugp:LessThanThirtyDaysMember
1074 From thirty 31 to 60 days [member] Member ugp:FromThirtyOneDaysToSixtyDaysMember
1075 From sixty one days to Ninety days [member] Member ugp:FromSixtyOneDaysToNinetyDaysMember
1076 From 91 to180 days [member] Member ugp:From91To180DaysMember
1077 More than 180 Days [member] Member ugp:MoreThanOneEightyDaysMember
1078 Trade Receivables [axis] Axis ugp:TradeReceivablesAxis
1079 Trade Receivables [domain] Member ugp:TradeReceivablesDomain
1080 Estimated losses on doubtful accounts [member] Member ugp:EstimatedLossesOnDoubtfulAccountsMember
1081 Summary of trade receivables [line items] LineItems ugp:SummaryOfTradeReceivablesLineItems
1082 Trade Receivables Concept (Monetary) As Of Debit ifrs-full:TradeReceivables
1083 1096 - Disclosure - Trade Receivables and Reseller Financing - Composition of Reseller Financing (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradeReceivablesAndResellerFinancingCompositionOfResellerFinancing
1084 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
1085 Trade Receivables [axis] Axis ugp:TradeReceivablesAxis
1086 Trade Receivables [domain] Member ugp:TradeReceivablesDomain
1087 Reseller Financing - Ipiranga [member] Member ugp:ResellerFinancingIpirangaMember
1088 Estimated losses on doubtful accounts [member] Member ugp:EstimatedLossesOnDoubtfulAccountsMember
1089 Summary of trade receivables [line items] LineItems ugp:SummaryOfTradeReceivablesLineItems
1090 Reseller financing Concept (Monetary) As Of Debit ugp:ResellerFinancing
1091 Current Concept (Monetary) As Of Debit ugp:CurrentResellerFinancing
1092 Non-current Concept (Monetary) As Of Debit ugp:NonCurrentResellerFinancing
1093 1097 - Disclosure - Trade Receivables and Reseller Financing - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradeReceivablesAndResellerFinancingAdditionalInformation
1094 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
1095 Range [axis] Axis ifrs-full:RangeAxis
1096 Ranges [member] Member ifrs-full:RangesMember
1097 Bottom of range [member] Member ifrs-full:BottomOfRangeMember
1098 Top of range [member] Member ifrs-full:TopOfRangeMember
1099 Average [member] Member ugp:AverageMember
1100 Summary of trade receivables [line items] LineItems ugp:SummaryOfTradeReceivablesLineItems
1101 Terms of reseller financing Concept (xbrli:durationItemType) For Period ugp:TermsOfResellerFinancing
1102 Reseller financing rate per month Concept (Percent) For Period ugp:ResellerFinancingRatePerMonth
1103 1098 - Disclosure - Trade Receivables and Reseller Financing - Breakdown of Reseller Financing, Gross of Estimated Losses on Doubtful Accounts (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradeReceivablesAndResellerFinancingBreakdownOfResellerFinancingGrossOfEstimatedLossesOnDoubtfulAccounts
1104 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
1105 Maturity [axis] Axis ifrs-full:MaturityAxis
1106 Aggregated time bands [member] Member ifrs-full:AggregatedTimeBandsMember
1107 Current [member] Member ifrs-full:CurrentMember
1108 Less than 30 days [member] Member ugp:LessThanThirtyDaysMember
1109 From thirty 31 to 60 days [member] Member ugp:FromThirtyOneDaysToSixtyDaysMember
1110 From sixty one days to Ninety days [member] Member ugp:FromSixtyOneDaysToNinetyDaysMember
1111 From 91 to180 days [member] Member ugp:From91To180DaysMember
1112 More than 180 Days [member] Member ugp:MoreThanOneEightyDaysMember
1113 Summary of trade receivables [line items] LineItems ugp:SummaryOfTradeReceivablesLineItems
1114 Reseller financing, gross of estimated losses on doubtful accounts Concept (Monetary) As Of Debit ugp:ResellerFinancingGross
1115 1099 - Disclosure - Trade Receivables and Reseller Financing - Breakdown of Estimated Losses on Doubtful Accounts (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradeReceivablesAndResellerFinancingBreakdownOfEstimatedLossesOnDoubtfulAccounts
1116 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
1117 Maturity [axis] Axis ifrs-full:MaturityAxis
1118 Aggregated time bands [member] Member ifrs-full:AggregatedTimeBandsMember
1119 Current [member] Member ifrs-full:CurrentMember
1120 Less than 30 days [member] Member ugp:LessThanThirtyDaysMember
1121 From thirty 31 to 60 days [member] Member ugp:FromThirtyOneDaysToSixtyDaysMember
1122 From sixty one days to Ninety days [member] Member ugp:FromSixtyOneDaysToNinetyDaysMember
1123 From 91 to180 days [member] Member ugp:From91To180DaysMember
1124 More than 180 Days [member] Member ugp:MoreThanOneEightyDaysMember
1125 Trade Receivables [axis] Axis ugp:TradeReceivablesAxis
1126 Trade Receivables [domain] Member ugp:TradeReceivablesDomain
1127 Estimated losses on doubtful accounts [member] Member ugp:EstimatedLossesOnDoubtfulAccountsMember
1128 Summary of trade receivables [line items] LineItems ugp:SummaryOfTradeReceivablesLineItems
1129 Reseller financing Concept (Monetary) As Of Debit ugp:ResellerFinancing
1130 1100 - Disclosure - Inventories - Composition of Inventories (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureInventoriesCompositionOfInventories
1131 Classes of inventories [table] Table

*

*

ugp:ClassesOfInventoriesTable
1132 Inventories [axis] Axis ugp:InventoriesAxis
1133 Inventories [domain] Member ugp:InventoriesDomain
1134 Fuels [member] Member ugp:FuelsMember
1135 Finished goods [member] Member ugp:FinishedGoodsMember
1136 Work in process [member] Member ugp:WorkInProcessMember
1137 Raw Materials [member] Member ugp:RawMaterialsMember
1138 Liquified petroleum gas [member] Member ugp:LiquifiedPetroleumGasMember
1139 Consumable materials [member] Member ugp:ConsumableMaterialsMember
1140 Pharmaceutical hygiene beauty products member Member ugp:PharmaceuticalHygieneBeautyProductsMember
1141 Advances to suppliers [member] Member ugp:AdvancesToSuppliersMember
1142 Properties for resale [member] Member ugp:PropertiesForResaleMember
1143 Summary of inventories [line items] LineItems ugp:SummaryOfInventoriesLineItems
1144 Cost Concept (Monetary) As Of Debit ugp:InventoriesCost
1145 Provision for losses Concept (Monetary) As Of Credit ugp:ProvisionForLossesInventories
1146 Net balance Concept (Monetary) As Of Debit ifrs-full:Inventories
1147 1101 - Disclosure - Inventories - Movements in the Provision for Losses (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureInventoriesMovementsInTheProvisionForLosses
1148 Implied Table Table

*

*

implied:Table
1149 Inventories details 1 [abstract] Abstract ugp:InventoriesDetails1Abstract
1150 Provisions for losses, beginning Concept (Monetary) As Of Credit ugp:InventoriesProvisionForLosses
1151 Additions to net realizable value adjustment Concept (Monetary) For Period Credit ugp:AdditionsToNetRealizableValueAdjustment
1152 Additions of obsolescence and other losses Concept (Monetary) For Period Credit ugp:AdditionsToObsolescenceAndOtherLosses
1153 Reversals of obsolescence and other losses Concept (Monetary) For Period Debit ugp:ReversalsOfObsolescenceAndOtherLosses
1154 Oxiteno Andina Concept (Monetary) For Period Debit ifrs-full:ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossLoansAndAdvances
1155 Provisions for losses, ending Concept (Monetary) As Of Credit ugp:InventoriesProvisionForLosses
1156 1102 - Disclosure - Inventories - Breakdown of Provision for Losses Related to Inventories (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureInventoriesBreakdownOfProvisionForLossesRelatedToInventories
1157 Implied Table Table

*

*

implied:Table
1158 Classes of current inventories [abstract] Abstract ifrs-full:ClassesOfInventoriesAbstract
1159 Net realizable value adjustment Concept (Monetary) As Of Credit ugp:NetRealizableValueAdjustment
1160 Obsolescence and other losses Concept (Monetary) As Of Credit ugp:ObsolescenceAndOtherLosses
1161 Provision for losses related to inventories Concept (Monetary) As Of Credit ugp:InventoriesProvisionForLosses
1162 1103 - Disclosure - Taxes to Recover - Summary of Recoverable Taxes (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTaxesToRecoverSummaryOfRecoverableTaxes
1163 Summary of recoverable taxes [table] Table

*

*

ugp:SummaryOfRecoverableTaxesTable
1164 Taxes [axis] Axis ugp:TaxesAxis
1165 Taxes [domain] Member ugp:TaxesDomain
1166 ICMS [member] Member ugp:ICMSMember
1167 Provision for icms losses [member] Member ugp:ProvisionForIcmsLossesMember
1168 PIS and COFINS [member] Member ugp:PisAndCofinsMember
1169 Value Added Tax [member] Member ugp:ValueAddedTaxMember
1170 Others [member] Member ugp:OtherTaxesPayableMember
1171 Summary of recoverable taxes [line items] LineItems ugp:SummaryOfRecoverableTaxesLineItems
1172 Recoverable taxes Concept (Monetary) As Of Debit ugp:RecoverableTaxes
1173 Current Concept (Monetary) As Of Debit ifrs-full:CurrentTaxAssetsCurrent
1174 Non-current Concept (Monetary) As Of Debit ifrs-full:CurrentTaxAssetsNoncurrent
1175 1104 - Disclosure - Taxes to Recover - Summary of Provision for ICMS Losses (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTaxesToRecoverSummaryOfProvisionForICMSLosses
1176 Implied Table Table

*

*

implied:Table
1177 Summary of recoverable taxes [abstract] Abstract ugp:SummaryOfRecoverableTaxesAbstract
1178 Additions, write-offs and reversals, net Concept (Monetary) For Period Debit ugp:WriteoffsAdditionsReversalsOficmsProvision
1179 Provision for ICMS losses, ending Concept (Monetary) As Of Credit ugp:ProvisionForicmsLosses
1180 1105 - Disclosure - Taxes to Recover - Summary of Recoverable Income Tax and Social Contribution Taxes (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTaxesToRecoverSummaryOfRecoverableIncomeTaxAndSocialContributionTaxes
1181 Disclosure of Recoverable Income Tax and Social Contribution Taxes [table] Table

*

*

ugp:DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesTable
1182 Taxes [axis] Axis ugp:TaxesAxis
1183 Taxes [domain] Member ugp:TaxesDomain
1184 IRPJ and CSLL [member] Member ugp:IrpjandcsllMember
1185 Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] LineItems ugp:DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems
1186 Recoverable and social contribution taxes Concept (Monetary) As Of Debit ugp:RecoverableAndSocialContributionTaxes
1187 Current Concept (Monetary) As Of Debit ugp:CurrentRecoverableIncomeAndSocialContributionTaxes
1188 Non-current Concept (Monetary) As Of Debit ugp:NonCurrentRecoverableIncomeAndSocialContributionTaxes
1189 1106 - Disclosure - Taxes to Recover - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTaxesToRecoverAdditionalInformation
1190 Disclosure of Recoverable Income Tax and Social Contribution Taxes [table] Table

*

*

ugp:DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesTable
1191 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
1192 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
1193 Oxiteno S.A. and Oxiteno Nordeste [member] Member ugp:OxitenoSAAndOxitenoNordesteMember
1194 Other Subsidiaries [member] Member ugp:OtherSubsidiariesMember
1195 Taxes [axis] Axis ugp:TaxesAxis
1196 Taxes [domain] Member ugp:TaxesDomain
1197 IRPJ and CSLL [member] Member ugp:IrpjandcsllMember
1198 Range [axis] Axis ifrs-full:RangeAxis
1199 Ranges [member] Member ifrs-full:RangesMember
1200 Top of range [member] Member ifrs-full:TopOfRangeMember
1201 Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items] LineItems ugp:DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems
1202 Realization of tax credit period Concept (xbrli:durationItemType) For Period ugp:RealizationOfTaxCreditPeriod
1203 1107 - Disclosure - Related Parties - Summary of Subsidiaries and Other Related Parties (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesSummaryOfSubsidiariesAndOtherRelatedParties
1204 Summary of related parties [table] Table

*

*

ugp:SummaryOfRelatedPartiesTable
1205 Associates [axis] Axis ifrs-full:SignificantInvestmentsInAssociatesAxis
1206 Entity's total for associates [member] Member ifrs-full:EntitysTotalForAssociatesMember
1207 Quimica da bahia Industria e Comercio [member] Member ugp:QuimicaDaBahiaIndustriaEcomercioMember
1208 Others [member] Member ugp:RelatiedPartiesOtherMember
1209 Oxicap Industria de Gases [member] Member ugp:OxicapIndustriaDeGasesMember
1210 Refinaria De Petroleo Rigrandense [member] Member ugp:RefinariaDePetroleoRigrandenseMember
1211 ConectCar Solucoes de Mobilidade Eletronica [member] Member ugp:ConectCarSolucoesDeMobilidadeEletronicaMember
1212 LA'7 Participaes e Empreend. Imob. Ltda. [member] Member ugp:LA7ParticipaesEEmpreendImobLtdaMember
1213 Summary of related parties [line items] LineItems ugp:SummaryOfRelatedPartiesLineItems
1214 Loans assets Concept (Monetary) As Of Debit ugp:LoansAssets
1215 Loans liabilities Concept (Monetary) As Of Credit ugp:LoansLiabilities
1216 Receivables Concept (Monetary) As Of Debit ugp:CommercialTransactionsReceivables
1217 Payables Concept (Monetary) As Of Credit ugp:CommercialTransactionsPayables
1218 Commercial transactions, sales and services Concept (Monetary) For Period Credit ugp:CommercialTransactionsSalesAndServices
1219 Commercial transactions purchases Concept (Monetary) As Of Debit ugp:CommercialTransactionsPurchases
1220 Expenses Concept (Monetary) As Of Debit ugp:CommercialTransactionsExpenses
1221 1108 - Disclosure - Related Parties - Summary of Subsidiaries and Other Related Parties (Parenthetical) (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParenthetical
1222 Summary of related parties [table] Table

*

*

ugp:SummaryOfRelatedPartiesTable
1223 Associates [axis] Axis ifrs-full:SignificantInvestmentsInAssociatesAxis
1224 Entity's total for associates [member] Member ifrs-full:EntitysTotalForAssociatesMember
1225 LA'7 Participaes e Empreend. Imob. Ltda. [member] Member ugp:LA7ParticipaesEEmpreendImobLtdaMember
1226 Summary of related parties [line items] LineItems ugp:SummaryOfRelatedPartiesLineItems
1227 Number of drugstores under rental contracts Concept (Integer) For Period ugp:NumberOfDrugstoresUnderRentalContracts
1228 1109 - Disclosure - Related Parties - Summary of Expenses for Compensation of Its Key Executives (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutives
1229 Summary of related parties [table] Table

*

*

ugp:SummaryOfRelatedPartiesTable
1230 Executive compensation [axis] Axis ugp:ExecutiveCompensationAxis
1231 Executive compensation [domain] Member ugp:ExecutiveCompensationDomain
1232 Short-term compensation [member] Member ugp:ShortTermCompensationMember
1233 Stock compensation [member] Member ugp:StockCompensationMember
1234 Post employment benefits [member] Member ugp:PostEmploymentBenefitsMember
1235 Long-term compensation [member] Member ugp:LongTermCompensationMember
1236 Termination benefit [member] Member ugp:TerminationBenefitMember
1237 Summary of related parties [line items] LineItems ugp:SummaryOfRelatedPartiesLineItems
1238 Compensation expense of key executives Concept (Monetary) For Period Debit ifrs-full:KeyManagementPersonnelCompensation
1239 1110 - Disclosure - Related Parties - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesAdditionalInformation
1240 Disclosure of related party [table] Table

*

*

ugp:DisclosureOfRelatedPartyTable
1241 Range [axis] Axis ifrs-full:RangeAxis
1242 Ranges [member] Member ifrs-full:RangesMember
1243 Bottom of range [member] Member ifrs-full:BottomOfRangeMember
1244 Top of range [member] Member ifrs-full:TopOfRangeMember
1245 Types of share-based payment arrangements [axis] Axis ifrs-full:TypesOfSharebasedPaymentArrangementsAxis
1246 Share-based payment arrangements [member] Member ifrs-full:SharebasedPaymentArrangementsMember
1247 Deferred stock plan [member] Member ugp:DeferredStockUnitPlanMember
1248 Disclosure of related party [line items] LineItems ugp:DisclosureOfRelatedPartyLineItems
1249 Deferred stock plan amortization period from grant date Concept (xbrli:durationItemType) For Period ugp:DeferredShareUnitsVestingPeriod
1250 Amortization recognized as general and administrative Concept (Monetary) For Period Debit ugp:AmortizationRecognizedAsGeneralAndAdministrativeExpense
1251 Period of transfter of ownership shares Concept (xbrli:durationItemType) For Period ugp:PeriodOfTransfterOfOwnershipShares
1252 total common shares approved as incentive ownership plan Concept (Shares) As Of ifrs-full:SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares
1253 Percentage of Common shares may deliver to participants to company's share capital Concept (Percent) For Period ugp:ParticipationPercentageOfShareCapital
1254 General and administrative expense Concept (Monetary) For Period Debit ifrs-full:GeneralAndAdministrativeExpense
1255 1111 - Disclosure - Related Parties - Summary of Shares granted (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesSummaryOfSharesGranted
1256 Summary of related parties [table] Table

*

*

ugp:SummaryOfRelatedPartiesTable
1257 Types of share-based payment arrangements [axis] Axis ifrs-full:TypesOfSharebasedPaymentArrangementsAxis
1258 Share-based payment arrangements [member] Member ifrs-full:SharebasedPaymentArrangementsMember
1259 Sharebased payment arrangements 1 [member] Member ugp:SharebasedPaymentArrangements1Member
1260 Sharebased payment arrangements 2 [member] Member ugp:SharebasedPaymentArrangements2Member
1261 Sharebased payment arrangements 3 [member] Member ugp:SharebasedPaymentArrangements3Member
1262 Sharebased payment arrangements 4 [member] Member ugp:SharebasedPaymentArrangements4Member
1263 Sharebased payment arrangements 5 [member] Member ugp:SharebasedPaymentArrangements5Member
1264 Sharebased payment arrangements 6 [member] Member ugp:SharebasedPaymentArrangements6Member
1265 Summary of related parties [line items] LineItems ugp:SummaryOfRelatedPartiesLineItems
1266 Grant date Concept (Text/String) For Period ifrs-full:DateOfGrantOfSharebasedPaymentArrangement
1267 Balance of number of shares granted Concept (Decimal) For Period ifrs-full:NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
1268 Vesting period Concept (Text/String) For Period ifrs-full:DescriptionOfVestingRequirementsForSharebasedPaymentArrangement
1269 Market price of shares on the grant date Concept (Share) For Period ugp:WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPayment
1270 Total grant costs, including taxes Concept (Monetary) For Period Debit ugp:SharebasedPaymentGrantsCostsIncludingTaxes
1271 Accumulated recognized grant costs Concept (Monetary) For Period Credit ugp:AccumulatedRecognizedGrantCosts
1272 Accumulated unrecognized grant costs Concept (Monetary) For Period Credit ugp:AccumulatedUnrecognizedGrantCosts
1273 1112 - Disclosure - Related Parties - Changes of Number of Shares Granted (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesChangesOfNumberOfSharesGranted
1274 Implied Table Table

*

*

implied:Table
1275 Related parties details 3 [abstract] Abstract ugp:RelatedPartiesDetails3Abstract
1276 Share granted, beginning Concept (Shares) As Of ugp:ShareOptionsGrantedInSharebasedPaymentArrangement
1277 Shares granted on March 4, 2017 Concept (Shares) For Period ugp:ForfeitureOfSharesGranted
1278 Forfeiture of granted shares due to termination of executive employment Concept (Shares) For Period ugp:CancellationOfGrantedSharesDueToTerminationOfExecutiveEmployment
1279 Shares vested and transferred Concept (Shares) For Period ugp:SharesVestedTransferredDuringPeriodSharebasedPaymentArrangement
1280 Share granted, ending Concept (Shares) As Of ugp:ShareOptionsGrantedInSharebasedPaymentArrangement
1281 1113 - Disclosure - Related Parties - Restricted Stock Program (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesRestrictedStockProgram
1282 Summary of related parties [table] Table

*

*

ugp:SummaryOfRelatedPartiesTable
1283 Types of share-based payment arrangements [axis] Axis ifrs-full:TypesOfSharebasedPaymentArrangementsAxis
1284 Share-based payment arrangements [member] Member ifrs-full:SharebasedPaymentArrangementsMember
1285 Restricted program [member] Member ugp:RestrictedProgramOneMember
1286 Restricted And Performance Program [member] Member ugp:RestrictedAndPerformanceProgramOneMember
1287 Restricted And Performance Program [member] Member ugp:RestrictedAndPerformanceProgramTwoMember
1288 Restricted program [member] Member ugp:RestrictedProgramTwoMember
1289 Restricted program three [member] Member ugp:RestrictedProgramThreeMember
1290 Summary of related parties [line items] LineItems ugp:SummaryOfRelatedPartiesLineItems
1291 Grant date Concept (Text/String) For Period ifrs-full:DateOfGrantOfSharebasedPaymentArrangement
1292 Balance of number of shares granted Concept (Decimal) For Period ifrs-full:NumberOfInstrumentsOtherEquityInstrumentsGranted
1293 Vesting period Concept (Text/String) For Period ifrs-full:DescriptionOfVestingRequirementsForSharebasedPaymentArrangement
1294 Market price of shares on the grant date (in R$ per share) Concept (Share) For Period invest:InvestmentOptionsExercisePrice
1295 Total grant costs, including taxes Concept (Monetary) For Period Debit ugp:GrantCostsIncludingTaxes
1296 Accumulated recognized grant costs Concept (Monetary) For Period Debit ugp:AccumulatedRecognizedGrantCostsRelatedParties
1297 Accumulated unrecognized grant costs Concept (Monetary) For Period Debit ugp:AccumulatedUnrecognizedGrantCostsRelatedParties
1298 1114 - Disclosure - Related Parties - Summarized Changes of Number of Restricted and Performance Shares Granted (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGranted
1299 Summary of related parties [table] Table

*

*

ugp:SummaryOfRelatedPartiesTable
1300 Types of share-based payment arrangements [axis] Axis ifrs-full:TypesOfSharebasedPaymentArrangementsAxis
1301 Share-based payment arrangements [member] Member ifrs-full:SharebasedPaymentArrangementsMember
1302 April 9, 2018 [member] Member ugp:GrantDateOneMember
1303 September 19, 2018 [member] Member ugp:GrantDateTwoMember
1304 September 24, 2018 [member] Member ugp:GrantDateThreeMember
1305 Summary of related parties [line items] LineItems ugp:SummaryOfRelatedPartiesLineItems
1306 Balance on December 31, 2017 Concept (Decimal) As Of ifrs-full:NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement
1307 Shares granted Concept (Decimal) For Period ifrs-full:NumberOfInstrumentsOtherEquityInstrumentsGranted
1308 Forfeiture of granted shares due to termination of executive employment Concept (Shares) For Period ugp:NumberOfInstrumentsOtherEquityInstrumentsCancellationOfGrantedSharesDueToTerminationOfExecutiveEmployment
1309 Balance on December 31, 2018 Concept (Decimal) As Of ifrs-full:NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement
1310 1115 - Disclosure - Income and Social Contribution Taxes - Deferred Taxes (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIncomeAndSocialContributionTaxesDeferredTaxes
1311 Implied Table Table

*

*

implied:Table
1312 Deferred income and social contribution taxes asset [abstract] Abstract ugp:DeferredIncomeAndSocialContributionTaxesAssetAbstract
1313 Provision for impairment of assets Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesProvisionForImpairmentOfAssets
1314 Provisions for tax, civil, and labor risks Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxesProvisionsFortaxCivilAndLaborRisks
1315 Provision for post-employment benefits Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesProvisionForPostEmploymentBenefits
1316 Provision for differences between cash and accrual basis Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisAssets
1317 Goodwill Concept (Monetary) As Of Debit ugp:DeferredincomeAndSocialContributionTaxesGoodwill
1318 Business combination - fiscal basis vs. accounting basis of goodwill Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesBusinessCombinationFiscalBasisAccountingBasisOfGoodwill
1319 Provision for asset retirement obligation Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesProvisionForAssetRetirementObligation
1320 Other provisions Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesOtherProvisions
1321 Tax losses and negative basis for social contribution carryforwards (d) Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards
1322 Total Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxAssets
1323 Offset the liabilities balance Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributioTaxesOffsetLiabilitiesBalance
1324 Net balance of assets Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxAssetsNet
1325 Revaluation of property, plant, and equipment Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxesRevaluationOfPropertyPlantAndEquipment
1326 Lease Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxesLease
1327 Provision for differences between cash and accrual basis Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisLiabilities
1328 Provision for goodwill Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsProvisionForGoodwillAndNegativeGoodwill
1329 Business combination - fair value of assets Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsBusinessCombinationFairValueOfAssets
1330 Temporary differences of foreign subsidiaries Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxesTemporaryDifferencesOfForeignSubsidiaries
1331 Other provisions Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesOtherProvisionsLiabilities
1332 Total Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxLiabilities
1333 Offset the assets balance Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesOffsetAssetsBalance
1334 Net balance of liabilities Concept (Monetary) As Of Credit ugp:DeferredIncomeAndSocialContributionTaxLiabilitiesNet
1335 1116 - Disclosure - Income and Social Contribution Taxes - Summary of Changes in Balances of Deferred Taxes (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxes
1336 Disclosure of Deferred income and social contribution taxes [table] Table

*

*

ugp:DisclosureOfDeferredIncomeAndSocialContributionTaxesTable
1337 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
1338 Currently stated [member] Member ifrs-full:RestatedMember
1339 Previously stated [member] Member ifrs-full:PreviouslyStatedMember
1340 Disclosure of deferred income and social contribution taxes [line items] LineItems ugp:DisclosureOfDeferredIncomeAndSocialContributionTaxesLineItems
1341 Initial balance Concept (Monetary) As Of Credit ugp:DeferredIRPJAndCSLL
1342 IFRS 9 and 15 adoption Concept (Monetary) For Period Credit ugp:DeferredIRPJAndCSLLIIfrsAnd15AdoptionValue
1343 IRPJ and CSLL related to CBLSA goodwill - retrospective effect Concept (Monetary) For Period Credit ugp:DeferredIRPJAndCSLLRelatedToCBLSAGoodwill
1344 Subtotal - Initial balance - restated Concept (Monetary) For Period Credit ugp:DeferredIRPJAndCSLLInitialBalance
1345 Deferred IRPJ and CSLL recognized in income of the year Concept (Monetary) For Period Credit ugp:DeferredIRPJAndCSLLRecognizedInIncomeOfYear
1346 Deferred IRPJ and CSLL recognized in other comprehensive income Concept (Monetary) For Period Credit ugp:DeferredIRPJAndCSLLRecognizedInOtherComprehensiveIncome
1347 Deferred IRPJ and CSLL recognized in business combination Concept (Monetary) For Period Credit ugp:DeferredIRPJAndCSLLRecognizedInBusinessCombinations
1348 Others Concept (Monetary) For Period Credit ugp:DeferredIRPJAndCSLLOthers
1349 Final balance Concept (Monetary) As Of Credit ugp:DeferredIRPJAndCSLL
1350 1117 - Disclosure - Income and Social Contribution Taxes - Summary of Recovery of Deferred Tax Assets (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssets
1351 Disclosure of Deferred income and social contribution taxes [table] Table

*

*

ugp:DisclosureOfDeferredIncomeAndSocialContributionTaxesTable
1352 Range [axis] Axis ifrs-full:RangeAxis
1353 Ranges [member] Member ifrs-full:RangesMember
1354 Up to 1 year [member] Member ugp:UpTo1YearMember
1355 From 1 to 2 years [member] Member ugp:From1To2YearsMember
1356 From 2 to 3 years [member] Member ugp:From2To3YearsMember
1357 From 3 to 5 years [member] Member ugp:From3To5YearsMember
1358 From 5 to 7 years [member] Member ugp:From5To7YearsMember
1359 From 7 to 10 Years[member] Member ugp:From7To10YearsMember
1360 Summary of income and social contribution taxes [line items] LineItems ugp:SummaryOfIncomeAndSocialContributionTaxesLineItems
1361 Recovery of deferred tax assets Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxAssets
1362 1118 - Disclosure - Income and Social Contribution Taxes - Summary of Reconciliation of Taxes (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxes
1363 Implied Table Table

*

*

implied:Table
1364 Income and social contribution taxes details 4 [abstract] Abstract ugp:IncomeAndSocialContributionTaxesDetails4Abstract
1365 Income (loss) before taxes and share of profit (loss) of joint ventures, and associates Concept (Monetary) For Period Credit ugp:IncomeBeforeTaxesAndShareOfProfitLossOfJointVenturesAndAssociates
1366 Statutory tax rates Concept (Percent) For Period ifrs-full:ApplicableTaxRate
1367 Income and social contribution taxes at the statutory tax rates Concept (Monetary) For Period Debit ugp:IncomeAndSocialContributionTaxesAtStatutoryTaxRates
1368 Adjustments to the statutory income and social contribution taxes: Abstract ugp:AdjustmentsToStatutoryIncomeAndSocialContributionTaxesAbstract
1369 Nondeductible expenses Concept (Monetary) For Period Debit ifrs-full:TaxExpenseOtherThanIncomeTaxExpense
1370 Nontaxable revenues Concept (Monetary) For Period Credit ugp:NontaxableRevenues
1371 Adjustment to estimated income Concept (Monetary) For Period Credit ugp:AdjustmentToEstimatedIncome
1372 Interest on equity Concept (Monetary) As Of Credit ugp:InterestOnEquity
1373 Unrecorded deferred Income and Social Contribution Taxes Carryforwards deferred Concept (Monetary) For Period Debit ugp:UnrecordedDeferredIncomeAndSocialContributionTaxesCarryforwardsDeferred
1374 Other adjustments Concept (Monetary) For Period Debit ifrs-full:AdjustmentsForIncomeTaxExpense
1375 Income and social contribution taxes before tax incentives Concept (Monetary) For Period Debit ugp:IncomeAndSocialContributionTaxesBeforeTaxIncentives
1376 Tax incentives-SUDENE Concept (Monetary) As Of Debit ugp:TaxIncentives
1377 Income and social contribution taxes in the income statement Concept (Monetary) For Period Debit ugp:IncomeAndSocialContributionTaxes
1378 Current Concept (Monetary) For Period Debit ifrs-full:CurrentTaxExpenseIncome
1379 Deferred Concept (Monetary) For Period Debit ifrs-full:DeferredTaxExpenseIncome
1380 Income and social contribution taxes in the income statement Concept (Monetary) For Period Debit ugp:IncomeAndSocialContributionTaxes
1381 Effective IRPJ and CSLL rates Concept (Percent) For Period ugp:EffectiveIRPJAndCSLLRates
1382 1119 - Disclosure - Income and Social Contribution Taxes - Summary of Tax Incentives (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIncomeAndSocialContributionTaxesSummaryOfTaxIncentives
1383 Disclosure of Deferred income and social contribution taxes [table] Table

*

*

ugp:DisclosureOfDeferredIncomeAndSocialContributionTaxesTable
1384 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
1385 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
1386 Bahiana Distribuidora De Gas Ltda [member] Member ugp:BahianaDistribuidoraDeGasLtdaMember
1387 Terminal Quimico De Aratu SATequimar [member] Member ugp:TerminalQuimicoDeAratuSATequimarMember
1388 Oleoquímica Industriae Comércio De Produtos Químicos Ltda [member] Member ugp:OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember
1389 Oxiteno Nordeste SAIndustriae Comércio [member] Member ugp:OxitenoNordesteSAIndustriaeComercioMember
1390 Empresa Carioca de Produtos Quimicos S A [member] Member ugp:EmpresaCariocaDeProdutosQuimicosSAMember
1391 Individual assets or cash-generating units [axis] Axis ifrs-full:IndividualAssetsOrCashgeneratingUnitsAxis
1392 Entity's total for individual assets or cash-generating units [member] Member ifrs-full:EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember
1393 Aracaju Base [member] Member ugp:AracajuBaseMember
1394 Suape Base [member] Member ugp:SuapeBaseMember
1395 Mataripe Base [member] Member ugp:MataripeBaseMember
1396 Caucaia Base [member] Member ugp:CaucaiaBaseMember
1397 Juazeiro base [member] Member ugp:JuazeiroBaseMember
1398 Aratu Terminal [member] Member ugp:AratuTerminalMember
1399 Itaqui Terminal [member] Member ugp:ItaquiTerminalMember
1400 Camacari Plant [member] Member ugp:CamacariPlantMember
1401 Summary of income and social contribution taxes [line items] LineItems ugp:SummaryOfIncomeAndSocialContributionTaxesLineItems
1402 Subsidiary Concept (Text/String) For Period ugp:Subsidiary
1403 Business Units Concept (Text/String) For Period ugp:BusinessUnit
1404 Incentive - % Concept (Percent) For Period ugp:IncentivePercentage
1405 Expiration Concept (Year) For Period ugp:ExpirationYear
1406 1120 - Disclosure - Income and Social Contribution Taxes - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIncomeAndSocialContributionTaxesAdditionalInformation
1407 Disclosure of related party [table] Table

*

*

ugp:DisclosureOfRelatedPartyTable
1408 Taxes [axis] Axis ugp:TaxesAxis
1409 Taxes [domain] Member ugp:TaxesDomain
1410 IRPJ [member] Member ugp:IRPJMember
1411 CSLL [member] Member ugp:CSLLMember
1412 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
1413 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
1414 offshore subsidiaries [member] Member ugp:OffshoreSubsidiariesMember
1415 Disclosure of related party [line items] LineItems ugp:DisclosureOfRelatedPartyLineItems
1416 Tax loss carryforwards related to income tax Concept (Monetary) As Of Debit ugp:TaxLossCarryforwards
1417 Tax losses and negative basis for social contribution carryforwards Concept (Monetary) As Of Debit ugp:DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards
1418 Deferred taxes not recognized due to the uncertainty of realization Concept (Monetary) As Of Debit ugp:DeferredTaxesNotRecognizedDueToUncertaintyOfRealization
1419 Deferred tax assets reversed Concept (Monetary) As Of Debit ifrs-full:DeferredTaxAssetWhenUtilisationIsDependentOnFutureTaxableProfitsInExcessOfProfitsFromReversalOfTaxableTemporaryDifferencesAndEntityHasSufferedLossInJurisdictionToWhichDeferredTaxAssetRelates
1420 Tax loss carryforwards related to income tax Concept (Monetary) As Of Debit ugp:TaxLossCarryforwards
1421 1121 - Disclosure - Prepaid Expenses - Summary of Prepaid Expenses (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePrepaidExpensesSummaryOfPrepaidExpenses
1422 Implied Table Table

*

*

implied:Table
1423 Prepaid expenses details [abstract] Abstract ugp:PrepaidExpensesDetailsAbstract
1424 Rents Concept (Monetary) As Of Debit ugp:PrepaidRentExpense
1425 Advertising and publicity Concept (Monetary) As Of Debit ugp:PrepaidAdvertisingExpense
1426 Deferred Stock Plan, net (see Note 8.c) Concept (Monetary) As Of Debit ugp:PrepaidDeferredStockPlanExpense
1427 Insurance premiums Concept (Monetary) As Of Debit ugp:PrepaidInsuranceExpense
1428 Software maintenance Concept (Monetary) For Period Debit ugp:PrepaidSoftwareMaintenanceExpense
1429 Other prepaid expenses Concept (Monetary) As Of Debit ugp:OtherPrepaidExpenses
1430 Prepaid expenses Concept (Monetary) As Of Debit ugp:PrepaidExpenses
1431 Current Concept (Monetary) As Of Debit ifrs-full:CurrentPrepaidExpenses
1432 Non-current Concept (Monetary) As Of Debit ugp:NoncurrentPrepaidExpenses
1433 1122 - Disclosure - Contractual Assets with Customers - Exclusive Rights - Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChanges
1434 Disclosure of contract assets [table] Table

*

*

ugp:DisclosureOfContractAssetsTable
1435 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
1436 Currently stated [member] Member ifrs-full:RestatedMember
1437 Increase (decrease) due to application of IFRS 15 [member] Member ifrs-full:IncreaseDecreaseDueToApplicationOfIFRS15Member
1438 Disclosure of contract assets [line items] LineItems ugp:DisclosureOfContractAssetsLineItems
1439 Initial balance Concept (Monetary) As Of Debit ifrs-full:ContractAssets
1440 Additions Concept (Monetary) For Period Debit ugp:IncreaseDecreaseContractAssetsRelatingToContractsWithCustomers
1441 Amortization Concept (Monetary) For Period Credit ugp:AmortizationOfContractAssetsRelatingToContractsWithCustomers
1442 Transfer Concept (Monetary) For Period Credit ugp:TransferOfContractAssetsRelatingToContractsWithCustomers
1443 Final balance Concept (Monetary) As Of Debit ifrs-full:ContractAssets
1444 Current Concept (Monetary) As Of Debit ifrs-full:CurrentContractAssets
1445 Non-current Concept (Monetary) As Of Debit ifrs-full:NoncurrentContractAssets
1446 1123 - Disclosure - Investment - Summary of Balances and Changes in Joint Ventures (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureInvestmentSummaryOfBalancesAndChangesInJointVentures
1447 Disclosure of joint ventures [table] Table

*

*

ifrs-full:DisclosureOfJointVenturesTable
1448 Joint ventures [axis] Axis ifrs-full:JointVenturesAxis
1449 Entity's total for joint ventures [member] Member ifrs-full:EntitysTotalForJointVenturesMember
1450 Uniao vopak [member] Member ugp:UniaoVopakMember
1451 Rpr [member] Member ugp:RPRMember
1452 Connect car [member] Member ugp:ConnectCarMember
1453 Disclosure of joint ventures [line items] LineItems ifrs-full:DisclosureOfJointVenturesLineItems
1454 Joint ventures, beginning Concept (Monetary) As Of Debit ifrs-full:InvestmentsInJointVentures
1455 Capital increase Concept (Monetary) For Period Debit ugp:CapitalIncreaseJointVentures
1456 Valuation adjustments Concept (Monetary) For Period Credit ugp:ValuationAdjustmentsJointVentures
1457 Dividends and interest on equity (gross) Concept (Monetary) For Period Debit ifrs-full:DividendsReceivedFromJointVenturesClassifiedAsInvestingActivities
1458 Share of profit (loss) of joint ventures Concept (Monetary) For Period Credit ugp:ShareOfProfitLossOfJointVentures
1459 Joint ventures, ending Concept (Monetary) As Of Debit ifrs-full:InvestmentsInJointVentures
1460 1124 - Disclosure - Investment - Summary of Amounts of Financial Position and Income Statements of Profit or Loss of Joint Ventures (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureInvestmentSummaryOfAmountsOfFinancialPositionAndIncomeStatementsOfProfitOrLossOfJointVentures
1461 Disclosure of joint ventures [table] Table

*

*

ifrs-full:DisclosureOfJointVenturesTable
1462 Joint ventures [axis] Axis ifrs-full:JointVenturesAxis
1463 Entity's total for joint ventures [member] Member ifrs-full:EntitysTotalForJointVenturesMember
1464 Uniao vopak [member] Member ugp:UniaoVopakMember
1465 Rpr [member] Member ugp:RPRMember
1466 Connect car [member] Member ugp:ConnectCarMember
1467 Disclosure of joint ventures [line items] LineItems ifrs-full:DisclosureOfJointVenturesLineItems
1468 Current assets Concept (Monetary) As Of Debit ifrs-full:CurrentAssets
1469 Non-current assets Concept (Monetary) As Of Debit ifrs-full:NoncurrentAssets
1470 Current liabilities Concept (Monetary) As Of Credit ifrs-full:CurrentLiabilities
1471 Non-current liabilities Concept (Monetary) As Of Credit ifrs-full:NoncurrentLiabilities
1472 Equity Concept (Monetary) As Of Credit ifrs-full:Equity
1473 Net revenue from sales and services Concept (Monetary) For Period Credit ifrs-full:Revenue
1474 Costs, operating expenses and income Concept (Monetary) For Period Debit ugp:OperatingExpenseAndIncomeCosts
1475 Net financial income and income and social contribution taxes Concept (Monetary) For Period Credit ugp:NetFinancialIncomeAndIncomeAndSocialContributionTaxes
1476 Net income (loss) Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
1477 Number of shares or units held Concept (Shares) For Period ugp:NumberOfSharesOrUnitsHeld
1478 % of capital held Concept (Percent) For Period ugp:PercentageOfCapitalHeld
1479 1125 - Disclosure - Investment - Summary of Balances and Changes in Associates (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureInvestmentSummaryOfBalancesAndChangesInAssociates
1480 Investment [Table] Table

*

*

invest:InvestmentTable
1481 Associates [axis] Axis ifrs-full:SignificantInvestmentsInAssociatesAxis
1482 Entity's total for associates [member] Member ifrs-full:EntitysTotalForAssociatesMember
1483 Transportadora sulbrasileira de gas [member] Member ugp:TransportadoraSulbrasileiraDeGasMember
1484 Oxicap Industria de Gases [member] Member ugp:OxicapIndustriaDeGasesMember
1485 Quimica da bahia Industria e Comercio [member] Member ugp:QuimicaDaBahiaIndustriaEcomercioMember
1486 Metalurgica plus [member] Member ugp:MetalurgicaPlusMember
1487 Plenogas distribuidora de gas [member] Member ugp:PlenogasDistribuidoraDeGasMember
1488 Summary of associates [line items] LineItems ugp:SummaryOfAssociatesLineItems
1489 Associates, beginning Concept (Monetary) As Of Debit ugp:InvestmentsInSubsidiariesInAssociates
1490 Capital reduction Concept (Monetary) For Period Debit ugp:CapitalReductionInAssociates
1491 Dividends Concept (Monetary) For Period Debit ifrs-full:DividendsReceivedFromAssociatesClassifiedAsInvestingActivities
1492 Share of profit (loss) of associates Concept (Monetary) For Period Credit ugp:ShareOfProfitLossOfAssociates
1493 Associates, ending Concept (Monetary) As Of Debit ugp:InvestmentsInSubsidiariesInAssociates
1494 1126 - Disclosure - Investment - Summary of Amounts of Balance Sheets and Income Statements of Associates (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureInvestmentSummaryOfAmountsOfBalanceSheetsAndIncomeStatementsOfAssociates
1495 Detailed Disclosure Of Inventories [table] Table

*

*

ugp:DetailedDisclosureOfInventoriesTable
1496 Associates [axis] Axis ifrs-full:SignificantInvestmentsInAssociatesAxis
1497 Entity's total for associates [member] Member ifrs-full:EntitysTotalForAssociatesMember
1498 Transportadora sulbrasileira de gas [member] Member ugp:TransportadoraSulbrasileiraDeGasMember
1499 Oxicap Industria de Gases [member] Member ugp:OxicapIndustriaDeGasesMember
1500 Quimica da bahia Industria e Comercio [member] Member ugp:QuimicaDaBahiaIndustriaEcomercioMember
1501 Metalurgica plus [member] Member ugp:MetalurgicaPlusMember
1502 Plenogas distribuidora de gas [member] Member ugp:PlenogasDistribuidoraDeGasMember
1503 Summary of associates [line items] LineItems ugp:SummaryOfAssociatesLineItems
1504 Current assets Concept (Monetary) As Of Debit ifrs-full:CurrentAssets
1505 Non-current assets Concept (Monetary) As Of Debit ifrs-full:NoncurrentAssets
1506 Current liabilities Concept (Monetary) As Of Credit ifrs-full:CurrentLiabilities
1507 Non-current liabilities Concept (Monetary) As Of Credit ifrs-full:NoncurrentLiabilities
1508 Equity Concept (Monetary) As Of Credit ifrs-full:Equity
1509 Net revenue from sales and services Concept (Monetary) For Period Credit ifrs-full:Revenue
1510 Costs, operating expenses and income Concept (Monetary) For Period Credit ifrs-full:OtherOperatingIncomeExpense
1511 Net financial income and income and social contribution taxes Concept (Monetary) For Period Credit ugp:NetFinancialIncomeAndIncomeAndSocialContributionTaxes
1512 Net income (loss) Concept (Monetary) For Period Credit ifrs-full:ProfitLoss
1513 Number of shares or units held Concept (Shares) For Period ugp:SharesOrUnitsHeld
1514 % of capital held Concept (Percent) For Period ifrs-full:ProportionOfOwnershipInterestsHeldByNoncontrollingInterests
1515 1127 - Disclosure - Property,Plant,and Equipment - Balances and changes in property, plant, and equipment beginning and ending (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePropertyPlantandEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEnding
1516 Disclosure of detailed information about property, plant and equipment [table] Table

*

*

ifrs-full:DisclosureOfPropertyPlantAndEquipmentTable
1517 Classes of property, plant and equipment [axis] Axis ifrs-full:ClassesOfPropertyPlantAndEquipmentAxis
1518 Property, plant and equipment [member] Member ifrs-full:PropertyPlantAndEquipmentMember
1519 Land [member] Member ifrs-full:LandMember
1520 Machinery [member] Member ifrs-full:MachineryMember
1521 Buildings [member] Member ifrs-full:BuildingsMember
1522 Leasehold improvements [member] Member ifrs-full:LeaseholdImprovementsMember
1523 Automotive [member] Member ugp:AutomotiveMember
1524 Lpg tanks [member] Member ugp:LPGTanksMember
1525 Vehicles [member] Member ifrs-full:VehiclesMember
1526 Furniture [member] Member ugp:FurnitureMember
1527 Construction in progress [member] Member ifrs-full:ConstructionInProgressMember
1528 Advances to suppliers [member] Member ugp:AdvancesToSuppliersMember
1529 Imports in progress [member] Member ugp:ImportsInProgressMember
1530 IT equipment [member] Member ugp:ITEquipmentMember
1531 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
1532 Currently stated [member] Member ifrs-full:RestatedMember
1533 Previously stated [member] Member ifrs-full:PreviouslyStatedMember
1534 Increase (decrease) due to application of IFRS 15 [member] Member ifrs-full:IncreaseDecreaseDueToApplicationOfIFRS15Member
1535 Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount [axis] Axis ifrs-full:CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis
1536 Carrying amount [member] Member ifrs-full:CarryingAmountMember
1537 Gross carrying amount [member] Member ifrs-full:GrossCarryingAmountMember
1538 Accumulated depreciation [member] Member ifrs-full:AccumulatedDepreciationAndAmortisationMember
1539 Provision for losses [member] Member ugp:ProvisionForLossesMember
1540 Disclosure of detailed information about property, plant and equipment [line items] LineItems ifrs-full:DisclosureOfPropertyPlantAndEquipmentLineItems
1541 Property, plant, and equipment, weighted average useful life (years) Concept (Text/String) For Period ifrs-full:UsefulLivesOrDepreciationRatesPropertyPlantAndEquipment
1542 Property, plant, and equipment, beginning Concept (Monetary) As Of Debit ifrs-full:PropertyPlantAndEquipment
1543 Property, plant, and equipment, reclassifications Concept (Monetary) For Period Debit ugp:ReclassificationsOfPropertyPlantAndEquipment
1544 Property, plant, and equipment, beginning restated Concept (Monetary) For Period Debit ugp:PropertyPlantAndEquipmentRestatedAdjustmentBalance
1545 Property, plant, and equipment, additions Concept (Monetary) For Period Debit ifrs-full:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment
1546 Property, plant, and equipment, depreciation Concept (Monetary) For Period ifrs-full:DepreciationPropertyPlantAndEquipment
1547 Property, plant, and equipment, transfer Concept (Monetary) For Period Debit ifrs-full:IncreaseDecreaseThroughTransfersPropertyPlantAndEquipment
1548 Property, plant, and equipment, write-offs and disposals Concept (Monetary) For Period Credit ifrs-full:DisposalsPropertyPlantAndEquipment
1549 Property, plant, and equipment, effect of foreign currency exchange rate variation Concept (Monetary) For Period Debit ifrs-full:IncreaseDecreaseThroughNetExchangeDifferencesPropertyPlantAndEquipment
1550 Property, plant, and equipment, ending Concept (Monetary) As Of Debit ifrs-full:PropertyPlantAndEquipment
1551 Property, plant, and equipment, fair value CBLSA retrospective effect Concept (Monetary) As Of Debit ifrs-full:FairValueOfPropertyPlantAndEquipmentMateriallyDifferentFromCarryingAmount
1552 Property, plant, and equipment, opening balance TEAS Concept (Monetary) For Period Debit ugp:PropertyPlantAndEquipmentOpeningBalanceTeas
1553 Property, plant, and equipment, opening balance CBLSA Concept (Monetary) For Period Debit ugp:PropertyPlantAndEquipmentOpeningBalanceCblsa
1554 1128 - Disclosure - Property,Plant,and Equipment - Balances and changes in property, plant, and equipment beginning and ending (Parenthetical) (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosurePropertyPlantandEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingParenthetical
1555 Disclosure of detailed information about property, plant and equipment [table] Table

*

*

ifrs-full:DisclosureOfPropertyPlantAndEquipmentTable
1556 Classes of property, plant and equipment [axis] Axis ifrs-full:ClassesOfPropertyPlantAndEquipmentAxis
1557 Property, plant and equipment [member] Member ifrs-full:PropertyPlantAndEquipmentMember
1558 Land [member] Member ifrs-full:LandMember
1559 Machinery [member] Member ifrs-full:MachineryMember
1560 Unconsolidated subsidiaries [axis] Axis ifrs-full:UnconsolidatedSubsidiariesAxis
1561 Entity's total for unconsolidated subsidiaries [member] Member ifrs-full:EntitysTotalForUnconsolidatedSubsidiariesMember
1562 Oxiteno Andina [member] Member ugp:OxitenoAndinaMember
1563 Disclosure of detailed information about property, plant and equipment [line items] LineItems ifrs-full:DisclosureOfPropertyPlantAndEquipmentLineItems
1564 Impairment loss recognised in property, plant and equipment Concept (Monetary) For Period ifrs-full:ImpairmentLossRecognisedInProfitOrLossPropertyPlantAndEquipment
1565 1129 - Disclosure - Intangible Assets - Balance and changes in intangible assets (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIntangibleAssetsBalanceAndChangesInIntangibleAssets
1566 Disclosure of detailed information about intangible assets [table] Table

*

*

ifrs-full:DisclosureOfIntangibleAssetsTable
1567 Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount [axis] Axis ifrs-full:CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis
1568 Carrying amount [member] Member ifrs-full:CarryingAmountMember
1569 Cost [member] Member ugp:IntangibleAssetsCostMember
1570 Accumulated amortization [member] Member ugp:IntangibleAssetsAccumulatedAmortizationMember
1571 Retrospective application and retrospective restatement [axis] Axis ifrs-full:RetrospectiveApplicationAndRetrospectiveRestatementAxis
1572 Currently stated [member] Member ifrs-full:RestatedMember
1573 Previously stated [member] Member ifrs-full:PreviouslyStatedMember
1574 Increase (decrease) due to application of IFRS 15 [member] Member ifrs-full:IncreaseDecreaseDueToApplicationOfIFRS15Member
1575 Classes of intangible assets and goodwill [axis] Axis ifrs-full:ClassesOfIntangibleAssetsAndGoodwillAxis
1576 Intangible assets and goodwill [member] Member ifrs-full:IntangibleAssetsAndGoodwillMember
1577 Goodwill [member] Member ifrs-full:GoodwillMember
1578 Software [member] Member ugp:SoftwareMember
1579 Technology [member] Member ugp:TechnologyMember
1580 Commercial property rights [member] Member ugp:CommercialPropertyRightsMember
1581 Distribution rights asset [member] Member ugp:DistributionRightsAssetMember
1582 Brands [member] Member ugp:BrandsMember
1583 Trademark rights [member] Member ugp:TrademarkRightsMember
1584 Others [member] Member ifrs-full:OtherIntangibleAssetsMember
1585 Summary of intangible assets [line items] LineItems ugp:SummaryOfIntangibleAssetsLineItems
1586 Intangible assets, IFRS 15 adoption and reclassifications Concept (Monetary) For Period Debit ifrs-full:RevaluationIncreaseDecreaseIntangibleAssetsOtherThanGoodwill
1587 Weighted average useful life (years) Concept (Decimal) As Of ifrs-full:RemainingAmortisationPeriodOfIntangibleAssetsMaterialToEntity
1588 Intangible assets, fair value CBLSA retrospective effect Concept (Monetary) For Period Debit ugp:FairValueCblsaRetrospectiveEffect
1589 Intangible assets, beginning Concept (Monetary) As Of Debit ifrs-full:IntangibleAssetsAndGoodwill
1590 Intangible assets, additions Concept (Monetary) For Period Debit ugp:IntangibleAssetsAdditions
1591 Intangible assets, amortization Concept (Monetary) For Period Credit ugp:IntangibleAssetsAmortization
1592 Intangible assets, transfer Concept (Monetary) For Period Debit ugp:IntangibleAssetsTransfer
1593 Intangible assets, write-offs and disposals Concept (Monetary) For Period Credit ugp:IntangibleAssetsWriteOffsAndDisposals
1594 Intangible assets, effect of foreign currency exchange rate variation Concept (Monetary) For Period Credit ugp:IntangibleAssetsEffectOfForeignCurrencyExchangeRateVariation
1595 Opening balance CBLSA Concept (Monetary) For Period Debit ugp:IntangibleAssetsOpeningOpeningBalanceCblsa
1596 Intangible assets opening balance TEAS Concept (Monetary) For Period Debit ugp:IntangibleAssetsOpeningBalanceTeas
1597 Intangible assets, ending balance Concept (Monetary) As Of Debit ifrs-full:IntangibleAssetsAndGoodwill
1598 1130 - Disclosure - Intangible Assets - Amortization expenses (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIntangibleAssetsAmortizationExpenses
1599 Implied Table Table

*

*

implied:Table
1600 Intangible assets details 2 [abstract] Abstract ugp:IntangibleAssetsDetails2Abstract
1601 Inventories and cost of products and services sold Concept (Monetary) For Period Debit ugp:InventoriesAndCostOfProductsAndServicesSoldAmortisation
1602 Selling and marketing Concept (Monetary) For Period Debit ugp:SellingAndMarketingAmortisation
1603 General and administrative Concept (Monetary) For Period Debit ugp:GeneralAndAdministrativeAmortisation
1604 Total, amortization Concept (Monetary) For Period Debit ifrs-full:AmortisationExpense
1605 1131 - Disclosure - Intangible Assets - Balances of goodwill (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIntangibleAssetsBalancesOfGoodwill
1606 Disclosure of foreign subsidiaries [table] Table

*

*

ugp:DisclosureOfForeignSubsidiariesTable
1607 Segments [axis] Axis ifrs-full:SegmentsAxis
1608 Segments [member] Member ifrs-full:SegmentsMember
1609 Extrafarma [member] Member ugp:ExtrafarmaMember
1610 Ipiranga [member] Member ugp:IpirangaMember
1611 Uniao Terminais [member] Member ugp:UniaoTerminaisMember
1612 Texaco [member] Member ugp:TexacoMember
1613 Cblsa [member] Member ugp:CblsaMember
1614 Oxiteno Uruguay [member] Member ugp:OxitenoUruguayMember
1615 Temmar [member] Member ugp:TemmarMember
1616 DNP [member] Member ugp:DNPMember
1617 Repsol [member] Member ugp:RepsolMember
1618 TEAS Terminal Exportador de Alcool de Santos Ltda. [member] Member ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
1619 Others [member] Member ugp:OtherSegmentsMember
1620 Summary of intangible assets [line items] LineItems ugp:SummaryOfIntangibleAssetsLineItems
1621 Segment Concept (Text/String) For Period ugp:GoodwillAcquisitionSegment
1622 Goodwill Concept (Monetary) For Period Debit ugp:AcquisitionsThroughBusinessCombinationsGoodwill
1623 1132 - Disclosure - Intangible Assets - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformation
1624 Disclosure of detailed information about intangible assets [table] Table

*

*

ifrs-full:DisclosureOfIntangibleAssetsTable
1625 Segments [axis] Axis ifrs-full:SegmentsAxis
1626 Segments [member] Member ifrs-full:SegmentsMember
1627 Extrafarma [member] Member ugp:ExtrafarmaMember
1628 Range [axis] Axis ifrs-full:RangeAxis
1629 Ranges [member] Member ifrs-full:RangesMember
1630 Bottom of range [member] Member ifrs-full:BottomOfRangeMember
1631 Top of range [member] Member ifrs-full:TopOfRangeMember
1632 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
1633 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
1634 Terminal Quimico De Aratu SATequimar [member] Member ugp:TerminalQuimicoDeAratuSATequimarMember
1635 Classes of intangible assets and goodwill [axis] Axis ifrs-full:ClassesOfIntangibleAssetsAndGoodwillAxis
1636 Intangible assets and goodwill [member] Member ifrs-full:IntangibleAssetsAndGoodwillMember
1637 Operating Leases [member] Member ugp:OperatingLeasesMember
1638 Commercial property rights [member] Member ugp:CommercialPropertyRightsMember
1639 Disclosure of detailed information about intangible assets [line items] LineItems ifrs-full:DisclosureOfIntangibleAssetsLineItems
1640 Period of evaluation Concept (xbrli:durationItemType) For Period ugp:PeriodOfEvaluation
1641 Period to maturity Concept (xbrli:durationItemType) For Period ugp:PeriodToMaturity
1642 Discount rate Concept (Percent) For Period ugp:DiscountRate
1643 Real growth rate Concept (Percent) For Period ugp:RealGrowthRate
1644 Impairment loss Concept (Monetary) For Period ifrs-full:ImpairmentLossRecognisedInProfitOrLossIntangibleAssetsAndGoodwill
1645 Agreement term Concept (Decimal) As Of ifrs-full:RemainingAmortisationPeriodOfIntangibleAssetsMaterialToEntity
1646 Price paid Concept (Monetary) For Period Credit ifrs-full:PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities
1647 1133 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Compostion of loans (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfCompostionOfLoans
1648 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1649 Classes of liabilities [axis] Axis ifrs-full:ClassesOfLiabilitiesAxis
1650 Liabilities [member] Member ifrs-full:LiabilitiesMember
1651 Loan 1 [member] Member ugp:Loan1Member
1652 Loan 2 [member] Member ugp:Loan2Member
1653 Loan 3 [member] Member ugp:Loan3Member
1654 Loan 4 [member] Member ugp:Loan4Member
1655 Loan 5 [member] Member ugp:Loan5Member
1656 Loan 6 [member] Member ugp:Loan6Member
1657 Loan 7 [member] Member ugp:Loan7Member
1658 Loan 8 [member] Member ugp:Loan8Member
1659 Loan 9 [member] Member ugp:Loan9Member
1660 Loan 10 [member] Member ugp:Loan10Member
1661 Loan 11 [member] Member ugp:Loan11Member
1662 Loan 12 [member] Member ugp:Loan12Member
1663 Loan 13 [member] Member ugp:Loan13Member
1664 Loan 14 [member] Member ugp:Loan14Member
1665 Loan 15 [member] Member ugp:Loan15Member
1666 Loan 16 [member] Member ugp:Loan16Member
1667 Loan 17 [member] Member ugp:Loan17Member
1668 Loan 18 [member] Member ugp:Loan18Member
1669 Loan 19 [member] Member ugp:Loan19Member
1670 Loan 20 [member] Member ugp:Loan20Member
1671 Loan 21 [member] Member ugp:Loan21Member
1672 Loan 22 [member] Member ugp:Loan22Member
1673 Loan 23 [member] Member ugp:Loan23Member
1674 Loan 24 [member] Member ugp:Loan24Member
1675 Loan 25 [member] Member ugp:Loan25Member
1676 Loan 26 [member] Member ugp:Loan26Member
1677 Loan 27 [member] Member ugp:Loan27Member
1678 Loan 28 [member] Member ugp:Loan28Member
1679 Loan 29 [member] Member ugp:Loan29Member
1680 Loan 30 [member] Member ugp:Loan30Member
1681 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1682 Description Concept (Text/String) For Period ugp:LoanDescription
1683 Foreign currency - denominated loans Concept (Monetary) As Of Credit ugp:ForeignCurrencyDenominatedLoans
1684 Brazilian Real - denominated loans Concept (Monetary) As Of Credit ugp:BrazilianRealDenominatedLoans
1685 Total foreign currency and Brazilian Reais Concept (Monetary) As Of Credit ugp:TotalForeignCurrencyAndBrazilianReais
1686 Currency and interest rate hedging instruments Concept (Monetary) As Of Credit ugp:CurrencyInterestRateHedgingInstruments
1687 Total Concept (Monetary) As Of Credit ugp:LoanDebt
1688 Current Concept (Monetary) As Of Credit ugp:CurrentDebt
1689 Non-current Concept (Monetary) As Of Credit ugp:NoncurrentDebt
1690 Index/Currency Concept (Text/String) For Period ugp:LoanIndexCurrency
1691 Weighted average financial charges Concept (Text/String) For Period ugp:WeightedAverageFinancialChargesLoans
1692 Maturity Concept (Text/String) For Period ugp:LoanMaturityDate
1693 1134 - Disclosure - Loans, Debentures, and Finance Leases - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesAdditionalInformation
1694 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1695 Debenture [axis] Axis ugp:DebentureAxis
1696 Debenture [Domain] Member ugp:DebentureDomain
1697 Debenture three [member] Member ugp:DebentureThreeMember
1698 Debenture four [member] Member ugp:DebentureFourMember
1699 Debenture five [member] Member ugp:DebentureFiveMember
1700 Debenture six [member] Member ugp:DebentureSixMember
1701 Debenture seven [member] Member ugp:DebentureSevenMember
1702 Debenture eight [member] Member ugp:DebentureEightMember
1703 Debenture twelve [member] Member ugp:DebentureTwelveMember
1704 Debenture eleven [member] Member ugp:DebentureElevenMember
1705 Debenture one [member] Member ugp:DebentureOneMember
1706 Debenture two [member] Member ugp:DebentureTwoMember
1707 Debenture ten [member] Member ugp:DebentureTenMember
1708 Borrowings by name [axis] Axis ifrs-full:BorrowingsByNameAxis
1709 Borrowings by name [member] Member ifrs-full:BorrowingsByNameMember
1710 Foreign loans [member] Member ugp:ForeignLoansMember
1711 Debentures second issue [member] Member ugp:DebenturesSecondIssueMember
1712 Debentures fifth issue [member] Member ugp:DebenturesFifthIssueMember
1713 Debentures fourth issue [member] Member ugp:DebenturesFourthIssueMember
1714 Debentures sixth issue [member] Member ugp:DebenturesSixthIssueMember
1715 Debentures seventh issue [member] Member ugp:DebenturesSeventhIssueMember
1716 Debentures eighth issue [member] Member ugp:DebenturesEighthIssueMember
1717 Classes of contingent liabilities [axis] Axis ifrs-full:ClassesOfContingentLiabilitiesAxis
1718 Contingent liabilities [member] Member ifrs-full:ContingentLiabilitiesMember
1719 Other contingent liabilities [member] Member ifrs-full:OtherContingentLiabilitiesMember
1720 Liabilities arising from financing activities [axis] Axis ifrs-full:LiabilitiesArisingFromFinancingActivitiesAxis
1721 Liabilities arising from financing activities [member] Member ifrs-full:LiabilitiesArisingFromFinancingActivitiesMember
1722 Long term interest rate [member] Member ugp:LongTermInterestRateMember
1723 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
1724 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
1725 IPP [member] Member ugp:IpirangaProdutosDePetroleoSAMember
1726 Oxiteno S.A. and Oxiteno Nordeste [member] Member ugp:OxitenoSAAndOxitenoNordesteMember
1727 Classes of financial instruments [axis] Axis ifrs-full:ClassesOfFinancialInstrumentsAxis
1728 Financial instruments, class [member] Member ifrs-full:ClassesOfFinancialInstrumentsMember
1729 Export Credit Note [member] Member ugp:ExportCreditNoteMember
1730 Counterparties [axis] Axis ifrs-full:CounterpartiesAxis
1731 Counterparties [member] Member ifrs-full:CounterpartiesMember
1732 Northeast Constitutional Financing Fund [member] Member ugp:NortheastConstitutionalFinancingFundMember
1733 Categories of related parties [axis] Axis ifrs-full:CategoriesOfRelatedPartiesAxis
1734 Entity's total for related parties [member] Member ifrs-full:EntitysTotalForRelatedPartiesMember
1735 Ultrapar international sa [member] Member ugp:UltraparInternationalSAMember
1736 Types of rate-regulated activities [axis] Axis ifrs-full:TypesOfRateregulatedActivitiesAxis
1737 Rate-regulated activities [member] Member ifrs-full:RateregulatedActivitiesMember
1738 Restricted Assets [member] Member ugp:RestrictedAssetsMember
1739 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1740 Long term interest rate Concept (Percent) As Of ugp:LongTermDebtInterestRate
1741 Interest rate Concept (Percent) As Of ifrs-full:BorrowingsInterestRate
1742 Discount on interest rate Concept (Percent) For Period ugp:PercentageOfDiscountRate
1743 Notes to foreign market Concept (Monetary) As Of Credit ifrs-full:NotesAndDebenturesIssued
1744 Borrowings, maturity date Concept (Text/String) For Period ifrs-full:BorrowingsMaturity
1745 Issue percent of face value Concept (Percent) For Period ugp:BondsIssuePriceInPercentage
1746 Restriction on encumbrance of assets Concept (Monetary) As Of Credit ifrs-full:LiabilitiesToWhichSignificantRestrictionsApply
1747 Percent restricted consolidated tangible assets Concept (Percent) For Period ugp:ValueOfAssetsPercentage
1748 Borrowings Concept (Monetary) For Period Credit ugp:DebentureFaceValue
1749 Floating interest rates in dollar change in foreign loan Concept (Text/String) For Period ugp:DebentureInterestDescription
1750 Determination of required maintenance ratio description Concept (Pure) For Period ugp:EBITDAToInterestCoverageRatioDescription
1751 Borrowings, adjustment to interest rate basis Concept (Percent) As Of ifrs-full:BorrowingsAdjustmentToInterestRateBasis
1752 Simple nominative nonconvertible unsecured registered debentures Concept (Decimal) For Period ugp:NumberOfDebenturesDistributedThroughPublicOffer
1753 Final maturity Concept (Text/String) For Period ugp:DebentureFinalMaturity
1754 Payment of the face value Concept (Text/String) For Period ugp:DebenturePaymentOfFaceValueDescription
1755 Payment of interest Concept (Text/String) For Period ugp:DebenturePaymentOfInterestDescription
1756 Reprice Concept (Text/String) For Period ugp:DebentureReprice
1757 Second series simple nominative nonconvertible unsecured registered debentures Concept (Integer) For Period ugp:NumberOfDebenturesIssued
1758 Amount: Concept (Monetary) As Of Credit ugp:DebenturesPrincipalAmount
1759 Financing guaranteed by collateral Concept (Monetary) For Period ifrs-full:ProvisionOfGuaranteesOrCollateralByEntityRelatedPartyTransactions
1760 Amount of guarantees and promissory notes Concept (Monetary) As Of Debit ugp:GuaranteesDebtors
1761 Collateral guarantees to secure letters of credits Concept (Monetary) As Of Debit ugp:CollateralAssetsLettersOfCreditOrGuarantees
1762 Guarantee related to supply Of LPG Concept (Monetary) For Period Credit ugp:GuaranteeObligationsSupplyOfLpg
1763 Supply of row materials without guarantee Concept (Monetary) For Period Credit ugp:RowMaterialsSupplyWithoutaGuarantee
1764 maximum amount of future payments on collateral gurantee Concept (Monetary) As Of Credit ugp:MaximumPotentialAmountOfFuturePaymentsOnGuarantees
1765 Fair value of collaterals recorded as other payables Concept (Monetary) As Of Credit ugp:GuaranteeLiabilities
1766 1135 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Changes in Loans, Debentures and Finance Leases (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfChangesInLoansDebenturesAndFinanceLeases
1767 Implied Table Table

*

*

implied:Table
1768 Loans debentures and finance leases details 1 [abstract] Abstract ugp:LoansDebenturesAndFinanceLeasesDetails1Abstract
1769 Loans, debentures and finance leases, beginning Concept (Monetary) As Of Credit ugp:LoansDebenturesAndFinanceLeases
1770 New loans and debentures with cash effect Concept (Monetary) For Period Credit ugp:AdditionsLoansAndDebenturesWithCashEffect
1771 Interest accrued Concept (Monetary) For Period Credit ugp:LoandsAndDebenturesInterestAccrued
1772 Principal payment and financial leases Concept (Monetary) For Period Debit ugp:PrincipalPaymentAndFinancialLeases
1773 Interest payment Concept (Monetary) For Period Debit ugp:LoansAndDebenturesInterestPayment
1774 Monetary and exchange rate variation Concept (Monetary) For Period Credit ugp:LoansAndDebenturesMonetaryAndExchangeRateVariation
1775 Change in fair value Concept (Monetary) For Period Credit ugp:LoansAndDeBenturesChangeInFairValue
1776 Loans, debentures and finance leases, ending Concept (Monetary) As Of Credit ugp:LoansDebenturesAndFinanceLeases
1777 1136 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Principal Maturity Schedule (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfPrincipalMaturitySchedule
1778 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1779 Range [axis] Axis ifrs-full:RangeAxis
1780 Ranges [member] Member ifrs-full:RangesMember
1781 From 1 to 2 years [member] Member ugp:From1To2YearsMember
1782 From 2 to 3 years [member] Member ugp:From2To3YearsMember
1783 From 3 to 4 years [member] Member ugp:From3To4YearsMember
1784 From 4 to 5 years [member] Member ugp:From4To5YearsMember
1785 More than 5 years [member] Member ugp:MoreThan5YearsMember
1786 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1787 Long term consolidated debt Concept (Monetary) As Of Credit ugp:NoncurrentDebt
1788 1137 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Foreign Loan Maturity (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfForeignLoanMaturity
1789 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1790 Foreign loan [axis] Axis ugp:ForeignLoanAxis
1791 Foreign loan [domain] Member ugp:ForeignLoanDomain
1792 Foreign loan one [member] Member ugp:ForeignLoanOneMember
1793 Foreign loan two [member] Member ugp:ForeignLoanTwoMember
1794 Foreign loan three [member] Member ugp:ForeignLoanThreeMember
1795 Foreign loan four [member] Member ugp:ForeignLoanFourMember
1796 Foreign loan five [member] Member ugp:ForeignLoanFiveMember
1797 Foreign loan six [member] Member ugp:ForeignLoanSixMember
1798 Foreign loan seven [member] Member ugp:ForeignLoanSevenMember
1799 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1800 Loan maturity, date Concept (Text/String) For Period ugp:ForeignLoanMaturityDate
1801 Cost in percentage of CDI Concept (Percent) For Period ugp:AverageCostInPercentageOfCdi
1802 Loan maturity, amount Concept (Monetary) For Period Credit ugp:ForeignLoanMaturityAmount
1803 1138 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Subsidiary's Loan Maturity (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfSubsidiarysLoanMaturity
1804 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1805 Consolidated Entities [Axis] Axis srt:ConsolidatedEntitiesAxis
1806 Consolidated Entities [Domain] Member srt:ConsolidatedEntitiesDomain
1807 Oxiteno USA LLC [member] Member ugp:OxitenoUSAMember
1808 Maturity [axis] Axis ifrs-full:MaturityAxis
1809 Aggregated time bands [member] Member ifrs-full:AggregatedTimeBandsMember
1810 Interest and transaction costs [member] Member ugp:InterestAndTransactionCostsMember
1811 Mature in August 2019 [member] Member ugp:MatureInAugustTwoThousandAndNineteenMember
1812 Mature in February 2020 [member] Member ugp:MatureInFebruaryTwoThousandAndTwentyMember
1813 Mature in August 2020 [member] Member ugp:MatureInAugustTwoThousandAndTwentyMember
1814 Mature in September 2020 [member] Member ugp:MatureInSeptemberTwoThousandAndTwentyMember
1815 Mature in February 2021 [member] Member ugp:MatureInFebruaryTwoThousandAndTwentyOneMember
1816 Mature in March 2022 [member] Member ugp:MatureInMarchTwoThousandAndTwentyTwoMember
1817 Mature in October 2022 [member] Member ugp:MatureInOctoberTwoThousandAndTwentyTwoMember
1818 Mature in March 2023 [member] Member ugp:MatureInMarchTwoThousandAndTwentyThreeMember
1819 Maturity in February 2019 [member] Member ugp:MaturityThreeMember
1820 Maturity in May 2019 [member] Member ugp:MaturityFourMember
1821 Maturity in May 2020 [member] Member ugp:MaturityFiveMember
1822 Maturity in May 2021 [member] Member ugp:MaturitySixMember
1823 Maturity in May 2022 [member] Member ugp:MaturitySevenMember
1824 Maturity in May 2019 [member] Member ugp:MaturityTenMember
1825 Maturity in May 2020 [member] Member ugp:MaturityElevenMember
1826 Maturity in May 2021 [member] Member ugp:MaturityTwelveMember
1827 Maturity in April 2022 [member] Member ugp:MaturityThirteenMember
1828 Maturity in July 2022 [member] Member ugp:MaturityFourteenMember
1829 Maturity in October 2022 [member] Member ugp:MaturityFifteenMember
1830 Maturity In March 2023 [member] Member ugp:MaturitySixteenMember
1831 Maturity In December 2023 [member] Member ugp:MaturitySeventeenMember
1832 Maturity In April 2024 [member] Member ugp:MaturityEighteenMember
1833 Maturity In October 2024 [member] Member ugp:MaturityNineteenMember
1834 Maturity In December 2025 [member] Member ugp:MaturityTwentyMember
1835 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1836 Borrowings Concept (Monetary) As Of Credit ifrs-full:Borrowings
1837 Loan maturity, Banco de Brasil Concept (Monetary) For Period Credit ugp:LoanMaturityBancoDeBrasil
1838 Debentures Concept (Monetary) As Of Credit ugp:Debentures
1839 1139 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Equipment and Intangible Assets, Net of Depreciation and Amortization, and Corresponding Liabilities (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfEquipmentAndIntangibleAssetsNetOfDepreciationAndAmortizationAndCorrespondingLiabilities
1840 Implied Table Table

*

*

implied:Table
1841 Disclosure of loans debentures and finance leases [abstract] Abstract ugp:DisclosureOfLoansDebenturesAndFinanceLeasesAbstract
1842 Equipment and intangible assets, net of depreciation and amortization Concept (Monetary) As Of Credit ugp:EquipmentAndIntangibleAssetsNetOfDepreciationAndAmortization
1843 Financing (present value) Concept (Monetary) As Of Credit ugp:FinancingPresentValue
1844 Current Concept (Monetary) As Of Credit ifrs-full:CurrentFinanceLeaseLiabilities
1845 Non-current Concept (Monetary) As Of Credit ifrs-full:NoncurrentFinanceLeaseLiabilities
1846 1140 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Future Disbursements (Installments) Assumed Under Contracts (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfFutureDisbursementsInstallmentsAssumedUnderContracts
1847 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1848 Range [axis] Axis ifrs-full:RangeAxis
1849 Ranges [member] Member ifrs-full:RangesMember
1850 Up to 1 year [member] Member ugp:UpTo1YearMember
1851 From 1 to 2 years [member] Member ugp:From1To2YearsMember
1852 From 2 to 3 years [member] Member ugp:From2To3YearsMember
1853 From 3 to 4 years [member] Member ugp:From3To4YearsMember
1854 From 4 to 5 years [member] Member ugp:From4To5YearsMember
1855 More than 5 years [member] Member ugp:MoreThan5YearsMember
1856 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1857 Future disbursements Concept (Monetary) As Of Credit ugp:FutureDisbursementsInstallmentsFinanceLeases
1858 1141 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Transaction Costs (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfTransactionCosts
1859 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1860 Classes of financial instruments [axis] Axis ifrs-full:ClassesOfFinancialInstrumentsAxis
1861 Financial instruments, class [member] Member ifrs-full:ClassesOfFinancialInstrumentsMember
1862 Notes in foreign market [member] Member ugp:NotesInForeignMarketMember
1863 Banco do Brasil [member] Member ugp:BancoDoBrasilMember
1864 Debentures [member] Member ugp:DebenturesMember
1865 Foreign loans [member] Member ugp:ForeignLoansMember
1866 Other transaction costs [member] Member ugp:OtherTransactionCostsMember
1867 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1868 Effective rate of transaction costs Concept (Percent) For Period ugp:EffectiveRateOfTransactionCosts
1869 Transaction costs, beginning Concept (Monetary) As Of Debit ugp:TransactionCostsFinancialInstruments
1870 Incurred cost Concept (Monetary) For Period Debit ugp:IncurredTransactionCost
1871 Amortization Concept (Monetary) For Period Credit ugp:TransactionCostAmortization
1872 Transaction costs, ending Concept (Monetary) As Of Debit ugp:TransactionCostsFinancialInstruments
1873 1142 - Disclosure - Loans, Debentures, and Finance Leases - Summary of Appropriated Profit or Loss in The Future (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureLoansDebenturesAndFinanceLeasesSummaryOfAppropriatedProfitOrLossInTheFuture
1874 Summary of loans debentures and finance leases [table] Table

*

*

ugp:SummaryOfLoansDebenturesAndFinanceLeasesTable
1875 Classes of financial instruments [axis] Axis ifrs-full:ClassesOfFinancialInstrumentsAxis
1876 Financial instruments, class [member] Member ifrs-full:ClassesOfFinancialInstrumentsMember
1877 Notes in foreign market [member] Member ugp:NotesInForeignMarketMember
1878 Banco do Brasil [member] Member ugp:BancoDoBrasilMember
1879 Debentures [member] Member ugp:DebenturesMember
1880 Foreign loans [member] Member ugp:ForeignLoansMember
1881 Other transaction costs [member] Member ugp:OtherTransactionCostsMember
1882 Range [axis] Axis ifrs-full:RangeAxis
1883 Ranges [member] Member ifrs-full:RangesMember
1884 Up to 1 year [member] Member ugp:UpTo1YearMember
1885 From 1 to 2 years [member] Member ugp:From1To2YearsMember
1886 From 2 to 3 years [member] Member ugp:From2To3YearsMember
1887 From 3 to 4 years [member] Member ugp:From3To4YearsMember
1888 From 4 to 5 years [member] Member ugp:From4To5YearsMember
1889 More than 5 years [member] Member ugp:MoreThan5YearsMember
1890 Summary of loans debentures and finance leases [line items] LineItems ugp:SummaryOfLoansDebenturesAndFinanceLeasesLineItems
1891 Amount appropriated to profit or loss in the future Concept (Monetary) As Of Credit ugp:AmountAppropriatedToProfitOrLossInFuture
1892 1143 - Disclosure - Trade Payables - Summary of Trade Payables (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTradePayablesSummaryOfTradePayables
1893 Disclosure of Payables [table] Table

*

*

ugp:DisclosureOfPayablesTable
1894 Trade payables [axis] Axis ugp:TradePayablesAxis
1895 Trade payables [domain] Member ugp:TradePayablesDomain
1896 Domestic suppliers [member] Member ugp:DomesticSuppliersMember
1897 Domestic suppliers agreement [member] Member ugp:DomesticSuppliersAgreementMember
1898 Foreign suppliers [member] Member ugp:ForeignSuppliersMember
1899 Foreign suppliers agreement [member] Member ugp:ForeignSuppliersAgreementMember
1900 Summary of trade payables [line items] LineItems ugp:SummaryOfTradePayablesLineItems
1901 Trade payables Concept (Monetary) As Of Credit ifrs-full:TradeAndOtherCurrentPayables
1902 1144 - Disclosure - Salaries and Related Charges - Summary of Salaries and Related Charges (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureSalariesAndRelatedChargesSummaryOfSalariesAndRelatedCharges
1903 Disclosure of expenses [table] Table

*

*

ugp:DisclosureOfExpensesTable
1904 Salaries and related charges [axis] Axis ugp:SalariesAndRelatedChargesAxis
1905 Salaries and related charges [domain] Member ugp:SalariesAndRelatedChargesDomain
1906 Provisions on payroll [member] Member ugp:ProvisionsOnPayrollMember
1907 Profit sharing [member] Member ugp:ProfitSharingMember
1908 Social charges [member] Member ugp:SocialChargesMember
1909 Other charges [member] Member ugp:OtherChargesMember
1910 Summary of salaries and related charges [line items] LineItems ugp:SummaryOfSalariesAndRelatedChargesLineItems
1911 Salaries and related charges Concept (Monetary) As Of Credit ugp:SalariesAndRelatedCharges
1912 1145 - Disclosure - Taxes Payable - Summary of Taxes Payable (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureTaxesPayableSummaryOfTaxesPayable
1913 Disclosure of taxes payable [table] Table

*

*

ugp:DisclosureOfTaxesPayableTable
1914 Taxes [axis] Axis ugp:TaxesAxis
1915 Taxes [domain] Member ugp:TaxesDomain
1916 ICMS [member] Member ugp:ICMSMember
1917 PIS and COFINS [member] Member ugp:PisAndCofinsMember
1918 ISS [member] Member ugp:ISSMember
1919 Value Added Tax [member] Member ugp:ValueAddedTaxMember
1920 PERT [member] Member ugp:PertMember
1921 Others [member] Member ugp:OtherTaxesPayableMember
1922 Disclosure of taxes payable [line items] LineItems ugp:DisclosureOfTaxesPayableLineItems
1923 Taxes payable Concept (Monetary) As Of Credit ifrs-full:CurrentTaxLiabilities
1924 1146 - Disclosure - Employee Benefits and Private Pension Plan - Additional information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEmployeeBenefitsAndPrivatePensionPlanAdditionalInformation
1925 Disclosure Of Employee Benefit Plan [table] Table

*

*

ugp:DisclosureOfEmployeeBenefitPlanTable
1926 Range [axis] Axis ifrs-full:RangeAxis
1927 Ranges [member] Member ifrs-full:RangesMember
1928 Bottom of range [member] Member ifrs-full:BottomOfRangeMember
1929 Top of range [member] Member ifrs-full:TopOfRangeMember
1930 Summary of employee benefits [line items] LineItems ugp:SummaryOfEmployeeBenefitsLineItems
1931 Maximum matching contribution percentage Concept (Percent) For Period ugp:MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage
1932 Monthly accumulated fund percentage Concept (Percent) For Period ugp:AccumulatedFundPercentage
1933 Fixed monthly accumulated fund period Concept (xbrli:durationItemType) For Period ugp:FixedAccumulatedFundPeriod
1934 Contribution to Ultraprev Concept (Monetary) For Period Debit ifrs-full:ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset
1935 Number of active participating employees Concept (Integer) For Period ugp:NumberOfActiveParticipatingEmployees
1936 Number of retired participating employees Concept (Integer) For Period ugp:NumberOfRetiredParticipatingEmployees
1937 Number of former employees receiving benefits Concept (Integer) For Period ugp:NumberOfFormerEmployeesReceivingBenefits
1938 1147 - Disclosure - Employee Benefits and Private Pension Plan - Post-employment Benefits (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEmployeeBenefitsAndPrivatePensionPlanPostemploymentBenefits
1939 Disclosure of employee benefits [table] Table

*

*

ugp:DisclosureOfEmployeeBenefitsTable
1940 Post employment benefits [axis] Axis ugp:PostEmploymentBenefitsAxis
1941 Post employment benefits [domain] Member ugp:PostEmploymentBenefitsDomain
1942 Health and dental care plan [member] Member ugp:HealthAndDentalCareMember
1943 Indemnification of FGTS [member] Member ugp:IndemnificationOfFGTSMember
1944 Seniority bonus [member] Member ugp:SeniorityBonusMember
1945 Life insurance [member] Member ugp:LifeInsuranceMember
1946 Summary of employee benefits [line items] LineItems ugp:SummaryOfEmployeeBenefitsLineItems
1947 Total Concept (Monetary) As Of Credit ifrs-full:ProvisionsForEmployeeBenefits
1948 Current Concept (Monetary) As Of Credit ifrs-full:CurrentProvisionsForEmployeeBenefits
1949 Non-current Concept (Monetary) As Of Credit ifrs-full:NoncurrentProvisionsForEmployeeBenefits
1950 1148 - Disclosure - Employee Benefits and Private Pension Plan - Changes in provision for post-employment benefits (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostemploymentBenefits
1951 Implied Table Table

*

*

implied:Table
1952 Employee benefits and private pension plan details 1 [abstract] Abstract ugp:EmployeeBenefitsAndPrivatePensionPlanDetails1Abstract
1953 Provision for post-employment benefits, opening Concept (Monetary) As Of Credit ifrs-full:ProvisionsForEmployeeBenefits
1954 Current service cost Concept (Monetary) For Period Credit ugp:EmployeetBenefitsCurrentServiceCost
1955 Interest cost Concept (Monetary) For Period Credit ugp:EmployeeBenefitsInterestCost
1956 Actuarial (gains) losses from changes in actuarial assumptions Concept (Monetary) For Period Credit ugp:ActuarialGainsLossesFromChangesInActuarialAssumptionsEmployeeBenefits
1957 Benefits paid directly by Company and its subsidiaries Concept (Monetary) For Period Debit ugp:EmployeeBenefitsPaidDirectlyByCompanyAndItsSubsidiaries
1958 Opening balance CBL S.A. (see Note 3.c) Concept (Monetary) For Period Debit ugp:EmployeeBenefitPlansOpeningBalanceCblsa
1959 Exchange rate from foreign subsidiaries Concept (Monetary) For Period Credit ugp:EmployeeBenefitsExchangeRateFromForeignSubsidiaries
1960 Provision for post-employment benefits, ending Concept (Monetary) As Of Credit ifrs-full:ProvisionsForEmployeeBenefits
1961 1149 - Disclosure - Employee Benefits and Private Pension Plan - Post-employment benefit expense (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEmployeeBenefitsAndPrivatePensionPlanPostemploymentBenefitExpense
1962 Disclosure of employee benefits [table] Table

*

*

ugp:DisclosureOfEmployeeBenefitsTable
1963 Post employment benefits [axis] Axis ugp:PostEmploymentBenefitsAxis
1964 Post employment benefits [domain] Member ugp:PostEmploymentBenefitsDomain
1965 Health and dental care plan [member] Member ugp:HealthAndDentalCareMember
1966 Indemnification of FGTS [member] Member ugp:IndemnificationOfFGTSMember
1967 Seniority bonus [member] Member ugp:SeniorityBonusMember
1968 Life insurance [member] Member ugp:LifeInsuranceMember
1969 Summary of employee benefits [line items] LineItems ugp:SummaryOfEmployeeBenefitsLineItems
1970 Employee benefit expense Concept (Monetary) For Period Debit ifrs-full:EmployeeBenefitsExpense
1971 1150 - Disclosure - Employee Benefits and Private Pension Plan - Significant actuarial assumptions adopted (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEmployeeBenefitsAndPrivatePensionPlanSignificantActuarialAssumptionsAdopted
1972 Implied Table Table

*

*

implied:Table
1973 Employee benefits and private pension plan details 3 [abstract] Abstract ugp:EmployeeBenefitsAndPrivatePensionPlanDetails3Abstract
1974 Discount rate for the actuarial obligation at present value Concept (Percent) As Of ifrs-full:ActuarialAssumptionOfDiscountRates
1975 Average projected salary growth rate Concept (Percent) As Of ugp:AverageProjectedSalaryGrowthRate
1976 Inflation rate (long term) Concept (Percent) As Of ugp:InflationRateLongTerm
1977 Growth rate of medical services Concept (Percent) As Of ugp:GrowthRateOfMedicalServices
1978 1151 - Disclosure - Employee Benefits and Private Pension Plan - Sensitivity analysis (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysis
1979 Disclosure of employee benefits [table] Table

*

*

ugp:DisclosureOfEmployeeBenefitsTable
1980 Actuarial assumptions [axis] Axis ifrs-full:ActuarialAssumptionsAxis
1981 Actuarial assumptions [member] Member ifrs-full:ActuarialAssumptionsMember
1982 Discount rate [member] Member ugp:DiscountRateMember
1983 Wage growth rate [member] Member ugp:WageGrowthRateMember
1984 Medical services growth rate [member] Member ugp:MedicalServicesGrowthRateMember
1985 Summary of employee benefits [line items] LineItems ugp:SummaryOfEmployeeBenefitsLineItems
1986 Change in assumptions Concept (Text/String) For Period ugp:ChangesInAssumptionDecreaseInLiability
1987 Decrease in liability Concept (Monetary) For Period Debit ugp:ActuarialAssumptionsDecreaseInLiability
1988 Change in assumptions Concept (Text/String) For Period ugp:ChangeInAssumptionsIncreaseInLiability
1989 Increase in liability Concept (Monetary) For Period Credit ugp:ActuarialAssumptionIncreaseInLiability
1990 1152 - Disclosure - Provision for Asset Retirement Obligation - Fuel Tanks - Changes in the provision for asset retirement obligation (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureProvisionForAssetRetirementObligationFuelTanksChangesInTheProvisionForAssetRetirementObligation
1991 Disclosure Of Post Employment Benefits [table] Table

*

*

ugp:DisclosureOfPostEmploymentBenefitsTable
1992 Defined benefit plans [axis] Axis ifrs-full:DefinedBenefitPlansAxis
1993 Defined benefit plans [member] Member ifrs-full:DefinedBenefitPlansMember
1994 Asset Retirement Obligation [member] Member ugp:AssetRetirementObligationMember
1995 Disclosure Of Post Employment Benefits [line items] LineItems ugp:DisclosureOfPostEmploymentBenefitsLineItems
1996 Beginning balance Concept (Monetary) As Of Credit ifrs-full:OtherProvisions
1997 Additions (new tanks) Concept (Monetary) For Period Credit ifrs-full:AdditionalProvisionsOtherProvisions
1998 Expense with tanks removed Concept (Monetary) For Period Debit ugp:ProvisionExpenses
1999 Accretion expense Concept (Monetary) For Period Debit ugp:AccretionExpenseOtherProvisions
2000 Ending Balance Concept (Monetary) As Of Credit ifrs-full:OtherProvisions
2001 Current Concept (Monetary) As Of Credit ifrs-full:OtherShorttermProvisions
2002 Non-current Concept (Monetary) As Of Credit ifrs-full:OtherLongtermProvisions
2003 1153 - Disclosure - Provisions and Contingencies - Breakdown of provisions by nature (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureProvisionsAndContingenciesBreakdownOfProvisionsByNature
2004 Summary Of Provisions [table] Table

*

*

ugp:SummaryOfProvisionsTable
2005 Classes of other provisions [axis] Axis ifrs-full:ClassesOfProvisionsAxis
2006 Other provisions [member] Member ifrs-full:OtherProvisionsMember
2007 IRPJ and CSLL [member] Member ugp:IrpjandcsllMember
2008 PIS and COFINS [member] Member ugp:PisAndCofinsMember
2009 ICMS [member] Member ugp:ICMSMember
2010 Civil, environmental and regulatory claims [member] Member ugp:ClaimsMember
2011 Labor litigation [member] Member ugp:LaborLitigationMember
2012 Other [member] Member ugp:OtherProvisionMember
2013 Summary Of Provisions [line items] LineItems ugp:SummaryOfProvisionsLineItems
2014 Provisions by nature, beginning Concept (Monetary) As Of Credit ugp:ProvisionForTaxCivilAndLaborRisks
2015 Additions Concept (Monetary) For Period Credit ugp:AdditionsToProvisionForTaxCivilAndLaborRisks
2016 Write-offs Concept (Monetary) For Period Credit ugp:WriteOffsOfProvisionForTaxCivilAndLaborRisks
2017 Payments Concept (Monetary) For Period Debit ugp:PaymentOfProvisionForTaxCivilAndLaborRisks
2018 Interest Concept (Monetary) For Period Credit ugp:InterestOnProvisionForTaxCivilAndLaborRisks
2019 Provisions by nature, ending Concept (Monetary) As Of Credit ugp:ProvisionForTaxCivilAndLaborRisks
2020 Current Concept (Monetary) As Of Credit ugp:CurrentProvisionForTaxCivilAndLaborRisks
2021 Non-current Concept (Monetary) As Of Credit ugp:NonCurrentProvisionForTaxCivilAndLaborRisks
2022 1154 - Disclosure - Provisions and Contingencies - Balances of escrow deposits (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureProvisionsAndContingenciesBalancesOfEscrowDeposits
2023 Summary Of Provisions [table] Table

*

*

ugp:SummaryOfProvisionsTable
2024 Escrow deposits [axis] Axis ugp:EscrowDepositsAxis
2025 Escrow deposits [domain] Member ugp:EscrowDepositsDomain
2026 Tax matters [member] Member ugp:TaxMattersMember
2027 Labor litigation [member] Member ugp:LaborLitigationMember
2028 Civil and other [member] Member ugp:CivilAndOtherMember
2029 Summary of escrow deposits [line items] LineItems ugp:SummaryOfEscrowDepositsLineItems
2030 Total - non-current assets Concept (Monetary) As Of Debit ifrs-full:LongtermDeposits
2031 1155 - Disclosure - Provisions and Contingencies - Additional information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureProvisionsAndContingenciesAdditionalInformation
2032 Disclosure of collateral and contractual commitments [table] Table

*

*

ugp:DisclosureOfCollateralAndContractualCommitmentsTable
2033 Classes of other provisions [axis] Axis ifrs-full:ClassesOfProvisionsAxis
2034 Other provisions [member] Member ifrs-full:OtherProvisionsMember
2035 PIS and COFINS [member] Member ugp:PisAndCofinsMember
2036 Categories of related parties [axis] Axis ifrs-full:CategoriesOfRelatedPartiesAxis
2037 Entity's total for related parties [member] Member ifrs-full:EntitysTotalForRelatedPartiesMember
2038 Cia. Ultragaz and Bahiana [member] Member ugp:CiaUltragazAndBahianaMember
2039 Three employees and one former employee [member] Member ugp:ThreeEmployeesAndOneFormerEmployeeMember
2040 Two former employees, each [member] Member ugp:TwoFormerEmployeesEachMember
2041 Chevron and subsidiary IPP [member] Member ugp:ChevronAndSubsidiaryIPPMember
2042 Range [axis] Axis ifrs-full:RangeAxis
2043 Ranges [member] Member ifrs-full:RangesMember
2044 Bottom of range [member] Member ifrs-full:BottomOfRangeMember
2045 Top of range [member] Member ifrs-full:TopOfRangeMember
2046 Disclosure of collateral and contractual commitments [line items] LineItems ugp:DisclosureOfCollateralAndContractualCommitmentsLineItems
2047 Escrow deposits made under preliminary injunction Concept (Monetary) For Period Debit ugp:EscrowDepositsMadeUnderPreLiminaryInjunction
2048 Reversed of the provision Concept (Monetary) For Period Credit ugp:WriteOffsOfProvisionForTaxCivilAndLaborRisks
2049 Profit or loss on provision Concept (Monetary) For Period Credit ugp:ProfitLossOnProvisionForTaxCivilAndLaborRisks
2050 Provisions for lawsuits and administrative proceedings Concept (Monetary) As Of Credit ugp:ProvisionsForLawsuitsAndAdministrativeProceedings
2051 Provisions for labor litigation filed by former employees Concept (Monetary) As Of Credit ugp:ProvisionsForLaborLitigationFiledByFormerEmployees
2052 Possible contingency Concept (Monetary) As Of Credit ugp:PossibleContingency
2053 Percentage of possible loss contingency Concept (Percent) For Period ugp:PercentageOfPossibleLossContingency
2054 Contingent liabilities for tax matters and social security Concept (Monetary) As Of Credit ugp:ContingentLiabilitiesForTaxMattersAndSocialSecurity
2055 IPIContingency Concept (Monetary) As Of Credit ugp:IpiContingency
2056 Legal Proceedings Related To Icms Concept (Monetary) As Of Credit ugp:LegalProceedingsRelatedToiCms
2057 ICMS credits Concept (Monetary) As Of Debit ugp:IcmsCredits
2058 Reversal of ICMS credits Concept (Monetary) For Period Credit ugp:ReversalOfICMSCredits
2059 Reversal of alleged non-payment Concept (Monetary) For Period Credit ugp:ReversalOfAllegedNonpayment
2060 Reversal of inventory differences Concept (Monetary) For Period Credit ugp:ReversalOfInventoryDifferences
2061 Reversal of conditioned fruition of fiscal incentive Concept (Monetary) For Period Credit ugp:ReversalOfConditionedFruitionOfFiscalIncentive
2062 Offset claims and credit dis-allowances Concept (Monetary) As Of Credit ugp:OffsetClaimsAndCreditDisallowances
2063 Amortization of goodwill paid on acquisition of subsidiary Concept (Monetary) As Of Credit ugp:AmortizationOfGoodwillPaidOnAcquisitionOfSubsidiary
2064 Contingent liabilities for civil, environmental and regulatory claims Concept (Monetary) As Of Credit ugp:ContingentLiabilitiesForCivilEnvironmentalAndRegulatoryClaims
2065 Number of lawsuits for civil, environmental and regulatory claims Concept (Integer) For Period ugp:NumberOfLawsuitsFiledForCivilEnvironmentalAndRegulatoryClaims
2066 Penalty on Ultragaz Concept (Monetary) As Of Credit ugp:PenaltyOnUltragaz
2067 Liability provisions Concept (Monetary) As Of Credit ifrs-full:LegalProceedingsProvision
2068 Contingent liabilities not recognized to lawsuits Concept (Monetary) As Of Credit ugp:ContingentLiabilitiesNotRecognizedToLawsuit
2069 Contingent liabilities not recognized to extrajudicial lawsuits Concept (Monetary) As Of Credit ugp:ContingentLiabilitiesNotRecognizedToExtrajudicialLawsuits
2070 Contingent liabilities for labor matters Concept (Monetary) As Of Credit ugp:ContingentLiabilitiesForLaborMatters
2071 Number of lawsuits for labor matters Concept (Integer) For Period ugp:NumberOfLawsuitsFiledForLaborMatters
2072 1156 - Disclosure - Ultracargo - Fire Accident in Santos - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureUltracargoFireAccidentInSantosAdditionalInformation
2073 Disclosure of trade payables and receivables [table] Table

*

*

ugp:DisclosureOfTradePayablesAndReceivablesTable
2074 Other operating income net [axis] Axis ugp:OtherOperatingIncomeNetAxis
2075 Other operating income net [domain] Member ugp:OtherOperatingIncomeNetDomain
2076 Ultracargo fire accident in Santos [member] Member ugp:UltraCargoFireMember
2077 Disclosure of trade payables and receivables [line items] LineItems ugp:DisclosureOfTradePayablesAndReceivablesLineItems
2078 Percentage of overall capacity affected by fire Concept (Percent) For Period ugp:PercentageOfOverallCapacityAffectedByFire
2079 Total cubic meters licensing required for the return to operation Concept (Decimal) For Period ugp:TotalCubicMetersLicensingRequiredForTheReturnToOperation
2080 Total cubic meters affected by the fire Concept (Decimal) For Period ugp:TotalCubicMetersAffectedByFire
2081 Insurance receivable Concept (Monetary) As Of Debit ugp:InsuranceReceivable
2082 Indeminites to customers and third parties Concept (Monetary) As Of Credit ugp:CustomersAndThirdPartiesPayables
2083 Rescue, containment expense and loss of profit Concept (Monetary) As Of Debit ugp:RescueContainmentExpensesAndLossOfProfit
2084 Other operating income, net Concept (Monetary) For Period Credit ifrs-full:ProfitLossFromOperatingActivities
2085 1157 - Disclosure - Ultracargo - Fire Accident in Santos - Summary of remaining balance of trade payables customers and third parties indemnification (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureUltracargoFireAccidentInSantosSummaryOfRemainingBalanceOfTradePayablesCustomersAndThirdPartiesIndemnification
2086 Implied Table Table

*

*

implied:Table
2087 Disclosure of trade payables [abstract] Abstract ugp:DisclosureOfTradePayablesAbstract
2088 Beginning balance Concept (Monetary) For Period Credit ugp:CustomersAndThirdPartiesPayablesBeginningBalance
2089 Additions Concept (Monetary) For Period Credit ugp:AdditionsToCustomersAndThirdPartiesPayables
2090 Write-offs Concept (Monetary) For Period Credit ugp:WriteOffsOfCustomersAndThirdPartiesPayables
2091 Payments Concept (Monetary) For Period Credit ugp:PaymentsToCustomersAndThirdPartiesPayables
2092 Ending balance Concept (Monetary) As Of Credit ugp:CustomersAndThirdPartiesPayablesEndingBalance
2093 1158 - Disclosure - Deferred Revenue - Deferred revenue in subsidiaries (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureDeferredRevenueDeferredRevenueInSubsidiaries
2094 Disclosure Of Deferred Revenue [table] Table

*

*

ugp:DisclosureOfDeferredRevenueTable
2095 Deferred revenue [axis] Axis ugp:DeferredRevenueAxis
2096 Deferred revenue [domain] Member ugp:DeferredRevenueDomain
2097 Franchising upfront fee [member] Member ugp:FranchisingUpfrontFeeMember
2098 Loyalty program one [member] Member ugp:LoyaltyProgramOneMember
2099 Loyalty program two [member] Member ugp:LoyaltyProgramTwoMember
2100 Summary of deferred revenue [line items] LineItems ugp:SummaryOfDeferredRevenueLineItems
2101 Deferred revenue Concept (Monetary) As Of Credit ifrs-full:DeferredIncome
2102 Current Concept (Monetary) As Of Credit ugp:DeferredIncomeCurrent
2103 Non-current Concept (Monetary) As Of Credit ugp:DeferredIncomeNoncurrent
2104 1159 - Disclosure - Deferred Revenue - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureDeferredRevenueAdditionalInformation
2105 Disclosure Of Deferred Revenue [table] Table

*

*

ugp:DisclosureOfDeferredRevenueTable
2106 Products and services [axis] Axis ifrs-full:ProductsAndServicesAxis
2107 Products and services [member] Member ifrs-full:ProductsAndServicesMember
2108 am/pm [member] Member ugp:AmPmMember
2109 Jet Oil [member] Member ugp:JetOilMember
2110 Summary of deferred revenue [line items] LineItems ugp:SummaryOfDeferredRevenueLineItems
2111 Number of stores Concept (Integer) As Of ugp:NumberOfStores1
2112 1160 - Disclosure - Subscription warrants - indemnification - Additional information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureSubscriptionWarrantsIndemnificationAdditionalInformation
2113 Implied Table Table

*

*

implied:Table
2114 Subscription warrants - indemnification [abstract] Abstract ugp:SubscriptionWarrantsIndemnificationAbstract
2115 Subscription warrants shares issued Concept (Shares) For Period ugp:SubscriptionWarrantsSharesIssued
2116 Maximum number of shares to be issued - subscription warrants Concept (Shares) For Period ugp:MaximumNumberOfSharesToBeIssuedSubscriptionWarrants
2117 Subscription warrants, shares Concept (Shares) As Of ugp:SubscriptionWarrantsShares
2118 Subscription warrants - indemnification Concept (Monetary) As Of Credit ugp:SubscriptionWarrants
2119 Maximum number of shares available for issue - subscription warrants Concept (Shares) For Period ugp:MaximumNumberOfSharesAvailableForIssueSubscriptionWarrants
2120 1161 - Disclosure - Equity - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEquityAdditionalInformation
2121 Shareholders Equity [table] Table

*

*

ugp:ShareholdersEquityTable
2122 Range [axis] Axis ifrs-full:RangeAxis
2123 Ranges [member] Member ifrs-full:RangesMember
2124 Top of range [member] Member ifrs-full:TopOfRangeMember
2125 Shareholders Equity [line items] LineItems ugp:ShareholdersEquityLineItems
2126 Subscribed and paid-in capital stock Concept (Shares) As Of ugp:SubscribedAndPaidInCapitalStock
2127 Common shares authorized Concept (Shares) As Of ifrs-full:NumberOfSharesAuthorised
2128 Price of the shares issued Concept (Share) For Period ugp:ShareIssuePrice
2129 Common shares outstanding Concept (Shares) As Of ifrs-full:NumberOfSharesOutstanding
2130 Shares held in treasury Concept (Shares) As Of ugp:SharesHeldInTreasury
2131 Average cost Concept (Share) For Period ugp:TreasurySharesAveragePrice
2132 Increase in capital reserves Concept (Monetary) As Of Credit ugp:CapitalIncreasesReserved
2133 Incurred costs directly attributable to issuing new shares Concept (Monetary) For Period Debit ifrs-full:ShareIssueRelatedCost
2134 Retention of profits and investments reserve Concept (Monetary) For Period Credit ugp:RetentionOfProfitsAndInvestmentsReserve
2135 Dividends payable Concept (Monetary) As Of Credit ifrs-full:DividendsPayable
2136 Dividends per share Concept (Share) As Of ugp:DividendPerShare
2137 Dividends paid Concept (Monetary) For Period Debit ugp:DividendPaid
2138 1162 - Disclosure - Equity - Balance of Other Comprehensive Income (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEquityBalanceOfOtherComprehensiveIncome
2139 Statement of changes in equity [table] Table

*

*

ifrs-full:StatementOfChangesInEquityTable
2140 Valuation techniques used in fair value measurement [axis] Axis ifrs-full:ValuationTechniquesUsedInFairValueMeasurementAxis
2141 Valuation techniques [member] Member ifrs-full:ValuationTechniquesMember
2142 Fair value of cash flow hedging instruments [member] Member ugp:FairValueCashFlowHedgingInstrumentsMember
2143 Fair value of financial instruments [member] Member ugp:FairValueFinancialInstrumentsAvailableForSaleMember
2144 Actuarial gains (losses) of post-employment benefits [member] Member ugp:ActuarialGainsOfPostemploymentBenefitsMember
2145 Non-controlling shareholders interest change [member] Member ugp:NoncontrollingShareholdersInterestChangeMember
2146 Total [member] Member ugp:TotalValuationAdjustmentsMember
2147 Summary of shareholders equity [line items] LineItems ugp:SummaryOfShareholdersEquityLineItems
2148 Beginning balance Concept (Monetary) As Of Credit ugp:OtherComprehensiveIncomeOfTheCompany
2149 Changes in fair value of financial instruments Concept (Monetary) For Period Credit ugp:ChangesInFairValueOfFinancialInstruments
2150 Income and social contribution taxes on fair value Concept (Monetary) For Period Debit ugp:IncomeAndSocialContributionTaxesOnFairValue
2151 Difference between the fair value of the consideration received or paid and the variation in the non-controlling shareholders interest Concept (Monetary) For Period Credit ugp:DifferenceFairValueOfConsiderationReceivedOrPaid
2152 Actuarial losses of post-employment benefits Concept (Monetary) For Period Debit ugp:ActuarialLossesOfPostemploymentBenefits
2153 Income and social contribution taxes on actuarial losses Concept (Monetary) For Period Debit ugp:IncomeAndSocialContributionTaxesOnActuarialLosses
2154 Ending balance Concept (Monetary) As Of Credit ugp:OtherComprehensiveIncomeOfTheCompany
2155 1163 - Disclosure - Equity - Balance and Changes in Cumulative Translation Adjustments (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEquityBalanceAndChangesInCumulativeTranslationAdjustments
2156 Implied Table Table

*

*

implied:Table
2157 Statement of changes in equity [abstract] Abstract ifrs-full:StatementOfChangesInEquityAbstract
2158 Beginning Balance Concept (Monetary) As Of Credit ugp:TranslationAdjustments
2159 Translation of foreign subsidiaries, net of IRPJ and CSLL Concept (Monetary) For Period Credit ugp:TranslationOfForeignSubsidiariesIncludingNetOfIRPJAndCSLLInvestmentsHedge
2160 Ending Balance Concept (Monetary) As Of Credit ugp:TranslationAdjustments
2161 1164 - Disclosure - Equity - Dividends and Allocation of Net Income (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEquityDividendsAndAllocationOfNetIncome
2162 Implied Table Table

*

*

implied:Table
2163 Shareholders equity details [abstract] Abstract ugp:ShareholdersEquityDetailsAbstract
2164 Net income for the year attributable to shareholders of Ultrapar Concept (Monetary) For Period Credit ifrs-full:ProfitLossAttributableToOwnersOfParent
2165 Minimum mandatory dividends Concept (Monetary) As Of Credit ugp:MinimumMandatoryDividends
2166 Interim dividends paid (R$ 0.56 per share) Concept (Monetary) For Period Debit ugp:InterimDividendsPaid
2167 Mandatory dividends payable - Current liabilities Concept (Monetary) For Period Debit ugp:MandatoryDividendsPayable
2168 Additional dividends to the minimum mandatory dividends - equity Concept (Monetary) As Of Credit ugp:AdditionalDividendsToMinimumMandatoryDividends
2169 Dividends payable (R$ 0.70 per share) Concept (Monetary) As Of Credit ugp:InterimDividendPayable
2170 Legal reserve (5% of the net income) Concept (Monetary) For Period Debit ugp:LegalReserves
2171 Statutory investments reserve Concept (Monetary) As Of Credit ugp:StatutoryInvestmentsReserve
2172 1165 - Disclosure - Equity - Dividends and Allocation of Net Income (Parenthetical) (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEquityDividendsAndAllocationOfNetIncomeParenthetical
2173 Implied Table Table

*

*

implied:Table
2174 Shareholders equity details [abstract] Abstract ugp:ShareholdersEquityDetailsAbstract
2175 Legal reserve as percentage of net income Concept (Percent) For Period ugp:LegalReserveAsPercentageOfNetIncome
2176 1166 - Disclosure - Equity - Disclosure - Equity - Summary of Balances and Changes in Consolidated Dividends Payable (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEquityDisclosureEquitySummaryOfBalancesAndChangesInConsolidatedDividendsPayable
2177 Implied Table Table

*

*

implied:Table
2178 Shareholders equity details [abstract] Abstract ugp:ShareholdersEquityDetailsAbstract
2179 Beginning balance Concept (Monetary) For Period Credit ugp:CurrentDividendPayablesBeginningBalance
2180 Provisions Concept (Monetary) For Period Credit ugp:DividendProvisionAmount
2181 Payments Concept (Monetary) For Period Debit ugp:DividendPayments
2182 Expired dividends Concept (Monetary) For Period Debit ugp:ExpiredDividends
2183 Ending balance Concept (Monetary) As Of Credit ugp:CurrentDividendPayablesEndingBalance
2184 1167 - Disclosure - Net Revenue from Sale and Services - Net Revenue from Sales and Services (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureNetRevenueFromSaleAndServicesNetRevenueFromSalesAndServices
2185 Implied Table Table

*

*

implied:Table
2186 Net revenue from sale and services details [abstract] Abstract ugp:NetRevenueFromSaleAndServicesDetailsAbstract
2187 Gross revenue from sale Concept (Monetary) For Period Credit ifrs-full:RevenueFromSaleOfGoods
2188 Gross revenue from services Concept (Monetary) For Period Credit ifrs-full:RevenueFromRenderingOfServices
2189 Sales taxes Concept (Monetary) For Period Debit ugp:SalesTaxes
2190 Discounts and sales returns Concept (Monetary) For Period Debit ugp:SalesDiscountsAndReturns
2191 Amortization of contractual assets with customers (see Note 11) Concept (Monetary) For Period Debit ifrs-full:AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers
2192 Deferred revenue (see Note 23) Concept (Monetary) For Period Credit ugp:RevenueDeferred
2193 Net revenue from sales and services Concept (Monetary) For Period Credit ifrs-full:Revenue
2194 1168 - Disclosure - Expenses by Nature - Expenses by Nature (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureExpensesByNatureExpensesByNature
2195 Implied Table Table

*

*

implied:Table
2196 Expenses by nature details [abstract] Abstract ugp:ExpensesByNatureDetailsAbstract
2197 Raw materials and materials for use and consumption Concept (Monetary) For Period Debit ifrs-full:RawMaterialsAndConsumablesUsed
2198 Personnel expenses Concept (Monetary) For Period Debit ifrs-full:KeyManagementPersonnelCompensationTerminationBenefits
2199 Freight and storage Concept (Monetary) For Period Debit ugp:FreightAndStorageExpense
2200 Depreciation and amortization Concept (Monetary) For Period Debit ifrs-full:DepreciationExpense
2201 Advertising and marketing Concept (Monetary) For Period Debit ugp:AdvertisingAndMarketingExpense
2202 Services provided by third parties Concept (Monetary) For Period Debit ifrs-full:ServicesExpense
2203 Lease of real estate and equipment Concept (Monetary) For Period Debit ifrs-full:LeaseAndSubleasePaymentsRecognisedAsExpense
2204 Other expenses Concept (Monetary) For Period Debit ifrs-full:OtherExpenseByNature
2205 Total Concept (Monetary) For Period Debit ifrs-full:ExpenseByNature
2206 Cost of products and services sold Concept (Monetary) For Period Debit ifrs-full:CostOfSales
2207 Selling and marketing Concept (Monetary) For Period Debit ifrs-full:SellingGeneralAndAdministrativeExpense
2208 General and administrative Concept (Monetary) For Period Debit ifrs-full:AdministrativeExpense
2209 Total Concept (Monetary) For Period Debit ifrs-full:ExpenseByNature
2210 1169 - Disclosure - Gain (loss) on Disposal of Property, Plant and Equipment and Intangibles - Additional information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureGainlossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAdditionalInformation
2211 Implied Table Table

*

*

implied:Table
2212 Gain loss on disposal of property plant and equipment and intangibles details narrative [abstract] Abstract ugp:GainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesDetailsNarrativeAbstract
2213 Gain (loss) on disposal of property, plant, and equipment Concept (Monetary) For Period Credit ifrs-full:GainsLossesOnDisposalsOfPropertyPlantAndEquipment
2214 1170 - Disclosure - Other Operating Income, Net - Other Operating Income Net (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureOtherOperatingIncomeNetOtherOperatingIncomeNet
2215 Disclosure Of Expenses By Nature [table] Table

*

*

ugp:DisclosureOfExpensesByNatureTable
2216 Other operating income net [axis] Axis ugp:OtherOperatingIncomeNetAxis
2217 Other operating income net [domain] Member ugp:OtherOperatingIncomeNetDomain
2218 Commercial partnerships [member] Member ugp:CommercialPartnershipsMember
2219 Merchandising [member] Member ugp:MerchandisingMember
2220 Loyalty Program [member] Member ugp:LoyaltyProgramMember
2221 Ultracargo fire accident in Santos [member] Member ugp:UltraCargoFireMember
2222 PIS and COFINS extraordinary credits provisions [member] Member ugp:PISAndCOFINSExtraordinaryCreditsProvisionsMember
2223 PIS and COFINS extraordinary credits recoverable taxes [member] Member ugp:PISAndCOFINSExtraordinaryCreditsRecoverableTaxesMember
2224 Tcc [member] Member ugp:TCCMember
2225 Unrealized acquisition fine [member] Member ugp:UnrealizedAcquisitionFineMember
2226 Others [member] Member ugp:OtherOperatingIncomeOtherMember
2227 Summary of other operating income net [line items] LineItems ugp:SummaryOfOtherOperatingIncomeNetLineItems
2228 Other operating income, net Concept (Monetary) For Period Credit ifrs-full:OtherOperatingIncomeExpense
2229 1171 - Disclosure - Financial Income (Expense) - Financial Income (Expense) (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureFinancialIncomeExpenseFinancialIncomeExpense
2230 Implied Table Table

*

*

implied:Table
2231 Financial income expense details [abstract] Abstract ugp:FinancialIncomeExpenseDetailsAbstract
2232 Interest on financial investments Concept (Monetary) For Period Credit ugp:FinancialInvestmentsInterest
2233 Interest from customers Concept (Monetary) For Period Credit ugp:InterestFromCustomers
2234 Changes in subscription warranty-indemnification (see Note 24) Concept (Monetary) For Period Credit ugp:ChangesInSubscriptionWarrantyIncome
2235 Selic interest on PIS and COFINS credits (see Notes 7.a.2 and 21.a.1.2) Concept (Monetary) For Period Credit ugp:SelicInterestOnPISAndCOFINSCredits
2236 Other financial income Concept (Monetary) For Period Credit ifrs-full:OtherFinanceIncome
2237 Financial income Concept (Monetary) For Period Credit ifrs-full:FinanceIncome
2238 Interest on loans Concept (Monetary) For Period Debit ugp:LoanInterest
2239 Interest on debentures Concept (Monetary) For Period Debit ugp:DebenturesInterest
2240 Interest on finance leases Concept (Monetary) For Period Debit ugp:FinanceLeasesInterest
2241 Bank charges, financial transactions tax, and other charges Concept (Monetary) For Period Debit ugp:BankChargesFinancialTransactionsTaxAndOtherCharges
2242 Exchange variation, net of gains and losses with derivative instruments Concept (Monetary) For Period Debit ugp:ExchangeVariationNetOfGainsAndLossesDerivativeInstruments
2243 Reversal of provision - ICMS from PIS and COFINS tax bases (see Note 21.a.1.2) Concept (Monetary) For Period Debit ugp:ReversalOfProvision
2244 Changes in subscription warranty-indemnification (see Note 24) Concept (Monetary) For Period Debit ugp:ChangesInSubscriptionWarranty
2245 TCC interest - Bahiana (see Notes 21.b.2.2 and 29) Concept (Monetary) For Period Debit ugp:TccInterest
2246 Interest of provisions, net, and other financial expenses Concept (Monetary) For Period Debit ifrs-full:OtherFinanceCost
2247 Financial expenses Concept (Monetary) For Period Debit ifrs-full:FinanceCosts
2248 Financial income (expense) Concept (Monetary) For Period Credit ifrs-full:FinanceIncomeCost
2249 1172 - Disclosure - Earnings per Share - Basic and Diluted Earnings per Share (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEarningsPerShareBasicAndDilutedEarningsPerShare
2250 Implied Table Table

*

*

implied:Table
2251 Earnings per share [abstract] Abstract ifrs-full:EarningsPerShareAbstract
2252 Net income for the year of the Company Concept (Monetary) For Period Credit ifrs-full:ProfitLossAttributableToOwnersOfParent
2253 Weighted average shares outstanding (in thousands) Concept (Shares) For Period ugp:WeightedAverageSharesBasic
2254 Basic earnings per share -R$ Concept (Share) For Period ifrs-full:BasicEarningsLossPerShare
2255 Net income for the year of the Company Concept (Monetary) For Period Credit ifrs-full:ProfitLossAttributableToOwnersOfParent
2256 Weighted average shares outstanding (in thousands), including dilution effects Concept (Shares) For Period ifrs-full:WeightedAverageShares
2257 Diluted earnings per share -R$ Concept (Share) For Period ifrs-full:DilutedEarningsLossPerShare
2258 1173 - Disclosure - Earnings per Share - Weighted Average Shares Outstanding (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureEarningsPerShareWeightedAverageSharesOutstanding
2259 Implied Table Table

*

*

implied:Table
2260 Earnings per share details 1 [abstract] Abstract ugp:EarningsPerShareDetails1Abstract
2261 Weighted average shares outstanding for basic per share calculation Concept (Shares) For Period ugp:WeightedAverageSharesBasic
2262 Subscription warrants-indemnification Concept (Shares) For Period ugp:SubscriptionWarrantsIndemnificationShares
2263 Deferred Stock Plan Concept (Shares) For Period ugp:DeferredStockPlanShares
2264 Weighted average shares outstanding for diluted per share calculation Concept (Shares) For Period ugp:WeightedAverageSharesDiluted
2265 1174 - Disclosure - Segment Information - Financial Information of Segments (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureSegmentInformationFinancialInformationOfSegments
2266 Disclosure of operating segments [table] Table

*

*

ifrs-full:DisclosureOfOperatingSegmentsTable
2267 Segments [axis] Axis ifrs-full:SegmentsAxis
2268 Segments [member] Member ifrs-full:SegmentsMember
2269 Ultragaz [member] Member ugp:UltragazMember
2270 Ipiranga [member] Member ugp:IpirangaMember
2271 Oxiteno [member] Member ugp:OxitenoMember
2272 Ultracargo [member] Member ugp:UltracargoMember
2273 Extrafarma [member] Member ugp:ExtrafarmaMember
2274 Reportable segments [member] Member ifrs-full:ReportableSegmentsMember
2275 All other segments [member] Member ifrs-full:AllOtherSegmentsMember
2276 Segment consolidation items [axis] Axis ifrs-full:SegmentConsolidationItemsAxis
2277 Entity's total for segment consolidation items [member] Member ifrs-full:EntitysTotalForSegmentConsolidationItemsMember
2278 Elimination of intersegment amounts [member] Member ifrs-full:EliminationOfIntersegmentAmountsMember
2279 Operating segments [member] Member ifrs-full:OperatingSegmentsMember
2280 Disclosure of operating segments [line items] LineItems ifrs-full:DisclosureOfOperatingSegmentsLineItems
2281 Net revenue from sales and services Concept (Monetary) For Period Credit ifrs-full:Revenue
2282 Operating income (expense): Concept (Monetary) For Period Credit ifrs-full:OtherIncomeExpenseFromSubsidiariesJointlyControlledEntitiesAndAssociates
2283 Share of profit (loss) of joint-ventures and associates Concept (Monetary) For Period Credit ifrs-full:ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod
2284 Income before financial result, income and social contribution taxes Concept (Monetary) For Period Credit ugp:OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes
2285 Financial result, net Concept (Monetary) For Period Credit ifrs-full:FinanceIncomeCost
2286 Income before income and social contribution taxes Concept (Monetary) For Period Credit ifrs-full:ProfitLossBeforeTax
2287 1175 - Disclosure - Segment Information - Additions to Property, Plant, and Equipment and intangible Assets, Depreciation and Amortization Charges and Asset Reclassification (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureSegmentInformationAdditionsToPropertyPlantAndEquipmentAndIntangibleAssetsDepreciationAndAmortizationChargesAndAssetReclassification
2288 Disclosure Of Segment Information [table] Table

*

*

ugp:DisclosureOfSegmentInformationTable
2289 Segments [axis] Axis ifrs-full:SegmentsAxis
2290 Segments [member] Member ifrs-full:SegmentsMember
2291 Ultragaz [member] Member ugp:UltragazMember
2292 Ipiranga [member] Member ugp:IpirangaMember
2293 Oxiteno [member] Member ugp:OxitenoMember
2294 Ultracargo [member] Member ugp:UltracargoMember
2295 Extrafarma [member] Member ugp:ExtrafarmaMember
2296 Reportable segments [member] Member ifrs-full:ReportableSegmentsMember
2297 Others [member] Member ugp:OtherSegmentsMember
2298 Summary of segment information [line items] LineItems ugp:SummaryOfSegmentInformationLineItems
2299 Total additions to property, plant, and equipment and intangible assets (see Notes 13 and 14) Concept (Monetary) For Period Debit ugp:AdditionsPropertyPlantAndEquipmentAndIntangibleAssets
2300 Asset retirement obligation - fuel tanks (see Note 20) Concept (Monetary) For Period Credit ifrs-full:RetirementsIntangibleAssetsAndGoodwill
2301 Depreciation and amortization charges: Concept (Monetary) For Period Debit ifrs-full:DepreciationAndAmortisationExpense
2302 Capitalized borrowing costs Concept (Monetary) For Period ifrs-full:BorrowingCostsCapitalised
2303 Total investments in property, plant, and equipment and intangible assets (cash flow) Concept (Monetary) For Period Debit ugp:InvestmentsInPropertyPlantAndEquipmentAndIntangibleAssetsCashFlow
2304 Payments of contractual assets with customers - exclusive rights Concept (Monetary) For Period Credit ugp:AdjustmentsForPaymentsOfContractualAssetsWithCustomersExclusiveRightsNoncurrent
2305 Amortization of contractual assets with customers - exclusive rights Concept (Monetary) For Period Debit ifrs-full:AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers
2306 Total assets (excluding intersegment account balances): Concept (Monetary) As Of Debit ifrs-full:Assets
2307 1176 - Disclosure - Segment Information - Fixed and Intangible Assets of Company Abroad (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureSegmentInformationFixedAndIntangibleAssetsOfCompanyAbroad
2308 Disclosure Of Segment Information [table] Table

*

*

ugp:DisclosureOfSegmentInformationTable
2309 Geographical areas [axis] Axis ifrs-full:GeographicalAreasAxis
2310 Geographical areas [member] Member ifrs-full:GeographicalAreasMember
2311 United States [member] Member country:US
2312 Mexico [member] Member country:MX
2313 Uruguay [member] Member country:UY
2314 Venezuela [member] Member country:VE
2315 Summary of segment information [line items] LineItems ugp:SummaryOfSegmentInformationLineItems
2316 Fixed and intangible assets Concept (Monetary) As Of Debit ugp:FixedAndIntangibleAssets
2317 1177 - Disclosure - Segment Information - Revenue from Operations Abroad (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureSegmentInformationRevenueFromOperationsAbroad
2318 Disclosure Of Segment Information [table] Table

*

*

ugp:DisclosureOfSegmentInformationTable
2319 Geographical areas [axis] Axis ifrs-full:GeographicalAreasAxis
2320 Geographical areas [member] Member ifrs-full:GeographicalAreasMember
2321 Brazil [member] Member country:BR
2322 Mexico [member] Member country:MX
2323 Uruguay [member] Member country:UY
2324 Venezuela [member] Member country:VE
2325 Other Latin American Countries [member] Member ugp:OtherLatinAmericanCountriesMember
2326 United States [member] Member country:US
2327 Far East [member] Member ugp:FarEastMember
2328 Europe [member] Member ugp:EuropeContinentMember
2329 Others [member] Member ugp:OtherRegionsMember
2330 Summary of segment information [line items] LineItems ugp:SummaryOfSegmentInformationLineItems
2331 Revenue Concept (Monetary) For Period Credit ifrs-full:Revenue
2332 1178 - Disclosure - Risks and Financial Instruments - Assets and liabilities in foreign currencies (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrencies
2333 Implied Table Table

*

*

implied:Table
2334 Assets in foreign currency abstract Abstract ugp:AssetsInForeignCurrencyAbstract
2335 Liabilities in foreign currency Abstract ugp:LiabilitiesInForeignCurrencyAbstract
2336 Financing in foreign currency, gross of transaction costs and discount Concept (Monetary) As Of Credit ugp:FinancingInForeignCurrency
2337 Payables arising from imports, net of advances to foreign suppliers Concept (Monetary) As Of Credit ugp:PayablesArisingFromImports
2338 Liabilities in foreign currency Concept (Monetary) As Of Credit ugp:LiabilitiesInForeignCurrency
2339 Foreign currency hedging instruments Concept (Monetary) As Of Credit ugp:ForeignCurrencyHedgingInstruments
2340 Net liability position - Total Concept (Monetary) As Of Debit ugp:NetAssetLiabilityPositionTotal
2341 Net asset (liability) position - Income statement effect Concept (Monetary) As Of Debit ugp:NetAssetLiabilityPositionIncomeStatementEffect
2342 Net liability position - Equity effect Concept (Monetary) As Of Debit ugp:NetAssetLiabilityPositionShareholdersEquityEffect
2343 Cash, cash equivalents and financial investments in foreign currency (except hedging instruments) Concept (Monetary) As Of Debit ugp:CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments
2344 Foreign trade receivables, net of allowance for doubtful accounts and advances to foreign customers Concept (Monetary) As Of Debit ugp:ForeignTradeReceivablesNetOfAllowanceForDoubtfulAccountsAndAdvancesToForeignCustomers
2345 Other net assets in foreign (except cash, cash equivalents, financial investments, trade receivables, financing, and payables) Concept (Monetary) As Of Debit ugp:OtherNetAssetsInForeignExceptCashCashEquivalentsFinancialInvestmentsTradeReceivablesFinancingAndPayables
2346 Assets in foreign currency Concept (Monetary) As Of Credit ugp:AssetsInForeignCurrency
2347 1179 - Disclosure - Risks and Financial Instruments - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsAdditionalInformation
2348 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
2349 Types of hedges [axis] Axis ifrs-full:TypesOfHedgesAxis
2350 Hedges [member] Member ifrs-full:TypesOfHedgesMember
2351 Hedging against foreign exchange exposure of operations [member] Member ugp:HedgingAgainstForeignExchangeExposureOfOperationsMember
2352 Hedging against fixed interest rate plus IPCA in Brazilian Reais [member] Member ugp:HedgingAgainstFixedInterestRatePlusIPCAInBrazilianReaisMember
2353 Foreign exchange hedging instruments [member] Member ugp:ForeignExchangeHedgingInstrumentsMember
2354 Scenario [axis] Axis ugp:ScenarioAxis
2355 Scenario [domain] Member ugp:ScenarioDomain
2356 Scenario I [member] Member ugp:Scenario1Member
2357 Scenario II [member] Member ugp:Scenario2Member
2358 Scenario III [member] Member ugp:Scenario3Member
2359 Maturity [axis] Axis ifrs-full:MaturityAxis
2360 Aggregated time bands [member] Member ifrs-full:AggregatedTimeBandsMember
2361 Later than one year [member] Member ifrs-full:LaterThanOneYearMember
2362 Range [axis] Axis ifrs-full:RangeAxis
2363 Ranges [member] Member ifrs-full:RangesMember
2364 Bottom of range [member] Member ifrs-full:BottomOfRangeMember
2365 Top of range [member] Member ifrs-full:TopOfRangeMember
2366 Hedging instruments [axis] Axis ifrs-full:HedgingInstrumentsAxis
2367 Hedging instruments [member] Member ifrs-full:HedgingInstrumentsMember
2368 Exchange Rate Swap Receivable In U S Dollars [member] Member ugp:ExchangeRateSwapReceivableInUSDollarsMember
2369 Rate swaps [axis] Axis ugp:RateSwapsAxis
2370 Rate swaps [domain] Member ugp:RateSwapsDomain
2371 Payables in CDI interest rate [member] Member ugp:PayablesInCDIInterestRateMember
2372 Asset position at US dollar + 1.17% p.a. [member] Member ugp:AssetPositionAtUSDollarPlusOnePointOneSevenPercentPAMember
2373 Asset position at US dollar + LIBOR + 1.29% p.a. [member] Member ugp:AssetPositionAtUSDollarPlusLIBORPlusOnePointTwoNinePercentPAMember
2374 Asset position at US dollar + 5.65% p.a. [member] Member ugp:AssetPositionAtUSDollarPlusFivePointSixFivePercentPAMember
2375 Disclosure of detailed information about financial instruments [line items] LineItems ifrs-full:DisclosureOfFinancialInstrumentsLineItems
2376 Floating interest rate variation Concept (Percent) For Period ugp:FloatingInterestRate
2377 Net liability position Concept (Monetary) As Of Debit ugp:NetAssetLiabilityPositionTotal
2378 Number of customer or group accounts for more than 10% of total revenue Concept (Decimal) For Period ugp:NumberOfCustomersAccountedForMoreThanTenPercentOfRevenue
2379 Gross indebtedness Concept (Monetary) As Of Credit ifrs-full:Borrowings
2380 Investment plan Concept (Monetary) As Of Debit ugp:InvestmentPlan
2381 Cash, cash equivalents, and short-term financial investments Concept (Monetary) As Of Debit ugp:CashCashEquivalentsAndShortTermFinancialInvestments
2382 Notional amount Concept (Monetary) As Of ifrs-full:NotionalAmount
2383 CDI rate Concept (Percent) For Period ugp:CDIRate
2384 Financial investment basis spread Concept (Percent) As Of ugp:FinancialInstrumentBasisSpreadOnEffectiveRate
2385 Notional amount designated as fair value hedge Concept (Monetary) For Period Credit ugp:NotionalAmountDesignatedAsFairValueHedge
2386 Principal amount of zero cost collars Concept (Monetary) As Of ifrs-full:NominalOrPrincipalAmountOfFinancialInstrumentOnDiscontinuationOfMeasurementAtFairValueThroughProfitOrLossBecauseCreditDerivativeIsUsedToManageCreditRisk
2387 Contract price range (R$/US$) Concept (Decimal) As Of ifrs-full:ClosingForeignExchangeRate
2388 Notional amount of exchange rate hedging instruments of firm commitments designated as cash flow hedges Concept (Monetary) As Of Credit ugp:NotionalAmountOfExchangeRateHedgingInstrumentsOfFirmCommitmentsDesignatedAsCashFlowHedges
2389 Cash flow hedges gain (loss) Concept (Monetary) For Period Credit ugp:GainFromCashFlowHedges
2390 Unrealized gain (loss) of other comprehensive income, net of deferred income and social contribution taxes Concept (Monetary) For Period Credit ugp:CashFlowHedgeUnrealizedGainLossOfOtherComprehensiveIncomeNet
2391 Notional amount of foreign exchange hedging instruments for highly probable future transactions designated as fair value hedge, related to notes in the foreign market Concept (Monetary) As Of Credit ugp:NotionalAmountOfForeignExchangeHedgingInstrumentsForHighlyProbableFutureTransactionsDesignatedAsCashFlowHedgeRelatedToNotesInForeignMarket
2392 Unrealized loss of other comprehensive income, net of deferred income and social contribution taxes Concept (Monetary) For Period Credit ugp:CashFlowHedgeUnrealizedLossOfOtherComprehensiveIncomeNet
2393 Notional amount of foreign exchange hedging instruments for highly probable future transactions designated as cash flow hedge, related to future sales revenues Concept (Monetary) As Of Credit ugp:NotionalAmountOfForeignExchangeHedgingInstrumentsForHighlyProbableFutureTransactionsDesignatedAsCashFlowHedgeRelatedToFutureSalesRevenues
2394 Unrealized loss of other comprehensive income, net of deferred IRPJ and CSLL Concept (Monetary) For Period Credit ugp:CashFlowHedgeUnrealizedGainOfOtherComprehensiveIncomeNet
2395 Balance of foreign exchange hedging instruments designated as net investments hedge in foreign entities Concept (Monetary) As Of Credit ugp:BalanceOfForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities
2396 Unrealized loss of other comprehensive income, net of deferred income and social contribution taxes Concept (Monetary) For Period Credit ugp:InvestmentHegeInForeignEntitiesUnrealizedLossOfOtherComprehensiveIncomeNet
2397 Likely scenario pre-fixed interest rate deterioration. Concept (Percent) For Period ugp:LikelyScenarioPrefixedInterestRateDeterioration
2398 1180 - Disclosure - Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrency
2399 Summary of risks and financial instruments [table] Table

*

*

ugp:SummaryOfRisksAndFinancialInstrumentsTable
2400 Scenario [axis] Axis ugp:ScenarioAxis
2401 Scenario [domain] Member ugp:ScenarioDomain
2402 Scenario I [member] Member ugp:Scenario1Member
2403 Scenario II [member] Member ugp:Scenario2Member
2404 Scenario III [member] Member ugp:Scenario3Member
2405 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2406 Income statement effect Concept (Monetary) As Of Credit ugp:IncomeStatementEffectIncrease
2407 Equity effect Concept (Monetary) As Of Credit ugp:ShareholdersEquityEffectDecrease
2408 Total Concept (Monetary) As Of Credit ugp:IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect
2409 Income statement effect Concept (Monetary) As Of Credit ugp:IncomeStatementEffectDecrease
2410 Equity effect Concept (Monetary) As Of Credit ugp:ShareholdersEquityEffectincrease
2411 Total Concept (Monetary) As Of Credit ugp:IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect
2412 1181 - Disclosure - Risks and Financial Instruments - Financial assets and liabilities exposed to floating interest rates (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRates
2413 Summary of risks and financial instruments [table] Table

*

*

ugp:SummaryOfRisksAndFinancialInstrumentsTable
2414 Types of risks [axis] Axis ifrs-full:TypesOfRisksAxis
2415 Risks [member] Member ifrs-full:TypesOfRisksMember
2416 CDI [member] Member ugp:CDIMember
2417 TJLP [member] Member ugp:TJLPMember
2418 LIBOR [member] Member ugp:LIBORMember
2419 Tiie [member] Member ugp:TIIEMember
2420 SELIC [member] Member ugp:SelicMember
2421 Liability position [axis] Axis ugp:LiabilityPositionAxis
2422 Liability position [domain] Member ugp:LiabilityPositionDomain
2423 Cash equivalent [member] Member ugp:CashEquivalentMember
2424 Financial Investments [member] Member ugp:FinancialInvestmentsMember
2425 Asset position foreign exchange hedging [member] Member ugp:AssetPositionForeignExchangeHedgingMember
2426 Loans and debentures [member] Member ugp:LoansAndDebenturesMember
2427 Liability position foreign exchange hedging instruments [member] Member ugp:LiabilityPositionForeignExchangeHedgingInstrumentsMember
2428 Liability position hedging instruments pre fixed [member] Member ugp:LiabilityPositionHedgingInstrumentsPreFixedMember
2429 Loans tjlp [member] Member ugp:LoansTJLPMember
2430 Asset position foreign exchange hedging instruments [member] Member ugp:AssetPositionForeignExchangeHedgingInstrumentsMember
2431 Loans libor [member] Member ugp:LoansLiborMember
2432 Loans tiie [member] Member ugp:LoansTIIEMember
2433 Loans selic [member] Member ugp:LoansSELICMember
2434 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2435 Net liability position Concept (Monetary) As Of Credit ugp:NetLiabilityPosition
2436 1182 - Disclosure - Risks and Financial Instruments - Sensitivity analysis of floating interest rate risk (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsSensitivityAnalysisOfFloatingInterestRateRisk
2437 Summary of risks and financial instruments [table] Table

*

*

ugp:SummaryOfRisksAndFinancialInstrumentsTable
2438 Scenario [axis] Axis ugp:ScenarioAxis
2439 Scenario [domain] Member ugp:ScenarioDomain
2440 Scenario I [member] Member ugp:Scenario1Member
2441 Scenario II [member] Member ugp:Scenario2Member
2442 Scenario III [member] Member ugp:Scenario3Member
2443 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2444 Exposure of interest rate risk Abstract ugp:ExposureOfInterestRateRiskAbstract
2445 Interest effect on cash equivalents and financial investments Concept (Monetary) As Of Credit ugp:InterestEffectOnCashEquivalentsAndFinancialInvestments
2446 Foreign exchange hedging instruments (assets in CDI) effect Concept (Monetary) As Of Credit ugp:ForeignExchangeHedgingInstrumentsAssetsCdiEffect
2447 Interest effect on debt in CDI Concept (Monetary) As Of Debit ugp:InterestEffectOnDebtCdi
2448 Interest rate hedging instruments (liabilities in CDI) effect Concept (Monetary) As Of Debit ugp:InterestRateHedgingInstrumentsLiabilitiesCDIEffect
2449 Incremental expenses, CDI Concept (Monetary) As Of Debit ugp:IncrementalExpensesCDI
2450 Interest effect on debt in TJLP Concept (Monetary) As Of Debit ugp:InterestEffectOnDebtTJLP
2451 Incremental expenses, TJLP Concept (Monetary) As Of Debit ugp:IncrementalExpensesTjlp
2452 Foreign exchange hedging instruments (assets in LIBOR) effect Concept (Monetary) As Of Credit ugp:ForeignExchangeHedgingInstrumentsAssetsLiborEffect
2453 Interest effect on debt in LIBOR Concept (Monetary) As Of Debit ugp:InterestEffectOnDebtLIBOR
2454 Incremental expenses, LIBOR Concept (Monetary) As Of Debit ugp:IncrementalExpensesLibor
2455 Interest effect on debt in TIIE Concept (Monetary) As Of Debit ugp:InterestEffectOnDebtTIIE
2456 Incremental expenses, TIIE Concept (Monetary) As Of Debit ugp:IncrementalExpensesTIIE
2457 Interest effect on debt in SELIC Concept (Monetary) As Of Debit ugp:InterestEffectOnDebtSELIC
2458 Incremental expenses, SELIC Concept (Monetary) As Of Debit ugp:IncrementalExpensesSelic
2459 1183 - Disclosure - Risks and Financial Instruments - Summary of Credit Risk of Cash, Cash Equivalents and Financial Investments (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsSummaryOfCreditRiskOfCashCashEquivalentsAndFinancialInvestments
2460 Disclosure of external credit grades [table] Table

*

*

ifrs-full:DisclosureOfExternalCreditExposuresTable
2461 External credit grades [axis] Axis ifrs-full:ExternalCreditGradesAxis
2462 Entity's total for external credit grades [member] Member ifrs-full:EntitysTotalForExternalCreditGradesMember
2463 AAA [member] Member ugp:AAAMember
2464 AA [member] Member ugp:AaMember
2465 A [member] Member ugp:AMember
2466 BBB [member] Member ugp:BbbMember
2467 Disclosure of external credit grades [line items] LineItems ifrs-full:DisclosureOfExternalCreditExposuresLineItems
2468 Counterparty credit rating Concept (Monetary) As Of Debit ugp:CashCashEquivalentsAndFinancialInvestments
2469 1184 - Disclosure - Risks and Financial Instruments - Allowance for doubtful accounts on trade receivables (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsAllowanceForDoubtfulAccountsOnTradeReceivables
2470 Summary of risks and financial instruments [table] Table

*

*

ugp:SummaryOfRisksAndFinancialInstrumentsTable
2471 Segments [axis] Axis ifrs-full:SegmentsAxis
2472 Segments [member] Member ifrs-full:SegmentsMember
2473 Ipiranga [member] Member ugp:IpirangaMember
2474 Ultragaz [member] Member ugp:UltragazMember
2475 Oxiteno [member] Member ugp:OxitenoMember
2476 Extrafarma [member] Member ugp:ExtrafarmaMember
2477 Ultracargo [member] Member ugp:UltracargoMember
2478 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2479 Allowances for doubful accounts on trade receivable Concept (Monetary) As Of Credit ugp:AllowancesForDoubfulAccountsOnTradeReceivable
2480 1185 - Disclosure - Risks and Financial Instruments - Contractual undiscounted cash outflows (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsContractualUndiscountedCashOutflows
2481 Summary of risks and financial instruments [table] Table

*

*

ugp:SummaryOfRisksAndFinancialInstrumentsTable
2482 Range [axis] Axis ifrs-full:RangeAxis
2483 Ranges [member] Member ifrs-full:RangesMember
2484 Total [member] Member ugp:TotalMember
2485 Less than 1 year [member] Member ugp:LessThanOneYearMember
2486 Between 1 and 3 years [member] Member ugp:Between1And3YearsMember
2487 Between 3 and 5 years [member] Member ugp:Between3And5YearsMember
2488 More than 5 years [member] Member ugp:MoreThan5YearsMember
2489 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2490 Loans including future contractual interest Concept (Monetary) As Of Credit ugp:LoansIncludingFutureContractualInterest
2491 Currency and interest rate hedging instruments Concept (Monetary) As Of Debit ugp:CurrencyAndInterestRateHedgingInstruments
2492 Trade payables Concept (Monetary) As Of Credit ifrs-full:TradeAndOtherPayables
2493 1186 - Disclosure - Risks and Financial Instruments - Contractual undiscounted cash outflows (Parenthetical) (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParenthetical
2494 Summary of risks and financial instruments [table] Table

*

*

ugp:SummaryOfRisksAndFinancialInstrumentsTable
2495 Maturity [axis] Axis ifrs-full:MaturityAxis
2496 Aggregated time bands [member] Member ifrs-full:AggregatedTimeBandsMember
2497 2018 [member] Member ugp:TwentyEighteenMember
2498 From 2019 To 2021 [member] Member ugp:FromTwentyNineteenToTwentyTwentyOneMember
2499 From 2022 To 2023 [member] Member ugp:FromTwentyTwentyTwoToTwentyTwentyThreeMember
2500 From 2024 To 2033 [member] Member ugp:FromTwentyTwentyFourToTwentyThirtyThreeMember
2501 2019 [member] Member ugp:TwentyNineteenMember
2502 2020 [member] Member ugp:TwentyTwentyMember
2503 2021 [member] Member ugp:TwentyTwentyOneMember
2504 2022 [member] Member ugp:TwentyTwentyTwoMember
2505 2023 [member] Member ugp:TwentyTwentyThreeMember
2506 2024 [member] Member ugp:TwentyTwentyFourMember
2507 2025 [member] Member ugp:TwentyTwentyFiveMember
2508 2026 [member] Member ugp:TwentyTwentySixMember
2509 2027 [member] Member ugp:TwentyTwentySevenMember
2510 From 2020 To 2033 [member] Member ugp:FromTwentyTwentyToTwentyThirtyThreeMember
2511 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2512 CDI rate Concept (Percent) For Period ugp:CDIRate
2513 Exchange rate of the Real against the U.S. dollar Concept (Decimal) For Period ifrs-full:AverageForeignExchangeRate
2514 TJLP rate Concept (Percent) For Period ugp:TJLPRate
2515 IGP-M rate Concept (Percent) For Period ugp:IGPMRate
2516 IPCA rate Concept (Percent) For Period ugp:IPCARate
2517 1187 - Disclosure - Risks and Financial Instruments - Position of hedging instruments (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsPositionOfHedgingInstruments
2518 Disclosure Of Derivative Financial Instruments [table] Table

*

*

ugp:DisclosureOfDerivativeFinancialInstrumentsTable
2519 Accounting estimates [axis] Axis ifrs-full:AccountingEstimatesAxis
2520 Accounting estimates [member] Member ifrs-full:AccountingEstimatesMember
2521 Designated as hedge accounting [member] Member ugp:DesignatedAsHedgeAccountingMember
2522 Not designated as hedge accounting [member] Member ugp:NotDesignatedAsHedgeAccountingMember
2523 Hedging instruments [axis] Axis ifrs-full:HedgingInstrumentsAxis
2524 Hedging instruments [member] Member ifrs-full:HedgingInstrumentsMember
2525 Exchange Rate Swap Receivable In U S Dollars [member] Member ugp:ExchangeRateSwapReceivableInUSDollarsMember
2526 Interest rate swaps in brazilian reais [member] Member ugp:InterestRateSwapsInBrazilianReaisMember
2527 Options [member] Member ugp:OptionsMember
2528 Exchange rate swaps payable in US dollars coupon [member] Member ugp:ExchangeRateSwapsPayableInUSDollarsCouponMember
2529 Gross result [member] Member ugp:HedgingInstrumentsGrossResultMember
2530 Income tax [member] Member ugp:HedgingInstrumentsIncomeTaxMember
2531 Positive result [member] Member ugp:HedgingInstrumentsPositiveResultMember
2532 Negative result [member] Member ugp:HedgingInstrumentsNegativeResultMember
2533 Rate swaps [axis] Axis ugp:RateSwapsAxis
2534 Rate swaps [domain] Member ugp:RateSwapsDomain
2535 Receivables In U S Dollars LIBOR [member] Member ugp:ReceivablesInUSDollarsLIBORMember
2536 Receivables in US dollars fixed [member] Member ugp:ReceivablesInUSDollarsFixedMember
2537 Payables in CDI interest rate [member] Member ugp:PayablesInCDIInterestRateMember
2538 Receivables in fixed interest rates ipca [member] Member ugp:ReceivablesInFixedInterestRatesIpcaMember
2539 Payables cdi [member] Member ugp:PayablesCdiMember
2540 Zero Cost Collar Reaisx US Dollars [member] Member ugp:ZeroCostCollarReaisxUsDollarsMember
2541 Receivables in cdi interest rates [member] Member ugp:ReceivablesInCDIInterestRatesMember
2542 Payables in us dollars fixed [member] Member ugp:PayablesInUsDollarsFixedMember
2543 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2544 Notional amount Concept (Monetary) As Of ifrs-full:NotionalAmount
2545 Fair value Concept (Monetary) As Of Debit ugp:HedgingInstrumentsPositionFairValue
2546 Amounts receivable Concept (Monetary) As Of Debit ugp:HedgingInstrumentsAmountsReceivable
2547 Amounts payable Concept (Monetary) As Of Credit ugp:HedgingInstrumentsAmountsPayable
2548 1188 - Disclosure - Risks and Financial Instruments - Summary of Foreign Exchange Hedging Instruments Designated as Fair Value Hedge (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsSummaryOfForeignExchangeHedgingInstrumentsDesignatedAsFairValueHedge
2549 Disclosure of detailed information about hedges [table] Table

*

*

ifrs-full:DisclosureOfHedgeAccountingTable
2550 Hedging instruments [axis] Axis ifrs-full:HedgingInstrumentsAxis
2551 Hedging instruments [member] Member ifrs-full:HedgingInstrumentsMember
2552 Foreign exchange hedging instruments [member] Member ugp:ForeignExchangeHedgingInstrumentsMember
2553 Interest rate hedging instruments [member] Member ugp:InterestRateHedgingInstrumentsMember
2554 Disclosure of detailed information about hedges [line items] LineItems ifrs-full:DisclosureOfHedgeAccountingLineItems
2555 Notional amount - R$ Concept (Monetary) For Period Credit ugp:NotionalAmountDesignatedAsFairValueHedge
2556 Result of hedging instruments - gain/(loss) - R$ Concept (Monetary) For Period Credit ugp:GainLossRelatedToHedgingInstrument
2557 Fair value adjustment of debt - R$ Concept (Monetary) For Period Credit ugp:GainLossRelatedToFairValueAdjustmentOfDebt
2558 Financial expense in the statements of profit or loss - R$ Concept (Monetary) For Period Credit ugp:LossRelatedToFinancialExpenseOfDebt
2559 Average effective cost - CDI % Concept (Percent) For Period ugp:PercentageOfAverageEffectiveCost
2560 1189 - Disclosure - Risks and Financial Instruments - Value of gains (losses) recognized (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsValueOfGainslossesRecognized
2561 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
2562 Hedging instruments [axis] Axis ifrs-full:HedgingInstrumentsAxis
2563 Hedging instruments [member] Member ifrs-full:HedgingInstrumentsMember
2564 Profit or loss [member] Member ugp:ProfitOrLossMember
2565 Equity [member] Member ugp:HedgingInstrumentEquityMember
2566 Hedging instrument rates [axis] Axis ugp:HedgingInstrumentRatesAxis
2567 Hedging instrument rates [domain] Member ugp:HedgingInstrumentRatesDomain
2568 Exchange Rate Swap Receivable In U S Dollars [member] Member ugp:ExchangeRateSwapReceivableInUSDollarsMember
2569 Exchange rate swap payable in us dollars [member] Member ugp:ExchangeRateSwapPayableInUsDollarsMember
2570 Interest rate swaps brl [member] Member ugp:InterestRateSwapsBrlMember
2571 Nonderivative Financial Instruments [member] Member ugp:NonDerivativeFinancialInstrumentsMember
2572 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2573 Gain (loss) on hedging instruments Concept (Monetary) For Period Credit ifrs-full:GainsLossesOnHedgingInstrument
2574 1190 - Disclosure - Risks and Financial Instruments - Fair values and the carrying values of the financial instruments (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstruments
2575 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
2576 Classes of financial instruments [axis] Axis ifrs-full:ClassesOfFinancialInstrumentsAxis
2577 Financial instruments, class [member] Member ifrs-full:ClassesOfFinancialInstrumentsMember
2578 Cash and bank deposits [member] Member ugp:CashAndBankDepositsMember
2579 Financial investments local currency [member] Member ugp:FinancialInvestmentsLocalCurrencyMember
2580 Financial investments foreign currency [member] Member ugp:FinancialInvestmentsForeignCurrencyMember
2581 Fixed income securities local currency1 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency1Member
2582 Fixed income securities local currency2 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency2Member
2583 Fixed income securities local currency3 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency3Member
2584 Fixed income securities foreign currency [member] Member ugp:FixedIncomeSecuritiesForeignCurrencyMember
2585 Currency interest rate hedging instruments [member] Member ugp:CurrencyInterestRateHedgingInstrumentsMember
2586 Financing [member] Member ugp:Financing1Member
2587 Financing [member] Member ugp:Financing2Member
2588 Debentures [member] Member ugp:DebenturesMember
2589 Debentures 1 [member] Member ugp:Debentures1Member
2590 Finance Leases [member] Member ugp:FinanceLeasesMember
2591 Currency interest rate hedging [member] Member ugp:CurrencyInterestRateHedgingMember
2592 Subscription warrants indemnification [member] Member ugp:SubscriptionWarrantsIndemnificationMember
2593 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2594 Category Concept (Text/String) For Period ugp:CategoryOfFinancialAssetsAndLiabilities
2595 Financial assets, carrying value Concept (Monetary) As Of Debit ifrs-full:FinancialAssets
2596 Financial assets, fair value Concept (Monetary) As Of Debit ifrs-full:FinancialAssetsAtFairValue
2597 Financial liabilities, carrying value Concept (Monetary) As Of Credit ifrs-full:FinancialLiabilities
2598 Financial liabilities, fair value Concept (Monetary) As Of Credit ifrs-full:FinancialLiabilitiesAtFairValue
2599 1191 - Disclosure - Risks and Financial Instruments - Summary of the financial assets and financial liabilities measured at fair value (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValue
2600 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
2601 Classes of financial instruments [axis] Axis ifrs-full:ClassesOfFinancialInstrumentsAxis
2602 Financial instruments, class [member] Member ifrs-full:ClassesOfFinancialInstrumentsMember
2603 Financing [member] Member ugp:Financing1Member
2604 Financing [member] Member ugp:Financing2Member
2605 Debentures [member] Member ugp:DebenturesMember
2606 Debentures 2 [member] Member ugp:Debentures2Member
2607 Finance Leases [member] Member ugp:FinanceLeasesMember
2608 Currency interest rate hedging [member] Member ugp:CurrencyInterestRateHedgingMember
2609 Subscription warrants indemnification [member] Member ugp:SubscriptionWarrantsIndemnificationMember
2610 Cash and bank deposits [member] Member ugp:CashAndBankDepositsMember
2611 Financial investments local currency [member] Member ugp:FinancialInvestmentsLocalCurrencyMember
2612 Financial investments foreign currency [member] Member ugp:FinancialInvestmentsForeignCurrencyMember
2613 Fixed income securities local currency1 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency1Member
2614 Fixed income securities local currency2 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency2Member
2615 Fixed income securities local currency3 [member] Member ugp:FixedIncomeSecuritiesLocalCurrency3Member
2616 Fixed income securities foreign currency [member] Member ugp:FixedIncomeSecuritiesForeignCurrencyMember
2617 Currency interest rate hedging instruments [member] Member ugp:CurrencyInterestRateHedgingInstrumentsMember
2618 Debentures 1 [member] Member ugp:Debentures1Member
2619 Levels of fair value hierarchy [axis] Axis ifrs-full:LevelsOfFairValueHierarchyAxis
2620 All levels of fair value hierarchy [member] Member ifrs-full:AllLevelsOfFairValueHierarchyMember
2621 Level 1 [member] Member ifrs-full:Level1OfFairValueHierarchyMember
2622 Level 2 [member] Member ifrs-full:Level2OfFairValueHierarchyMember
2623 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2624 Category Concept (Text/String) For Period ugp:FinancialAssetLiabilityCategory
2625 Financial assets, fair value Concept (Monetary) As Of Debit ifrs-full:FinancialAssets
2626 Financial liabilities, fair value Concept (Monetary) As Of Credit ugp:FinancialLiabilitiesFairValue
2627 1192 - Disclosure - Risks and Financial Instruments - Changes in exchange rate (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureRisksAndFinancialInstrumentsChangesInExchangeRate
2628 Disclosure of detailed information about financial instruments [table] Table

*

*

ifrs-full:DisclosureOfFinancialInstrumentsTable
2629 Scenario [axis] Axis ugp:ScenarioAxis
2630 Scenario [domain] Member ugp:ScenarioDomain
2631 Scenario I [member] Member ugp:Scenario1Member
2632 Scenario II [member] Member ugp:Scenario2Member
2633 Scenario III [member] Member ugp:Scenario3Member
2634 Summary of risks and financial instruments [line items] LineItems ugp:SummaryOfRisksAndFinancialInstrumentsLineItems
2635 Currency swaps receivable in U.S. dollars Abstract ugp:CurrencySwapsReceivableInUSDollarsAbstract
2636 U.S. Dollar / Real swaps Concept (Monetary) As Of Debit ugp:USDollarToRealSwaps
2637 Debts/firm commitments in dollars Concept (Monetary) As Of Credit ugp:DebtsFirmCommitmentsInDollars
2638 Net effect Concept (Monetary) As Of Debit ugp:USDollarToRealSwapsNetEffect
2639 Currency swaps payable in U.S. dollars Abstract ugp:CurrencySwapsPayableInUSDollarsAbstract
2640 Real / U.S. Dollar swaps Concept (Monetary) As Of Credit ugp:RealToUsDollarSwaps
2641 Gross margin of Oxiteno Concept (Monetary) As Of Debit ugp:GrossMarginOfOxitenoSwapPayable
2642 Net effect Concept (Monetary) As Of Credit ugp:RealToUsDollarSwapsNetEffect
2643 Options Abstract ugp:CurrencySwapsOptionAbstract
2644 Options Real / U.S. Dollar swaps Concept (Monetary) As Of Debit ugp:OptionsRealToDollarSwaps
2645 Gross margin of Oxiteno Concept (Monetary) As Of Credit ugp:GrossMarginOfOxitenoOption
2646 Net effect Concept (Monetary) As Of Credit ugp:OptionsRealToDollarSwapsNetEffect
2647 Interest rate swap (in Brazilian Reais) - Debentures-CRA Abstract ugp:InterestRateSwapInBrazilianReaisDebenturesCRAAbstract
2648 Fixed rate swap - CDI Concept (Monetary) As Of Credit ugp:FixedRateSwapCdi
2649 Fixed rate debt Concept (Monetary) As Of Credit ugp:FixedRateDebt
2650 Net effect Concept (Monetary) As Of Credit ugp:FixedRateSwapNetEffect
2651 1193 - Disclosure - Commitments - Contracts (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureCommitmentsContracts
2652 Commitments [table] Table

*

*

ugp:CommitmentsTable
2653 Types of contracts [axis] Axis ifrs-full:TypesOfContractsAxis
2654 Types of contracts [member] Member ifrs-full:TypesOfContractsMember
2655 Cargo contract one [member] Member ugp:CargoContractOneMember
2656 Cargo contract two [member] Member ugp:CargoContractTwoMember
2657 Cargo contract three [member] Member ugp:CargoContractThreeMember
2658 Cargo contract four [member] Member ugp:CargoContractFourMember
2659 Summary of contract commitments [line items] LineItems ugp:SummaryOfContractCommitmentsLineItems
2660 Port Concept (Text/String) For Period ugp:CargoPort
2661 Minimum movement in tons per years Concept (Text/String) For Period ugp:MinimumCargoMovementPerYear
2662 Maturity Concept (Text/String) For Period ugp:CargooAgreementMaturity
2663 1194 - Disclosure - Commitments - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureCommitmentsAdditionalInformation
2664 Disclosure of commitments and contingencies [table] Table

*

*

ugp:DisclosureOfCommitmentsAndContingenciesTable
2665 Categories of related parties [axis] Axis ifrs-full:CategoriesOfRelatedPartiesAxis
2666 Entity's total for related parties [member] Member ifrs-full:EntitysTotalForRelatedPartiesMember
2667 Third parties [member] Member ugp:ThirdPartiesMember
2668 directors and executive officers (D&O) [member] Member ugp:DirectorsAndOfficersMember
2669 Types of contracts [axis] Axis ifrs-full:TypesOfContractsAxis
2670 Types of contracts [member] Member ifrs-full:TypesOfContractsMember
2671 Aratu [member] Member ugp:AratuMember
2672 Suape [member] Member ugp:SuapeMember
2673 Disclosure of commitments and contingencies [line items] LineItems ugp:DisclosureOfCommitmentsAndContingenciesLineItems
2674 Cargo rates per ton Concept (Decimal) As Of ugp:CargoRatesPerTon
2675 Minimum annual consumption level of ethylene Concept (Integer) For Period ugp:MinimumAnnualConsumptionLevelOfEthylene
2676 Minimum purchase of ethylene annually Concept (Integer) For Period ugp:MinimumAnnualPurchaseOfEthylene
2677 Liability insurance policies Concept (Monetary) As Of Credit ifrs-full:LiabilitiesArisingFromInsuranceContracts
2678 Operating lease expense Concept (Monetary) For Period Debit ifrs-full:ContingentRentsRecognisedAsExpenseClassifiedAsOperatingLease
2679 1195 - Disclosure - Commitments - Insurance coverage (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureCommitmentsInsuranceCoverage
2680 Commitments [table] Table

*

*

ugp:CommitmentsTable
2681 Segments [axis] Axis ifrs-full:SegmentsAxis
2682 Segments [member] Member ifrs-full:SegmentsMember
2683 Oxiteno [member] Member ugp:OxitenoMember
2684 Ipiranga [member] Member ugp:IpirangaMember
2685 Ultracargo [member] Member ugp:UltracargoMember
2686 Ultragaz [member] Member ugp:UltragazMember
2687 Extrafarma [member] Member ugp:ExtrafarmaMember
2688 Summary of contract commitments [line items] LineItems ugp:SummaryOfContractCommitmentsLineItems
2689 Maximum compensation value Concept (Monetary) For Period Credit ifrs-full:IncomeArisingFromInsuranceContracts
2690 1196 - Disclosure - Commitments - Operating lease contracts (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureCommitmentsOperatingLeaseContracts
2691 Commitments [table] Table

*

*

ugp:CommitmentsTable
2692 Range [axis] Axis ifrs-full:RangeAxis
2693 Ranges [member] Member ifrs-full:RangesMember
2694 Up to 1 year [member] Member ugp:UpTo1YearMember
2695 Between 1 and 5 years [member] Member ugp:Between1And5YearsMember
2696 More than 5 years [member] Member ugp:MoreThan5YearsMember
2697 Summary of commitments [line items] LineItems ugp:SummaryOfCommitmentsLineItems
2698 Future operating lease disbursements Concept (Monetary) As Of Credit ugp:FutureOperatingLeaseDisbursements
2699 payable Concept (Monetary) As Of Credit ugp:OperatingLeaseContractPayable
2700 receivable Concept (Monetary) As Of Debit ugp:OperatingLeaseContractReceivable
2701 1197 - Disclosure - Subsequent Events - Additional Information (Detail) Network

*

*

http://imetrix.edgar-online.com/taxonomy/role/DisclosureSubsequentEventsAdditionalInformation
2702 Disclosure of non-adjusting events after reporting period [table] Table

*

*

ifrs-full:DisclosureOfNonadjustingEventsAfterReportingPeriodTable
2703 Non-adjusting events after reporting period [axis] Axis ifrs-full:NonadjustingEventsAfterReportingPeriodAxis
2704 Non-adjusting events after reporting period [member] Member ifrs-full:NonadjustingEventsMember
2705 Forward split [member] Member ugp:ForwardSplitMember
2706 Port concessions [member] Member ugp:PortConcessionsMember
2707 Administrative decision [member] Member ugp:AdministrativeExpensesMember
2708 Subsidiaries [axis] Axis ifrs-full:SignificantInvestmentsInSubsidiariesAxis
2709 Entity's total for subsidiaries [member] Member ifrs-full:EntitysTotalForSubsidiariesMember
2710 IPP [member] Member ugp:IpirangaProdutosDePetroleoSAMember
2711 Ultracargo [member] Member ugp:UltracargoMember
2712 IPP and Ultracargo [member] Member ugp:IpirangaProdutosDePetroleoSAAndUltracargoMember
2713 CADE [member] Member ugp:ConselhoAdministrativoDeDefesaEconmicaMember
2714 Entity by Location [Axis] Axis dei:EntityByLocationAxis
2715 Location [Domain] Member dei:LocationDomain
2716 Paraiba [member] Member ugp:ParaibaMember
2717 Espirito Santo [member] Member ugp:EspiritoSantoMember
2718 Terminal [axis] Axis ugp:TerminalAxis
2719 Terminal1 [Member] Member ugp:Terminal1Member
2720 Port of Cabedelo [member] Member ugp:PortOfCabedeloMember
2721 Port of Vitoria [member] Member ugp:PortOfVitoriaMember
2722 Area BEL02A [member] Member ugp:AreaBEL02AMember
2723 Area BEL04A [member] Member ugp:AreaBEL04AMember
2724 Area VDC12 [member] Member ugp:AreaVDC12Member
2725 Disclosure of non-adjusting events after reporting period [line items] LineItems ifrs-full:DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
2726 Description Stock split ratio Concept (Text/String) For Period ugp:StockSplitRatioDescription
2727 Number of port concession areas won Concept (Integer) For Period ugp:NumberOfPortConcessionsAreaWon
2728 Minimum port storage capacity Concept (num:volumeItemType) For Period ugp:MinimumPortStorageCapacity
2729 Number of consortiums Concept (Integer) For Period ugp:NumberOfConsortiums
2730 Port concessions description Concept (Text/String) For Period ugp:DescriptionOfPortConcessions
2731 Investments Concept (Monetary) As Of Debit ifrs-full:InvestmentsInSubsidiariesJointVenturesAndAssociates
2732 Term of concession Concept (xbrli:durationItemType) For Period ugp:PeriodOfConcession
2733 Percentage of consortium owned Concept (Percent) For Period ugp:PercentageOfConsortiumOwned
2734 Number of periods that Port areas will be operated Concept (xbrli:durationItemType) For Period ugp:PeriodOfPortConcession
2735 Estimated investments to port concessions Concept (Monetary) For Period Debit ugp:EstimatedInvestmentsToPortConcessions
2736 Payment for fine Concept (Monetary) For Period Credit ugp:FinesAndFees

*

*